I have a function query that returns miles as a score along two points:

q={!func}sub(sum(geodist(OriginCoordinates,39,-105),geodist(DestinationCoordinates,36,-97),Mileage),1000)

The issue that I'm having now now my results give me a list of scores:
*score:10.1 (mi)
score: 20 (mi)
score: 75 (mi)
*
But I would like to also add a clause that cuts off the results after X
miles (say 50) so that 75 above would not be included in the results.
Unfortunately I can't say fq=score:[0 TO 50], but perhaps there is another
way? I'm on solr 4.0

Thanks!

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Trying-to-avoid-filtering-on-score-as-I-m-told-that-s-bad-tp3991696.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to