Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class BlockTermState

    Holds all state required for PostingsReaderBase to produce a DocsEnum without re-seeking the terms dict.

    Inheritance
    object
    TermState
    OrdTermState
    BlockTermState
    Lucene41PostingsWriter.Int32BlockTermState
    Inherited Members
    OrdTermState.Ord
    TermState.Clone()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Lucene.Net.Codecs
    Assembly: Lucene.Net.dll
    Syntax
    public class BlockTermState : OrdTermState

    Constructors

    BlockTermState()

    Sole constructor. (For invocation by subclass constructors, typically implicit.)

    Declaration
    protected BlockTermState()

    Properties

    BlockFilePointer

    File pointer into the terms dict primary file (_X.tim) that holds this term.

    Declaration
    public long BlockFilePointer { get; set; }
    Property Value
    Type Description
    long

    DocFreq

    How many docs have this term?

    Declaration
    public int DocFreq { get; set; }
    Property Value
    Type Description
    int

    TermBlockOrd

    The term's ord in the current block.

    Declaration
    public int TermBlockOrd { get; set; }
    Property Value
    Type Description
    int

    TotalTermFreq

    Total number of occurrences of this term.

    Declaration
    public long TotalTermFreq { get; set; }
    Property Value
    Type Description
    long

    Methods

    CopyFrom(TermState)

    Copies the content of the given TermState to this instance

    Declaration
    public override void CopyFrom(TermState other)
    Parameters
    Type Name Description
    TermState other

    the TermState to copy

    Overrides
    OrdTermState.CopyFrom(TermState)

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string that represents the current object.

    Overrides
    OrdTermState.ToString()
    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.