TengenceTengence
Product docs

Search Troubleshooting

Diagnose search failures in five layers: app status, dataset, index, query and authentication or quota.

Most search problems fall into five layers: application status, dataset, index, query and authentication/quota. Check them in that order. Changing the ranking formula before checking the earlier layers hides the real cause and makes the next incident harder to diagnose.

1. Is the application running? Open the app. Run Status should be Running and Service Status In Use. A stopped app returns errors even with a perfect index. Check whether someone pressed Stop, whether the package expired, or whether an overdue bill triggered a service block.

Search application details showing package usage, monthly calls, document count, API key and integration entries.
Use service status and run status first, before touching index or ranking.

2. Is the dataset complete? Compare Document Count with the integration app record count. A mismatch means the last sync failed, the field mapping changed, or the index has not picked up new records. Open Data Integration and check the run status and record count before reindexing.

3. Is the index correct? Open Index Configuration and confirm four things: the unique identifier is a Keyword field, the title is Tokenized Text with a non-zero weight, filter fields are Keyword or Numeric, and every index field maps to an existing dataset field. A renamed source column silently breaks recall.

Search index configuration mapping item_id, title, category_name, description, price and rating to dataset fields.
Index fields, types and weights; check identifiers, title and filter fields first.

4. Is the query reaching the index? Use Preview with a query that certainly exists in the dataset. If preview succeeds but the API fails, the problem is authentication or the request body, not the index. If both fail, go back to layers 1–3.

5. Is the request valid? The API needs POST, JSON, and Authorization: Bearer <key>. A key belongs to one app; a key from another app returns an authentication error. A size above 100, an unknown filter field or an unsupported operator returns a validation error.

Common symptoms and first checks.

Symptom First check Likely cause
All requests fail Run Status, package, overdue bill App stopped, package expired or service blocked
Preview works, API 401 Authorization header and key owner Wrong app key, missing Bearer prefix, key regenerated
No results for a known item Dataset record count, index field mapping Sync failed, field renamed, document not indexed
Some filters return nothing Field type and operator Text field used as keyword, wrong operator, strict AND
Results are relevant but order is poor Ranking formula and weights Over-weighted quality, missing recall-position factor
Monthly calls near the cap Package Usage Traffic growth or a retry loop; upgrade or fix retries

Do not do these. Do not regenerate the API key as a first response to a 401; confirm which app the key belongs to first. Do not reindex a healthy app to fix a filter typo. Do not add synonyms for every zero-result query; check whether the document exists. Do not change ranking and index configuration in the same incident.

Ten-minute triage

  1. Check Run Status and Service Status.
  2. Compare document count with source record count.
  3. Open Preview with a known query.
  4. If preview works, test the API with a minimal body.
  5. Check the API key owner and Authorization header.
  6. Check monthly calls and storage against the plan.
  7. Only then review ranking or synonyms.

Next steps

On this page