Retail v2 API - Enum SearchRequest.Types.SpellCorrectionSpec.Types.Mode (2.8.0)

public enum SearchRequest.Types.SpellCorrectionSpec.Types.Mode

Reference documentation and code samples for the Retail v2 API enum SearchRequest.Types.SpellCorrectionSpec.Types.Mode.

Enum describing under which mode spell correction should occur.

Namespace

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.dll

Fields

NameDescription
Auto

Automatic spell correction built by Google Retail Search. Search will be based on the corrected query if found.

SuggestionOnly

Google Retail Search will try to find a spell suggestion if there is any and put in the [SearchResponse.corrected_query][google.cloud.retail.v2.SearchResponse.corrected_query]. The spell suggestion will not be used as the search query.

Unspecified

Unspecified spell correction mode. In this case, server behavior defaults to [Mode.AUTO][google.cloud.retail.v2.SearchRequest.SpellCorrectionSpec.Mode.AUTO].