public class AnalyzingInfixLookupFactory extends LookupFactory
AnalyzingInfixSuggester
Modifier and Type | Field and Description |
---|---|
protected static String |
ALL_TERMS_REQUIRED
Boolean clause matching option for multiple terms
Default is true - all terms required.
|
static String |
CONTEXTS_FIELD_NAME
Clone of CONTEXTS_FIELD_NAME in AnalyzingInfixSuggester
|
protected static String |
HIGHLIGHT
Highlight suggest terms - default is true.
|
protected static String |
INDEX_PATH
The path where the underlying index is stored
if no index is found, it will be generated by
the AnalyzingInfixSuggester
|
protected static String |
MIN_PREFIX_CHARS
Minimum number of leading characters before PrefixQuery is used (default 4).
|
protected static String |
QUERY_ANALYZER
The analyzer used at "query-time" and "build-time" to analyze suggestions.
|
DEFAULT_FILE_BASED_DICT
Constructor and Description |
---|
AnalyzingInfixLookupFactory() |
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
|
getTempDir
protected static final String QUERY_ANALYZER
protected static final String INDEX_PATH
protected static final String MIN_PREFIX_CHARS
protected static final String ALL_TERMS_REQUIRED
protected static final String HIGHLIGHT
public static final String CONTEXTS_FIELD_NAME
public Lookup create(NamedList params, SolrCore core)
LookupFactory
params
and
current core
create
in class LookupFactory
public String storeFileName()
LookupFactory
Returns the filename in which the in-memory data structure is stored
NOTE: not allLookup
implementations store in-memory data structuresstoreFileName
in class LookupFactory
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.