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 aStoredFieldsReader
to load stored fields.fieldsWriter
(Directory directory, SegmentInfo si, IOContext context) Returns aStoredFieldsWriter
to 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:StoredFieldsFormat
Returns aStoredFieldsReader
to load stored fields.- Specified by:
fieldsReader
in classStoredFieldsFormat
- Throws:
IOException
-
fieldsWriter
public StoredFieldsWriter fieldsWriter(Directory directory, SegmentInfo si, IOContext context) throws IOException Description copied from class:StoredFieldsFormat
Returns aStoredFieldsWriter
to write stored fields.- Specified by:
fieldsWriter
in classStoredFieldsFormat
- Throws:
IOException
-