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.

Merge remote-tracking branch 'origin/main' into pr2415

xerj-org0363c18617c7
diff --cc CHANGELOG.md
index 379e2e858,883132225..00c06c1e9
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@@ -7,14 -7,55 +7,61 @@@ and this project adheres to [Semantic V
## [Unreleased]
+ ## [1.0.0-rc.100] - 2026-10-26
+
+ **rc.100: faster autoindex and search, shaped by your field reports.** This
+ release is about speed. Background merges skip the zstd-19 stored encode, so
+ indexing under a memory cap runs at full speed again (#2441). Cold searches
+ read stored fields about 6x faster and decode only the hits and fields they
+ return (#2443, #2434, #2454, #2465). Search keeps its own share of the memory
+ budget while merges run (#2484, #2485), autoindex plans large folders in
+ bounded memory with fewer, larger datasets (#2417, #2430), and a
+ `semantic_text` test segment shrinks from 20.1 MB to 1.8 MB on disk
+ (#2471). Every release candidate now passes a performance gate with autoindex and search budgets
+ and an Elasticsearch floor before it ships (#2432). Thank you to everyone
+ who filed a field report: they shaped this release. The memory-ceiling work
+ continues in #2427 and #1122, which stay open.
+
+ ### Upgrade notes
+
+ - **Stored `semantic_text` vectors** (PR
+ [#2471](https://github.com/xerj-org/xerj/pull/2471)). Segments written by
+ this build no longer store the vectors the built-in lexical embedder
+ derives for a `semantic_text` field (`<target>` and `<target>_chunks`) in
+ the stored `_source`; readers rebuild them from the text. Older segments
+ open unchanged and lose their stored copy when a merge rewrites them.
+ There is no format-marker change, so an older binary still opens the
+ index, but it reads those rows without vectors: `_source` lacks them and
+ semantic and kNN recall on them drops until the index is reindexed.
+ Before downgrading, restart this build with
+ `XERJ_STORE_SEMANTIC_VECTORS=1` and run `POST /{index}/_forcemerge?max_num_segments=1`
+ on each index with a `semantic_text` field: with the variable set, flushes
+ store full vectors and a merge writes them back for rows stored without
+ them. Vectors from neural, ONNX or proxy embedders, and vectors supplied
+ by the caller, were always kept and are not affected.
+
+ - #2422: an existing autoindex keeps the datasets it already has. Later
+ runs on the same folder use the new rules only for new files. To get the
+ smaller set of indices, index the folder again with a new `--prefix` and a
+ new `--state-dir`, check it, then delete the old indices with
+ `xerj autoindex remove --prefix <old>`. `--fresh` does not do this for a
+ `--no-graph` run that has already committed: it refuses, as before (PR #2430).
+
### Added
+- Empty autoindex maps now explain that managed corpus slugs and autoindex
+ dataset/index names belong to separate discovery surfaces. CLI diagnostics,
+ MCP empty responses and the `xerj_map` description point to corpus discovery
+ without claiming a corpus exists. Missing catalogs remain errors; auth
+ refusals and successful dataset maps retain their behavior (#2412).
+
+ - `scripts/bench/neural-bulk-ab.sh CONTROL_SHA CANDIDATE_SHA [N]` is an
+ interleaved A/B harness for neural-embedding `_bulk` ingest. It builds each
+ SHA in a worktree, runs the real `xerj autoindex` client against a frozen
+ Okta corpus on a CPU-capped throwaway node, and reports median, p95 and the
+ control arm's spread per metric. It measures the harness only; no
+ performance claim is made. See `benchmarks/ingest-neural-bulk/README.md`.
+
- `xerj sessions import --format claude-code --input FILE --output NEW.jsonl`
prepares an explicit Claude Code JSONL transcript for ordinary `autoindex`.
It emits text-bearing user/assistant records through the existing native