suggestionType property

String? suggestionType
getter/setter pair

Suggestion triggered for the current query. Possible string values are:

  • "SUGGESTION_TYPE_UNSPECIFIED" : Default spell check type
  • "NON_EMPTY_RESULTS_SPELL_SUGGESTION" : Spell suggestion without any results changed. The results are still shown for the original query (which has non zero / results) with a suggestion for spelling that would have results.
  • "ZERO_RESULTS_FULL_PAGE_REPLACEMENT" : Spell suggestion triggered when original query has no results. When the original query has no results, and spell suggestion has results we trigger results for the spell corrected query.

Implementation

core.String? suggestionType;