Class TSTLookupFactory
- java.lang.Object
-
- org.apache.solr.spelling.suggest.LookupFactory
-
- org.apache.solr.spelling.suggest.tst.TSTLookupFactory
-
public class TSTLookupFactory extends LookupFactory
Factory forTSTLookup
-
-
Field Summary
-
Fields inherited from class org.apache.solr.spelling.suggest.LookupFactory
DEFAULT_FILE_BASED_DICT
-
-
Constructor Summary
Constructors Constructor Description TSTLookupFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.lucene.search.suggest.Lookup
create(org.apache.solr.common.util.NamedList<?> params, SolrCore core)
Create a Lookup using config options inparams
and currentcore
String
storeFileName()
Returns the filename in which the in-memory data structure is stored NOTE: not allLookup
implementations store in-memory data structures-
Methods inherited from class org.apache.solr.spelling.suggest.LookupFactory
getTempDir
-
-
-
-
Method Detail
-
create
public org.apache.lucene.search.suggest.Lookup create(org.apache.solr.common.util.NamedList<?> params, SolrCore core)
Description copied from class:LookupFactory
Create a Lookup using config options inparams
and currentcore
- Specified by:
create
in classLookupFactory
-
storeFileName
public String storeFileName()
Description copied from class:LookupFactory
Returns the filename in which the in-memory data structure is stored NOTE: not allLookup
implementations store in-memory data structures- Specified by:
storeFileName
in classLookupFactory
-
-