Show / Hide Table of Contents

    Class TopOrdAndSingleQueue

    Keeps highest results, first by largest value, then tie break by smallest ord.

    NOTE: This was TopOrdAndFloatQueue in Lucene

    Inheritance
    System.Object
    TopOrdAndSingleQueue
    Namespace: Lucene.Net.Facet
    Assembly: Lucene.Net.Facet.dll
    Syntax
    public class TopOrdAndSingleQueue : PriorityQueue<TopOrdAndSingleQueue.OrdAndValue>

    Constructors

    | Improve this Doc View Source

    TopOrdAndSingleQueue(Int32)

    Sole constructor.

    Declaration
    public TopOrdAndSingleQueue(int topN)
    Parameters
    Type Name Description
    System.Int32 topN

    Methods

    | Improve this Doc View Source

    LessThan(TopOrdAndSingleQueue.OrdAndValue, TopOrdAndSingleQueue.OrdAndValue)

    Declaration
    protected override bool LessThan(TopOrdAndSingleQueue.OrdAndValue a, TopOrdAndSingleQueue.OrdAndValue b)
    Parameters
    Type Name Description
    TopOrdAndSingleQueue.OrdAndValue a
    TopOrdAndSingleQueue.OrdAndValue b
    Returns
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)