Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data SpellCorrectionConfiguration Source #
Provides the configuration information for suggested query spell corrections.
Suggested spell corrections are based on words that appear in your indexed documents and how closely a corrected word matches a misspelled word.
This feature is designed with certain defaults or limits. For information on the current limits and how to request more support for some limits, see the Spell Checker documentation.
See: newSpellCorrectionConfiguration
smart constructor.
SpellCorrectionConfiguration' | |
|
Instances
newSpellCorrectionConfiguration Source #
:: Bool |
|
-> SpellCorrectionConfiguration |
Create a value of SpellCorrectionConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:includeQuerySpellCheckSuggestions:SpellCorrectionConfiguration'
, spellCorrectionConfiguration_includeQuerySpellCheckSuggestions
- TRUE
to suggest spell corrections for queries.
spellCorrectionConfiguration_includeQuerySpellCheckSuggestions :: Lens' SpellCorrectionConfiguration Bool Source #
TRUE
to suggest spell corrections for queries.