Hi Erick 
I tried this link but do not see a straight forward answer. 
For example it says:
/You can use the pseudo-field feature to return the distance along with the
stored fields of each document by adding fl=geodist() to the request/
So I tried:
...?q={!func}dist(2, lat, lng, 0, 0)&fl=geodist()&wt=xml&indent=true
<http://>   which returnes:
*<lst name="error">
  <str name="msg">Error parsing fieldname: geodist - not enough
parameters:[]</str>
  <int name="code">400</int>
</lst>*

Also it is not clear what is sfield=store in all examples, like this:
...&q={!func}geodist()&sfield=store&pt=45.15,-93.85&sort=score asc <http://>  
So if possible could you explain this either. 



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

Reply via email to