Skip to content

Instantly share code, notes, and snippets.

@acampagna
Created January 30, 2013 15:54
Show Gist options
  • Save acampagna/73222e300be9fffd6380 to your computer and use it in GitHub Desktop.
Save acampagna/73222e300be9fffd6380 to your computer and use it in GitHub Desktop.
{
markers: {
properties: {
id: {
type: "string",
"index" : "analyzed"
},
map_id: {
type: "string",
"index" : "analyzed"
},
bid: {
type: "string",
"index" : "analyzed"
},
owner: {
type: "string",
"index" : "analyzed"
},
marker_name: {
type: "string",
search_analyzer : "marker_keyword_only",
index_analyzer : "marker_keyword_only"
},
map_name: {
type: "string",
search_analyzer : "marker_search_analyzer",
index_analyzer : "marker_index_analyzer"
},
"location": {
"type": "geo_point"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment