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 document provides reference information for the \u003ccode\u003eSearchRequest.Types.BoostSpec\u003c/code\u003e class within the Discovery Engine v1 API, specifically version 1.2.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSearchRequest.Types.BoostSpec\u003c/code\u003e is designed to boost certain documents during search operations and implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eobject\u003c/code\u003e and includes constructors for creating a new \u003ccode\u003eBoostSpec\u003c/code\u003e or copying an existing one.\u003c/p\u003e\n"],["\u003cp\u003eThe main property of \u003ccode\u003eSearchRequest.Types.BoostSpec\u003c/code\u003e is \u003ccode\u003eConditionBoostSpecs\u003c/code\u003e, which is a \u003ccode\u003eRepeatedField\u003c/code\u003e that can hold up to 20 condition boost specifications to apply to matching documents.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 1.6.0 and it is one of 7 versions available, including a beta.\u003c/p\u003e\n"]]],[],null,[]]