public abstract class DictionaryFactory extends Object
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
DictionaryFactory() |
Modifier and Type | Method and Description |
---|---|
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
|
public static String DEFAULT_FILE_BASED_DICT
public static String DEFAULT_INDEX_BASED_DICT
protected NamedList params
public void setParams(NamedList params)
public abstract Dictionary create(SolrCore core, SolrIndexSearcher searcher)
core
and optionally
uses searcher
, in case of index based dictionariesCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.