Show / Hide Table of Contents

    Class TermStats

    Holder for per-term statistics.

    Inheritance
    System.Object
    TermStats
    Namespace: Lucene.Net.Codecs
    Assembly: Lucene.Net.dll
    Syntax
    public class TermStats : object

    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

    See Also

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