Discovery Engine V1BETA API - Class Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::BoostSpec::ConditionBoostSpec::BoostControlSpec (v0.14.2)

Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::BoostSpec::ConditionBoostSpec::BoostControlSpec.

Specification for custom ranking based on customer specified attribute value. It provides more controls for customized ranking than the simple (condition, boost) combination above.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#attribute_type

def attribute_type() -> ::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::BoostSpec::ConditionBoostSpec::BoostControlSpec::AttributeType
Returns

#attribute_type=

def attribute_type=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::BoostSpec::ConditionBoostSpec::BoostControlSpec::AttributeType
Parameter
Returns

#control_points

def control_points() -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::BoostSpec::ConditionBoostSpec::BoostControlSpec::ControlPoint>
Returns

#control_points=

def control_points=(value) -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::BoostSpec::ConditionBoostSpec::BoostControlSpec::ControlPoint>
Parameter
Returns

#field_name

def field_name() -> ::String
Returns
  • (::String) — The name of the field whose value will be used to determine the boost amount.

#field_name=

def field_name=(value) -> ::String
Parameter
  • value (::String) — The name of the field whose value will be used to determine the boost amount.
Returns
  • (::String) — The name of the field whose value will be used to determine the boost amount.

#interpolation_type

def interpolation_type() -> ::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::BoostSpec::ConditionBoostSpec::BoostControlSpec::InterpolationType
Returns

#interpolation_type=

def interpolation_type=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::BoostSpec::ConditionBoostSpec::BoostControlSpec::InterpolationType
Parameter
Returns