Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class TermStats

    Holder for per-term statistics.

    Inheritance
    object
    TermStats
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Codecs
    Assembly: Lucene.Net.dll
    Syntax
    public class TermStats

    Constructors

    TermStats(int, long)

    Sole constructor.

    Declaration
    public TermStats(int docFreq, long totalTermFreq)
    Parameters
    Type Name Description
    int docFreq
    long totalTermFreq
    See Also
    DocFreq
    TotalTermFreq

    Properties

    DocFreq

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

    Declaration
    public int DocFreq { get; }
    Property Value
    Type Description
    int
    See Also
    DocFreq
    TotalTermFreq

    TotalTermFreq

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

    Declaration
    public long TotalTermFreq { get; }
    Property Value
    Type Description
    long
    See Also
    DocFreq
    TotalTermFreq

    See Also

    DocFreq
    TotalTermFreq
    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.