Class AssertingStoredFieldsFormat
java.lang.Object
org.apache.lucene.codecs.StoredFieldsFormat
org.apache.lucene.tests.codecs.asserting.AssertingStoredFieldsFormat
Just like the default stored fields format but with additional asserts.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfieldsReader
(Directory directory, SegmentInfo si, FieldInfos fn, IOContext context) fieldsWriter
(Directory directory, SegmentInfo si, IOContext context)
-
Constructor Details
-
AssertingStoredFieldsFormat
public AssertingStoredFieldsFormat()
-
-
Method Details
-
fieldsReader
public StoredFieldsReader fieldsReader(Directory directory, SegmentInfo si, FieldInfos fn, IOContext context) throws IOException - Specified by:
fieldsReader
in classStoredFieldsFormat
- Throws:
IOException
-
fieldsWriter
public StoredFieldsWriter fieldsWriter(Directory directory, SegmentInfo si, IOContext context) throws IOException - Specified by:
fieldsWriter
in classStoredFieldsFormat
- Throws:
IOException
-