Show / Hide Table of Contents

    Class ScoreOrderFragmentsBuilder.ScoreComparer

    for FieldFragList.WeightedFragInfo by boost, breaking ties by offset.

    Inheritance
    System.Object
    ScoreOrderFragmentsBuilder.ScoreComparer
    Namespace: Lucene.Net.Search.VectorHighlight
    Assembly: Lucene.Net.Highlighter.dll
    Syntax
    public class ScoreComparer : 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
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)