public class FSTLookupFactory extends LookupFactory
FSTCompletionLookup| Modifier and Type | Field and Description |
|---|---|
static 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). |
static String |
WEIGHT_BUCKETS
The number of separate buckets for weights (discretization).
|
DEFAULT_FILE_BASED_DICT| Constructor and Description |
|---|
FSTLookupFactory() |
| Modifier and Type | Method and Description |
|---|---|
Lookup |
create(NamedList params,
SolrCore core)
Create a Lookup using config options in
params and
current core |
String |
storeFileName()
Returns the filename in which the in-memory data structure is stored
|
getTempDirpublic static final String WEIGHT_BUCKETS
The number of buckets must be within [1, 255] range.
public static final 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).public Lookup create(NamedList params, SolrCore core)
LookupFactoryparams and
current corecreate in class LookupFactorypublic String storeFileName()
LookupFactoryReturns the filename in which the in-memory data structure is stored
NOTE: not allLookup implementations store in-memory data structuresstoreFileName in class LookupFactoryCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.