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
| Field | Type | Description |
|---|---|---|
| id | String | The ID of the A/B test. |
| name | String | The name of the A/B test. |
| params | Object | The ranking and query analysis parameters applied during this A/B test. See params fields. |
| created | Integer | The time when the A/B test was created. |
| updated | Integer | The time when the A/B test was last updated. |
| online | Boolean | Whether 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). |
| traffic | Integer | The 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.
| Field | Type | Description |
|---|---|---|
| params.first_formula_name | String | The name of the rough sort expression. |
| params.formula_name | String | The name of the fine sort expression. |
| params.qp_chain_name | String | The name of the query analysis rule. |
| params.cate_predict_model | String | The name of the category prediction model. |
该文章对您有帮助吗?