Class BoostSpec (1.20.0)

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


condition_boost_specs MutableSequence[]
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 20.
skip_boost_spec_validation bool
Whether to skip boostspec validation. If this field is set to true, invalid BoostSpec.condition_boost_specs will be ignored and valid BoostSpec.condition_boost_specs will still be applied. This field is a member of oneof_ _skip_boost_spec_validation.



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

Boost applies to products which match a condition.