Class PostingsBaseFormat
Provides a PostingsReaderBase and PostingsWriterBase.
Note
This API is experimental and might change in incompatible ways in the next release.
Inherited Members
Namespace: Lucene.Net.Codecs
Assembly: Lucene.Net.dll
Syntax
public abstract class PostingsBaseFormat
Constructors
PostingsBaseFormat(string)
Sole constructor.
Declaration
protected PostingsBaseFormat(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name |
Properties
Name
Unique name that's used to retrieve this codec when reading the index.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
string |
Methods
PostingsReaderBase(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 |