Example usage for Java org.apache.lucene.search.suggest.fst WFSTCompletionLookup fields, constructors, methods, implement or subclass
The text is from its open source code.
WFSTCompletionLookup(Directory tempDir, String tempFileNamePrefix) Calls #WFSTCompletionLookup(Directory,String,boolean) WFSTCompletionLookup(null,null,true) |
void | build(InputIterator iterator) |
Object | get(CharSequence key) Returns the weight associated with an input string, or null if it does not exist. |
long | getCount() |
boolean | load(DataInput input) |
List | lookup(CharSequence key, boolean onlyMorePopular, int num) Look up a key and return possible completion for this key. |
boolean | store(DataOutput output) |