Search returns nothing
Symptom: Search for any word returns nothing#
If every query gives 0 hits, the Weaviate index is likely empty or missing.
Admin: check the collection:
1 2 3 4 5 6 7 8 9 10 11 | |
If count: 0, run the backfill:
1 | |
If the count is reasonable but search still returns 0, check the embedding chain:
1 | |
If embed returns 401, ScaiGrid's auth path is broken. The search
engine falls back to BM25-only automatically; queries return some
results but ranked by BM25 only.
Symptom: Search misses messages older than X#
By default messages are indexed within ~2 seconds of being sent. If recent messages are searchable but old ones aren't, the historical backfill never ran. Same backfill command above.
If only messages older than ~3 months are missing, check whether your tenant has a retention policy:
1 | |
Tenants can configure auto-archival; archived messages are preserved in the DB but excluded from search by default.
Symptom: Search returns hits but they're stale#
A message is in search results but with old content (or shows up after being redacted). Indexing is async; redaction takes a few seconds to propagate. Wait, then retry.
If it persists for > 1 minute, admin should run a targeted reindex:
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
Symptom: Notes don't appear in search#
Same diagnostic, different collection (ScaiWaveNote). The notes
backfill is a separate process; ask an admin to run it.
Symptom: Incognito-room messages don't appear#
By design. Incognito rooms have do_not_index=True on every event;
they're never written to Weaviate. See
Incognito rooms.
Cross-tenant gotcha#
If you're a federated participant, you see federated messages in your search (your server indexed them locally). You don't see the foreign side's full corpus. Search the other side from one of their users.