final class SimpleTextPostingsFormat extends PostingsFormat
This codec stores all postings data in a single human-readable text file (_N.pst). You can view this in any text editor, and even edit it to alter your index.
Modifier and Type | Field and Description |
---|---|
(package private) static java.lang.String |
POSTINGS_EXTENSION
Extension of freq postings file
|
EMPTY
Constructor and Description |
---|
SimpleTextPostingsFormat() |
Modifier and Type | Method and Description |
---|---|
FieldsConsumer |
fieldsConsumer(SegmentWriteState state)
Writes a new segment
|
FieldsProducer |
fieldsProducer(SegmentReadState state)
Reads a segment.
|
(package private) static java.lang.String |
getPostingsFileName(java.lang.String segment,
java.lang.String segmentSuffix) |
availablePostingsFormats, forName, getName, reloadPostingsFormats, toString
static final java.lang.String POSTINGS_EXTENSION
public FieldsConsumer fieldsConsumer(SegmentWriteState state) throws java.io.IOException
PostingsFormat
fieldsConsumer
in class PostingsFormat
java.io.IOException
public FieldsProducer fieldsProducer(SegmentReadState state) throws java.io.IOException
PostingsFormat
fieldsProducer
in class PostingsFormat
java.io.IOException
static java.lang.String getPostingsFileName(java.lang.String segment, java.lang.String segmentSuffix)