You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Tri Nguyen <tr...@yahoo.com> on 2011/08/13 00:35:48 UTC

sorting distance in solr 1.4.1

Hi,
 
We are using solr 1.4.1 and we need to sort our results by distance. We have lat lons for each document in the response and our reference point.
 
Is it possible?  I read about the spatial plugin but the does range searching:
 
http://blog.jayway.com/2010/10/27/geo-search-with-spatial-solr-plugin/
 
Doesn't talk about sorting the results by distance (as supported by solr 3.1).
 
Tri