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

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

Name Description
Auto

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

SuggestionOnly

Search API tries to find a spelling suggestion. If a suggestion is found, it is put in the [SearchResponse.corrected_query][google.cloud.discoveryengine.v1beta.SearchResponse.corrected_query]. The spelling suggestion won't 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].