In other words, is there a way that I can get the closest/shortest distance
given a point and docs with a geopoint field using aggregations?
Regards,
Dirk
On Monday, February 17, 2014 6:24:37 PM UTC+2, Dirk wrote:
Greetings,
I used a geoDistance() aggregation and retrieved the GeoDistance.Bucket.
However, the API only has getFrom() and getTo() methods but does not have
getMin() and getMax() methods which GeoDistanceFacet.Entry does have. I am
trying to move away from Facets as the specification recommends but I
cannot seem to find an API to get the closest distance given a point and
several docs each with a lat and lon.Is there somewhere where I can get the java docs for ES 1.0?
Kind Regards,
Dirk
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/6c65a4ea-309a-41fd-9ce3-97e63e51a9c1%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.