Show / Hide Table of Contents

    Class Util.TopResults<T>

    Holds the results for a top N search using Util.TopNSearcher<T>

    Inheritance
    System.Object
    Util.TopResults<T>
    Namespace: Lucene.Net.Util.Fst
    Assembly: Lucene.Net.dll
    Syntax
    public sealed class TopResults<T> : IEnumerable<Util.Result<T>>
    Type Parameters
    Name Description
    T

    Properties

    | Improve this Doc View Source

    IsComplete

    true iff this is a complete result ie. if the specified queue size was large enough to find the complete list of results. this might be false if the Util.TopNSearcher<T> rejected too many results.

    Declaration
    public bool IsComplete { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    TopN

    The top results

    Declaration
    public IList<Util.Result<T>> TopN { get; }
    Property Value
    Type Description
    IList<Util.Result<T>>

    Methods

    | Improve this Doc View Source

    GetEnumerator()

    Declaration
    public IEnumerator<Util.Result<T>> GetEnumerator()
    Returns
    Type Description
    IEnumerator<Util.Result<T>>
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)