Skip to content

Commit 5170af6

Browse files
committed
lucene_snapshot: fix compile issue
1 parent 5d3aeb4 commit 5170af6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/inference/ltr/QueryFeatureExtractor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public void setNextReader(LeafReaderContext segmentContext) throws IOException {
5555
scorers.add(scorer);
5656
}
5757

58-
rankerIterator = disiPriorityQueue.size() > 0 ? new DisjunctionDISIApproximation(wrappers, Long.MAX_VALUE) : null;
58+
rankerIterator = wrappers.size() > 0 ? new DisjunctionDISIApproximation(wrappers, Long.MAX_VALUE) : null;
5959
}
6060

6161
@Override

0 commit comments

Comments
 (0)