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-12 UTC."],[[["This webpage details the `SpellCorrectionSpec` class within the `Google.Cloud.Retail.V2` namespace, which is used to define the specifications for query spell correction."],["The latest version of `SpellCorrectionSpec` is 2.12.0, with the class being available in versions ranging from 1.0.0 to 2.12.0, each of which have their own associated documentation link."],["`SpellCorrectionSpec` inherits from `Object` and implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class includes a property called `Mode`, which determines how spell correction should be applied, defaulting to `Mode.AUTO`."],["Two constructors are available for creating a `SpellCorrectionSpec` object: a parameterless constructor and one that accepts another `SpellCorrectionSpec` object."]]],[]]