Class SpellCorrectionSpec (1.9.0)

Stay organized with collections Save and categorize content based on your preferences.
SpellCorrectionSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The specification for query spell correction.

Attribute

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

Inheritance

builtins.object > proto.message.Message > SpellCorrectionSpec

Classes

Mode

Mode(value)

Enum describing under which mode spell correction should occur.