I'm working on a use case where the index includes documents that have a polygon geoshape. I want to be able to query those documents passing a single geopoint and return only results which have polygons where the given point is included. I've read through the geo filters and they all seem to support the inverse of that usecase. Any recommendations how to solve this?
Bobby_Pilot (Bobby Hubbard) #1
shanec (Shane Connelly) #2
This is a pretty good use case for percolator: register your shapes as queries and then check your points for which it matches. https://www.elastic.co/blog/using-percolator-geo-tagging is a blog post outlining exactly this use case.
Bobby_Pilot (Bobby Hubbard) #3
system (system) #4