Fork me on GitHub
  • API

    Show / Hide Table of Contents

    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
    object
    FieldsConsumer
    BlockTermsWriter
    Implements
    IDisposable
    Inherited Members
    FieldsConsumer.Dispose()
    FieldsConsumer.Merge(MergeState, Fields)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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
    Lucene.Net.Codecs.FieldsConsumer.AddField(Lucene.Net.Index.FieldInfo)

    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
    Overrides
    FieldsConsumer.Dispose(bool)

    Implements

    IDisposable
    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.