Fork me on GitHub
  • API

    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

    See Also

    DocFreq
    TotalTermFreq
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 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.