Validates whether the index contains sufficient and valid data for each ranking mix boost field. This endpoint is used to diagnose issues with ranking mix before enabling it.
Request
GET /ranking-mix-config/check-data
Headers
| Header | Value |
|---|---|
Authorization | Bearer <token> |
Example Request
GET /ranking-mix-config/check-data
Response
Returns a JSON object keyed by boost field name. Each entry reports whether the data for that field passes all validation checks, and lists the reasons if any check fails.
Response Fields (per boost field)
| Field | Type | Description |
|---|---|---|
result | boolean | true if all checks passed for this field, false otherwise. |
reasons | array of strings | Present only when result is false. Lists the reasons for each failed check. |
Possible failure reasons
| Reason | Description |
|---|---|
Low amount of data | Fewer than 50% of documents have data for this field. |
Invalid boosting data | Field contains values outside the expected range (0–1). |
No ranking mix data. | All values are identical; the field provides no ranking signal. |
Example Response
{
"new": {
"result": true
},
"sold": {
"result": false,
"reasons": ["Low amount of data"]
},
"basket": {
"result": true
},
"view": {
"result": true
},
"revenue": {
"result": false,
"reasons": ["No ranking mix data."]
},
"rating": {
"result": true
},
"profit_margin": {
"result": true
}
}
