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
{"_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 /scr-jsonl/_search","body":{"query":{"semantic":{"field":"body","query":"batch CVE GHSA lookup","k":10}}}}}]},"took":1,"timed_out":false,"_shards":{"total":1,"successful":1,"skipped":0,"failed":0},"hits":{"total":{"value":57,"relation":"eq"},"max_score":19.358475,"hits":[{"_index":"scr-jsonl","_id":"77794d222972e50af7354e5376143446","_score":19.358475,"_source":{"title":"[feature]: Batch queries (many IDs or questions per call, per-item answer or abstain)","number":1801,"state":"OPEN"}},{"_index":"scr-jsonl","_id":"aceb741df955c66d6bd54f0cea3ca170","_score":10.939819,"_source":{"title":"[feature]: Field-aware BM25 plus exact ID matching in `xerj code`","number":1788,"state":"OPEN"}},{"_index":"scr-jsonl","_id":"42802af35f144f04e384f37e0b29edad","_score":10.761112,"_source":{"title":"xerj code over JSON corpora: one shard's synthesized empty text defeats the own-field fallback (cve-records G7 0/7)","number":1244,"state":"CLOSED"}}]},"_savings":{"bytes":5422,"measured":"sampled","note":"_source narrowed to the 3 fields you listed"}}