Java org.apache.solr.common.params SpellingParams fields, constructors, methods, implement or subclass

Example usage for Java org.apache.solr.common.params SpellingParams fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.solr.common.params SpellingParams.

The text is from its open source code.

Implementation

org.apache.solr.common.params.SpellingParams has the following implementations.
Click this link to see all its implementation.

Field

StringSPELLCHECK_PREFIX
StringSPELLCHECK_DICT
The name of the dictionary to be used for giving the suggestion for a request.
StringSPELLCHECK_COUNT
The count of suggestions to return for each query term not in the index and/or dictionary.
StringSPELLCHECK_ALTERNATIVE_TERM_COUNT
The count of suggestions to return for each query term existing in the index and/or dictionary.
StringSPELLCHECK_MAX_RESULTS_FOR_SUGGEST

The maximum number of hits the request can return in order to both generate spelling suggestions and set the "correctlySpelled" element to "false".

StringSPELLCHECK_ONLY_MORE_POPULAR
When this parameter is set to true and the misspelled word exists in the user field, only words that occur more frequently in the Solr field than the one given will be returned.
StringSPELLCHECK_EXTENDED_RESULTS
Whether to use the extended response format, which is more complicated but richer.
StringSPELLCHECK_Q
Use the value for this parameter as the query to spell check.
StringSPELLCHECK_BUILD
Whether to build the index or not.
StringSPELLCHECK_COLLATE
Take the top suggestion for each token and create a new query from it
StringSPELLCHECK_MAX_COLLATIONS

The maximum number of collations to return.

StringSPELLCHECK_MAX_COLLATION_TRIES

The maximum number of collations to test by querying against the index.

StringSPELLCHECK_MAX_COLLATION_EVALUATIONS

The maximum number of word correction combinations to rank and evaluate prior to deciding which collation candidates to test against the index.

StringSPELLCHECK_COLLATE_MAX_COLLECT_DOCS

For use with SpellingParams#SPELLCHECK_MAX_COLLATION_TRIES and SpellingParams#SPELLCHECK_COLLATE_EXTENDED_RESULTS .

StringSPELLCHECK_COLLATE_EXTENDED_RESULTS

Whether to use the Extended Results Format for collations.

StringSPELLCHECK_COLLATE_PARAM_OVERRIDE

For use with SpellingParams#SPELLCHECK_MAX_COLLATION_TRIES , use this to override any original query parameters when issuing test queries.

StringSPELLCHECK_ACCURACY
Certain spelling implementations may allow for an accuracy setting.