Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class HighFreqTerms.DocFreqComparer

    Compares terms by DocFreq

    Inheritance
    object
    HighFreqTerms.DocFreqComparer
    Implements
    IComparer<TermStats>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Misc
    Assembly: Lucene.Net.Misc.dll
    Syntax
    public sealed class HighFreqTerms.DocFreqComparer : IComparer<TermStats>

    Properties

    Default

    Compares terms by DocFreq

    Declaration
    public static IComparer<TermStats> Default { get; }
    Property Value
    Type Description
    IComparer<TermStats>

    Methods

    Compare(TermStats, TermStats)

    Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.

    Declaration
    public int Compare(TermStats a, TermStats b)
    Parameters
    Type Name Description
    TermStats a
    TermStats b
    Returns
    Type Description
    int

    A signed integer that indicates the relative values of x and y, as shown in the following table.

    Value Meaning
    Less than zerox is less than y.
    Zerox equals y.
    Greater than zerox is greater than y.

    Implements

    IComparer<T>
    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.