Package org.apache.solr.spelling.suggest
Class HighFrequencyDictionaryFactory
- java.lang.Object
-
- org.apache.solr.spelling.suggest.DictionaryFactory
-
- org.apache.solr.spelling.suggest.HighFrequencyDictionaryFactory
-
public class HighFrequencyDictionaryFactory extends DictionaryFactory
Factory forHighFrequencyDictionary
-
-
Field Summary
Fields Modifier and Type Field Description static String
THRESHOLD_TOKEN_FREQUENCY
Minimum frequency of terms to consider when building the dictionary.-
Fields inherited from class org.apache.solr.spelling.suggest.DictionaryFactory
DEFAULT_FILE_BASED_DICT, DEFAULT_INDEX_BASED_DICT, params
-
-
Constructor Summary
Constructors Constructor Description HighFrequencyDictionaryFactory()
-
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
-
THRESHOLD_TOKEN_FREQUENCY
public static final String THRESHOLD_TOKEN_FREQUENCY
Minimum frequency of terms to consider when building the dictionary.- 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
-
-