Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

add note

Robert Muir5d76d262c9cd
diff --git a/lucene/core/src/java/org/apache/lucene/codecs/DocValuesConsumer.java b/lucene/core/src/java/org/apache/lucene/codecs/DocValuesConsumer.java
index b9f30fe943d..fa08a1286af 100644
--- a/lucene/core/src/java/org/apache/lucene/codecs/DocValuesConsumer.java
+++ b/lucene/core/src/java/org/apache/lucene/codecs/DocValuesConsumer.java
@@ -573,6 +573,7 @@ public abstract class DocValuesConsumer implements Closeable {
nextIsSet = true;
return true;
} else {
+ // nocommit: nulling is a hack to prevent calling next() after NO_MORE was already returned...
iterator = null;
docIDUpto++;
}