Skip to content

armgit / xerj

Public Imported from GitHub
0

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.

990 B
Raw Blame
HTTP 200 POST /sessions-*/_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 /sessions-*/_search","body":{"query":{"semantic":{"field":"body","query":"TOOL_OUTPUT_MARKER","k":10}}}}}]},"took":0,"timed_out":false,"_shards":{"total":2,"successful":2,"skipped":0,"failed":0},"hits":{"total":{"value":1,"relation":"eq"},"max_score":1.500453,"hits":[{"_index":"sessions-docs","_id":"9b9ba273250bf485807155e5f6d0000d","_score":1.500453,"_source":{"title":"session-tool","ax_path":"session-tool.jsonl"}}]},"_savings":{"bytes":2311,"measured":"sampled","note":"_source narrowed to the 2 fields you listed"}}