Class ScoreOrderFragmentsBuilder.ScoreComparer
System.Collections.Generic.IComparer<T> for FieldFragList.WeightedFragInfo by boost, breaking ties by offset.
Inheritance
System.Object
ScoreOrderFragmentsBuilder.ScoreComparer
Implements
System.Collections.Generic.IComparer<FieldFragList.WeightedFragInfo>
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.VectorHighlight
Assembly: Lucene.Net.Highlighter.dll
Syntax
public class ScoreComparer : IComparer<FieldFragList.WeightedFragInfo>
Methods
| Improve this Doc View SourceCompare(FieldFragList.WeightedFragInfo, FieldFragList.WeightedFragInfo)
Declaration
public virtual int Compare(FieldFragList.WeightedFragInfo o1, FieldFragList.WeightedFragInfo o2)
Parameters
Type | Name | Description |
---|---|---|
FieldFragList.WeightedFragInfo | o1 | |
FieldFragList.WeightedFragInfo | o2 |
Returns
Type | Description |
---|---|
System.Int32 |
Implements
System.Collections.Generic.IComparer<T>