Class InMemorySorter
An IBytes
This is a Lucene.NET INTERNAL API, use at your own risk
Inheritance
System.Object
InMemorySorter
Implements
Namespace: Lucene.Net.Search.Suggest
Assembly: Lucene.Net.Suggest.dll
Syntax
public sealed class InMemorySorter : object, IBytesRefSorter
Constructors
| Improve this Doc View SourceInMemorySorter(IComparer<BytesRef>)
Creates an InMemorySorter, sorting entries by the provided comparer.
Declaration
public InMemorySorter(IComparer<BytesRef> comparer)
Parameters
Type | Name | Description |
---|---|---|
IComparer<Bytes |
comparer |
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 void Add(BytesRef utf8)
Parameters
Type | Name | Description |
---|---|---|
Bytes |
utf8 |
GetIterator()
Declaration
public IBytesRefIterator GetIterator()
Returns
Type | Description |
---|---|
IBytes |