elasticsearch vs xberg
Two of the top projects in RAG and search, side by side: who leads on each score part and who each one suits, then setup, license, activity and what each review found.
elasticsearch
Distributed search, analytics and vector database with a REST API
xberg
Rust document extraction engine with OCR, tables and 15 language bindings
Verdict
elasticsearch ranks higher, 93 to 84. Of the 4 score parts we measure for both, elasticsearch leads on 2, xberg on 1 and 1 is even.
- Adoptionelasticsearch leads by 20 points, 99 to 79: a wide gap.
- FreshnessEven at 100.
- Maintenancexberg leads by 13 points, 100 to 87.
- Agent-readyelasticsearch leads by 70 points, 70 to 0: a wide gap.
Pick elasticsearch if you are
Engineers needing a search or vector store behind RAG or log analytics
- Handles full-text, vector and hybrid search in one engine
- Documents are searchable in near real-time from any cluster node
Pick xberg if you are
Developers feeding documents into RAG or extraction pipelines in any language
- 107 formats, including nested archives guarded by zip-bomb and depth limits
- OCR via Tesseract, PaddleOCR, Candle or VLM backends with fallback chains
| What we compare | elasticsearch | xberg |
|---|---|---|
| Score parts, out of 100 | ||
| Adoption | 99, widely used | 79, popular |
| Freshness | 100, active | 100, active |
| Maintenance | 87, healthy | 100, healthy |
| Agent-ready | 70, partly | 0, none |
| Facts from GitHub and the README | ||
| Stars | 78.9k | 9.6k |
| License | custom license (read the license) | MIT (permissive) |
| Last commit | Dec 2026 | Nov 2026 |
| Last release | Nov 2026 | Nov 2026 |
| Language | Java | Rust |
| Docker | No | Yes |
| GPU | Not needed | Optional |
| arm64 or Apple Silicon | Not stated | Mentioned |
elasticsearch
Elasticsearch is a distributed search and analytics engine written in Java that indexes JSON documents through REST APIs. It supports full-text search, vector search, logs and metrics, and is used as a retrieval store for RAG applications. The README covers a local Docker setup with Kibana via the start-local script, building from source with Gradle, and clients such as Python and curl.
Who it is for: Engineers needing a search or vector store behind RAG or log analytics
Strengths
- Handles full-text, vector and hybrid search in one engine
- Documents are searchable in near real-time from any cluster node
- Official language clients plus REST API and Kibana Dev Tools console
- Bulk NDJSON API and data streams suit logs and metrics ingestion
Weaknesses
- Not an app starter: a search engine to integrate, not a RAG template
- License is reported as NOASSERTION, so terms need checking before use
- The start-local setup is not for production and disables HTTPS
- Trial license with all features reverts to Basic tier after one month
- Java
- Needs Docker (for start-local), Kibana (optional)
xberg
Xberg is a Rust engine that detects and reads 107 document formats (PDF, Office, images, email, archives, audio, URLs, source code) and returns text, tables, metadata or schema-driven JSON. It adds OCR backends, layout and table models, chunking and embeddings, and runs as a library, a 14-command CLI, a REST server or an MCP server. It is the v1 rebrand of Kreuzberg.
Who it is for: Developers feeding documents into RAG or extraction pipelines in any language
Strengths
- 107 formats, including nested archives guarded by zip-bomb and depth limits
- OCR via Tesseract, PaddleOCR, Candle or VLM backends with fallback chains
- Bindings for 15 languages plus CLI, REST (`xberg serve`) and MCP stdio server
- MIT license; CPU by default, no GPU required, with content-hash caching
Weaknesses
- URL ingestion, transcription and reranker need Cargo features in from-source builds
- Structured extraction needs an external LLM such as Ollama, vLLM or a hosted API
- v1 rebrand of Kreuzberg; migration path from the old package is not described
- Bindings are generated by alef, so each language package depends on that toolchain
- Rust, Whisper ONNX (tiny to large-v3), PaddleOCR, PP-DocLayout-V3, RT-DETR
- Needs Tesseract (optional OCR backend), Ollama, LM Studio, vLLM or hosted LLM (structured extraction)
- Docker
More in RAG and search
Building with these?
We help teams pick an open-source AI stack and run it in production. Client work never changes a rank.
AI app development →Send a project brief (opens in a new tab)