Skip to content

Instantly share code, notes, and snippets.

@jdsimcoe
Created October 21, 2013 23:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jdsimcoe/7092491 to your computer and use it in GitHub Desktop.
Save jdsimcoe/7092491 to your computer and use it in GitHub Desktop.
teachings-mapping-json
{
"teachings": {
"properties": {
"title": {
"type" : "multi_field",
"store": "yes",
"fields": {
"title": {"type" : "string"},
"symphony_fulltext" : {"type" : "string", "analyzer": "symphony_fulltext"},
"symphony_autocomplete" : {"type" : "string", "analyzer": "symphony_autocomplete"}
},
"boost": 3.0
},
"book": {
"type" : "multi_field",
"store": "yes",
"fields": {
"book": {"type" : "string"},
"symphony_fulltext" : {"type" : "string", "analyzer": "symphony_fulltext"}
},
"symphony_highlight": "yes"
},
"chapter": {
"type" : "multi_field",
"store": "yes",
"fields": {
"chapter": {"type" : "string"},
"symphony_fulltext" : {"type" : "string", "analyzer": "symphony_fulltext"}
},
"symphony_highlight": "yes"
},
"description": {
"type" : "multi_field",
"store": "yes",
"fields": {
"description": {"type" : "string"},
"symphony_fulltext" : {"type" : "string", "analyzer": "symphony_fulltext"}
},
"symphony_highlight": "yes"
},
"speaker": {
"type" : "multi_field",
"store": "yes",
"fields": {
"speaker": {"type" : "string"},
"symphony_fulltext" : {"type" : "string", "analyzer": "symphony_fulltext"}
},
"symphony_highlight": "yes"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment