: 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
did you look at the example query Karsten mentioned (and also discussedin the linked thread) there is no need for a custom collector to do this, you just need to specify the range of score values you want to constrain the results to (but if you wnat it based on a percentage, you have to first do a request to compute the real values to use on your ranges relative the max score)... : > So will : > sort=date+desc&q={!frange l=0.85}query($qq) : > qq=<the original relevancy query> : > help? All of this requires you to bear in mind a *HUGE* freaking caveat about filtering by score and scores as percentages... https://wiki.apache.org/lucene-java/LuceneFAQ#Can_I_filter_by_score.3F https://wiki.apache.org/lucene-java/ScoresAsPercentages -Hoss