public sealed class SpellCorrectionSpec : IMessage<SearchRequest.Types.SpellCorrectionSpec>, IEquatable<SearchRequest.Types.SpellCorrectionSpec>, IDeepCloneable<SearchRequest.Types.SpellCorrectionSpec>, IBufferMessage, IMessage
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.retail.v2.SearchRequest.SpellCorrectionSpec.Mode.AUTO].
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-05 UTC."],[[["This webpage details the `SpellCorrectionSpec` class within the `Google.Cloud.Retail.V2` namespace, which is used to specify how query spell correction should operate."],["The latest version of `SpellCorrectionSpec` is 2.12.0, with numerous prior versions available, ranging back to 1.0.0."],["The `SpellCorrectionSpec` class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from `Object`."],["The `SpellCorrectionSpec` class offers two constructors: a default one and another that accepts an existing `SpellCorrectionSpec` instance."],["It contains one property called \"Mode\" which sets the behavior for spell correction."]]],[]]