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