Discovery Engine v1 API - Class SearchRequest.Types.SpellCorrectionSpec (1.0.0-beta03)

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 v1 API class SearchRequest.Types.SpellCorrectionSpec.

The specification for query spell correction.

Inheritance

object > SearchRequest.Types.SpellCorrectionSpec

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Constructors

SpellCorrectionSpec()

public SpellCorrectionSpec()

SpellCorrectionSpec(SpellCorrectionSpec)

public SpellCorrectionSpec(SearchRequest.Types.SpellCorrectionSpec other)
Parameter
NameDescription
otherSearchRequestTypesSpellCorrectionSpec

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.v1.SearchRequest.SpellCorrectionSpec.Mode.AUTO].

Property Value
TypeDescription
SearchRequestTypesSpellCorrectionSpecTypesMode