public sealed class SearchRequest.Types.BoostSpec : IMessage<SearchRequest.Types.BoostSpec>, IEquatable<SearchRequest.Types.BoostSpec>, IDeepCloneable<SearchRequest.Types.BoostSpec>, IBufferMessage, IMessage
Reference documentation and code samples for the Retail v2 API class SearchRequest.Types.BoostSpec.
public RepeatedField<SearchRequest.Types.BoostSpec.Types.ConditionBoostSpec> ConditionBoostSpecs { get; }
Condition boost specifications. If a product matches multiple conditions
in the specifications, boost scores from these specifications are all
applied and combined in a non-linear way. Maximum number of
specifications is 20.
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"]],[["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-08-07 UTC."],[[["\u003cp\u003eThis page provides reference documentation for the \u003ccode\u003eSearchRequest.Types.BoostSpec\u003c/code\u003e class within the Google Cloud Retail v2 API, detailing its purpose in boosting items during searches.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSearchRequest.Types.BoostSpec\u003c/code\u003e class is used to specify conditions to boost the visibility of certain items, with support for combining multiple boost specifications.\u003c/p\u003e\n"],["\u003cp\u003eThe most current version available for \u003ccode\u003eSearchRequest.Types.BoostSpec\u003c/code\u003e is 2.12.0, with a range of previous versions accessible from 1.0.0 up to 2.11.0.\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, and inherits from \u003ccode\u003eobject\u003c/code\u003e, demonstrating its role as a data structure within the API.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eBoostSpec\u003c/code\u003e include \u003ccode\u003eConditionBoostSpecs\u003c/code\u003e which manage the conditions of the boost, and \u003ccode\u003eSkipBoostSpecValidation\u003c/code\u003e which controls whether to validate the boost specifications.\u003c/p\u003e\n"]]],[],null,[]]