Skip to content

Instantly share code, notes, and snippets.

@rkroll
Created May 22, 2013 20:30
Show Gist options
  • Save rkroll/5630647 to your computer and use it in GitHub Desktop.
Save rkroll/5630647 to your computer and use it in GitHub Desktop.
{
"query": {
"match_all": {}
},
"size": 0,
"facets": {
"tags": {
"terms": {
"field": "addr_city.untouched",
"size": 200
},
"facet_filter": {
"term": {
"addr_state.untouched": "FL"
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment