Module org.apache.lucene.codecs
Class SimpleTextStoredFieldsFormat
java.lang.Object
org.apache.lucene.codecs.StoredFieldsFormat
org.apache.lucene.codecs.simpletext.SimpleTextStoredFieldsFormat
plain text stored fields format.
FOR RECREATIONAL USE ONLY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfieldsReader(Directory directory, SegmentInfo si, FieldInfos fn, IOContext context) Returns aStoredFieldsReaderto load stored fields.fieldsWriter(Directory directory, SegmentInfo si, IOContext context) Returns aStoredFieldsWriterto write stored fields.
-
Constructor Details
-
SimpleTextStoredFieldsFormat
public SimpleTextStoredFieldsFormat()
-
-
Method Details
-
fieldsReader
public StoredFieldsReader fieldsReader(Directory directory, SegmentInfo si, FieldInfos fn, IOContext context) throws IOException Description copied from class:StoredFieldsFormatReturns aStoredFieldsReaderto load stored fields.- Specified by:
fieldsReaderin classStoredFieldsFormat- Throws:
IOException
-
fieldsWriter
public StoredFieldsWriter fieldsWriter(Directory directory, SegmentInfo si, IOContext context) throws IOException Description copied from class:StoredFieldsFormatReturns aStoredFieldsWriterto write stored fields.- Specified by:
fieldsWriterin classStoredFieldsFormat- Throws:
IOException
-