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 Discovery Engine v1 API class SearchRequest.Types.BoostSpec.
public RepeatedField<SearchRequest.Types.BoostSpec.Types.ConditionBoostSpec> ConditionBoostSpecs { get; }
Condition boost specifications. If a document 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 20.
[[["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 documentation provides details for the \u003ccode\u003eSearchRequest.Types.BoostSpec\u003c/code\u003e class, a part of the Discovery Engine v1 API, which is used to boost the relevance of certain documents in search results.\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, indicating its role in handling messages, checking for equality, enabling deep cloning, and interacting with buffers.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors, a default \u003ccode\u003eBoostSpec()\u003c/code\u003e constructor and a \u003ccode\u003eBoostSpec(BoostSpec other)\u003c/code\u003e constructor for creating instances based on existing \u003ccode\u003eBoostSpec\u003c/code\u003e objects.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBoostSpec\u003c/code\u003e includes the \u003ccode\u003eConditionBoostSpecs\u003c/code\u003e property, a \u003ccode\u003eRepeatedField\u003c/code\u003e that allows for specifying multiple condition boost rules to be used to adjust search results, with a maximum of 20 specifications.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers various versions of this API class, ranging from version 1.0.0-beta06 up to the latest version 1.6.0.\u003c/p\u003e\n"]]],[],null,[]]