Interface SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPointOrBuilder (0.48.0)

public static interface SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPointOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAttributeValue()

public abstract String getAttributeValue()

Can be one of:

  1. The numerical field value.
  2. The duration spec for freshness: The value must be formatted as an XSD dayTimeDuration value (a restricted subset of an ISO 8601 duration value). The pattern for this is: nDnM].

string attribute_value = 1;

Returns
Type Description
String

The attributeValue.

getAttributeValueBytes()

public abstract ByteString getAttributeValueBytes()

Can be one of:

  1. The numerical field value.
  2. The duration spec for freshness: The value must be formatted as an XSD dayTimeDuration value (a restricted subset of an ISO 8601 duration value). The pattern for this is: nDnM].

string attribute_value = 1;

Returns
Type Description
ByteString

The bytes for attributeValue.

getBoostAmount()

public abstract float getBoostAmount()

The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above.

float boost_amount = 2;

Returns
Type Description
float

The boostAmount.