diff --git a/lucene/core/src/java/org/apache/lucene/codecs/SimpleDocValuesFormat.java b/lucene/core/src/java/org/apache/lucene/codecs/SimpleDocValuesFormat.java index 839c30ec9f3..0a6f87dde1a 100644 --- a/lucene/core/src/java/org/apache/lucene/codecs/SimpleDocValuesFormat.java +++ b/lucene/core/src/java/org/apache/lucene/codecs/SimpleDocValuesFormat.java @@ -19,6 +19,7 @@ package org.apache.lucene.codecs; import java.io.IOException; +import org.apache.lucene.index.SegmentReadState; import org.apache.lucene.index.SegmentWriteState; public abstract class SimpleDocValuesFormat { @@ -30,5 +31,5 @@ public abstract class SimpleDocValuesFormat { public abstract SimpleDVConsumer fieldsConsumer(SegmentWriteState state) throws IOException; // nocommit do this: - //public abstract SimpleDVProducer fieldsProducer(SegmentReadState state) throws IOException; + public abstract PerDocProducer fieldsProducer(SegmentReadState state) throws IOException; } diff --git a/lucene/core/src/java/org/apache/lucene/index/SortedBytesDVWriter.java b/lucene/core/src/java/org/apache/lucene/index/SortedBytesDVWriter.java index 78f0d2d851d..556e57b49fd 100644 --- a/lucene/core/src/java/org/apache/lucene/index/SortedBytesDVWriter.java +++ b/lucene/core/src/java/org/apache/lucene/index/SortedBytesDVWriter.java @@ -142,4 +142,4 @@ class SortedBytesDVWriter { fixedLength = -2; maxLength = 0; } -} \ No newline at end of file +}