Skip to content

Instantly share code, notes, and snippets.

@sowelie
Created November 11, 2013 15:22
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 sowelie/f74fc81b7e957b5d2022 to your computer and use it in GitHub Desktop.
Save sowelie/f74fc81b7e957b5d2022 to your computer and use it in GitHub Desktop.
{
"from": 0,
"size": 10,
"query": {
"match_all": {}
},
"filter": {
"and": {
"filters": [
{
"geo_shape": {
"searchGeometry": {
"shape": {
"type": "Envelope",
"coordinates": [
[
-88.8957454586029,
38.72142580421628
],
[
38.708799513278024,
-88.87242060661316
]
]
}
},
"_name": null
}
},
{
"terms": {
"featureType": [
"113",
"111",
"105",
"108",
"106",
"115",
"116",
"104",
"107",
"114",
"112",
"109",
"103"
]
}
}
]
}
},
"explain": false,
"fields": [
"featureType",
"geometry",
"previousId",
"updateStamp",
"zoomLevel",
"searchGeometry"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment