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 2025-06-27 UTC."],[[["\u003cp\u003eThe document defines the specification for query spell correction in a search context.\u003c/p\u003e\n"],["\u003cp\u003eSpell correction can be configured using a \u003ccode\u003emode\u003c/code\u003e field, which is specified in the JSON representation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003emode\u003c/code\u003e field has three possible enum values: \u003ccode\u003eMODE_UNSPECIFIED\u003c/code\u003e, \u003ccode\u003eSUGGESTION_ONLY\u003c/code\u003e, and \u003ccode\u003eAUTO\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAUTO\u003c/code\u003e mode automatically uses a corrected query for searching if one is found, and \u003ccode\u003eSUGGESTION_ONLY\u003c/code\u003e mode presents a suggestion without automatically using it in the search.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMODE_UNSPECIFIED\u003c/code\u003e defaults to \u003ccode\u003eAUTO\u003c/code\u003e if no mode is provided.\u003c/p\u003e\n"]]],[],null,[]]