List of usage examples for org.apache.solr.common.params SpellingParams SPELLCHECK_EXTENDED_RESULTS
String SPELLCHECK_EXTENDED_RESULTS
To view the source code for org.apache.solr.common.params SpellingParams SPELLCHECK_EXTENDED_RESULTS.
Click Source Link
From source file:org.springframework.data.solr.core.query.SpellcheckOptions.java
License:Apache License
/** * Enable the extended response format, which is more complicated but richer. Returns the document frequency for each * suggestion and returns one suggestion block for each term in the query string. * * @return// ww w . ja v a 2 s .c o m */ public SpellcheckOptions extendedResults() { return createNewAndAppend(SpellingParams.SPELLCHECK_EXTENDED_RESULTS, true); }
From source file:org.springframework.data.solr.core.query.SpellcheckOptions.java
License:Apache License
/** * @return can be {@literal null}. */ @Nullable public Boolean getExtendedResults() { return (Boolean) params.get(SpellingParams.SPELLCHECK_EXTENDED_RESULTS); }