Show / Hide Table of Contents

    Interface IBytesRefSorter

    Collects and then allows one to iterate over their sorted order. Implementations of this interface will be called in a single-threaded scenario.

    Namespace: Lucene.Net.Search.Suggest.Fst
    Assembly: Lucene.Net.Suggest.dll
    Syntax
    public interface IBytesRefSorter

    Properties

    | Improve this Doc View Source

    Comparer

    Comparer used to determine the sort order of entries.

    Declaration
    IComparer<BytesRef> Comparer { get; }
    Property Value
    Type Description
    IComparer<BytesRef>

    Methods

    | Improve this Doc View Source

    Add(BytesRef)

    Adds a single suggestion entry (possibly compound with its bucket).

    Declaration
    void Add(BytesRef utf8)
    Parameters
    Type Name Description
    BytesRef utf8
    | Improve this Doc View Source

    GetIterator()

    Sorts the entries added in Add(BytesRef) and returns an enumerator over all sorted entries.

    Declaration
    IBytesRefIterator GetIterator()
    Returns
    Type Description
    IBytesRefIterator
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)