Discovery Engine v1 API - Class SearchRequest.Types.BoostSpec (1.5.0)

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.

Boost specification to boost certain documents.

Inheritance

object > SearchRequest.Types.BoostSpec

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Constructors

BoostSpec()

public BoostSpec()

BoostSpec(BoostSpec)

public BoostSpec(SearchRequest.Types.BoostSpec other)
Parameter
Name Description
other SearchRequestTypesBoostSpec

Properties

ConditionBoostSpecs

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.

Property Value
Type Description
RepeatedFieldSearchRequestTypesBoostSpecTypesConditionBoostSpec