Class BoostSpec (0.13.3)

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

Boost specification to boost certain documents.

Attribute

Name Description
condition_boost_specs MutableSequence[google.cloud.discoveryengine_v1.types.SearchRequest.BoostSpec.ConditionBoostSpec]
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.

Classes

ConditionBoostSpec

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

Boost applies to documents which match a condition.