You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by s d <s....@gmail.com> on 2008/01/08 10:13:10 UTC

Min-Score Filter

Is there a way or a point in filtering all results bellow a certain score?
e.g. exclude all results bellow score Y.Thanks

Re: Min-Score Filter

Posted by Chris Hostetter <ho...@fucit.org>.
: Is there a way or a point in filtering all results bellow a certain score?
: e.g. exclude all results bellow score Y.Thanks

not out of the box, you'd hav to write aq custom request handler to do 
this ... but unless your custom request handler also changes the scoring 
forula drasticly, filtering by min-score is pretty much meaningless...

http://wiki.apache.org/lucene-java/LuceneFAQ#head-912c1f237bb00259185353182948e5935f0c2f03

>Can I filter by score?
>
>Not safely. You can always pick an arbitrary score value and then check 
>the Hits object to see how many results have a score higher than that 
>value (a Binary search might come in handy) but it really doesn't give you 
>any meaningful information because of the way score is calculated... 





-Hoss