Remove results below a certain score threshold in Solr/Lucene?

Posted by snickernet on Stack Overflow See other posts from Stack Overflow or by snickernet
Published on 2010-05-20T06:50:08Z Indexed on 2010/05/20 6:50 UTC
Read the original article Hit count: 199

Filed under:
|

Hi Guys,

Is there a built-in functionalities in solr/lucene to filter the results if they fall below a certain score threshold? Let's say if I provide a score threshold of .2, then all documents with score less than .2 will be removed from my results. My intuition is that this is possible by updating/customizing solr or lucene.

Could you point me to right direction on how to do this?

Thanks in advance!

© Stack Overflow or respective owner

Related posts about solr

Related posts about lucene