Class Lookup
Simple Lookup interface for
Inheritance
Assembly: Lucene.Net.Suggest.dll
Syntax
public abstract class Lookup : object
Constructors
Name | Description |
---|---|
Lookup() | Sole constructor. (For invocation by subclass constructors, typically implicit.) |
Fields
Name | Description |
---|---|
CHARSEQUENCE_COMPARER | A simple char-by-char comparer for |
Properties
Name | Description |
---|---|
Count | Get the number of entries the lookup was built with |
Methods
Name | Description |
---|---|
Build(IDictionary) | Build lookup from a dictionary. Some implementations may require sorted or unsorted keys from the dictionary's iterator - use SortedInputIterator or UnsortedInputIterator in such case. |
Build(IInputIterator) | Builds up a new internal Lookup representation based on the given IInputIterator. The implementation might re-sort the data internally. |
DoLookup(String, IEnumerable<BytesRef>, Boolean, Int32) | Look up a key and return possible completion for this key. |
DoLookup(String, Boolean, Int32) | Look up a key and return possible completion for this key. |
GetSizeInBytes() | Get the size of the underlying lookup implementation in memory |
Load(DataInput) | Discard current lookup data and load it from a previously saved copy. Optional operation. |
Load(Stream) | Calls Load(DataInput) after converting
|
Store(DataOutput) | Persist the constructed lookup data to a directory. Optional operation. |
Store(Stream) | Calls Store(DataOutput) after converting
|