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.
Implements
IMessageSearchRequestTypesBoostSpec, IEquatableSearchRequestTypesBoostSpec, IDeepCloneableSearchRequestTypesBoostSpec, IBufferMessage, IMessageNamespace
Google.Cloud.DiscoveryEngine.V1Assembly
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 |