Class ExternalRefSorter
Builds and iterates over sequences stored on disk.
Inheritance
System.Object
ExternalRefSorter
Namespace: Lucene.Net.Search.Suggest.Fst
Assembly: Lucene.Net.Suggest.dll
Syntax
public class ExternalRefSorter : object, 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 |
---|---|---|
Offline |
sort |
Properties
| Improve this Doc View SourceComparer
Declaration
public IComparer<BytesRef> Comparer { get; }
Property Value
Type | Description |
---|---|
IComparer<Bytes |
Methods
| Improve this Doc View SourceAdd(BytesRef)
Declaration
public virtual void Add(BytesRef utf8)
Parameters
Type | Name | Description |
---|---|---|
Bytes |
utf8 |
Dispose()
Removes any written temporary files.
Declaration
public virtual void Dispose()
GetIterator()
Declaration
public virtual IBytesRefIterator GetIterator()
Returns
Type | Description |
---|---|
IBytes |
Implements
IDisposable