|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.solr.spelling.suggest.LookupFactory org.apache.solr.spelling.suggest.fst.FreeTextLookupFactory
public class FreeTextLookupFactory
LookupFactory implementation for FreeTextSuggester
Field Summary | |
---|---|
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; |
Fields inherited from class org.apache.solr.spelling.suggest.LookupFactory |
---|
DEFAULT_FILE_BASED_DICT |
Constructor Summary | |
---|---|
FreeTextLookupFactory()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String QUERY_ANALYZER
public static final String NGRAMS
public static final String SEPARATOR
Constructor Detail |
---|
public FreeTextLookupFactory()
Method Detail |
---|
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 structures
storeFileName
in class LookupFactory
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |