I'm using solr function queries to generate my own custom score. I achieve this using something along these lines:
q=_val_:"my_custom_function()" This populates the score field as expected, but it also includes documents that score 0. I need a way to filter the results so that scores below zero are not included. I realize that I'm using score in a non-standard way and that normally the score that lucene/solr produce is not absolute. However, producing my own score works really well for my needs. I've tried using {!frange l=0} but this causes the score for all documents to be "1.0". I've found that I can do the following: q=*:*&fl=foo:my_custom_function()&fq={!frange l=1}my_custom_function() This puts my custom score into foo, but it requires me to list all the logic twice. Sometimes my logic is very long. -- View this message in context: http://lucene.472066.n3.nabble.com/Filter-results-based-on-custom-scoring-and-val-tp4012968.html Sent from the Solr - User mailing list archive at Nabble.com.