: stable that version is ) . I want to make the geodist work, but with a
: stable release. Looks like the geodist doesnt work in prior release of solr.

To be clear: geodist has been arround in Solr since 3.1, the question is 
about getting the result of the geodist function as a pseduo-field in the 
response, which is something new in the 4x trunk code base.

As noted on the wiki, a work arround for 3x versions of Solr is to use the 
"function" as the only scoring portion of the query, and put other query 
clauses in "fq" params so they don't change the score (so the "score" of 
each document is the "distance")

https://wiki.apache.org/solr/SpatialSearch#Returning_the_distance


-Hoss

Reply via email to