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
    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 Source

    BlockTermsWriter(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 Source

    m_output

    Declaration
    protected IndexOutput m_output
    Field Value
    Type Description
    Lucene.Net.Store.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 const int VERSION_APPEND_ONLY = 1
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    VERSION_CHECKSUM

    Declaration
    public const int VERSION_CHECKSUM = 3
    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 const int VERSION_META_ARRAY = 2
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    VERSION_START

    Declaration
    public const int VERSION_START = 0
    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
    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
    • Improve this Doc
    • View Source
    Back to top Copyright © 2021 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.