Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class ExternalRefSorter

    Builds and iterates over sequences stored on disk.

    Inheritance
    System.Object
    ExternalRefSorter
    Implements
    IBytesRefSorter
    System.IDisposable
    Inherited Members
    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.Search.Suggest.Fst
    Assembly: Lucene.Net.Suggest.dll
    Syntax
    public class ExternalRefSorter : 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
    Lucene.Net.Util.OfflineSorter sort

    Properties

    | Improve this Doc View Source

    Comparer

    Declaration
    public IComparer<BytesRef> Comparer { get; }
    Property Value
    Type Description
    System.Collections.Generic.IComparer<Lucene.Net.Util.BytesRef>

    Methods

    | Improve this Doc View Source

    Add(BytesRef)

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

    Dispose()

    Removes any written temporary files.

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

    Dispose(Boolean)

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing
    | Improve this Doc View Source

    GetEnumerator()

    Declaration
    public virtual IBytesRefEnumerator GetEnumerator()
    Returns
    Type Description
    Lucene.Net.Util.IBytesRefEnumerator

    Implements

    IBytesRefSorter
    System.IDisposable
    • Improve this Doc
    • View Source
    Back to top Copyright © 2021 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.