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.
Implements
IMessageSearchRequestTypesSpellCorrectionSpec, IEquatableSearchRequestTypesSpellCorrectionSpec, IDeepCloneableSearchRequestTypesSpellCorrectionSpec, IBufferMessage, IMessageNamespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
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 |