Class GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec
Specification for custom ranking based on customer specified attribute value. It provides more controls for customized ranking than the simple (condition, boost) combination above.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1.Data
Assembly: Google.Apis.DiscoveryEngine.v1.dll
Syntax
public class GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec : IDirectResponseSchema
Properties
AttributeType
The attribute type to be used to determine the boost amount. The attribute value can be derived from the field value of the specified field_name. In the case of numerical it is straightforward i.e. attribute_value = numerical_field_value. In the case of freshness however, attribute_value = (time.now() - datetime_field_value).
Declaration
[JsonProperty("attributeType")]
public virtual string AttributeType { get; set; }
Property Value
Type | Description |
---|---|
string |
ControlPoints
The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.
Declaration
[JsonProperty("controlPoints")]
public virtual IList<GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint> ControlPoints { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
FieldName
The name of the field whose value will be used to determine the boost amount.
Declaration
[JsonProperty("fieldName")]
public virtual string FieldName { get; set; }
Property Value
Type | Description |
---|---|
string |
InterpolationType
The interpolation type to be applied to connect the control points listed below.
Declaration
[JsonProperty("interpolationType")]
public virtual string InterpolationType { get; set; }
Property Value
Type | Description |
---|---|
string |