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.

11st of 37 in RAG and search

elasticsearch

Distributed search, analytics and vector database with a REST API

33rd of 37 in RAG and search

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
elasticsearch vs xberg: score parts and facts
What we compareelasticsearchxberg
Score parts, out of 100
Adoption99, widely used79, popular
Freshness100, active100, active
Maintenance87, healthy100, healthy
Agent-ready70, partly0, none
Facts from GitHub and the README
Stars78.9k9.6k
Licensecustom license (read the license)MIT (permissive)
Last commitDec 2026Nov 2026
Last releaseNov 2026Nov 2026
LanguageJavaRust
DockerNoYes
GPUNot neededOptional
arm64 or Apple SiliconNot statedMentioned

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.