Package org.apache.solr.spelling.suggest
Class FileDictionaryFactory
- java.lang.Object
-
- org.apache.solr.spelling.suggest.DictionaryFactory
-
- org.apache.solr.spelling.suggest.FileDictionaryFactory
-
public class FileDictionaryFactory extends DictionaryFactory
Factory forFileDictionary
-
-
Field Summary
Fields Modifier and Type Field Description static String
FIELD_DELIMITER
Label for defining fieldDelimiter to be used-
Fields inherited from class org.apache.solr.spelling.suggest.DictionaryFactory
DEFAULT_FILE_BASED_DICT, DEFAULT_INDEX_BASED_DICT, params
-
-
Constructor Summary
Constructors Constructor Description FileDictionaryFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.lucene.search.spell.Dictionary
create(SolrCore core, SolrIndexSearcher searcher)
Create a Dictionary using options incore
and optionally usessearcher
, in case of index based dictionaries-
Methods inherited from class org.apache.solr.spelling.suggest.DictionaryFactory
setParams
-
-
-
-
Field Detail
-
FIELD_DELIMITER
public static final String FIELD_DELIMITER
Label for defining fieldDelimiter to be used- See Also:
- Constant Field Values
-
-
Method Detail
-
create
public org.apache.lucene.search.spell.Dictionary create(SolrCore core, SolrIndexSearcher searcher)
Description copied from class:DictionaryFactory
Create a Dictionary using options incore
and optionally usessearcher
, in case of index based dictionaries- Specified by:
create
in classDictionaryFactory
-
-