#55th of 13 in RAG and search
xerj
Elasticsearch-compatible search server that auto-indexes folders for coding agents
Live demo ↗
(opens in a new tab)Documentation ↗
(opens in a new tab)Website ↗
(opens in a new tab)Repository on GitHub ↗
(opens in a new tab)
- Stars
- 4.1k
- License
- Apache-2.0
- Last commit
- Oct 2026
- Last release
- Oct 2026
- Language
- Rust
Missed the latest GitHub check; these facts may be older.
Overview
XERJ is a single Rust binary that speaks the Elasticsearch API. `xerj autoindex <folder>` infers datasets from code, docs, logs, PDFs, SQLite and CSV, and creates one typed index per dataset, with tree-sitter symbols and line numbers for code. It supports BM25, kNN and hybrid search, a `/_memory` agent memory API, and a `xerj mcp` stdio server exposing 13 tools. Its main pitch is cutting agent token use by retrieving passages instead of reading files.
Who it is for: Developers giving coding agents local code and document search or memory
Strengths
- Single static binary, no JVM; prebuilt for Linux, macOS and Windows on x86-64 and arm64
- Works with existing Elasticsearch clients pointed at localhost:9200; 1366/1369 ES-YAML conformance tests
- Autoindex needs no schema; handles code, PDF, DOCX, XLSX, SQLite, mail and logs
- Default lexical embedder runs offline; air-gapped deployment recipe is documented
Weaknesses
- Token savings come from the project's own 16-run study; neutral to negative on popular libraries
- Default embedder is lexical feature-hashing; neural mode is opt-in and downloads about 90 MB
- `--insecure` quick start disables TLS and auth; every caller becomes a superuser
- Optional Jev rerank sends result text to TypeSafe's servers
What it needs
- Rust, lexical embedder (default, offline), neural embedder (opt-in, ~90 MB download), Jev reranker (optional, external service)
Also in RAG and search
See all 13| Rank | Project | Score |
|---|---|---|
| 1 | azure-search-openai-demoAzure RAG chat reference on AI Search and Azure OpenAI | 57 out of 100 |
| 2 | llm-appPathway RAG pipeline templates that re-index live data sources | 52 out of 100 |
| 3 | rag-postgres-openai-pythonRAG over Postgres table rows with hybrid search and SQL filters | 49 out of 100 |
| #4 | chat-langchainLangChain docs assistant as a Managed Deep Agent with Next.js UI | 45 out of 100 |
| #6 | chat-with-your-data-solution-acceleratorAzure RAG chat app that answers from your documents with citations | 43 out of 100 |