I have a similar problem except I need to filter scores that are too high.
Robert Stewart <bstewart...@gmail.com> 於 Oct 27, 2011 7:04 AM 寫道: > BTW, this would be good standard feature for SOLR, as I've run into this > requirement more than once. > > > 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. >>> >