Geo filters


(Manjunatha Hande P S) #1

Information :-
I was trying to filter my documents based on the location object which I get from a database and provide items only available in that location. I have polygons in my location object. Also I want to use both geo-filter with bool filter.

Doubt :-
So is there a way to check the co-ordinate which I get from google Maps API falls within polygons (having a set of co-ordinates) which I already indexed into Elasticsearch using any geo related filters without any percolator ? If so, can I combine that filter with bool filter ? And if I can combine then will it be able to filter the documents based on both the filters ?


(system) #2