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.

chore(release): CHANGELOG for 1.0.0-rc.88

xerj-org7b2069783bf2
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 821facbe8..1106f3b81 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+## [1.0.0-rc.88] - 2026-10-07
+
### Added
- **`xerj autoindex --code-analyzer standard|code`** (issue
@@ -46,6 +48,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
same pre-merge over-count `_cat/indices` has always had for superseded update copies,
now visible and documented instead of guessed at. Row count matches `_stats`
`segments.count` (also pinned).
+- **The finalize-catalog read-back no longer trips the server's query-memory breaker** (part of issue
+ [#1183](https://github.com/xerj-org/xerj/issues/1183), PR
+ [#1207](https://github.com/xerj-org/xerj/pull/1207)) — the catalog read-back sent
+ `size:0 + track_total_hits + min/max aggs` on each dataset's time field, and an agg with no columnar
+ fast path makes the engine deep-clone every matching document into owned Values (~2 KB a doc) billed
+ against `limits.max_query_memory_mb`. On the rc.86 xerj-search rebuild one ~570 k-record dataset
+ estimated 1.1 GB against the 512 MB default, the server answered
+ `429 circuit_breaking_exception: [request] query allocation (1.1gb) would exceed
+ limits.max_query_memory_mb=512MB at [aggregation corpus materialisation]`, the client retried for its
+ full 600 s envelope and honestly aborted (build b1791330708, 1,010,833 records indexed, existing
+ corpus untouched) — retrying could never succeed because the request itself was the problem. The
+ count now carries no aggs (a count needs no corpus) and the time bounds come from two `size:1`
+ searches sorted asc/desc on the time field under the dataset's own filter — a sort reads doc values
+ and clones nothing, and the first hit IS the extreme, so it is exact for the same reason the agg was.
+ `epoch_ms_to_iso8601_utc` moved to `xerj_common::schema` so client and engine render numeric
+ timestamps through one helper and catalog documents keep the agg's `value_as_string` shape. The
+ finalize refresh — previously 1,479 serial per-index round trips that read as a stall for the better
+ part of an hour against a node whose memory breaker was draining between them — is windowed: 50
+ comma-joined index names per request, one progress tick per index.
## [1.0.0-rc.87] - 2026-10-07