List of usage examples for org.apache.solr.common.params SpellingParams SPELLCHECK_COLLATE_EXTENDED_RESULTS
String SPELLCHECK_COLLATE_EXTENDED_RESULTS
To view the source code for org.apache.solr.common.params SpellingParams SPELLCHECK_COLLATE_EXTENDED_RESULTS.
Click Source Link
Whether to use the Extended Results Format for collations.
From source file:org.springframework.data.solr.core.query.SpellcheckOptions.java
License:Apache License
/** * Instructs Solr to return an expanded response format detailing the collations found. * * @return/*from w w w. j ava2 s. c o m*/ */ public SpellcheckOptions collateExtendedResults() { return potentiallySetCollate().createNewAndAppend(SpellingParams.SPELLCHECK_COLLATE_EXTENDED_RESULTS, true); }
From source file:org.springframework.data.solr.core.query.SpellcheckOptions.java
License:Apache License
/** * @return/*from w w w.j a v a 2 s. c om*/ */ public boolean getCollateExtendedResults() { return params.containsKey(SpellingParams.SPELLCHECK_COLLATE_EXTENDED_RESULTS) ? (Boolean) params.get(SpellingParams.SPELLCHECK_COLLATE_EXTENDED_RESULTS) : false; }