Filter results where given geopint is in an indexed polygon

(Bobby Hubbard) #1

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?

(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. is a blog post outlining exactly this use case.

(Bobby Hubbard) #3

Perfect. thanks!

(system) #4