public class AnalyzingInfixLookupFactory extends LookupFactory
AnalyzingInfixSuggester
Modifier and Type | Field and Description |
---|---|
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 |
---|---|
org.apache.lucene.search.suggest.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
NOTE: not all
Lookup implementations store in-memory data structures |
protected static final String QUERY_ANALYZER
protected static final String INDEX_PATH
protected static final String MIN_PREFIX_CHARS
public org.apache.lucene.search.suggest.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–2014 The Apache Software Foundation. All rights reserved.