pass score docs in order in custom boost factor query
This commit is contained in:
parent
2daa54a2bb
commit
ec481159d6
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue