Class WFSTCompletionLookup
Suggester based on a weighted FST: it first traverses the prefix, then walks the n shortest paths to retrieve top-ranked suggestions.
NOTE:
Input weights must be between 0 and
@lucene.experimental
Inherited Members
Assembly: Lucene.Net.Suggest.dll
Syntax
public class WFSTCompletionLookup : Lookup
Constructors
Name | Description |
---|---|
WFSTCompletionLookup() | |
WFSTCompletionLookup(Boolean) | Creates a new suggester. |
Properties
Name | Description |
---|---|
Count |
Methods
Name | Description |
---|---|
Build(IInputIterator) | |
DoLookup(String, IEnumerable<BytesRef>, Boolean, Int32) | |
Get(String) | Returns the weight associated with an input string, or null if it does not exist. |
GetSizeInBytes() | Returns byte size of the underlying FST. |
Load(DataInput) | |
Store(DataOutput) |