Class TSTLookup
Suggest implementation based on a Ternary Search Tree
Inherited Members
Assembly: Lucene.Net.Suggest.dll
Syntax
public class TSTLookup : Lookup
Constructors
Name | Description |
---|---|
TSTLookup() | Creates a new TSTLookup with an empty Ternary Search Tree. |
Properties
Name | Description |
---|---|
Count |
Methods
Name | Description |
---|---|
Add(String, Object) | Adds a new node if already exists,
otherwise replaces its value.
This method always returns true. |
Build(IInputIterator) | |
DoLookup(String, IEnumerable<BytesRef>, Boolean, Int32) | |
Get(String) | Returns the value for the specified key, or null if the key does not exist. |
GetSizeInBytes() | Returns byte size of the underlying TST |
Load(DataInput) | |
Store(DataOutput) |