Class HighFreqTerms.TotalTermFreqComparer
Compares terms by TotalTermFreq
Inherited Members
Namespace: Lucene.Net.Misc
Assembly: Lucene.Net.Misc.dll
Syntax
public sealed class HighFreqTerms.TotalTermFreqComparer : IComparer<TermStats>
Properties
Default
Compares terms by TotalTermFreq
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
|