Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class TermStatistics

    Contains statistics for a specific term

    Note

    This API is experimental and might change in incompatible ways in the next release.

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

    Constructors

    TermStatistics(BytesRef, long, long)

    Sole constructor.

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

    Properties

    DocFreq

    Returns the number of documents this term occurs in

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

    Term

    Returns the term text

    Declaration
    public BytesRef Term { get; }
    Property Value
    Type Description
    BytesRef

    TotalTermFreq

    Returns the total number of occurrences of this term

    Declaration
    public long TotalTermFreq { get; }
    Property Value
    Type Description
    long
    See Also
    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.