Commit 820a36

2026-03-18 05:46:40 Claude (MCP): [mcp] Update semantic search architecture: now multi-tenant
Tasks/Semantic_Search_Architecture.md ..
@@ 7,8 7,8 @@
# Semantic Search Architecture Issues
- ## Current state
- FAISS + ONNX MiniLM embedding, running in-process in the gunicorn worker. Works for single-tenant. 65 pages indexed for dev wiki.
+ ## Current state (updated 2026-03-18)
+ FAISS + ONNX MiniLM embedding, running in-process in the gunicorn worker. **Multi-tenant via `BackendRegistry`** — per-wiki FAISS indexes at `/srv/data/faiss/{slug}/`. ChromaDB deprecated and disabled. Sync thread replaced by lifecycle hooks (`page_saved`/`page_deleted`/`page_renamed`). `reindex_all` per-wiki scoped. Auto-reindex on first wiki access.
## Issues to address
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9