Trying a Java query to search Locations by latitude/longitude pair:
(Locations is indexed as geo_point, with lat_lon set to true)
SearchResponse response =
This query works Ok, however it requires specifying a "distance" in the
filter, Locations in my index should be unique,
and so I 'm looking into another option to construct a query given only
latitude & longitude as inputs, and the result being one or none.
I was wondering if specifying a distance may yields more than a single