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.
Whether to skip boostspec validation. If this field is set to true,
invalid
[BoostSpec.condition_boost_specs][google.cloud.retail.v2.SearchRequest.BoostSpec.condition_boost_specs]
will be ignored and valid
[BoostSpec.condition_boost_specs][google.cloud.retail.v2.SearchRequest.BoostSpec.condition_boost_specs]
will still be applied.
[[["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 \u003ccode\u003eBoostSpec\u003c/code\u003e class, part of the \u003ccode\u003eGoogle.Cloud.Retail.V2\u003c/code\u003e namespace, is designed to boost the relevance of certain items within search results.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its use within Google's Protocol Buffers framework.\u003c/p\u003e\n"],["\u003cp\u003eIt offers a \u003ccode\u003eConditionBoostSpecs\u003c/code\u003e property, allowing for multiple conditions to enhance item boosting, with a maximum of 10 specifications, and these scores are combined non-linearly.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSkipBoostSpecValidation\u003c/code\u003e property enables the bypassing of boost specification validation, allowing the application to ignore invalid boost specifications.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation for the \u003ccode\u003eBoostSpec\u003c/code\u003e class is available for multiple versions ranging from version 1.0.0 to the latest version 2.12.0, allowing you to access the desired documentation based on your projects needs.\u003c/p\u003e\n"]]],[],null,[]]