Class Lookup.LookupResult
Result of a lookup. @lucene.experimental
Inheritance
System.Object
Lookup.LookupResult
Assembly: Lucene.Net.Suggest.dll
Syntax
public sealed class LookupResult : IComparable<Lookup.LookupResult>
Constructors
Name | Description |
---|---|
LookupResult(String, Int64) | Create a new result from a key+weight pair. |
LookupResult(String, Int64, BytesRef) | Create a new result from a key+weight+payload triple. |
LookupResult(String, Int64, BytesRef, IEnumerable<BytesRef>) | Create a new result from a key+weight+payload+contexts triple. |
LookupResult(String, Int64, HashSet<BytesRef>) | Create a new result from a key+weight+contexts triple. |
LookupResult(String, Object, Int64, BytesRef) | Create a new result from a key+highlightKey+weight+payload triple. |
LookupResult(String, Object, Int64, BytesRef, IEnumerable<BytesRef>) | Create a new result from a key+highlightKey+weight+payload+contexts triple. |
Properties
Name | Description |
---|---|
Contexts | the key's contexts (null if not present) |
HighlightKey | Expert: custom Object to hold the result of a highlighted suggestion. |
Key | the key's text |
Payload | the key's payload (null if not present) |
Value | the key's weight |
Methods
Name | Description |
---|---|
CompareTo(Lookup.LookupResult) | Compare alphabetically. |
ToString() |