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\u003eThe latest version of the \u003ccode\u003eBoostSpec\u003c/code\u003e class is 2.12.0, but multiple previous versions are also documented, dating back to version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBoostSpec\u003c/code\u003e class, within the \u003ccode\u003eGoogle.Cloud.Retail.V2\u003c/code\u003e namespace, is used to define boost specifications for items in retail search requests.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBoostSpec\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, ensuring it works within the .NET Protobuf framework.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides a \u003ccode\u003eConditionBoostSpecs\u003c/code\u003e property which is a \u003ccode\u003eRepeatedField\u003c/code\u003e that holds a list of conditions that, if matched, will boost the products in the search results.\u003c/p\u003e\n"],["\u003cp\u003eThe class has 2 constructors, one default and one that takes in another \u003ccode\u003eBoostSpec\u003c/code\u003e as a parameter.\u003c/p\u003e\n"]]],[],null,[]]