correctedQuery property

String? correctedQuery
getter/setter pair

Contains the spell corrected query, if found.

The search results are based on corrected_query by default. However, if SearchRequest.SpellCorrectionSpec.mode is set to SearchRequest.SpellCorrectionSpec.Mode.SUGGESTION_ONLY, the original query is used for search.

Implementation

core.String? correctedQuery;