diff --git a/lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextSimpleDocValuesFormat.java b/lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextSimpleDocValuesFormat.java index 4cf9884c784..72960ae601a 100644 --- a/lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextSimpleDocValuesFormat.java +++ b/lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextSimpleDocValuesFormat.java @@ -356,7 +356,6 @@ public class SimpleTextSimpleDocValuesFormat extends SimpleDocValuesFormat { final Map fields = new HashMap(); SimpleTextDocValuesReader(FieldInfos fieldInfos, Directory dir, SegmentInfo si, IOContext context) throws IOException { - super(si.getDocCount()); System.out.println("dir=" + dir + " seg=" + si.name); data = dir.openInput(IndexFileNames.segmentFileName(si.name, "", "dat"), context); maxDoc = si.getDocCount(); diff --git a/lucene/core/src/java/org/apache/lucene/codecs/SimpleDVProducer.java b/lucene/core/src/java/org/apache/lucene/codecs/SimpleDVProducer.java index 4651f383798..0781a855336 100644 --- a/lucene/core/src/java/org/apache/lucene/codecs/SimpleDVProducer.java +++ b/lucene/core/src/java/org/apache/lucene/codecs/SimpleDVProducer.java @@ -24,17 +24,9 @@ import org.apache.lucene.index.BinaryDocValues; import org.apache.lucene.index.FieldInfo; import org.apache.lucene.index.NumericDocValues; import org.apache.lucene.index.SortedDocValues; -import org.apache.lucene.util.BytesRef; public abstract class SimpleDVProducer implements Closeable { - private final int maxDoc; - - protected SimpleDVProducer(int maxDoc) { - // nocommit kinda messy? - this.maxDoc = maxDoc; - } - public abstract NumericDocValues getNumeric(FieldInfo field) throws IOException; public abstract BinaryDocValues getBinary(FieldInfo field) throws IOException;