Package org.apache.solr.spelling.suggest
Class LookupFactory
java.lang.Object
org.apache.solr.spelling.suggest.LookupFactory
- Direct Known Subclasses:
AnalyzingInfixLookupFactory,AnalyzingLookupFactory,FreeTextLookupFactory,FSTLookupFactory,FuzzyLookupFactory,TSTLookupFactory,WFSTLookupFactory
Suggester factory for creating
Lookup instances.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic StringDefault lookup implementation to use for SolrSuggester -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract org.apache.lucene.search.suggest.LookupCreate a Lookup using config options inparamsand currentcoreprotected static org.apache.lucene.store.FSDirectoryabstract StringReturns the filename in which the in-memory data structure is stored NOTE: not allLookupimplementations store in-memory data structures
-
Field Details
-
DEFAULT_FILE_BASED_DICT
Default lookup implementation to use for SolrSuggester
-
-
Constructor Details
-
LookupFactory
public LookupFactory()
-
-
Method Details
-
create
public abstract org.apache.lucene.search.suggest.Lookup create(org.apache.solr.common.util.NamedList<?> params, SolrCore core) Create a Lookup using config options inparamsand currentcore -
storeFileName
Returns the filename in which the in-memory data structure is stored NOTE: not allLookupimplementations store in-memory data structures -
getTempDir
protected static org.apache.lucene.store.FSDirectory getTempDir()
-