Platform
ScaiWave ScaiGrid ScaiCore ScaiBot ScaiDrive ScaiKey Models Tools & Services
Solutions
Organisations Developers Internet Service Providers Managed Service Providers AI-in-a-Box
Resources
Support Documentation Blog Downloads
Company
About Research Careers Investment Opportunities Contact
Log in

Search index issues

"I wrote a page and search doesn't find it"#

Index writes are async. Expect 1–3 seconds of lag, longer if the worker is backed up.

  1. Worker running? ps aux | grep scaicms-worker.
  2. Queue size: in the admin UI go to Queue Monitor.
  3. Force a reindex of the namespace:
    bash
    1
    python -m scaicms.cli docs-index reindex --namespace <slug>
    

"Search returns old text"#

The chunker re-chunks on every page write — old chunks are deleted before new ones are inserted. If you see old text, you're probably hitting a cache. Try ?_nocache=1 on the search URL to bypass.

"I think the index drifted"#

bash
1
2
python -m scaicms.cli.index_management check       # content
python -m scaicms.cli docs-index status            # docs

If counts disagree with the DB, run a full reindex. As a last resort:

bash
1
2
python -m scaicms.cli docs-index reset             # destructive!
python -m scaicms.cli docs-index reindex
Updated 2026-05-16 12:33:52 View source (.md) rev 2