Apache Lucene open-source search software
missing javadocs
Robert Muir2db5d70abae6
diff --git a/lucene/core/src/java/org/apache/lucene/codecs/lucene41/Lucene41PostingsReader.java b/lucene/core/src/java/org/apache/lucene/codecs/lucene41/Lucene41PostingsReader.javaindex 7e14977bc25..6292b18e6a7 100644--- a/lucene/core/src/java/org/apache/lucene/codecs/lucene41/Lucene41PostingsReader.java+++ b/lucene/core/src/java/org/apache/lucene/codecs/lucene41/Lucene41PostingsReader.java@@ -62,6 +62,7 @@ public final class Lucene41PostingsReader extends PostingsReaderBase {// public static boolean DEBUG = false;+ /** Sole constructor. */public Lucene41PostingsReader(Directory dir, FieldInfos fieldInfos, SegmentInfo segmentInfo, IOContext ioContext, String segmentSuffix) throws IOException {boolean success = false;IndexInput docIn = null;diff --git a/lucene/core/src/java/org/apache/lucene/codecs/lucene41/Lucene41PostingsWriter.java b/lucene/core/src/java/org/apache/lucene/codecs/lucene41/Lucene41PostingsWriter.javaindex 4298ea6c13b..19391afcaa7 100644--- a/lucene/core/src/java/org/apache/lucene/codecs/lucene41/Lucene41PostingsWriter.java+++ b/lucene/core/src/java/org/apache/lucene/codecs/lucene41/Lucene41PostingsWriter.java@@ -113,6 +113,8 @@ public final class Lucene41PostingsWriter extends PostingsWriterBase {private final ForUtil forUtil;private final Lucene41SkipWriter skipWriter;+ /** Creates a postings writer with the specified PackedInts overhead ratio */+ // TODO: does this ctor even make sense?public Lucene41PostingsWriter(SegmentWriteState state, float acceptableOverheadRatio) throws IOException {super();@@ -181,6 +183,7 @@ public final class Lucene41PostingsWriter extends PostingsWriterBase {encoded = new byte[MAX_ENCODED_SIZE];}+ /** Creates a postings writer with <code>PackedInts.COMPACT</code> */public Lucene41PostingsWriter(SegmentWriteState state) throws IOException {this(state, PackedInts.COMPACT);}