- docker-compose: ollama (nomic-embed-text) and qdrant services.
- core/lib.Embeddings.asp: Ollama and Qdrant clients, embedding_index
bookkeeping (pending/indexed/failed/delete with model, dimensions and
revision), Ranker_Class with reciprocal rank fusion of lexical and vector
ranks. Falls back to lexical with a warning when the provider is off/down.
- Write paths mark rows inside their transaction and index after commit
without failing the write; forget, purge and new document revisions remove
points. scripts\embed.cmd status|run|reindex catches up or rebuilds.
- /recall, /search and /context use the shared ranker and report strategy.
- Lexical queries drop common English stopwords; fix AscW sign so characters
U+8000..U+FFFF are kept as word characters.
- Migration create_embedding_index_table; tests/phase3-semantic.sh (30
checks); OpenAPI, README and AGENTS.md updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adds ApiDocumentsController, core/lib.Search.asp (class-based chunker, FTS5 indexing),
POST /recall and /memories/:id/verifications, the documents/search migration, purge
coverage for the new tables, OpenAPI spec and tests/phase2-api.sh.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>