You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: x-pack/plugin/old-lucene-versions/src/main/java/org/elasticsearch/xpack/lucene/bwc/codecs/index/LegacyDocValuesIterables.java
+9-3Lines changed: 9 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -222,24 +222,30 @@ public Iterator<Number> iterator() {
222
222
223
223
returnnewIterator<Number>() {
224
224
privatebooleannextIsSet;
225
+
privateintcurrentIndex = 0;
225
226
privatelongnextOrd;
226
227
227
228
privatevoidsetNext() {
228
229
try {
229
230
if (nextIsSet == false) {
230
231
if (values.docID() == -1) {
231
232
values.nextDoc();
233
+
currentIndex = 0;
232
234
}
233
235
while (true) {
234
236
if (values.docID() == DocIdSetIterator.NO_MORE_DOCS) {
Copy file name to clipboardExpand all lines: x-pack/plugin/old-lucene-versions/src/test/java/org/elasticsearch/xpack/lucene/bwc/codecs/lucene54/Lucene54DocValuesFormatTests.java
0 commit comments