Skip to content

Instantly share code, notes, and snippets.

View kimchey's full-sized avatar

Asad Ali kimchey

View GitHub Profile
@kimchey
kimchey / geopoly_percolator
Last active December 11, 2015 01:08
Geo-Polygon Percolator
1) Here is the mapping:
curl -XGET localhost:9200/listing/listing/_mapping
{"listing":{"properties":{"address":{"type":"string"},
"id":{"type":"string"},
"location":{"type":"geo_point"}
}}}
2)This is my percolator query: