Re: Spatial search - SOLR 3.1

2011-05-15 Thread Bill Bell
Look up a few lines to see q={!func}geodist() ...&q={!func}geodist()&sfield=store&pt=45.15,-93.85&sort=score asc On 5/11/11 9:25 AM, "Smiley, David W." w

Re: Spatial search - SOLR 3.1

2011-05-12 Thread roySolr
Hello David, It's easy to calculate it by myself but it was nice if SOLR returns distance in the response. I can sort on distance and calculate the distance with PHP to show it to the users. -- View this message in context: http://lucene.472066.n3.nabble.com/Spatial-search-SOLR-3-1-tp2927579p293

Re: Spatial search - SOLR 3.1

2011-05-11 Thread Smiley, David W.
Hi Roy. See this: http://wiki.apache.org/solr/SpatialSearch#Returning_the_distance I recommend returning the point location and calculating the distance yourself -- it's not hard. Getting Solr to return it is a bit of a hack now. ~ David Smiley Author: http://www.packtpub.com/solr-1-4-enterpri