Show / Hide Table of Contents

    Class TopOrdAndSingleQueue

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

    NOTE: This was TopOrdAndFloatQueue in Lucene

    Inheritance
    System.Object
    PriorityQueue<TopOrdAndSingleQueue.OrdAndValue>
    TopOrdAndSingleQueue
    Inherited Members
    PriorityQueue<TopOrdAndSingleQueue.OrdAndValue>.GetSentinelObject()
    PriorityQueue<TopOrdAndSingleQueue.OrdAndValue>.Add(TopOrdAndSingleQueue.OrdAndValue)
    PriorityQueue<TopOrdAndSingleQueue.OrdAndValue>.InsertWithOverflow(TopOrdAndSingleQueue.OrdAndValue)
    PriorityQueue<TopOrdAndSingleQueue.OrdAndValue>.Top
    PriorityQueue<TopOrdAndSingleQueue.OrdAndValue>.Pop()
    PriorityQueue<TopOrdAndSingleQueue.OrdAndValue>.UpdateTop()
    PriorityQueue<TopOrdAndSingleQueue.OrdAndValue>.Count
    PriorityQueue<TopOrdAndSingleQueue.OrdAndValue>.Clear()
    PriorityQueue<TopOrdAndSingleQueue.OrdAndValue>.HeapArray
    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.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
    Overrides
    Lucene.Net.Util.PriorityQueue<Lucene.Net.Facet.TopOrdAndSingleQueue.OrdAndValue>.LessThan(Lucene.Net.Facet.TopOrdAndSingleQueue.OrdAndValue, Lucene.Net.Facet.TopOrdAndSingleQueue.OrdAndValue)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Licensed to the Apache Software Foundation (ASF)