The mode under which spell correction replaces the original search query. Defaults to Mode.AUTO.
Mode
Enum describing under which mode spell correction should occur.
Enums
MODE_UNSPECIFIED
Unspecified spell correction mode. In this case, server behavior defaults to Mode.AUTO.
SUGGESTION_ONLY
Search API tries to find a spelling suggestion. If a suggestion is found, it is put in the SearchResponse.corrected_query. The spelling suggestion won't be used as the search query.
AUTO
Automatic spell correction built by the Search API. Search will be based on the corrected query if found.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-05-31 UTC."],[[["The document defines the specification for query spell correction in a search context."],["Spell correction can be configured using a `mode` field, which is specified in the JSON representation."],["The `mode` field has three possible enum values: `MODE_UNSPECIFIED`, `SUGGESTION_ONLY`, and `AUTO`."],["`AUTO` mode automatically uses a corrected query for searching if one is found, and `SUGGESTION_ONLY` mode presents a suggestion without automatically using it in the search."],["`MODE_UNSPECIFIED` defaults to `AUTO` if no mode is provided."]]],[]]