Show / Hide Table of Contents

    Class HighFreqTerms

    HighFreqTerms class extracts the top n most frequent terms (by document frequency) from an existing Lucene index and reports their document frequency.

    If the -t flag is given, both document frequency and total tf (total number of occurrences) are reported, ordered by descending total tf.

    Inheritance
    System.Object
    HighFreqTerms
    Namespace: Lucene.Net.Misc
    Assembly: Lucene.Net.Misc.dll
    Syntax
    public class HighFreqTerms : object

    Fields

    | Improve this Doc View Source

    DEFAULT_NUMTERMS

    Declaration
    public const int DEFAULT_NUMTERMS = null
    Field Value
    Type Description
    System.Int32

    Methods

    | Improve this Doc View Source

    GetHighFreqTerms(IndexReader, Int32, String, IComparer<TermStats>)

    Returns TermStats[] ordered by the specified comparer

    Declaration
    public static TermStats[] GetHighFreqTerms(IndexReader reader, int numTerms, string field, IComparer<TermStats> comparer)
    Parameters
    Type Name Description
    IndexReader reader
    System.Int32 numTerms
    System.String field
    IComparer<TermStats> comparer
    Returns
    Type Description
    TermStats[]
    | Improve this Doc View Source

    Main(String[])

    Declaration
    public static void Main(string[] args)
    Parameters
    Type Name Description
    System.String[] args
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)