Show / Hide Table of Contents

    Class ExternalRefSorter

    Builds and iterates over sequences stored on disk.

    Inheritance
    System.Object
    ExternalRefSorter
    Implements
    IBytesRefSorter
    IDisposable
    Namespace: Lucene.Net.Search.Suggest.Fst
    Assembly: Lucene.Net.Suggest.dll
    Syntax
    public class ExternalRefSorter : object, IBytesRefSorter, IDisposable

    Constructors

    | Improve this Doc View Source

    ExternalRefSorter(OfflineSorter)

    Will buffer all sequences to a temporary file and then sort (all on-disk).

    Declaration
    public ExternalRefSorter(OfflineSorter sort)
    Parameters
    Type Name Description
    OfflineSorter sort

    Properties

    | Improve this Doc View Source

    Comparer

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

    Methods

    | Improve this Doc View Source

    Add(BytesRef)

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

    Dispose()

    Removes any written temporary files.

    Declaration
    public virtual void Dispose()
    | Improve this Doc View Source

    GetIterator()

    Declaration
    public virtual IBytesRefIterator GetIterator()
    Returns
    Type Description
    IBytesRefIterator

    Implements

    IBytesRefSorter
    IDisposable
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)