AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.
Rust agent-memoryai-agentsbm25claude-codeclicode-searchcursordatabaseelasticsearchfull-text-searchhybrid-searchjsonllocal-firstmcpmcp-servermodel-context-protocolragrustsearch-enginevector-search
HTTP 200 POST /docs-docs/_search
{"_xerj":{"hints":[{"code":"lexical_on_semantic_text","reason":"`body` is `semantic_text`, but this query scored it with BM25 over the analysed text — the embedding written at ingest was NOT consulted, so these hits are lexical and a paraphrase sharing no words with the target will not find it. For meaning-based recall run the `semantic` query on `body`; to keep both signals, combine them with `hybrid`.","try":{"request":"POST /docs-docs/_search","body":{"query":{"semantic":{"field":"body","query":"shares no code and no architecture","k":10}}}}}]},"took":485,"timed_out":false,"_shards":{"total":1,"successful":1,"skipped":0,"failed":0},"hits":{"total":{"value":2,"relation":"eq"},"max_score":10.5460825,"hits":[{"_index":"docs-docs","_id":"025ddefabecebea5bd1a7dcfcb497d20","_score":10.5460825,"_source":{"title":"# XERJ Architecture","ax_path":"ARCHITECTURE.md"}}]},"_savings":{"bytes":1270,"measured":"sampled","note":"_source narrowed to the 2 fields you listed"}}