|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.solr.spelling.suggest.DictionaryFactory
public abstract class DictionaryFactory
Encapsulates shared fields for all types of dictionaryFactory classes
| Field Summary | |
|---|---|
static String |
DEFAULT_FILE_BASED_DICT
Default dictionary implementation to use for FileBasedDictionaries |
static String |
DEFAULT_INDEX_BASED_DICT
Default dictionary implementation to use for IndexBasedDictionaries |
protected NamedList |
params
|
| Constructor Summary | |
|---|---|
DictionaryFactory()
|
|
| Method Summary | |
|---|---|
abstract Dictionary |
create(SolrCore core,
SolrIndexSearcher searcher)
Create a Dictionary using options in core and optionally
uses searcher, in case of index based dictionaries |
void |
setParams(NamedList params)
Sets the parameters available to SolrSuggester for use in Dictionary creation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static String DEFAULT_FILE_BASED_DICT
public static String DEFAULT_INDEX_BASED_DICT
protected NamedList params
| Constructor Detail |
|---|
public DictionaryFactory()
| Method Detail |
|---|
public void setParams(NamedList params)
public abstract Dictionary create(SolrCore core,
SolrIndexSearcher searcher)
core and optionally
uses searcher, in case of index based dictionaries
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||