Check ranking mix data

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

HeaderValue
AuthorizationBearer <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)

FieldTypeDescription
resultbooleantrue if all checks passed for this field, false otherwise.
reasonsarray of stringsPresent only when result is false. Lists the reasons for each failed check.

Possible failure reasons

ReasonDescription
Low amount of dataFewer than 50% of documents have data for this field.
Invalid boosting dataField 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
  }
}