Class BoostSpec (0.11.10)

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

Boost specification to boost certain documents.

Attribute

NameDescription
condition_boost_specs MutableSequence[google.cloud.discoveryengine_v1beta.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.