mirror of https://github.com/apache/lucene.git
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:
parent
2ea2adcf6b
commit
2db5d70aba
|
@ -62,6 +62,7 @@ public final class Lucene41PostingsReader extends PostingsReaderBase {
|
||||||
|
|
||||||
// public static boolean DEBUG = false;
|
// public static boolean DEBUG = false;
|
||||||
|
|
||||||
|
/** Sole constructor. */
|
||||||
public Lucene41PostingsReader(Directory dir, FieldInfos fieldInfos, SegmentInfo segmentInfo, IOContext ioContext, String segmentSuffix) throws IOException {
|
public Lucene41PostingsReader(Directory dir, FieldInfos fieldInfos, SegmentInfo segmentInfo, IOContext ioContext, String segmentSuffix) throws IOException {
|
||||||
boolean success = false;
|
boolean success = false;
|
||||||
IndexInput docIn = null;
|
IndexInput docIn = null;
|
||||||
|
|
|
@ -113,6 +113,8 @@ public final class Lucene41PostingsWriter extends PostingsWriterBase {
|
||||||
private final ForUtil forUtil;
|
private final ForUtil forUtil;
|
||||||
private final Lucene41SkipWriter skipWriter;
|
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 {
|
public Lucene41PostingsWriter(SegmentWriteState state, float acceptableOverheadRatio) throws IOException {
|
||||||
super();
|
super();
|
||||||
|
|
||||||
|
@ -181,6 +183,7 @@ public final class Lucene41PostingsWriter extends PostingsWriterBase {
|
||||||
encoded = new byte[MAX_ENCODED_SIZE];
|
encoded = new byte[MAX_ENCODED_SIZE];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Creates a postings writer with <code>PackedInts.COMPACT</code> */
|
||||||
public Lucene41PostingsWriter(SegmentWriteState state) throws IOException {
|
public Lucene41PostingsWriter(SegmentWriteState state) throws IOException {
|
||||||
this(state, PackedInts.COMPACT);
|
this(state, PackedInts.COMPACT);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue