ABTestExperiment

更新时间:
复制 MD 格式

The ABTestExperiment object represents the configuration and status of an A/B test in OpenSearch High-performance Edition. It appears in API responses when you retrieve or list A/B tests.

Example

{
    "id": "12888",
    "name": "test1",
    "params": {
        "first_formula_name": "default",
        "formula_name": "default",
        "qp_chain_name": "test",
        "cate_predict_model": "test"
    },
    "created": 1588842080,
    "updated": 1588842080,
    "online": true,
    "traffic": 30
}

Structure

FieldTypeDescription
idStringThe ID of the A/B test.
nameStringThe name of the A/B test.
paramsObjectThe ranking and query analysis parameters applied during this A/B test. See params fields.
createdIntegerThe time when the A/B test was created.
updatedIntegerThe time when the A/B test was last updated.
onlineBooleanWhether the A/B test is active. Valid values: true (the A/B test takes effect) and false (the A/B test does not take effect).
trafficIntegerThe traffic proportion routed to this A/B test. Valid values: [0, 100].

params fields

The params object groups the ranking expressions and query analysis settings that differentiate this A/B test from the default configuration.

FieldTypeDescription
params.first_formula_nameStringThe name of the rough sort expression.
params.formula_nameStringThe name of the fine sort expression.
params.qp_chain_nameStringThe name of the query analysis rule.
params.cate_predict_modelStringThe name of the category prediction model.