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, toStringstatic final java.lang.String POSTINGS_EXTENSION
public FieldsConsumer fieldsConsumer(SegmentWriteState state) throws java.io.IOException
PostingsFormatfieldsConsumer in class PostingsFormatjava.io.IOExceptionpublic FieldsProducer fieldsProducer(SegmentReadState state) throws java.io.IOException
PostingsFormatfieldsProducer in class PostingsFormatjava.io.IOExceptionstatic java.lang.String getPostingsFileName(java.lang.String segment,
java.lang.String segmentSuffix)