List of usage examples for org.apache.solr.common.params SpellingParams SPELLCHECK_COLLATE_MAX_COLLECT_DOCS
String SPELLCHECK_COLLATE_MAX_COLLECT_DOCS
To view the source code for org.apache.solr.common.params SpellingParams SPELLCHECK_COLLATE_MAX_COLLECT_DOCS.
Click Source Link
For use with SpellingParams#SPELLCHECK_MAX_COLLATION_TRIES and SpellingParams#SPELLCHECK_COLLATE_EXTENDED_RESULTS .
From source file:org.springframework.data.solr.core.query.SpellcheckOptions.java
License:Apache License
/** * This parameter specifies the maximum number of documents that should be collect when testing potential collations * against the index./*from w w w . j a v a2s. com*/ * * @param nr * @return */ public SpellcheckOptions maxCollationCollectDocs(long nr) { return potentiallySetCollate().createNewAndAppend(SpellingParams.SPELLCHECK_COLLATE_MAX_COLLECT_DOCS, nr); }
From source file:org.springframework.data.solr.core.query.SpellcheckOptions.java
License:Apache License
/** * @return can be {@literal null}./*www . j a v a 2 s. c om*/ */ @Nullable public Long getMaxCollationCollectDocs() { return (Long) params.get(SpellingParams.SPELLCHECK_COLLATE_MAX_COLLECT_DOCS); }