Class AssertingStoredFieldsFormat
Just like Lucene.Net.Codecs.Lucene41.Lucene41StoredFieldsFormat but with additional asserts.
Inherited Members
Namespace: Lucene.Net.Codecs.Asserting
Assembly: Lucene.Net.TestFramework.dll
Syntax
public class AssertingStoredFieldsFormat : StoredFieldsFormat
Methods
FieldsReader(Directory, SegmentInfo, FieldInfos, IOContext)
Returns a Lucene.Net.Codecs.StoredFieldsReader to load stored fields.
Declaration
public override StoredFieldsReader FieldsReader(Directory directory, SegmentInfo si, FieldInfos fn, IOContext context)
Parameters
Type | Name | Description |
---|---|---|
Directory | directory | |
SegmentInfo | si | |
FieldInfos | fn | |
IOContext | context |
Returns
Type | Description |
---|---|
StoredFieldsReader |
Overrides
Lucene.Net.Codecs.StoredFieldsFormat.FieldsReader(Lucene.Net.Store.Directory, Lucene.Net.Index.SegmentInfo, Lucene.Net.Index.FieldInfos, Lucene.Net.Store.IOContext)
FieldsWriter(Directory, SegmentInfo, IOContext)
Returns a Lucene.Net.Codecs.StoredFieldsWriter to write stored fields.
Declaration
public override StoredFieldsWriter FieldsWriter(Directory directory, SegmentInfo si, IOContext context)
Parameters
Type | Name | Description |
---|---|---|
Directory | directory | |
SegmentInfo | si | |
IOContext | context |
Returns
Type | Description |
---|---|
StoredFieldsWriter |
Overrides
Lucene.Net.Codecs.StoredFieldsFormat.FieldsWriter(Lucene.Net.Store.Directory, Lucene.Net.Index.SegmentInfo, Lucene.Net.Store.IOContext)