Skip to content

Apache Lucene open-source search software

Improve Javadoc for DocValuesConsumer (#12952)

Zhang Chao5152051f680c
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 13ad32cf696..0d171812fae 100644
--- a/lucene/core/src/java/org/apache/lucene/codecs/DocValuesConsumer.java
+++ b/lucene/core/src/java/org/apache/lucene/codecs/DocValuesConsumer.java
@@ -55,7 +55,7 @@ import org.apache.lucene.util.packed.PackedInts;
* <p>The lifecycle is:
*
* <ol>
- * <li>DocValuesConsumer is created by {@link NormsFormat#normsConsumer(SegmentWriteState)}.
+ * <li>DocValuesConsumer is created by {@link DocValuesFormat#fieldsConsumer(SegmentWriteState)}.
* <li>{@link #addNumericField}, {@link #addBinaryField}, {@link #addSortedField}, {@link
* #addSortedSetField}, or {@link #addSortedNumericField} are called for each Numeric, Binary,
* Sorted, SortedSet, or SortedNumeric docvalues field. The API is a "pull" rather than