Class SpellCorrectionSpec (1.22.0)

SpellCorrectionSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The specification for query spell correction.

Attribute

Name Description
mode google.cloud.retail_v2beta.types.SearchRequest.SpellCorrectionSpec.Mode
The mode under which spell correction should take effect to replace the original search query. Default to Mode.AUTO.

Classes

Mode

Mode(value)

Enum describing under which mode spell correction should occur.