Class ExternalRefSorter
Builds and iterates over sequences stored on disk.
Inheritance
System.Object
    ExternalRefSorter
  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 SourceExternalRefSorter(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 SourceComparer
Declaration
public IComparer<BytesRef> Comparer { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Collections.Generic.IComparer<BytesRef> | 
Methods
| Improve this Doc View SourceAdd(BytesRef)
Declaration
public virtual void Add(BytesRef utf8)
  Parameters
| Type | Name | Description | 
|---|---|---|
| BytesRef | utf8 | 
Dispose()
Removes any written temporary files.
Declaration
public virtual void Dispose()
  GetIterator()
Declaration
public virtual IBytesRefIterator GetIterator()
  Returns
| Type | Description | 
|---|---|
| IBytesRefIterator | 
Implements
      System.IDisposable