Class StoredFieldsFormat
Controls the format of stored fields.
Inheritance
System.Object
StoredFieldsFormat
Namespace: Lucene.Net.Codecs
Assembly: Lucene.Net.dll
Syntax
public abstract class StoredFieldsFormat : object
Constructors
| Improve this Doc View SourceStoredFieldsFormat()
Sole constructor. (For invocation by subclass constructors, typically implicit.)
Declaration
protected StoredFieldsFormat()
Methods
| Improve this Doc View SourceFieldsReader(Directory, SegmentInfo, FieldInfos, IOContext)
Returns a StoredFieldsReader to load stored fields.
Declaration
public abstract 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 |
FieldsWriter(Directory, SegmentInfo, IOContext)
Returns a StoredFieldsWriter to write stored fields.
Declaration
public abstract StoredFieldsWriter FieldsWriter(Directory directory, SegmentInfo si, IOContext context)
Parameters
Type | Name | Description |
---|---|---|
Directory | directory | |
SegmentInfo | si | |
IOContext | context |
Returns
Type | Description |
---|---|
StoredFieldsWriter |