missing javadocs

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4446@1397860 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2012-10-13 15:31:30 +00:00
parent 2ea2adcf6b
commit 2db5d70aba
2 changed files with 4 additions and 0 deletions

View File

@ -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;

View File

@ -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);
}