Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class BoostSpec.
Boost specification to boost certain documents.
Generated from protobuf message google.cloud.discoveryengine.v1.SearchRequest.BoostSpec
Namespace
Google \ Cloud \ DiscoveryEngine \ V1 \ SearchRequestMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ condition_boost_specs
array< Google\Cloud\DiscoveryEngine\V1\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.
getConditionBoostSpecs
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.
setConditionBoostSpecs
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.
$this