Class PostingsBaseFormat
Provides a PostingsReaderBase and PostingsWriterBase.
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
Namespace: Lucene.Net.Codecs
Assembly: Lucene.Net.dll
Syntax
public abstract class PostingsBaseFormat : object
Constructors
| Improve this Doc View SourcePostingsBaseFormat(String)
Sole constructor.
Declaration
protected PostingsBaseFormat(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Properties
| Improve this Doc View SourceName
Unique name that's used to retrieve this codec when reading the index.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourcePostingsReaderBase(SegmentReadState)
Creates the PostingsReaderBase for this format.
Declaration
public abstract PostingsReaderBase PostingsReaderBase(SegmentReadState state)
Parameters
Type | Name | Description |
---|---|---|
SegmentReadState | state |
Returns
Type | Description |
---|---|
PostingsReaderBase |
PostingsWriterBase(SegmentWriteState)
Creates the PostingsWriterBase for this format.
Declaration
public abstract PostingsWriterBase PostingsWriterBase(SegmentWriteState state)
Parameters
Type | Name | Description |
---|---|---|
SegmentWriteState | state |
Returns
Type | Description |
---|---|
PostingsWriterBase |