Hi, i am trying to return distance in the solr query, by passing in the
"fl=geodist()" and i dont see distance being returned. 
We have a field called coordinates which is configured as latlong and when i
perform the following search, i do see results
q=*:*&fq={!geofilt}&sfield=coordinates&pt=31.2225,-85.3931&fl=id,name   =>
this works fine

q=*:*&fq={!geofilt}&sfield=coordinates&pt=31.2225,-85.3931&fl=id,name,geodist() 
 
=> this doesnt return distance


But when i add geodist() to the "fl parameter", i dont see the pseudo column
being returned. It returns the "id" and "name" only, but not the distance.
WE are using Solr 4.0. Can anybody please let me know what is wrong with the
query?  I also tried passing in the lat , long as arguments to the geodist,
but doesnt help.

I am totally lost in the solr system, can anybody please help?

thanks
SolrNovice



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-Geodist-tp3287005p3287005.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to