public sealed class BoostSpec : IMessage<SearchRequest.Types.BoostSpec>, IEquatable<SearchRequest.Types.BoostSpec>, IDeepCloneable<SearchRequest.Types.BoostSpec>, IBufferMessage, IMessage
public RepeatedField<SearchRequest.Types.BoostSpec.Types.ConditionBoostSpec> ConditionBoostSpecs { get; }
Condition boost specifications. If a product matches multiple conditions
in the specifictions, boost scores from these specifications are all
applied and combined in a non-linear way. Maximum number of
specifications is 10.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis page details the \u003ccode\u003eBoostSpec\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Retail.V2\u003c/code\u003e namespace, used for boosting specific items in search results, with the latest version being 2.12.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBoostSpec\u003c/code\u003e class, derived from \u003ccode\u003eObject\u003c/code\u003e, implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, offering functionalities for message handling, comparison, deep cloning, and buffered operations.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides two constructors, a default \u003ccode\u003eBoostSpec()\u003c/code\u003e and a \u003ccode\u003eBoostSpec(SearchRequest.Types.BoostSpec other)\u003c/code\u003e for creating a new instance based on an existing \u003ccode\u003eBoostSpec\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eA core property of the \u003ccode\u003eBoostSpec\u003c/code\u003e class is \u003ccode\u003eConditionBoostSpecs\u003c/code\u003e, which allows for the definition of multiple conditions to boost items, with a limit of 10 specifications.\u003c/p\u003e\n"],["\u003cp\u003eThe history of this \u003ccode\u003eBoostSpec\u003c/code\u003e object and its properties can be viewed in its version history, going all the way back to version 1.0.0.\u003c/p\u003e\n"]]],[],null,[]]