public class WFSTLookupFactory extends LookupFactory
WFSTCompletionLookup
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EXACT_MATCH_FIRST
If
true , exact suggestions are returned first, even if they are prefixes
of other strings in the automaton (possibly with larger weights). |
private static java.lang.String |
FILENAME
File name for the automaton.
|
Constructor and Description |
---|
WFSTLookupFactory() |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.suggest.Lookup |
create(NamedList params,
SolrCore core) |
java.lang.String |
storeFileName() |
public static final java.lang.String EXACT_MATCH_FIRST
true
, exact suggestions are returned first, even if they are prefixes
of other strings in the automaton (possibly with larger weights).private static final java.lang.String FILENAME
public org.apache.lucene.search.suggest.Lookup create(NamedList params, SolrCore core)
create
in class LookupFactory
public java.lang.String storeFileName()
storeFileName
in class LookupFactory