Skip to content

Instantly share code, notes, and snippets.

@s1monw
Created August 16, 2012 12:46
Show Gist options
  • Save s1monw/3369877 to your computer and use it in GitHub Desktop.
Save s1monw/3369877 to your computer and use it in GitHub Desktop.
{
"person" : {
"properties" : {
"title" : {
"fields" : {
"title" : {
"type" : "string",
"analyzer" : "standard"
},
"common" : {
"type" : "string",
"analyzer" : "standard",
"index_name" : "common"
}
},
"path" : "just_name",
"type" : "multi_field"
},
"description" : {
"fields" : {
"description" : {
"type" : "string",
"analyzer" : "standard"
},
"common" : {
"type" : "string",
"analyzer" : "standard",
"index_name" : "common"
}
},
"path" : "just_name",
"type" : "multi_field"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment