Class BlockTermsWriter
Writes terms dict, block-encoding (column stride) each term's metadata for each set of terms between two index terms.
Note
This API is experimental and might change in incompatible ways in the next release.
Implements
Inherited Members
Namespace: Lucene.Net.Codecs.BlockTerms
Assembly: Lucene.Net.Codecs.dll
Syntax
public class BlockTermsWriter : FieldsConsumer, IDisposable
Constructors
BlockTermsWriter(TermsIndexWriterBase, SegmentWriteState, PostingsWriterBase)
Writes terms dict, block-encoding (column stride) each term's metadata for each set of terms between two index terms.
Note
This API is experimental and might change in incompatible ways in the next release.
Declaration
public BlockTermsWriter(TermsIndexWriterBase termsIndexWriter, SegmentWriteState state, PostingsWriterBase postingsWriter)
Parameters
| Type | Name | Description |
|---|---|---|
| TermsIndexWriterBase | termsIndexWriter | |
| SegmentWriteState | state | |
| PostingsWriterBase | postingsWriter |
Fields
TERMS_EXTENSION
Extension of terms file
Declaration
public static readonly string TERMS_EXTENSION
Field Value
| Type | Description |
|---|---|
| string |
VERSION_APPEND_ONLY
Writes terms dict, block-encoding (column stride) each term's metadata for each set of terms between two index terms.
Note
This API is experimental and might change in incompatible ways in the next release.
Declaration
public const int VERSION_APPEND_ONLY = 1
Field Value
| Type | Description |
|---|---|
| int |
VERSION_CHECKSUM
Writes terms dict, block-encoding (column stride) each term's metadata for each set of terms between two index terms.
Note
This API is experimental and might change in incompatible ways in the next release.
Declaration
public const int VERSION_CHECKSUM = 3
Field Value
| Type | Description |
|---|---|
| int |
VERSION_CURRENT
Writes terms dict, block-encoding (column stride) each term's metadata for each set of terms between two index terms.
Note
This API is experimental and might change in incompatible ways in the next release.
Declaration
public static readonly int VERSION_CURRENT
Field Value
| Type | Description |
|---|---|
| int |
VERSION_META_ARRAY
Writes terms dict, block-encoding (column stride) each term's metadata for each set of terms between two index terms.
Note
This API is experimental and might change in incompatible ways in the next release.
Declaration
public const int VERSION_META_ARRAY = 2
Field Value
| Type | Description |
|---|---|
| int |
VERSION_START
Writes terms dict, block-encoding (column stride) each term's metadata for each set of terms between two index terms.
Note
This API is experimental and might change in incompatible ways in the next release.
Declaration
public const int VERSION_START = 0
Field Value
| Type | Description |
|---|---|
| int |
m_output
Writes terms dict, block-encoding (column stride) each term's metadata for each set of terms between two index terms.
Note
This API is experimental and might change in incompatible ways in the next release.
Declaration
protected IndexOutput m_output
Field Value
| Type | Description |
|---|---|
| IndexOutput |
Methods
AddField(FieldInfo)
Add a new field.
Declaration
public override TermsConsumer AddField(FieldInfo field)
Parameters
| Type | Name | Description |
|---|---|---|
| FieldInfo | field |
Returns
| Type | Description |
|---|---|
| TermsConsumer |
Overrides
Dispose(bool)
Implementations must override and should dispose all resources used by this instance.
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing |