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-21 UTC."],[[["This documentation provides details for the `SearchRequest.Types.BoostSpec` class, a part of the Discovery Engine v1 API, which is used to boost the relevance of certain documents in search results."],["The `BoostSpec` class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, indicating its role in handling messages, checking for equality, enabling deep cloning, and interacting with buffers."],["The class offers two constructors, a default `BoostSpec()` constructor and a `BoostSpec(BoostSpec other)` constructor for creating instances based on existing `BoostSpec` objects."],["`BoostSpec` includes the `ConditionBoostSpecs` property, a `RepeatedField` that allows for specifying multiple condition boost rules to be used to adjust search results, with a maximum of 20 specifications."],["The documentation covers various versions of this API class, ranging from version 1.0.0-beta06 up to the latest version 1.6.0."]]],[]]