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.

    This is a Lucene.NET EXPERIMENTAL API, use at your own risk
    Inheritance
    System.Object
    FieldsConsumer
    BlockTermsWriter
    Implements
    System.IDisposable
    Inherited Members
    FieldsConsumer.Dispose()
    FieldsConsumer.Merge(MergeState, 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 Source

    BlockTermsWriter(TermsIndexWriterBase, SegmentWriteState, PostingsWriterBase)

    Declaration
    public BlockTermsWriter(TermsIndexWriterBase termsIndexWriter, SegmentWriteState state, PostingsWriterBase postingsWriter)
    Parameters
    Type Name Description
    TermsIndexWriterBase termsIndexWriter
    SegmentWriteState state
    PostingsWriterBase postingsWriter

    Fields

    | Improve this Doc View Source

    m_output

    Declaration
    protected IndexOutput m_output
    Field Value
    Type Description
    IndexOutput
    | Improve this Doc View Source

    TERMS_EXTENSION

    Extension of terms file

    Declaration
    public static readonly string TERMS_EXTENSION
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    VERSION_APPEND_ONLY

    Declaration
    public static readonly int VERSION_APPEND_ONLY
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    VERSION_CHECKSUM

    Declaration
    public static readonly int VERSION_CHECKSUM
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    VERSION_CURRENT

    Declaration
    public static readonly int VERSION_CURRENT
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    VERSION_META_ARRAY

    Declaration
    public static readonly int VERSION_META_ARRAY
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    VERSION_START

    Declaration
    public static readonly int VERSION_START
    Field Value
    Type Description
    System.Int32

    Methods

    | Improve this Doc View Source

    AddField(FieldInfo)

    Declaration
    public override TermsConsumer AddField(FieldInfo field)
    Parameters
    Type Name Description
    FieldInfo field
    Returns
    Type Description
    TermsConsumer
    Overrides
    FieldsConsumer.AddField(FieldInfo)
    | Improve this Doc View Source

    Dispose(Boolean)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing
    Overrides
    FieldsConsumer.Dispose(Boolean)

    Implements

    System.IDisposable
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)