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"]],[["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-03-31 UTC."],[[["This page provides documentation for the `SearchRequest.Types.BoostSpec` class within the Google Cloud Discovery Engine v1 API, specifically for version 1.4.0."],["The `BoostSpec` class is designed to define specifications for boosting the relevance of certain documents during search operations."],["It inherits from `object` and implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, allowing it to be used with Google.Protobuf."],["The `BoostSpec` class has two constructors: a default constructor and one that takes another `BoostSpec` object as a parameter for copying."],["The class includes a `ConditionBoostSpecs` property which is a `RepeatedField` of `ConditionBoostSpec` objects that allow for defining multiple conditions to boost documents, up to a maximum of 20."]]],[]]