Hi - sure you can, using the frange parser as a filter:

https://cwiki.apache.org/confluence/display/solr/Other+Parsers#OtherParsers-FunctionRangeQueryParser
http://lucene.apache.org/solr/4_10_3/solr-core/org/apache/solr/search/FunctionRangeQParserPlugin.html

But this is very much not recommended, at all, so don't do it:

https://wiki.apache.org/lucene-java/LuceneFAQ#Can_I_filter_by_score.3F
 
-----Original message-----
> From:Ali Nazemian <alinazem...@gmail.com>
> Sent: Tuesday 3rd February 2015 16:22
> To: solr-user@lucene.apache.org
> Subject: MoreLikeThis filter by score threshold
> 
> Hi,
> I was wondering how can I limit the result of MoreLikeThis query by the
> score value instead of filtering them by document count?
> Thank you very much.
> 
> -- 
> A.Nazemian
> 

Reply via email to