mirror of https://github.com/apache/lucene.git
Fix test failures.
This commit is contained in:
parent
f42f03a191
commit
deae39b01d
|
@ -160,7 +160,7 @@ public final class DisjunctionMaxQuery extends Query implements Iterable<Query>
|
|||
|
||||
@Override
|
||||
public BulkScorer bulkScorer() throws IOException {
|
||||
if (tieBreakerMultiplier == 0f) {
|
||||
if (tieBreakerMultiplier == 0f && scoreMode == ScoreMode.TOP_SCORES) {
|
||||
List<BulkScorer> scorers = new ArrayList<>();
|
||||
for (ScorerSupplier ss : scorerSuppliers) {
|
||||
scorers.add(ss.bulkScorer());
|
||||
|
|
Loading…
Reference in New Issue