public class FreeTextLookupFactory extends LookupFactory
FreeTextSuggester| Modifier and Type | Field and Description |
|---|---|
static String |
NGRAMS
The n-gram model to use in the underlying suggester; Default value is 2.
|
static String |
QUERY_ANALYZER
The analyzer used at "query-time" and "build-time" to analyze suggestions.
|
static String |
SEPARATOR
The separator to use in the underlying suggester;
|
DEFAULT_FILE_BASED_DICT| Constructor and Description |
|---|
FreeTextLookupFactory() |
| 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 QUERY_ANALYZER
public static final String NGRAMS
public static final String SEPARATOR
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-2020 Apache Software Foundation. All Rights Reserved.