Show / Hide Table of Contents

    Class TermStats

    Holder for per-term statistics.

    Inheritance
    System.Object
    TermStats
    Inherited Members
    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
    Assembly: Lucene.Net.dll
    Syntax
    public class TermStats

    Constructors

    | Improve this Doc View Source

    TermStats(Int32, Int64)

    Sole constructor.

    Declaration
    public TermStats(int docFreq, long totalTermFreq)
    Parameters
    Type Name Description
    System.Int32 docFreq
    System.Int64 totalTermFreq

    Properties

    | Improve this Doc View Source

    DocFreq

    How many documents have at least one occurrence of this term.

    Declaration
    public int DocFreq { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    TotalTermFreq

    Total number of times this term occurs across all documents in the field.

    Declaration
    public long TotalTermFreq { get; }
    Property Value
    Type Description
    System.Int64

    Extension Methods

    Number.IsNumber(Object)

    See Also

    DocFreq
    TotalTermFreq
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Licensed to the Apache Software Foundation (ASF)