Class FSTCompletion.Completion
A single completion for a given key.
Implements
Inherited Members
Namespace: Lucene.Net.Search.Suggest.Fst
Assembly: Lucene.Net.Suggest.dll
Syntax
public sealed class FSTCompletion.Completion : IComparable<FSTCompletion.Completion>
Properties
Bucket
source bucket (weight) of the suggestion
Declaration
public int Bucket { get; }
Property Value
| Type | Description |
|---|---|
| int |
Utf8
UTF-8 bytes of the suggestion
Declaration
public BytesRef Utf8 { get; }
Property Value
| Type | Description |
|---|---|
| BytesRef |
Methods
CompareTo(Completion)
A single completion for a given key.
Declaration
public int CompareTo(FSTCompletion.Completion o)
Parameters
| Type | Name | Description |
|---|---|---|
| FSTCompletion.Completion | o |
Returns
| Type | Description |
|---|---|
| int |
See Also
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents the current object. |