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

public sealed class SearchRequest.Types.SpellCorrectionSpec : IMessage<SearchRequest.Types.SpellCorrectionSpec>, IEquatable<SearchRequest.Types.SpellCorrectionSpec>, IDeepCloneable<SearchRequest.Types.SpellCorrectionSpec>, IBufferMessage, IMessage

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

The specification for query spell correction.

Inheritance

object > SearchRequest.Types.SpellCorrectionSpec

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

SpellCorrectionSpec()

public SpellCorrectionSpec()

SpellCorrectionSpec(SpellCorrectionSpec)

public SpellCorrectionSpec(SearchRequest.Types.SpellCorrectionSpec other)
Parameter
Name Description
other SearchRequestTypesSpellCorrectionSpec

Properties

Mode

public SearchRequest.Types.SpellCorrectionSpec.Types.Mode Mode { get; set; }

The mode under which spell correction should take effect to replace the original search query. Default to [Mode.AUTO][google.cloud.discoveryengine.v1beta.SearchRequest.SpellCorrectionSpec.Mode.AUTO].

Property Value
Type Description
SearchRequestTypesSpellCorrectionSpecTypesMode