Fork me on GitHub
  • API

    Show / Hide Table of Contents

    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
    [Serializable]
    public class ScoreComparer : IComparer<FieldFragList.WeightedFragInfo>

    Properties

    | Improve this Doc View Source

    Default

    Returns a default score comparer.

    Declaration
    public static IComparer<FieldFragList.WeightedFragInfo> Default { get; }
    Property Value
    Type Description
    System.Collections.Generic.IComparer<FieldFragList.WeightedFragInfo>

    Methods

    | Improve this Doc View Source

    Compare(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>
    • Improve this Doc
    • View Source
    Back to top Copyright © 2022 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.