boostSpec property

GoogleCloudRetailV2SearchRequestBoostSpec? boostSpec
getter/setter pair

Boost specification to boost certain products.

For more information, see Boost results. Notice that if both ServingConfig.boost_control_ids and SearchRequest.boost_spec are set, the boost conditions from both places are evaluated. If a search request matches multiple boost conditions, the final boost score is equal to the sum of the boost scores from all matched boost conditions.

Implementation

GoogleCloudRetailV2SearchRequestBoostSpec? boostSpec;