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.

changelog: index-size harness entry under [Unreleased] Added

xerj-orga6d8951fe9c0
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 17cfba667..ece74600f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -58,6 +58,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
+- **An on-disk size harness for force-merged indexes**
+ (`benchmarks/index-size/`) — the measurement half of the index-size
+ effort (epic [#1038](https://github.com/xerj-org/xerj/issues/1038)):
+ `run.sh` clones the DISK_SIZE_2026-07-09 protocol (chat-events cycled to
+ 100k docs enriched with a deterministic text `body` and a
+ high-cardinality `doc_id`, explicit mapping, forcemerge 1,
+ du-stable-30s) and reports a per-extension and per-field byte breakdown
+ of everything durable except the WAL; `LEVEL=best` re-runs at the
+ merge-path compression knob. CI prints a 20k-doc pass informationally on
+ every PR via the existing api-checks job. `DESIGN.md` records where the
+ bytes are today (with file:line anchors), the peer designs adapted
+ (tantivy columnar/sstable/postings, quickwit docstore), and the staged
+ plan: header/delta wins inside existing envelopes → FTS-dictionary reuse
+ → zstd trained dictionaries. No engine format changed yet; numbers from
+ this harness gate the stages that do.
- **`POST /{index}/_cache/clear`** releases the index's rebuildable caches
([#950](https://github.com/xerj-org/xerj/issues/950) follow-up work). (PR
[#1009](https://github.com/xerj-org/xerj/pull/1009).)