We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fb7e45 commit 62215c4Copy full SHA for 62215c4
server/src/main/java/org/elasticsearch/search/vectors/DiversifyingParentBlockQuery.java
@@ -133,7 +133,7 @@ public int nextDoc() throws IOException {
133
@Override
134
public int advance(int target) throws IOException {
135
if (exhausted) {
136
- return NO_MORE_DOCS;
+ return currentDoc = NO_MORE_DOCS;
137
}
138
if (currentDoc == -1 || innerIterator.docID() < target) {
139
if (innerIterator.advance(target) == NO_MORE_DOCS) {
0 commit comments