&q=*:*&sfield=store&pt=45.15,-93.85&fl=name,store,geodist()
Actually, you don't even have to specify the d=, I misunderstood. Best Erick On Tue, Aug 30, 2011 at 9:56 AM, solrnovice <manisha...@yahoo.com> wrote: > hi Eric, thank you for the tip, i will try that option. Where can i find a > document that shows details of geodist arguments, when i google, i did not > find one. > so this is what my query is like. I want the distance to be returned. i dont > now exactly what all to pass to geodist, as i couldnt find a proper > document. > > http://localhost:8888/solr/apex_dev/select/?q=city:Quincy&fl=city,state,coordinates,score,geodist(39.9435,-120.9226). > > So i want to pass in the long and lat of Quincy and then i want all the > records which are tagged with Quincy should be returned ( as i am doing a > q=city:Qunicy search) and also distance to be displayed. Can you please let > me know what i should pass into goedist(), in this scenario. > > > thanks > SN > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-Geodist-tp3287005p3295606.html > Sent from the Solr - User mailing list archive at Nabble.com. >