List of usage examples for org.apache.solr.common.params SpellingParams SPELLCHECK_DICT
String SPELLCHECK_DICT
To view the source code for org.apache.solr.common.params SpellingParams SPELLCHECK_DICT.
Click Source Link
From source file:org.springframework.data.solr.core.query.SpellcheckOptions.java
License:Apache License
/** * This parameter causes Solr to use the dictionary named in the parameter's argument. The default setting is * "default". This parameter can be used to invoke a specific spellchecker on a per request basis. * * @return/*from w ww. j av a 2s .c om*/ */ public SpellcheckOptions dictionaries(String... names) { return createNewAndAppend(SpellingParams.SPELLCHECK_DICT, names); }
From source file:org.springframework.data.solr.core.query.SpellcheckOptions.java
License:Apache License
/** * @return can be {@literal null}. */ @Nullable public String[] getDictionary() { return (String[]) params.get(SpellingParams.SPELLCHECK_DICT); }