Dear Wiki user, You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The "SpatialSearch" page has been changed by Bill Bell: http://wiki.apache.org/solr/SpatialSearch?action=diff&rev1=77&rev2=78 This returns the as the score - the closest distance for 2 points that the user wants to check near (Denver and San Francisco): - . [[http://localhost:8983/solr/provs2/select?q=*:*&sort=min(geodist(store_lat_lon,37.7,-122.4),geodist(store_lat_lon,39.7,-105))%20asc&fl=store_lat_lon,score|...&sort=min(geodist(store_lat_lon,37.7,-122.4),geodist(store_lat_lon,39.7,-105))%20asc]] + . [[http://localhost:8983/solr/provs2/select?q=*:*&sort=min(geodist(store,37.7,-122.4),geodist(store,39.7,-105))%20asc&fl=store,score|...&sort=min(geodist(store,37.7,-122.4),geodist(store,39.7,-105))%20asc]] Or - . [[http://localhost:8983/solr/provs2/select?q={!func}min(geodist(store_lat_lon,37.7,-122.4),geodist(store_lat_lon,39.7,-105))&sort=score%20asc&fl=store_lat_lon,score|...&q={!func}min(geodist(store_lat_lon,37.7,-122.4),geodist(store_lat_lon,39.7,-105))&sort=score%20asc]] + . [[http://localhost:8983/solr/provs2/select?q={!func}min(geodist(store,37.7,-122.4),geodist(store,39.7,-105))&sort=score%20asc&fl=store,score|...&q={!func}min(geodist(store,37.7,-122.4),geodist(store,39.7,-105))&sort=score%20asc]] == Returning the distance == <!> [[Solr4.0]]