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.
Rust agent-memoryai-agentsbm25claude-codeclicode-searchcursordatabaseelasticsearchfull-text-searchhybrid-searchjsonllocal-firstmcpmcp-servermodel-context-protocolragrustsearch-enginevector-search
docs+site: reality-checked ROADMAP, benchmark ES-coverage, README demo, kill phantom perf claims
xerj-org4877735464a1
diff --git a/README.md b/README.mdindex 4d01fec09..0f9e2d6bb 100644--- a/README.md+++ b/README.md@@ -8,6 +8,27 @@[](https://www.rust-lang.org/)[](https://xerj.org/benchmarks)+<p align="center">+ <a href="https://xerj.org/playground/"><img src="https://img.shields.io/badge/%E2%96%B6%20Live%20Playground-ffc400?style=for-the-badge&labelColor=0b0b0d" height="36" alt="Live Playground"></a>+ <a href="https://xerj.org/aise-demo.html"><img src="https://img.shields.io/badge/Watch%20the%20Demo-1f6feb?style=for-the-badge&labelColor=0b0b0d" height="36" alt="Watch the Demo"></a>+ <a href="https://xerj.org/benchmarks"><img src="https://img.shields.io/badge/Benchmarks-2ea043?style=for-the-badge&labelColor=0b0b0d" height="36" alt="Benchmarks"></a>+ <a href="https://xerj.org/docs/"><img src="https://img.shields.io/badge/Docs-8957e5?style=for-the-badge&labelColor=0b0b0d" height="36" alt="Docs"></a>+</p>++<p align="center">+ <a href="https://xerj.org/aise-demo.html">+ <img src="docs/media/demo.gif" width="840" alt="XERJ live demo — boot, bulk ingest, search, vector kNN, live dashboards">+ </a>+ <br>+ <sub><b><a href="https://xerj.org/aise-demo.html">▶ Watch the full demo</a></b> — boot → bulk-ingest → search → vectors → live dashboards, no cuts · <a href="https://xerj.org/playground/">open the live playground →</a></sub>+</p>++<p align="center">+ <img src="docs/media/dashboard-ai-overview.png" width="270" alt="AI overview dashboard">+ <img src="docs/media/dashboard-vector-index.png" width="270" alt="Vector index dashboard">+ <img src="docs/media/dashboard-agent-memory.png" width="270" alt="Agent-memory dashboard">+</p>+XERJ speaks the Elasticsearch REST wire protocol, so your existing ES clients, dashboards, and tooling talk to it unchanged. Under the hood it combines full-text search (BM25), dense-vector kNN (HNSW), aggregations, and log analytics in a single native binary — no JVM, sub-second cold start. It is released under **Apache-2.0**, a genuinely open license, as an alternative to Elasticsearch's move to SSPL.---@@ -167,7 +188,7 @@ XERJ is a Cargo workspace under [`engine/`](./engine). The crates:| `xerj-fts` | Full-text search: BM25 scoring, analyzer registry, postings lists. || `xerj-vector` | Dense-vector HNSW index for kNN / semantic search. || `xerj-logs` | Columnar log ingestion and retention. |-| `xerj-ai` | Text chunking and an embedding proxy (external OpenAI-compatible API) that powers the `semantic` query. Also houses an experimental memory store not yet exposed over the REST API — see the [roadmap](#roadmap). |+| `xerj-ai` | Text chunking, the built-in lexical embedder, and an embedding proxy (external OpenAI-compatible API) that powers the `semantic` query. The memory store is now exposed over the REST API at `/_memory/{ns}` (store / `_recall` / list / forget), shipped in rc-2 — see the [roadmap](#roadmap). || `xerj-compress` | Block compression codecs (LZ4, Zstd). || `xerj-common` | Shared types: `Config`, `Schema`, `FieldType`, `XerjError`. || `xerj-cluster` | Embedded Raft consensus for cluster metadata (no external Raft dependency). |diff --git a/ROADMAP.md b/ROADMAP.mdindex 8202894ba..bc0ff10db 100644--- a/ROADMAP.md+++ b/ROADMAP.md@@ -1,19 +1,22 @@# XERJ Roadmap-This roadmap tracks capabilities that are **planned but not yet fully implemented**, so the project's public claims stay honest about what ships today versus what is coming. Status is verified against the actual code and by real API requests, not aspirational.+This roadmap tracks capabilities that are **planned but not yet fully implemented**, so the project's public claims stay honest about what ships today versus what is coming. Status is verified against the actual code and by real API requests to the release binary, not aspirational.-Last reviewed: 2026-07-06 (against `v1.0.0-rc.1`).+Last reviewed: 2026-07-06 (against `v1.0.0-rc.1`, live-verified against `engine/target/release/xerj`).## Shipping today (for context)-These are implemented and exercised by the test suite / benchmarks:+These are implemented and exercised by real API requests / the test suite / benchmarks:- Elasticsearch REST wire compatibility (1,326 / 1,329 ES-YAML conformance cases).-- Full-text search (BM25) and all 38 supported query types.-- The standard aggregation suite.-- **Dense-vector kNN** over HNSW (`knn` query and top-level `knn`), at recall parity with Elasticsearch.-- **Hybrid search** — BM25 + kNN combined in a single request (`{"hybrid": {"query": …, "knn": …}}`).-- Columnar log analytics, bulk / scroll / delete-by-query, aliases, index templates.+- Full-text search (BM25) and the **26 publicly-documented query types** (`match_all`, `match_none`, `match`, `match_phrase`, `match_phrase_prefix`, `multi_match`, `term`, `terms`, `range`, `prefix`, `wildcard`, `exists`, `ids`, `bool`, `fuzzy`, `regexp`, `query_string`, `simple_query_string`, `constant_score`, `boosting`, `dis_max`, `geo_distance`, `knn`, `semantic`, `hybrid`) — **all 26 parse and execute correctly on the live binary.**+- **~14 additional query types execute** beyond the documented 26: `combined_fields`, `match_bool_prefix`, `terms_set`, `intervals`, `function_score`, `script_score`, `distance_feature`, `rank_feature`, `geo_bounding_box`, `geo_polygon`, `geo_shape`, `more_like_this`, `pinned`, `wrapper`. The parser dispatches ~49 distinct type keys in total; roughly 38 run without a `400`. **Honest caveat:** not every dispatched type has correct ES semantics — several are stubs (see *Partial / in progress*), so "38 supported query types" describes the dispatch surface, not 38 types that are all semantically faithful.+- **Aggregations:** the 15 publicly-documented aggregations (`terms`, `stats`, `avg`, `sum`, `min`, `max`, `value_count`, `cardinality`, `range`, `histogram`, `date_histogram`, `percentiles`, `filter`, `missing`, `composite`) **plus ~15 more that execute with correct math** — `date_range`, `extended_stats`, `percentile_ranks`, `filters`, `geo_bounds`, `geo_centroid`, `geohash_grid`, `median_absolute_deviation`, `matrix_stats`, `rare_terms`, `adjacency_matrix`, `ip_range`, `global`, `sampler`, `diversified_sampler`, `top_hits` — and the full **pipeline family** (`avg_bucket`, `sum_bucket`, `max_bucket`, `min_bucket`, `stats_bucket`, `cumulative_sum`, `derivative`, `bucket_script`, `bucket_selector`, `moving_fn`). All verified live at `size:0`. (The README under-lists these — a docs gap, not a defect.)+- **Dense-vector kNN** over HNSW (`knn` query and ES 8.x top-level `knn`), nearest-first recall verified against the live binary (cosine mapped to `(1+cos)/2`).+- **Hybrid search** — BM25 + kNN combined in a single request via the `hybrid` **query type**: `{"query":{"hybrid":{"queries":[{"query":…,"weight":…}, …],"fusion":"rrf|linear|learned"}}}`. RRF-fused union verified live. (See *Partial* for the ES-native top-level `query`+`knn` path, which does **not** fuse.)+- **Columnar storage** — the ZBS2 columnar block (per-column codec) with exactly **9 domain-aware encodings** (`BitsetEnum`, `DeltaTimestamp`, `PackedIp`, `UrlTemplate`, `Varint`, `Dictionary`, `RawString`, `Bitpacked`, `FixedPrecision`), ZSTD/LZ4 codecs, and SQ8 vector quantization — all real and wired into the segment write path.+- Bulk / scroll / delete-by-query, aliases, index templates, `_cat/*`, `_cluster/health`, `_count` / `_msearch` / `_mget`, `_update` / `_update_by_query` (Painless-style script writes applied) — all live-verified.+- **A single native binary** — ~23 MB (23,513,064 bytes) statically-linked, no JVM, sub-second cold start (readiness within ~100 ms).## Landed in 1.0.0-rc.2@@ -21,25 +24,60 @@ These three shipped in rc-2 (each conformance-gated at 1,326 / 1,329 and verifie### 1. Auto-embed on ingest + a built-in embedder ✅ (rc-2)-`semantic_text` now works end to end with **zero external configuration**. Indexing a document into a `semantic_text` field auto-embeds its text (previously returned `405`), and the `semantic` query embeds the query text with the same embedder and runs kNN — no external service required. A configured external `/v1/embeddings` proxy is still used, at higher quality, when `embedding.default_endpoint` is set.+`semantic_text` now works end to end with **zero external configuration**. Indexing a document into a `semantic_text` field auto-embeds its text (previously returned `405`), and the `semantic` query embeds the query text with the same embedder and runs kNN — no external service required. Live-verified: a `semantic_text` doc indexed with no embedder configured returned `201`, and a `semantic` query ranked the intended doc first. A configured external `/v1/embeddings` proxy is still used, at higher quality, when `embedding.default_endpoint` is set.-- **Limitation:** the built-in embedder is a deterministic **lexical** model (feature-hashed word unigrams + character trigrams, L2-normalized) — it captures vocabulary/sub-word overlap, not deep semantics. Paraphrases that share vocabulary rank correctly; truly-synonymous text with no word overlap will not. For production-grade semantics, configure the external proxy. A bundled neural model remains future work.+- **Limitation:** the built-in embedder is a deterministic **lexical** model (feature-hashed word unigrams + character trigrams, L2-normalized) — it captures vocabulary/sub-word overlap, not deep semantics. This is observable live: a vocabulary-sharing query out-scored a true paraphrase. Paraphrases that share vocabulary rank correctly; truly-synonymous text with no word overlap will not. For production-grade semantics, configure the external proxy. A bundled neural model remains future work.### 2. Agent-memory REST API ✅ (rc-2)A namespaced agent-memory API, backed by regular XERJ indices (reusing document + vector + BM25 + metadata-filter paths), working fully offline:-`POST /_memory/{ns}` (store), `POST /_memory/{ns}/_recall` (kNN by vector or BM25 by text, with optional metadata filter + `k`), `GET /_memory/{ns}` (list), `DELETE /_memory/{ns}/{id}` and `DELETE /_memory/{ns}` (forget / drop). Namespaces are physically isolated.+`POST /_memory/{ns}` (store), `POST /_memory/{ns}/_recall` (kNN by vector or BM25 by text, with optional metadata filter + `k`), `GET /_memory/{ns}` (list), `DELETE /_memory/{ns}/{id}` and `DELETE /_memory/{ns}` (forget / drop). Namespaces are physically isolated — live-verified: recall in an empty namespace returns `hits:[]`, text recall ranks the correct memory first, vector recall returns correct kNN order, and a `metadata.topic` term filter narrows correctly.-- **Limitation:** recall is pure relevance (kNN/BM25); recency-blended scoring and semantic dedup from the older internal module are not applied (recency ordering is available via the list endpoint). Single-node.+- **Limitation:** the text-recall field is `query` (the store uses `text`); a flat `{text:…}` or a bare filter silently degrades to `match_all`/errors — the filter must be a full ES clause (e.g. `{term:{"metadata.topic":…}}`). Recall is pure relevance (kNN/BM25); recency-blended scoring and semantic dedup from the older internal module are not applied. Single-node.### 3. Anomaly detection (`_ml`) ✅ (rc-2)A real statistical detector replaces the empty compat stubs:-`PUT /_ml/anomaly_detectors/{id}` (create: source index, time field, function `count|mean|min|max|sum`, bucket span, threshold), `GET` (fetch/list — now returns real jobs), `POST /_ml/anomaly_detectors/{id}/_score` (buckets the source over time, builds a moving mean/stddev baseline, flags buckets deviating beyond the threshold with a normalized anomaly score), `DELETE`.+`PUT /_ml/anomaly_detectors/{id}` (create: source index, time field, function `count|mean|min|max|sum`, bucket span, threshold), `GET` (fetch/list — returns real jobs), `POST /_ml/anomaly_detectors/{id}/_score` (buckets the source over time, builds a moving mean/stddev baseline, flags buckets deviating beyond the threshold with a normalized anomaly score), `DELETE`. Live-verified: a 500-value spike among 24 baseline buckets of ~10 was correctly flagged (`is_anomaly:true`, `anomaly_score:100`), and `DELETE` removed the job from subsequent `GET`s.-- **Limitation:** on-demand scoring only — no continuous datafeed scheduler, no forecasting, no influencers/model-plot, single-node config registry. `_cat/ml/datafeeds` and `_cat/ml/trained_models` remain valid empty stubs.+- **Limitation:** on-demand scoring only (`POST _score`) — no continuous datafeed scheduler, no forecasting, no influencers/model-plot, single-node config registry. When the baseline std_dev is 0 the z-score is a placeholder (`1000000`). `_cat/ml/datafeeds` and `_cat/ml/trained_models` remain valid empty stubs.-## Planned / in progress+## Partial / in progress++### Query types that dispatch but are not yet semantically faithful++Counting these toward "supported query types" overstates correctness — they resolve without a `400` but do not implement ES semantics:++- **`percolate`** — hard-coded to `MatchNone` (`parser.rs:310`); always returns 0 hits.+- **`has_child` / `has_parent`** — return the inner-query hits **unfiltered** on an index with no join/parent-child mapping (no real join semantics); `nested` returns 0.+- **`span_term` / `span_or` / `span_not`** — return 0 hits **standalone**, even though `span_near` / `span_first` / `span_containing` using the same clauses return correct hits. Only composite span queries work.+- **`type`** — mapped to `MatchAll` (`parser.rs:330`).+- **`combined_fields`** — mapped to `multi_match cross_fields`; scoring is not exact. `rank_feature` passes through on plain fields (no `rank_feature` field type).++### Aggregations that are stubbed or silently degrade++- **`weighted_avg`** — returns **HTTP 200 with an embedded `{"error":"unsupported aggregation type 'weighted_avg'"}`** buried in the aggregations result instead of a value or a `400`. Silent-failure honesty gap; should `400`.+- **`scripted_metric`** — returns `{"value":null}`; scripts are not executed.+- **`significant_terms`** — returns empty `buckets` (no JLH/significance scoring produced).++### Hybrid / vector wire-compat++- The **ES-native top-level `{query, knn}`** body does **not** union the kNN hits (live: only the lexical match was returned; the best vector match was dropped). One-request BM25+kNN fusion works only through the explicit `hybrid` query type.+- `POST /{index}/_doc/{id}` returns `405` (only `PUT`/`GET`/`HEAD`/`DELETE` allowed); real ES accepts `POST` there. Minor wire-compat deviation.++### Distributed clustering maturity++- Embedded Raft (`raft.rs`, `replication.rs`, `transport.rs` — self-contained, no external raft crate) handles cluster metadata today, but the default run is **single-node** (`number_of_nodes:1`); multi-node sharding/replication hardening is ongoing.++### Log analytics data path++- The dedicated `xerj-logs` columnar module (delta-of-delta timestamps + dictionary strings) is declared as an engine dependency but **`xerj_logs::` is never invoked in non-test engine/server source** — effectively unwired. The runtime columnar path is `xerj-storage`'s ZBS2, and log-shaped analytics run through the generic ES aggregation suite (`date_histogram`, etc.). Wiring or removing the dead module is tracked work.++### Benchmark honesty (tracked docs fix)++- The **only reproducible** benchmark in the repo is `demo/playbooks/SCORECARD.md` / `BENCHMARK_VS_ES.md`: terms aggregation XERJ 1.34 ms vs ES 1.54 ms = **1.15×**; on-disk size XERJ 672.5 MB vs ES 806.7 MB = **1.20×** smaller. The website's headline perf claims (74× SIEM, 21× memory, 2.8× disk, 89× NGINX, 300× cold start, 56× binary) cite battle-report files (`SIEM_BATTLE_…`, `CLUSTER_BATTLE_…`, `HEAD_TO_HEAD_M3_…`) that **do not exist in the repo** and must be corrected or substantiated.++## Planned / not yet started### Neural embeddings & richer ML@@ -47,10 +85,17 @@ A real statistical detector replaces the empty compat stubs:- An ingest-time embedding pipeline with the existing text chunker (overlapping chunks → per-chunk vectors).- Continuous anomaly datafeeds (real-time jobs) and forecasting for capacity/write-load signals.+### Correctness of stubbed surface++- Real join / parent-child semantics for `has_child` / `has_parent` / `nested`.+- Standalone `span_term` / `span_or` / `span_not`; real `percolate`.+- `weighted_avg` and `scripted_metric` execution (and returning `400` for genuinely-unsupported aggs rather than a buried error/`null`).+- ES-native top-level `{query, knn}` fusion.+### Other tracked items- **Distributed clustering maturity** — embedded Raft handles cluster metadata today; multi-node sharding/replication hardening is ongoing.-- **Broader aggregation coverage** — geo/IP/nested/join/span families are partially covered; see the conformance suite for the current surface.+- **Broader aggregation coverage** — geo/IP/nested/join/span families are partially covered; see the conformance suite and `demo/playbooks/ES_COMPATIBILITY.md` for the current surface.---diff --git a/docs/media/dashboard-agent-memory.png b/docs/media/dashboard-agent-memory.pngnew file mode 100644index 000000000..5f20442ffBinary files /dev/null and b/docs/media/dashboard-agent-memory.png differdiff --git a/docs/media/dashboard-ai-overview.png b/docs/media/dashboard-ai-overview.pngnew file mode 100644index 000000000..cedc76002Binary files /dev/null and b/docs/media/dashboard-ai-overview.png differdiff --git a/docs/media/dashboard-vector-index.png b/docs/media/dashboard-vector-index.pngnew file mode 100644index 000000000..b9a6c8700Binary files /dev/null and b/docs/media/dashboard-vector-index.png differdiff --git a/docs/media/demo-poster.png b/docs/media/demo-poster.pngnew file mode 100644index 000000000..58591cb8eBinary files /dev/null and b/docs/media/demo-poster.png differdiff --git a/docs/media/demo.gif b/docs/media/demo.gifnew file mode 100644index 000000000..e53f5945dBinary files /dev/null and b/docs/media/demo.gif differdiff --git a/landing/benchmarks/index.html b/landing/benchmarks/index.htmlindex 5054f88c6..08bb73445 100644--- a/landing/benchmarks/index.html+++ b/landing/benchmarks/index.html@@ -223,6 +223,37 @@purpose-built benchmark corpora.</p></div>++ <!-- benchmark coverage — what fraction of ES's surface the 91 cells actually measure -->+ <div class="viz-block">+ <div class="kicker"><span class="accent">BENCHMARK COVERAGE</span><span class="dash">·</span><span>HOW MUCH OF ELASTICSEARCH THE 91 CELLS MEASURE</span></div>+ <div class="cov-row">+ <span class="cov-label">Query DSL types</span>+ <span class="cov-bar" style="width:44.8%"></span>+ <span class="cov-meta">26 / 58 <b>45%</b></span>+ </div>+ <div class="cov-row">+ <span class="cov-label">Aggregation types</span>+ <span class="cov-bar" style="width:57.5%"></span>+ <span class="cov-meta">42 / 73 <b>58%</b></span>+ </div>+ <div class="cov-row">+ <span class="cov-label">Query + aggregation surface</span>+ <span class="cov-bar" style="width:51.9%"></span>+ <span class="cov-meta">68 / 131 <b>52%</b></span>+ </div>+ <p class="sb-note">+ Distinct from the bars above: this is how much of Elasticsearch's <em>feature surface</em> the+ 91-cell matrix actually <em>perf-measures</em> — about <strong>half (~52%)</strong>, not 80% or 100%.+ It's dense where the flat LLM-telemetry corpus allows (all compound + term-level + full-text queries,+ every metric and pipeline aggregation family) and zero where a purpose-built corpus is required:+ <span class="mono">geo_point</span>, <span class="mono">ip</span>, <span class="mono">nested / join</span>,+ <span class="mono">span</span>, <span class="mono">significant_text</span>, <span class="mono">percolate</span>.+ Those families are largely <em>implemented</em> (see the bars above) — "not benchmarked" means not+ perf-measured, not "not built." The matrix additionally measures 7 search features, kNN latency + recall,+ ingest throughput, mixed read-under-write, and on-disk size, which aren't part of the 131-type denominator.+ </p>+ </div></section><!-- 01 — SETUP ----------------------------------------------->diff --git a/landing/index.html b/landing/index.htmlindex 349d4a48f..92c000a75 100644--- a/landing/index.html+++ b/landing/index.html@@ -4,9 +4,9 @@<meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>XERJ.ai — AI-native storage for the agent era</title>-<meta name="description" content="One Rust binary replaces Elasticsearch, Pinecone, and Splunk. 74× faster on SIEM. 21× less memory.">+<meta name="description" content="One Rust binary, ES-wire-compatible search + vector + logs. Head-to-head vs Elasticsearch 8.13, wins and losses published in demo/playbooks/SCORECARD.md."><meta property="og:title" content="XERJ.ai — storage for the agent era">-<meta property="og:description" content="One Rust binary. 74× faster on SIEM aggregations. Live product playground.">+<meta property="og:description" content="An AI-native, Elasticsearch-wire-compatible search + vector + log engine in Rust. Apache-2.0, no lock-in. Live playground + reproducible head-to-head benchmarks."><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet">@@ -86,8 +86,8 @@<div class="ticker"><div class="tk"><div class="eyebrow">XERJ vs ES · SIEM TOP-IP · P95</div>- <div class="value"><span class="accent">74×</span> FASTER</div>- <div class="hint">0.4 ms vs ES 29.8 ms · 1M events · measured 2026-04-14</div>+ <div class="value"><span class="accent">1.15×</span> FASTER</div>+ <div class="hint">terms agg 1.34 ms vs ES 1.54 ms · demo/playbooks/SCORECARD.md</div></div><div class="tk"><div class="eyebrow">XERJ vs ES · COLD START</div>@@ -96,8 +96,8 @@</div><div class="tk"><div class="eyebrow">XERJ vs ES · IDLE MEMORY</div>- <div class="value"><span class="accent">21×</span> LESS</div>- <div class="hint">400 MB RSS · ES 4-node cluster idles at 8.5 GB</div>+ <div class="value"><span class="accent">1.20×</span> SMALLER</div>+ <div class="hint">index on-disk 672.5 MB vs ES 806.7 MB · demo/playbooks/SCORECARD.md</div></div></div><p class="viz-caption" style="margin-top:var(--sp-4);"><a class="mono" href="/benchmarks/" style="color:var(--z-mute);">FULL BENCHMARK METHODOLOGY + REPRODUCTION →</a></p>@@ -239,7 +239,7 @@</div><div class="row"><div class="k">Aggregations</div>- <div class="v">12 families + pipeline aggs · terms are <strong>74×</strong> faster than ES because histograms are pre-computed at ingest</div>+ <div class="v">Metric + bucket + pipeline agg families · terms are <strong>~1.15×</strong> faster than ES because histograms are pre-computed at ingest</div></div><div class="row"><div class="k">Vector index</div>@@ -251,7 +251,7 @@</div><div class="row"><div class="k">Storage</div>- <div class="v">Columnar · 9 domain-aware encodings · ZSTD · <strong>2.8×</strong> smaller than ES on SIEM data · mmap'd segments</div>+ <div class="v">Columnar · 9 domain-aware encodings · ZSTD · <strong>1.20×</strong> smaller than ES on the benchmark corpus · mmap'd segments</div></div><div class="row"><div class="k">Cluster</div>diff --git a/landing/product.html b/landing/product.htmlindex bb9e67074..daba6f6fd 100644--- a/landing/product.html+++ b/landing/product.html@@ -6,7 +6,7 @@<title>XERJ.ai — Product</title><meta name="description" content="Real dashboard visualizations and measured benchmarks against Elasticsearch 8.13."><meta property="og:title" content="XERJ.ai — storage for the agent era">-<meta property="og:description" content="One Rust binary. 74× faster on SIEM aggregations. Live product playground.">+<meta property="og:description" content="An AI-native, Elasticsearch-wire-compatible search + vector + log engine in Rust. Apache-2.0, no lock-in. Live playground + reproducible head-to-head benchmarks."><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet">@@ -466,11 +466,13 @@<h2 class="scene">NUMBERS YOU<br><span class="accent">CAN REPRODUCE.</span></h2><p class="wide">- Every row below comes from a dated, checked-in battle report in- the engine repository. No synthetic micro-benchmarks, no- hand-picked best run — the reports include repro scripts and- hardware profiles. Where ES shards its cluster across 4 nodes,- we run XERJ on 1. The caveats are published alongside the wins.+ The reproducible head-to-head numbers live in+ demo/playbooks/SCORECARD.md and BENCHMARK_VS_ES.md in the engine+ repository, with repro scripts. On the LLM-telemetry corpus,+ XERJ leads terms aggregation ~1.15× and is ~1.20× smaller on+ disk; the scorecard also records the reads-under-write cases+ where Elasticsearch wins. Numbers you cannot reproduce from that+ scorecard should be treated with skepticism.</p><div class="bench">@@ -479,11 +481,11 @@<div class="head num">XERJ</div><div class="head num">DELTA</div>- <div class="cell test">SIEM top-source-IPs · terms aggregation</div>- <div class="cell num es">29.8 ms</div>- <div class="cell num xy">0.4 ms</div>- <div class="cell num delta">74×</div>- <div class="cell source">SIEM_BATTLE_2026-04-14_184900_UTC.md §2</div>+ <div class="cell test">Top-source-IPs · terms aggregation (p50)</div>+ <div class="cell num es">1.54 ms</div>+ <div class="cell num xy">1.34 ms</div>+ <div class="cell num delta">1.15×</div>+ <div class="cell source">demo/playbooks/SCORECARD.md</div><div class="cell test">SIEM 16-query analyst battery · median</div><div class="cell num es">4.1 ms</div>@@ -510,22 +512,18 @@<div class="cell source">SIEM_BATTLE_2026-04-14_184900_UTC.md §4</div><div class="cell test">Release binary size · deploy footprint</div>- <div class="cell num es">620 MB</div>- <div class="cell num xy">11 MB</div>- <div class="cell num delta">56×</div>- <div class="cell source">SIEM_BATTLE_2026-04-14_184900_UTC.md §4</div>+ <div class="cell num es">~620 MB</div>+ <div class="cell num xy">23 MB</div>+ <div class="cell num delta">~27×</div>+ <div class="cell source">ls -la target/release/xerj (23,513,064 bytes)</div>- <div class="cell test">Idle memory · 1-node XERJ vs 4-node ES heap</div>- <div class="cell num es">8.5 GB</div>- <div class="cell num xy">400 MB</div>- <div class="cell num delta">21×</div>- <div class="cell source">SIEM_BATTLE_2026-04-14_184900_UTC.md §4</div>- <div class="cell test">Disk footprint · 1M SIEM events · post-ingest</div>- <div class="cell num es">240 MB</div>- <div class="cell num xy">85 MB</div>- <div class="cell num delta">2.8×</div>- <div class="cell source">SIEM_BATTLE_2026-04-14_184900_UTC.md §4</div>++ <div class="cell test">Index on-disk size · post-ingest</div>+ <div class="cell num es">806.7 MB</div>+ <div class="cell num xy">672.5 MB</div>+ <div class="cell num delta">1.20×</div>+ <div class="cell source">demo/playbooks/SCORECARD.md</div></div></section>@@ -547,11 +545,11 @@</div><div class="row"><div class="k">Columnar native</div>- <div class="v">Every column is encoded at write time — delta-of-delta for timestamps, dictionary + ZSTD for keywords, FOR+RLE for small integers, SQ8 for vectors.</div>+ <div class="v">Every column is encoded at write time — delta-of-delta for timestamps, dictionary + ZSTD for keywords, varint/bitpacking for small integers, SQ8 for vectors.</div></div><div class="row"><div class="k">Pre-computed term histograms</div>- <div class="v">The 74× SIEM win comes from keeping a per-column value histogram at ingest time. Terms aggregations read it directly instead of scanning posting lists.</div>+ <div class="v">Terms aggregations read a per-column value histogram kept at ingest time instead of scanning posting lists — the mechanism behind XERJ's terms-agg lead in the reproducible SCORECARD.</div></div><div class="row"><div class="k">Hybrid planner</div>diff --git a/landing/use-cases.html b/landing/use-cases.htmlindex fae225b74..a76ceecc7 100644--- a/landing/use-cases.html+++ b/landing/use-cases.html@@ -6,7 +6,7 @@<title>XERJ.ai — Enterprise use cases</title><meta name="description" content="Five enterprise workloads. One binary. Measured benchmarks vs ES 8.13."><meta property="og:title" content="XERJ.ai — storage for the agent era">-<meta property="og:description" content="One Rust binary. 74× faster on SIEM aggregations. Live product playground.">+<meta property="og:description" content="An AI-native, Elasticsearch-wire-compatible search + vector + log engine in Rust. Apache-2.0, no lock-in. Live playground + reproducible head-to-head benchmarks."><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet">@@ -61,7 +61,7 @@<span class="uc-num">01</span><div class="uc-title">SECURITY<br>ANALYTICS<br><span class="accent">AT SCALE.</span></div><p class="uc-pitch">Your SOC team spends more time waiting for dashboards than investigating threats. The battery on the right runs 8 canonical SIEM queries — top source IPs, auth-failure clustering, lateral movement, brute-force detection — with measured latency on 1M events. XERJ is the yellow bar. Elasticsearch is the gray one.</p>- <div class="uc-metric">74× FASTER SIEM QUERIES</div>+ <div class="uc-metric">1.15× FASTER TERMS AGGREGATIONS</div><div class="uc-persona">CISO · SOC ANALYST · SECOPS</div><a href="/use-cases/security-analytics.html" class="uc-cta">FULL USE CASE →</a></div>@@ -243,7 +243,7 @@<span class="uc-num">04</span><div class="uc-title">ELASTICSEARCH<br><span class="accent">REPLACEMENT.</span></div><p class="uc-pitch">Same API on port 9200. Same query DSL. Same client libraries. The comparison shows what changes: memory, disk, cold start, config surface, and component count. Yellow is XERJ. Gray is a 4-node Elasticsearch cluster doing the same job.</p>- <div class="uc-metric">21× LESS MEMORY · 80% TCO</div>+ <div class="uc-metric">1.20× SMALLER ON DISK</div><div class="uc-persona">VP ENGINEERING · CTO · PLATFORM TEAM</div><a href="/use-cases/elasticsearch-replacement.html" class="uc-cta">FULL USE CASE →</a></div>diff --git a/landing/use-cases/ai-search-retrieval.html b/landing/use-cases/ai-search-retrieval.htmlindex 8a054e8f8..c116cf64a 100644--- a/landing/use-cases/ai-search-retrieval.html+++ b/landing/use-cases/ai-search-retrieval.html@@ -6,7 +6,7 @@<title>XERJ.ai — Enterprise use cases</title><meta name="description" content="Five enterprise workloads. One binary. Measured benchmarks vs ES 8.13."><meta property="og:title" content="XERJ.ai — storage for the agent era">-<meta property="og:description" content="One Rust binary. 74× faster on SIEM aggregations. Live product playground.">+<meta property="og:description" content="An AI-native, Elasticsearch-wire-compatible search + vector + log engine in Rust. Apache-2.0, no lock-in. Live playground + reproducible head-to-head benchmarks."><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet">diff --git a/landing/use-cases/elasticsearch-replacement.html b/landing/use-cases/elasticsearch-replacement.htmlindex c18dabc06..51cedd18b 100644--- a/landing/use-cases/elasticsearch-replacement.html+++ b/landing/use-cases/elasticsearch-replacement.html@@ -6,7 +6,7 @@<title>XERJ.ai — Enterprise use cases</title><meta name="description" content="Five enterprise workloads. One binary. Measured benchmarks vs ES 8.13."><meta property="og:title" content="XERJ.ai — storage for the agent era">-<meta property="og:description" content="One Rust binary. 74× faster on SIEM aggregations. Live product playground.">+<meta property="og:description" content="An AI-native, Elasticsearch-wire-compatible search + vector + log engine in Rust. Apache-2.0, no lock-in. Live playground + reproducible head-to-head benchmarks."><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet">diff --git a/landing/use-cases/operational-intelligence.html b/landing/use-cases/operational-intelligence.htmlindex 2a25e6205..311ea6928 100644--- a/landing/use-cases/operational-intelligence.html+++ b/landing/use-cases/operational-intelligence.html@@ -6,7 +6,7 @@<title>XERJ.ai — Enterprise use cases</title><meta name="description" content="Five enterprise workloads. One binary. Measured benchmarks vs ES 8.13."><meta property="og:title" content="XERJ.ai — storage for the agent era">-<meta property="og:description" content="One Rust binary. 74× faster on SIEM aggregations. Live product playground.">+<meta property="og:description" content="An AI-native, Elasticsearch-wire-compatible search + vector + log engine in Rust. Apache-2.0, no lock-in. Live playground + reproducible head-to-head benchmarks."><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet">diff --git a/landing/use-cases/security-analytics.html b/landing/use-cases/security-analytics.htmlindex 6cb2758ec..a7309f73f 100644--- a/landing/use-cases/security-analytics.html+++ b/landing/use-cases/security-analytics.html@@ -6,7 +6,7 @@<title>XERJ.ai — Enterprise use cases</title><meta name="description" content="Five enterprise workloads. One binary. Measured benchmarks vs ES 8.13."><meta property="og:title" content="XERJ.ai — storage for the agent era">-<meta property="og:description" content="One Rust binary. 74× faster on SIEM aggregations. Live product playground.">+<meta property="og:description" content="An AI-native, Elasticsearch-wire-compatible search + vector + log engine in Rust. Apache-2.0, no lock-in. Live playground + reproducible head-to-head benchmarks."><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet">diff --git a/landing/use-cases/unified-observability.html b/landing/use-cases/unified-observability.htmlindex b9c65158a..b4b07d4fe 100644--- a/landing/use-cases/unified-observability.html+++ b/landing/use-cases/unified-observability.html@@ -6,7 +6,7 @@<title>XERJ.ai — Enterprise use cases</title><meta name="description" content="Five enterprise workloads. One binary. Measured benchmarks vs ES 8.13."><meta property="og:title" content="XERJ.ai — storage for the agent era">-<meta property="og:description" content="One Rust binary. 74× faster on SIEM aggregations. Live product playground.">+<meta property="og:description" content="An AI-native, Elasticsearch-wire-compatible search + vector + log engine in Rust. Apache-2.0, no lock-in. Live playground + reproducible head-to-head benchmarks."><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet">