Skip to content

Instantly share code, notes, and snippets.

@oakstream
oakstream / new.json
Created February 25, 2013 20:45
ElasticSearch Test Case , Query is not selecting all 3 indexes during spatial query. (Also first query is not returning any records...this might be user error)??
{ "index" : {"_index" : "geoindex10", "_type" : "geo"} }
{"fclass": "T", "admin1": "00", "elevation": null, "name": "Costa de Xurius", "dem": "1434", "geonameid": "3038814", "country": "AD", "moddate": "1993-12-23", "lon": 1.48333, "location": "42.5 , 1.48333", "cc2": null, "fcode": "SLP", "alternatenames": null, "admin3": null, "admin2": null, "admin4": null, "timezone": "Europe/Andorra", "lat": 42.5, "asciiname": "Costa de Xurius", "population": "0"}
{ "index" : {"_index" : "geoindex11", "_type" : "geo"} }
{"fclass": "T", "admin1": "00", "elevation": null, "name": "Costa de Xurius", "dem": "1434", "geonameid": "3038814", "country": "AD", "moddate": "1993-12-23", "lon": 1.48333, "location": "42.5 , 1.48333", "cc2": null, "fcode": "SLP", "alternatenames": null, "admin3": null, "admin2": null, "admin4": null, "timezone": "Europe/Andorra", "lat": 42.5, "asciiname": "Costa de Xurius", "population": "0"}
{ "index" : {"_index" : "geoindex12", "_type" : "geo"} }
{"fclass": "T", "admin1": "00", "elevation": null, "n