Thanks for your response. It looks like this may not suffice my use
case. What I want to do is somewhat the opposite, that is
I store a bunch of polygons and then query for polygons that include a
given point (lat, long). Please correct me if I misunderstood.
Thanks for your help in advance.
The geoshape support in v0.20 sounds like what you need:
Should be released in the next few weeks I'd imagine
On Thursday, November 8, 2012 1:50:01 AM UTC-8, simonw wrote:
take a look
at http://www.elasticsearch.org/guide/reference/query-dsl/geo-polygon-filter.html maybe this is sufficient for your usecase?
On Thursday, November 8, 2012 7:37:03 AM UTC+1, Ali wrote:
Thanks in advance for looking at my question.
I would like to store a collection of polygons (each
point of the polygon being a lat, long position).
Next, given a point (lat, long) say p I would like to
know which polygons enclose/contain point p.
Does elastic search support such a query? If not what
is the closest thing elastic search can support?