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.
Inheritance
System.Object
Lucene.Net.Codecs.FieldsConsumer
BlockTermsWriter
Implements
System.IDisposable
Inherited Members
Lucene.Net.Codecs.FieldsConsumer.Dispose()
Lucene.Net.Codecs.FieldsConsumer.Merge(Lucene.Net.Index.MergeState, Lucene.Net.Index.Fields)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Codecs.BlockTerms
Assembly: Lucene.Net.Codecs.dll
Syntax
public class BlockTermsWriter : FieldsConsumer, IDisposable
Constructors
| Improve this Doc View SourceBlockTermsWriter(TermsIndexWriterBase, SegmentWriteState, PostingsWriterBase)
Declaration
public BlockTermsWriter(TermsIndexWriterBase termsIndexWriter, SegmentWriteState state, PostingsWriterBase postingsWriter)
Parameters
| Type | Name | Description |
|---|---|---|
| TermsIndexWriterBase | termsIndexWriter | |
| Lucene.Net.Index.SegmentWriteState | state | |
| Lucene.Net.Codecs.PostingsWriterBase | postingsWriter |
Fields
| Improve this Doc View Sourcem_output
Declaration
protected IndexOutput m_output
Field Value
| Type | Description |
|---|---|
| Lucene.Net.Store.IndexOutput |
TERMS_EXTENSION
Extension of terms file
Declaration
public static readonly string TERMS_EXTENSION
Field Value
| Type | Description |
|---|---|
| System.String |
VERSION_APPEND_ONLY
Declaration
public const int VERSION_APPEND_ONLY = 1
Field Value
| Type | Description |
|---|---|
| System.Int32 |
VERSION_CHECKSUM
Declaration
public const int VERSION_CHECKSUM = 3
Field Value
| Type | Description |
|---|---|
| System.Int32 |
VERSION_CURRENT
Declaration
public static readonly int VERSION_CURRENT
Field Value
| Type | Description |
|---|---|
| System.Int32 |
VERSION_META_ARRAY
Declaration
public const int VERSION_META_ARRAY = 2
Field Value
| Type | Description |
|---|---|
| System.Int32 |
VERSION_START
Declaration
public const int VERSION_START = 0
Field Value
| Type | Description |
|---|---|
| System.Int32 |
Methods
| Improve this Doc View SourceAddField(FieldInfo)
Declaration
public override TermsConsumer AddField(FieldInfo field)
Parameters
| Type | Name | Description |
|---|---|---|
| Lucene.Net.Index.FieldInfo | field |
Returns
| Type | Description |
|---|---|
| Lucene.Net.Codecs.TermsConsumer |
Overrides
Lucene.Net.Codecs.FieldsConsumer.AddField(Lucene.Net.Index.FieldInfo)
|
Improve this Doc
View Source
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | disposing |
Overrides
Lucene.Net.Codecs.FieldsConsumer.Dispose(System.Boolean)
Implements
System.IDisposable