Class SuggestWordScoreComparer
Score first, then frequency
Inheritance
System.Object
SuggestWordScoreComparer
Implements
System.Collections.Generic.IComparer<SuggestWord>
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.Spell
Assembly: Lucene.Net.Suggest.dll
Syntax
public class SuggestWordScoreComparer : IComparer<SuggestWord>
Constructors
| Improve this Doc View SourceSuggestWordScoreComparer()
Declaration
public SuggestWordScoreComparer()
Methods
| Improve this Doc View SourceCompare(SuggestWord, SuggestWord)
Declaration
public virtual int Compare(SuggestWord first, SuggestWord second)
Parameters
Type | Name | Description |
---|---|---|
SuggestWord | first | |
SuggestWord | second |
Returns
Type | Description |
---|---|
System.Int32 |
Implements
System.Collections.Generic.IComparer<T>