I was looking at functionqueries, and noticed that: 1. if I use the sum functionquery, the score in the results is the sum of the values I want to sum (all well and good and expected):
http://127.0.0.1:8080/solr/select?q=(*:*)^0%20%20_val_:"sum(1,2,3,4,5)"&fl=score,Latitude,Longitude&sort=score%20asc 2. if I use the hsin functionquery (i.e. hsin(45.67890,-123.456789,Latitude,Longitude,10)"</), the score in the results is not the distance between the two points: http://127.0.0.1:8080/solr/select?q=(*:*)^0%20%20_val_:"hsin(45.67890,-123.456789,Latitude,Longitude,10)"&fl=score,Latitude,Longitude&sort=score%20asc assuming this is not a quirk in 1.5, is there some way to convert the hsin value to distance? thx -- View this message in context: http://old.nabble.com/how-is-score-computed-with-hsin-functionquery--tp26504265p26504265.html Sent from the Solr - User mailing list archive at Nabble.com.