[hibernate-dev] [HSEARCH] Geo queries in ElasticSearch

Nicolas Helleringer nicolas.helleringer at gmail.com
Wed Jul 3 05:24:27 EDT 2013

Was is demonstrated here has nothing of a facet : these are only aggregates.

GeoDistanceFacet results:
Distance from origin: 0.0
Distance to requested: 1000.0
Number of results: 29
Minimum distance: 0.0
Maximum distance: 899.5358131385483
Sum of distances: 17320.209230844222
Mean distance: 597.2485941670421

I see nothing we cannot do.


2013/7/3 Emmanuel Bernard <emmanuel at hibernate.org>:
> This morning I was reading http://hashmade.fr/elastic-search-geo-distance-search-with-sorted-and-faceted-results-using-java-native-api/
> And the code https://github.com/jsebrien/elastic-search-tests
> I have to say that we compare quite well in number of lines of code and readability. Considering that ElasticSearch is considered the easy tool / API in the search space, I did not expect that.
> We could do better on the facet side, I particular to retrieve the facet data.
> By the way, they offer a way to facet by spatial distance, Hardy, Nicolas, how hard would it be to do the same?
> Emmanuel
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev

More information about the hibernate-dev mailing list