Name | Type | Default value | Description |
---|---|---|---|
enabled | boolean | Enables spellcheck on queries. | |
blacklistedPrefixHandlers | string | A list of comma-separated prefix handler names defining which parts of the query will NOT be spell checked . | |
enabledRefine | boolean | Suggests alternate expressions even if facets have been used to filter hits. | |
computeCorrectedNHits | boolean | Calculates and displays the number of hits that will be returned for each suggested expression. This can impact performance as CloudView must perform the query for each suggestion. Warning: This option is not compatible with disjunctive facets. The count will not report any values. | |
hitThreshold | int | Only performs spell check if the query returns less than N hits. However, if N=0, spell check is always performed. For example, if N=4, spell check is only activated for queries that return 3 or less hits. | |
cancelBadCorrections | boolean | Leaves out alternate expressions that would return less hits than the original query. This requires computeCorrectedNHits to be true. | |
autoCorrect | boolean | Automatically performs (uncorrected query) OR (corrected query 1) OR (corrected query 2) ... If cancelBadCorrections and autoCorrect are both true, the query is performed three times: • The uncorrected query is performed to calculate the number of hits. • The corrected queries are performed to calculate the number of hits. • The corrected queries that yield more hits than the uncorrected query are added to the uncorrected query, and the resulting query is performed and returned to the user. | |
graceDelayMS | int | 50 | Maximum time to wait for spell checking after query processing has finished. If the spell check exceeds this time, it is cancelled and a warning displays. After this time expires, spellcheck is cancelled. If computeCorrectedNHits is enabled, the additional time this takes will leave less time for spell check to finish. If 'Automatically correct' is selected, this timeout is ignored. |
querySizeLimit | int | 16 | Queries with more than this count of chunks are considered computer-generated queries for which the spellchecking is disabled. |
dictionaryName | string | Dictionary used for spell checking and white and black lists |
Name | Type | Description |
---|---|---|
SpellCheckParameters | com.exalead.linguistic.v10.SpellCheckParameters | Low-level parameters. |