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.

995 B
Raw Blame
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":"what is in here","k":10}}}}}]},"took":1,"timed_out":false,"_shards":{"total":1,"successful":1,"skipped":0,"failed":0},"hits":{"total":{"value":1,"relation":"eq"},"max_score":3.5327396,"hits":[{"_index":"docs-docs","_id":"160cdbdaeea084626dc637576750960a","_score":3.5327396,"_source":{"ax_path":"WHY_XERJ.md","title":"# Why XERJ — design rationale"}}]},"_savings":{"bytes":1683,"measured":"sampled","note":"_source narrowed to the 4 fields you listed"}}