public 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.
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.
|
availablePostingsFormats, forName, getName, reloadPostingsFormats, toString
public FieldsConsumer fieldsConsumer(SegmentWriteState state) throws IOException
PostingsFormat
fieldsConsumer
in class PostingsFormat
IOException
public FieldsProducer fieldsProducer(SegmentReadState state) throws IOException
PostingsFormat
fieldsProducer
in class PostingsFormat
IOException
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.