Was is demonstrated here has nothing of a facet : these are only aggregates.
<quote>
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
</quote>
I see nothing we cannot do.
Niko
2013/7/3 Emmanuel Bernard <emmanuel(a)hibernate.org>:
This morning I was reading
http://hashmade.fr/elastic-search-geo-distance-search-with-sorted-and-fac...
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(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev