List of usage examples for org.apache.solr.common.params SpellingParams SPELLCHECK_MAX_COLLATION_EVALUATIONS
String SPELLCHECK_MAX_COLLATION_EVALUATIONS
To view the source code for org.apache.solr.common.params SpellingParams SPELLCHECK_MAX_COLLATION_EVALUATIONS.
Click Source Link
The maximum number of word correction combinations to rank and evaluate prior to deciding which collation candidates to test against the index.
From source file:org.springframework.data.solr.core.query.SpellcheckOptions.java
License:Apache License
/** * This parameter specifies the maximum number of word correction combinations to rank and evaluate prior to deciding * which collation candidates to test against the index. * * @param evaluations//from w ww . j av a 2 s .co m * @return */ public SpellcheckOptions maxCollationEvaluations(long evaluations) { return potentiallySetCollate().createNewAndAppend(SpellingParams.SPELLCHECK_MAX_COLLATION_EVALUATIONS, evaluations); }
From source file:org.springframework.data.solr.core.query.SpellcheckOptions.java
License:Apache License
/** * @return can be {@literal null}./*from w w w . jav a2 s .c o m*/ */ @Nullable public Long getMaxCollationEvaluations() { return (Long) params.get(SpellingParams.SPELLCHECK_MAX_COLLATION_EVALUATIONS); }