Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class TermStatistics

    Contains statistics for a specific term

    This is a Lucene.NET EXPERIMENTAL API, use at your own risk
    Inheritance
    System.Object
    TermStatistics
    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.Search
    Assembly: Lucene.Net.dll
    Syntax
    public class TermStatistics

    Constructors

    | Improve this Doc View Source

    TermStatistics(BytesRef, Int64, Int64)

    Sole constructor.

    Declaration
    public TermStatistics(BytesRef term, long docFreq, long totalTermFreq)
    Parameters
    Type Name Description
    BytesRef term
    System.Int64 docFreq
    System.Int64 totalTermFreq

    Properties

    | Improve this Doc View Source

    DocFreq

    Returns the number of documents this term occurs in

    Declaration
    public long DocFreq { get; }
    Property Value
    Type Description
    System.Int64
    See Also
    DocFreq
    | Improve this Doc View Source

    Term

    Returns the term text

    Declaration
    public BytesRef Term { get; }
    Property Value
    Type Description
    BytesRef
    | Improve this Doc View Source

    TotalTermFreq

    Returns the total number of occurrences of this term

    Declaration
    public long TotalTermFreq { get; }
    Property Value
    Type Description
    System.Int64
    See Also
    TotalTermFreq
    • Improve this Doc
    • View Source
    Back to top Copyright © 2021 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.