Class SuggestWordFrequencyComparer
Frequency first, then score.
Implements
Inherited Members
Namespace: Lucene.Net.Search.Spell
Assembly: Lucene.Net.Suggest.dll
Syntax
public class SuggestWordFrequencyComparer : IComparer<SuggestWord>
Constructors
SuggestWordFrequencyComparer()
Declaration
public SuggestWordFrequencyComparer()
Methods
Compare(SuggestWord, SuggestWord)
Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
Declaration
public virtual int Compare(SuggestWord first, SuggestWord second)
Parameters
Type | Name | Description |
---|---|---|
SuggestWord | first | |
SuggestWord | second |
Returns
Type | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
int | A signed integer that indicates the relative values of
|