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 Retail v2 API class SearchRequest.Types.SpellCorrectionSpec.
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 document provides reference documentation for the `SearchRequest.Types.SpellCorrectionSpec` class within the Google.Cloud.Retail.V2 API, detailing its functionality for query spell correction."],["The `SpellCorrectionSpec` class implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, ensuring compatibility and providing deep cloning capabilities."],["The class offers two constructors, one default and one that allows creating a new instance from an existing `SpellCorrectionSpec` object, facilitating object duplication."],["A `Mode` property is available within the `SpellCorrectionSpec` class, determining how spell correction should be applied to the search query, defaulting to automatic correction."],["The document contains a list of all the previous versions, ranging from version 1.0.0 to the latest 2.12.0, of the `SpellCorrectionSpec`."]]],[]]