Method DoLookup
DoLookup(String, Int32)
Lookup suggestions to key
.
Declaration
public virtual IList<FSTCompletion.Completion> DoLookup(string key, int num)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The prefix to which suggestions should be sought. |
System.Int32 | num | At most this number of suggestions will be returned. |
Returns
Type | Description |
---|---|
IList<FSTCompletion.Completion> | Returns the suggestions, sorted by their approximated weight first (decreasing) and then alphabetically (UTF-8 codepoint order). |