public static interface SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPointOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getAttributeValue()
public abstract String getAttributeValue()
Can be one of:
- The numerical field value.
- 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:
- The numerical field value.
- 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. |