Sounds like a custom sorting collector would work - one that throws away docs 
with less than some minimum score, so that it only collects/sorts documents 
with some minimum score.  AFAIK score is calculated even if you sort by some 
other field.

On Oct 27, 2011, at 9:49 AM, karsten-s...@gmx.de wrote:

> Hi Robert,
> 
> take a look to
> http://lucene.472066.n3.nabble.com/How-to-cut-off-hits-with-score-below-threshold-td3219064.html#a3219117
> and
> http://lucene.472066.n3.nabble.com/Filter-by-relevance-td1837486.html
> 
> So will
> sort=date+desc&q={!frange l=0.85}query($qq)
> qq=<the original relevancy query>
> help?
> 
> 
> Best regards
>  Karsten 
> 
> -------- Original-Nachricht --------
>> Datum: Thu, 27 Oct 2011 12:30:31 +0100
>> Von: Robert Brown <r...@intelcompute.com>
>> An: solr-user@lucene.apache.org
>> Betreff: Limit by score? sort by other field
> 
>> When we display search results to our users we include a percentage 
>> score.
>> 
>> Top result being 100%, then all others normalised based on the 
>> maxScore, calculated outside of Solr.
>> 
>> We now want to limit returned docs with a percentage score higher than 
>> say, 50%.
>> 
>> e.g. We want to search but only return docs scoring above 80%, but 
>> want to sort by date, hence not being able to just sort by score.
>> 

Reply via email to