Discovery Engine v1beta API - Enum SearchRequest.Types.SpellCorrectionSpec.Types.Mode (1.0.0-beta12)

public enum SearchRequest.Types.SpellCorrectionSpec.Types.Mode

Reference documentation and code samples for the Discovery Engine v1beta API enum SearchRequest.Types.SpellCorrectionSpec.Types.Mode.

Enum describing under which mode spell correction should occur.

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Fields

NameDescription
Auto

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

SuggestionOnly

Search API will try to find a spell suggestion if there is any and put in the [SearchResponse.corrected_query][google.cloud.discoveryengine.v1beta.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.discoveryengine.v1beta.SearchRequest.SpellCorrectionSpec.Mode.AUTO].