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

    Extension Methods

    Number.IsNumber(Object)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Licensed to the Apache Software Foundation (ASF)