pass score docs in order in custom boost factor query

This commit is contained in:
kimchy 2010-06-13 12:41:16 +03:00
parent 2daa54a2bb
commit ec481159d6
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ public class CustomBoostFactorQuery extends Query {
@Override
public Scorer scorer(IndexReader reader, boolean scoreDocsInOrder, boolean topScorer) throws IOException {
Scorer subQueryScorer = subQueryWeight.scorer(reader, true, false);
Scorer subQueryScorer = subQueryWeight.scorer(reader, scoreDocsInOrder, false);
if (subQueryScorer == null) {
return null;
}