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."],[[["The latest version of `SpellCorrectionSpec` is 2.12.0, and the webpage lists versions back to 1.0.0 for reference."],["`SpellCorrectionSpec` is a class within the `Google.Cloud.Retail.V2` namespace, specifically designed for query spell correction."],["This class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["`SpellCorrectionSpec` has a property called `Mode`, which controls how spell correction is applied, defaulting to `Mode.AUTO`."],["The class can be constructed via a default constructor, or one that takes in another instance of `SpellCorrectionSpec` as a parameter."]]],[]]