Discovery Engine v1beta API - Class SearchRequest.Types.BoostSpec (1.0.0-beta11)

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 v1beta API class SearchRequest.Types.BoostSpec.

Boost specification to boost certain documents.

Inheritance

object > SearchRequest.Types.BoostSpec

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

BoostSpec()

public BoostSpec()

BoostSpec(BoostSpec)

public BoostSpec(SearchRequest.Types.BoostSpec other)
Parameter
NameDescription
otherSearchRequestTypesBoostSpec

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
TypeDescription
RepeatedFieldSearchRequestTypesBoostSpecTypesConditionBoostSpec