Class BoostSpec (1.2.1)

BoostSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Boost specification to boost certain items.

Attribute

NameDescription
condition_boost_specs Sequence[google.cloud.retail_v2.types.SearchRequest.BoostSpec.ConditionBoostSpec]
Condition boost specifications. If a product 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 10.

Classes

ConditionBoostSpec

ConditionBoostSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Boost applies to products which match a condition.