Repository navigation
Releases
xerj v1.0.0-rc.105
XERJ v1.0.0-rc.105
rc.105: 93 merged pull requests since rc.104. BM25 now uses the real
length of long fields, Chinese folders get a CJK analyzer, searches stop
waiting on disk syncs while bulk writes run, object sub-fields and
filtered aggregations take the fast paths, keyword fields get normalizers,
and many requests now behave as in Elasticsearch, including several that
used to answer 200 and now answer 400. Read the upgrade notes before you
upgrade a node that serves traffic.
Highlights
- Long documents no longer outrank the answer (#3007). SearchTome
medicine,multi_matchon title + content: R@1 56.60 → 64.78, R@3
76.77 → 81.74 (paired randomization p < 0.001). - Chinese folders under
xerj autoindex(#3377). On a 29-file PRC
statute corpus, 20 law questions: R@1 0.45 → 0.95, R@3 0.60 → 1.00. - Searches during bulk writes (refs #3324 #3331). p99 over all reads
204-265 ms → 40-85 ms; writer throughput 34-50k → 53-66k docs/s (3 runs
each, load 25-50). - Object sub-fields on postings (#3464).
multi_matchon*over 200k
documents: p50 539-661 ms → 3.9-5.1 ms, now with BM25 scores. - Filtered aggregations from doc values (#3476, #3510). A
size: 0
aggregation under a filter-onlybool: 1111-1631 ms → 13.4-17.2 ms. A
filtereddate_histogramon 300k documents that answered 429 now
answers in 143-182 ms right after a cache clear. termon an array keyword (#3412). 8 clients on a 992,000-document,
496-segment index: p50 1940 ms → 9.3 ms, 3.9 → 115.5 queries/s.- Hybrid search reads
_sourcefor the page only (#3018).hybrid
size 10 on 3,000 documents: 7.20 → 4.31 ms (median of six rounds).
Upgrade notes
- Downgrade needs a snapshot or a reindex. Segments that rc.105 writes
store BM25 field lengths on a new scale (#3007). rc.104 opens a data
directory that rc.105 wrote without any error, but ranking and scores
change silently. To go back to rc.104, restore a snapshot taken on rc.104
or reindex from the source. The upgrade itself
is in place: segments written before keep their old lengths, and object
sub-fields in old segments answer from stored documents, until a merge
rewrites them or you reindex. - Data directories, provenance and the opt-in model flag are as in
rc.101-rc.104. The rc.105 binaries are built from the same private tree
as rc.101-rc.104: publicmainat this cut (b2ef194fplus this release
commit) plus the XERJ-Query engine lanes plus the Proprietary model
cratesxerj-infer,xerj-serveandxerj-exec. They keep the rc.101
storage defaults (ZPS4 postings, row-dictionary stored text, on-disk
format 4, or 5 once a writer uses the ZPA postings family), so a data
directory that rc.101, rc.102, rc.103 or rc.104 wrote opens in place, with
no reindex. A binary built from publicmainat this cut writes format 3
and refuses a format-4 or format-5 directory (DATA_DIR_FORMAT_VERSIONin
engine/crates/xerj-storage/src/index_store.rs); upgrade an rc.101-rc.104
node with the release binaries./_factsanswers 404
xerj_query_not_enabledunless--facts-model-dir <DIR>is set, and
/_factsandxerj_facts_askexist only in the release binaries, not in
a build from this repository (#3380). - New segments are bigger. Each
objectleaf now has its own postings
(#3464). On the 200k-document test index with one object field the index
grew from 50 MB to 62 MB (+24%). The growth comes from the text and
keywords under objects. - Explicit
cjkindices: reindex for the new tokens. Thecjk
tokenizer now splits non-CJK runs on word boundaries and drops
punctuation (revenue,isrevenue;,is no longer a token) (#3377).
Documents indexed before keep the tokens they were written with, so
reindex an index with an explicitcjkanalyzer. Indices that
xerj autoindexbuilt keep their analyzer until they are reindexed. - Keyword sub-fields match whole values, as in Elasticsearch.
multi_match "fruit"no longer matchesmeta.tag: "Fruit"(#3464).
match title.raw: "World"no longer hits"Hello World"(#3488). A
matchon a sub-field that is not mapped (title.rawwhen only
title.keywordexists) now finds nothing; after a flush it used to
search the parenttitle(#3515). - Normalizers are supported (#3529). A
keywordfield can name the
built-inlowercasenormalizer or acustomone built from
lowercase,uppercase,asciifoldingandtrim. Still a 400
mapper_parsing_exception: an unknown name, any other filter, char
filters, a normalizer on a non-keyword field, and changing a field's
normalizer on put-mapping. rc.104 accepted anormalizername on a
field and ignored it; an index created that way keeps its case-sensitive
behaviour after the upgrade. Reindex into a new index to get normalized
values. dynamic: falseanddynamic: strictare honoured (#3514).
strictrefuses a document with an undeclared field (400
strict_dynamic_mapping_exception) on_bulk,_doc,_createand
_update. Underfalse, a new field stays in_sourcebut is not in
GET _mappingand cannot be searched or aggregated. The setting is read
from the stored mapping when an index opens, so an existing index with
such a mapping changes on upgrade.- Requests that answered 200 and now answer 400, as in Elasticsearch:
- a
pitsearch on/{index}/_search, or an_msearchitem with a
pitthat names an index (#3398); - a
collapse.inner_hitsblock with noname(#3321); - a value of the wrong type for a boolean, ip or date field in
term,
terms, ormatch/multi_match/query_stringwithoutlenient
(#3511); withlenient: false, or aprefix*field pattern without
lenient: true, a value that does not parse for a field (#3463); function_scorefield_value_factorwith nomissingwhen a scored
document has no value (#3512); setmissingto keep the old ranking;- a document that
dynamic: strictrefuses (#3514, above); geotile_grid/geohash_gridthat would return more cells than
search.max_buckets(#3400); they dropped cells silently before.
- a
- New 429s near the memory limit.
_forcemerge(#2917), a cold kNN
segment read (PR #3328) and the semantic embedding step of a_bulk
group (PR #3338) now answer 429circuit_breaking_exceptionwhen they
would cross the limit, where they used to allocate anyway (refs #2427). - Scores and order can change. A filter-only
bool, and a boost over
one, scores 0.0 in every state, as in ES (#3508, #3524).termon a text
field also matches analysed tokens now, astermsdoes (#3259, PR
#3315).function_scoreties break by_seq_no(#3506). New segments
use the #3007 field lengths. - Other behaviour changes.
_msearchitems that stop at their
deadline saytimed_out: true(#2497). A second SIGINT or SIGTERM
exits at once (130 / 143), and the
first one is bounded by--shutdown-timeout(default 30 s) (#3418). The
Helm chart'sNOTES.txtreads/data/admin.key(#3461).xerj autoindextxt-linesblocks keep blank lines; existing indexes keep
their old blocks until the file changes or you run with--fresh
(#3333).
Full notes
Every change in this release, with measurements and issue links, is in the
CHANGELOG.
xerj v1.0.0-rc.104
All platforms. rc.104 supersedes v1.0.0-rc.103. rc.103 was published Linux-only, and releases on this repository are immutable once published, so its macOS and Windows builds could not be attached to it. rc.104 is the rc.103 code (no pull request merged to main in between; the only source change is the version string) with all eight targets: Linux x86_64 and aarch64 (glibc and musl, plus .deb for both glibc targets), macOS x86_64 and aarch64, Windows x86_64 and aarch64, the XERJ Query-1 model bundle (the rc.102 bundle, unchanged, under the rc.104 name) and one SHA256SUMS. releases/latest and the installer move from v1.0.0-rc.101 to rc.104.
[1.0.0-rc.104] - 2026-11-18
Everything below is the rc.103 content, now shipped on every platform: the rc.101 field-report fixes (#3287, #3289, #3290, #3291, #3292), the 2026-11-18 fix sweep (#3263, #3264, #3265, #3266) and the contributor Elasticsearch-compatibility wave. The model, its bundle and its serve rule are those of rc.102.
Upgrade notes
- Data directories. rc.104 (like rc.103) keeps the rc.101 storage defaults (ZPS4
postings, row-dictionary stored text, on-disk format 4), so an rc.101,
rc.102 or rc.103 data directory opens unchanged. The storage and ingest lanes are
still not on publicmain(carried forward from rc.101 and rc.102): a
build from publicmainwrites format 3 and refuses a format-4 directory. - Provenance. The rc.104 binaries are built from a private tree: public
mainatcc6aee8fplus the XERJ-Query engine lanes plus the model crates
xerj-infer,xerj-serveandxerj-exec, which are licensed
Proprietary and ship as binary + model bundle only. The Apache-2.0
LICENSE covers the engine source onmain. - XERJ-Query stays opt-in. The flag is
--facts-model-dir <DIR>(or
XERJ_FACTS_MODEL_DIR); without it every/_factspath answers 404
xerj_query_not_enabled. DELETE /<index>moves the directory to<data-dir>/_trash/first
and removes it there; a removal that fails is retried in the background
and at the next boot (#3292). An index cannot be named_trash.- Hybrid search legs run in parallel on the multi-thread runtime (#3265).
XERJ_HYBRID_PARALLEL_LEGS=0restores the single-thread join. - MCP search tools drop embedding arrays from
_sourceand say so in
_xerj.hints(vectors_omitted);include_vectors: truekeeps them
(#3289). Detection is by shape: an array of at least 8 numbers with a
fraction, so a long float time series is dropped too unless asked for. xerj_memory_recallis budgeted at 8,000 words by default, like the
search tools (#3263).- Lockfiles are stubbed by default in
xerj autoindex
(--no-default-stubsturns full extraction back on) (#3264).
Added
- A stopped local node starts again on its own (#3290, refs #3267, which
stays open for macOS/Windows verification and the installer wording). The
server writes<data-dir>/node.launch.jsonafter it binds; when a loopback
client (xerj mcpnode-backed tools,xerj search,def,code,
batch-search,autoindex map) finds the port closed, it starts the node
that last served it, detached, and waits for a real answer before the call.
XERJ_NO_AUTOSTART=1orxerj mcp --no-autostartturns it off; a
non-loopback URL is never started.xerj --detach …starts a node in the
background and prints its url, data dir, log and stop command. Not run on
macOS or Windows. xerj status [--prefix p] [--json](#3291): when a prefix was indexed, the
commit then and now, the changed files and a verdict.xerj_mapadds
index_runswith the same commits.- Code extraction for assembly (
.s,.S,.asm: labels, exported
functions, macros and constants), GDScript (.gd) and K&R C definitions
without a return type (#3291). _reindexaccepts several source indices and wildcards (#2921).scripts/release-sha256sums.shbuilds oneSHA256SUMSfrom a release's
per-asset.sha256files, and the release workflow publishes it (#3287).- A zero-dependency Node.js semantic and hybrid search recipe (#3067).
xerj-autoindex: detect OpenSpec (openspec/) andgithub/spec-kit(.specify/,specs/<feature>/spec.md) layouts and route specs, constitutions, and ADRs into a dedicated<prefix>-specscorpus by default (#2966).xerj-autoindex: add--worktree shared|isolatedso parallel agents in linked Git worktrees either share one main-checkout index (ax-<repo>) or keep an isolated per-worktree index (ax-<repo>-<worktree>) without lock contention or prefix collisions (#2967).- Configurable, deterministic plain-text writing review primitive in
xerj-common(#2970, refs #2765): phrase, length, repetition, hedging and
syntactic source-citation checks with stable line notes. This is a library
foundation; recipe-runner and MCP integration remain pending #2762.
Changed
- Small-index kNN and hybrid search (#3265, fixes #3006 and #3016, refs
#3018). An unfiltered kNN over at most 10,000 KiB of stored f32 vectors
(3,333 vectors of 768 dims) scans exactly instead of walking the graph;
only the requested page is hydrated, not the wholekpool; a single ES
top-levelknnclause no longer raises the engine page tokwhen nothing
re-ranks afterwards; the two hybrid legs run on their own threads. RRF
refuses a non-numeric or negative legweightand an invalidkwith 400
(they were silently 1.0 and 60), and acceptsrank_constantas the ES name
fork. Measured in #3265 on publicmain(721 docs, 768-d,query.knn
k=300, size 10): servertook29 ms to 0-1 ms; not re-measured on the
rc.103 binaries. xerj_memory_recalltakesmax_tokensand is budgeted by default at 8,000
words, like the search tools (#3263, carries #2958).xerj autoindexstubs the eight common lockfiles by default
(--no-default-stubsrestores full extraction), and an explicit--stub
is now honoured on the--no-graphroute too (#3264, fixes #2439). The
catalog commit after the read-back is its own progress phase,
finalize-catalog-commit, and names a request that takes 5 s or more;
progress lines count terminal cells, so CJK paths keep their width; an
emptyautoindex mapnames the node's data directory; sitemap dates come
from onegit logwalk (fixes #3226). The Windows stall behind #2929 is
not reproduced and stays open.--excludeapplies during the walk (#3287, fixes #3280): excluded files are
never stat'ed and<dir>/**prunes the directory. Measured in #3287 on
Linux tmpfs with 200k excluded files: 1.67 s to 0.48 s. A large excluded
directory with no<dir>/**glob is still read in full. Not measured on
Windows, where #3280 was reported.- Hub packs: one shared member and unpacked-size cap for the builder, the
catalogue and the client, which names the real count and the cap (#3287,
fixes #3283). - Benchmark recipes switch the query cache off and report its hits (#3255,
refs #3020). - With no
search.max_bucketsset, the node'slimits.max_buckets(default
65536) now also caps the total buckets a_searchor_msearchresponse
keeps across its whole aggregation tree, as Elasticsearch's default does.
Before, it capped each aggregation on its own, so a response could keep
more buckets in total.
Fixed
DELETE /<index>no longer answers 500 while the index's files are still
held (#3292, fixes #3274). The index is unregistered first, merges stop,
the delete waits up to 3 s for other handles, then the directory is renamed
to<data-dir>/_trash/<name>-<uuid>and removed there; a failed removal is
retried for about 10 minutes and swept at boot. Measured in #3292: DELETE
200 in 422 ms after a SIGKILLed autoindex,_trashempty after. The NFS
case is covered by a test, not reproduced live.match_phraseon a dotted identifier under thecodeanalyzer returned
0 hits after a flush (#3292, fixes #3285).PhraseQuerytakes per-term
positions, so tokens the analyzer stacks at one position match there.
request.client.hostandclient.hostnow match before and after flush.record_countand amatch_alltotal differed by the file-card anchors;
xerj_mapandxerj autoindex mapnow reportcount_unitsand a per-index
filescount (#3292, fixes #3275).- Headless first launch aborted with exit 134 when stderr could not be
written (2>/dev/full, a closed fd) (#3290, fixes #3276). Prints are
fallible, closed fds 0-2 point at/dev/null, and the setup link is also
written to<data-dir>/owner-claim.txt(mode 0600). - The auto memory tier adds the memory the node holds at boot to its write
breaker (#3290). Partial fix of #3277, which stays open: the facts-model
preload does not reserve its own RSS yet. xerj defand MCPxerj_defcheck hits against the files when the index
is stale (#3291, fixes #3268): a moved declaration is re-anchored
(reanchored: true), a deleted one is dropped, and a definition not yet
indexed is found by parsing the changed files read-only (unindexed: true).
Assembly (fixes #3270) and GDScript (fixes #3271) are indexed as code.- A zero-hit search says why (#3289, fixes #3269): MCP
xerj_searchadds
zero_hits_reason(no_indexorno_match) and a hint naming the closest
prefix; the CLI's missing-prefix line ends withclosest: <p>. - A
querystring holding a JSON object is read as DSL, and hybrid,
semantic and vector search keep_source(#3289, fixes #3272). When a node
refuses?savings=false, the CLI retries once without it and says what the
node is (#3289, fixes #3273). A badxerj_batch_searchitem fails on its
own with the keys it accepts (#3289); the Windows_msearchtimeout in
#2497 is not reproduced and stays open. - The installer checks every tool it needs up front and exits 2 naming all
missing ones, resumes the model ...
xerj v1.0.0-rc.103
Linux-only release, not marked latest. This release ships Linux binaries (x86_64 and aarch64, glibc and musl, plus .deb for both glibc targets), the XERJ Query-1 model bundle (the rc.102 bundle, unchanged, under the rc.103 name) and one SHA256SUMS. macOS and Windows builds need the release workflow, which cannot run for this release. macOS and Windows users stay on v1.0.0-rc.101, which releases/latest and the installer keep serving on every platform; install rc.103 on Linux by downloading the assets below.
[1.0.0-rc.103] - 2026-11-18
rc.103: the rc.101 field-report fixes, the 2026-11-18 fix sweep, and a wave
of Elasticsearch-compatibility fixes from contributors. Five lanes answer
the rc.101 field reports (#3287, #3289, #3290, #3291, #3292): a stopped local
node starts again on its own, a zero-hit search says why, xerj def checks
hits against the files on disk, DELETE of an index no longer fails while
its files are held, and match_phrase matches dotted identifiers under the
code analyzer. The fix sweep (#3263, #3264, #3265, #3266) adds a token
budget to memory recall, stubs lockfiles by default, makes small-index kNN
and hybrid search faster, and lowers _forcemerge memory on vector indices.
The model, its bundle and its serve rule are those of rc.102.
Upgrade notes
- Linux only, not marked latest. rc.103 ships Linux binaries (x86_64 and
aarch64, glibc and musl,.debfor both glibc targets) and the rc.102
model bundle under the rc.103 name. macOS and Windows builds need the
release workflow, which cannot run for this release; macOS and Windows
users stay on v1.0.0-rc.101, whichreleases/latestand the installer
keep serving. - Data directories. rc.103 keeps the rc.101 storage defaults (ZPS4
postings, row-dictionary stored text, on-disk format 4), so an rc.101 or
rc.102 data directory opens unchanged. The storage and ingest lanes are
still not on publicmain(carried forward from rc.101 and rc.102): a
build from publicmainwrites format 3 and refuses a format-4 directory. - Provenance. The rc.103 binaries are built from a private tree: public
mainat5a449f4bplus the XERJ-Query engine lanes plus the model crates
xerj-infer,xerj-serveandxerj-exec, which are licensed
Proprietary and ship as binary + model bundle only. The Apache-2.0
LICENSE covers the engine source onmain. - XERJ-Query stays opt-in. The flag is
--facts-model-dir <DIR>(or
XERJ_FACTS_MODEL_DIR); without it every/_factspath answers 404
xerj_query_not_enabled. DELETE /<index>moves the directory to<data-dir>/_trash/first
and removes it there; a removal that fails is retried in the background
and at the next boot (#3292). An index cannot be named_trash.- Hybrid search legs run in parallel on the multi-thread runtime (#3265).
XERJ_HYBRID_PARALLEL_LEGS=0restores the single-thread join. - MCP search tools drop embedding arrays from
_sourceand say so in
_xerj.hints(vectors_omitted);include_vectors: truekeeps them
(#3289). Detection is by shape: an array of at least 8 numbers with a
fraction, so a long float time series is dropped too unless asked for. xerj_memory_recallis budgeted at 8,000 words by default, like the
search tools (#3263).- Lockfiles are stubbed by default in
xerj autoindex
(--no-default-stubsturns full extraction back on) (#3264).
Added
- A stopped local node starts again on its own (#3290, refs #3267, which
stays open for macOS/Windows verification and the installer wording). The
server writes<data-dir>/node.launch.jsonafter it binds; when a loopback
client (xerj mcpnode-backed tools,xerj search,def,code,
batch-search,autoindex map) finds the port closed, it starts the node
that last served it, detached, and waits for a real answer before the call.
XERJ_NO_AUTOSTART=1orxerj mcp --no-autostartturns it off; a
non-loopback URL is never started.xerj --detach …starts a node in the
background and prints its url, data dir, log and stop command. Not run on
macOS or Windows. xerj status [--prefix p] [--json](#3291): when a prefix was indexed, the
commit then and now, the changed files and a verdict.xerj_mapadds
index_runswith the same commits.- Code extraction for assembly (
.s,.S,.asm: labels, exported
functions, macros and constants), GDScript (.gd) and K&R C definitions
without a return type (#3291). _reindexaccepts several source indices and wildcards (#2921).scripts/release-sha256sums.shbuilds oneSHA256SUMSfrom a release's
per-asset.sha256files, and the release workflow publishes it (#3287).- A zero-dependency Node.js semantic and hybrid search recipe (#3067).
xerj-autoindex: detect OpenSpec (openspec/) andgithub/spec-kit(.specify/,specs/<feature>/spec.md) layouts and route specs, constitutions, and ADRs into a dedicated<prefix>-specscorpus by default (#2966).xerj-autoindex: add--worktree shared|isolatedso parallel agents in linked Git worktrees either share one main-checkout index (ax-<repo>) or keep an isolated per-worktree index (ax-<repo>-<worktree>) without lock contention or prefix collisions (#2967).- Configurable, deterministic plain-text writing review primitive in
xerj-common(#2970, refs #2765): phrase, length, repetition, hedging and
syntactic source-citation checks with stable line notes. This is a library
foundation; recipe-runner and MCP integration remain pending #2762.
Changed
- Small-index kNN and hybrid search (#3265, fixes #3006 and #3016, refs
#3018). An unfiltered kNN over at most 10,000 KiB of stored f32 vectors
(3,333 vectors of 768 dims) scans exactly instead of walking the graph;
only the requested page is hydrated, not the wholekpool; a single ES
top-levelknnclause no longer raises the engine page tokwhen nothing
re-ranks afterwards; the two hybrid legs run on their own threads. RRF
refuses a non-numeric or negative legweightand an invalidkwith 400
(they were silently 1.0 and 60), and acceptsrank_constantas the ES name
fork. Measured in #3265 on publicmain(721 docs, 768-d,query.knn
k=300, size 10): servertook29 ms to 0-1 ms; not re-measured on the
rc.103 binaries. xerj_memory_recalltakesmax_tokensand is budgeted by default at 8,000
words, like the search tools (#3263, carries #2958).xerj autoindexstubs the eight common lockfiles by default
(--no-default-stubsrestores full extraction), and an explicit--stub
is now honoured on the--no-graphroute too (#3264, fixes #2439). The
catalog commit after the read-back is its own progress phase,
finalize-catalog-commit, and names a request that takes 5 s or more;
progress lines count terminal cells, so CJK paths keep their width; an
emptyautoindex mapnames the node's data directory; sitemap dates come
from onegit logwalk (fixes #3226). The Windows stall behind #2929 is
not reproduced and stays open.--excludeapplies during the walk (#3287, fixes #3280): excluded files are
never stat'ed and<dir>/**prunes the directory. Measured in #3287 on
Linux tmpfs with 200k excluded files: 1.67 s to 0.48 s. A large excluded
directory with no<dir>/**glob is still read in full. Not measured on
Windows, where #3280 was reported.- Hub packs: one shared member and unpacked-size cap for the builder, the
catalogue and the client, which names the real count and the cap (#3287,
fixes #3283). - Benchmark recipes switch the query cache off and report its hits (#3255,
refs #3020). - With no
search.max_bucketsset, the node'slimits.max_buckets(default
65536) now also caps the total buckets a_searchor_msearchresponse
keeps across its whole aggregation tree, as Elasticsearch's default does.
Before, it capped each aggregation on its own, so a response could keep
more buckets in total.
Fixed
DELETE /<index>no longer answers 500 while the index's files are still
held (#3292, fixes #3274). The index is unregistered first, merges stop,
the delete waits up to 3 s for other handles, then the directory is renamed
to<data-dir>/_trash/<name>-<uuid>and removed there; a failed removal is
retried for about 10 minutes and swept at boot. Measured in #3292: DELETE
200 in 422 ms after a SIGKILLed autoindex,_trashempty after. The NFS
case is covered by a test, not reproduced live.match_phraseon a dotted identifier under thecodeanalyzer returned
0 hits after a flush (#3292, fixes #3285).PhraseQuerytakes per-term
positions, so tokens the analyzer stacks at one position match there.
request.client.hostandclient.hostnow match before and after flush.record_countand amatch_alltotal differed by the file-card anchors;
xerj_mapandxerj autoindex mapnow reportcount_unitsand a per-index
filescount (#3292, fixes #3275).- Headless first launch aborted with exit 134 when stderr could not be
written (2>/dev/full, a closed fd) (#3290, fixes #3276). Prints are
fallible, closed fds 0-2 point at/dev/null, and the setup link is also
written to<data-dir>/owner-claim.txt(mode 0600). - The auto memory tier adds the memory the node holds at boot to its write
breaker (#3290). Partial fix of #3277, which stays open: the facts-model
preload does not reserve its own RSS yet. xerj defand MCPxerj_defcheck hits against the files when the index
is stale (#3291, fixes #3268): a moved declaration is re-anchored
(reanchored: true), a deleted one is dropped, and a definition not yet
indexed is found by parsing the changed files read-only (unindexed: true).
Assembly (fixes #3270) and GDScript (fixes #3271) are indexed as code.- A zero-hit search says why (#3289, fixes #3269): MCP
xerj_searchadds
`ze...
rust-vulns corpus pack (pack-rust-vulns-2026-11-09)
The rust-vulns corpus pack, built and signed by the scheduled
pack publish workflow from tools/packs/rust-vulns/recipe.toml.
One release per build; under immutable releases a same-day
rebuild publishes under -r2, -r3, … instead of replacing
the day's earlier release. The newest is always at
https://github.com/xerj-org/xerj/releases?q=pack-rust-vulns
Build history lives in the releases themselves and in the
workflow runs.
Install (public key: tools/packs/keys/rust-vulns.pub in the repo):
xerj corpus add rust-vulns --from rust-vulns-pack.zip \
--verify-sig rust-vulns.pub
xerj corpus index rust-vulns
rust-vulns-freshness.json carries the build date and record
count; the same 30-day staleness refusal that governs every
reference corpus governs this one.
agent-session-trajectories corpus pack (pack-agent-session-trajectories-2026-11-09)
The agent-session-trajectories corpus pack — the first
external-contributor pack on the hub (chunxiaoxx / Nautilus,
#1255; demand anchored to #1138, wishlist slot #1210). 70
sanitized multi-session agent trajectories with failure turns
kept verbatim, built and signed by the pack publish workflow
from tools/packs/agent-session-trajectories/recipe.toml.
One release per build; under immutable releases a same-day
rebuild publishes under -r2, -r3, … instead of replacing
the day's earlier release. The newest is always at
https://github.com/xerj-org/xerj/releases?q=pack-agent-session-trajectories
Install (public key: tools/packs/keys/agent-session-trajectories.pub in the repo):
xerj corpus add agent-session-trajectories \
--from agent-session-trajectories-pack.zip \
--verify-sig agent-session-trajectories.pub
xerj corpus index agent-session-trajectories
agent-session-trajectories-freshness.json carries the build
date and record count; the same 30-day staleness refusal that
governs every reference corpus governs this one.
hub pack: agent-session-trajectories @ 13d0fbe1
Pre-indexed, signed Corpus Hub v2 pack for the agent-session-trajectories record corpus.
- content pin:
13d0fbe1ac89198caf3d24ef622636c6b47edd32(records of 2026-11-09) - licence: CC-BY-4.0 (adapt-with-attribution)
- definitions: 70, files: 1
- built by: xerj 1.0.0-rc.102
Use it: xerj hub pull agent-session-trajectories. The archive is checked against the hub key (sha256, then ed25519 signature) before anything is extracted.
Built by https://github.com/xerj-org/xerj/actions/runs/42562030700 from tools/packs/agent-session-trajectories/recipe.toml
xerj v1.0.0-rc.102
Linux-only release. This release ships Linux binaries (x86_64 and aarch64, glibc and musl, plus .deb for both glibc targets) and the XERJ Query-1 model bundle. macOS and Windows builds follow in an update of this release. Until then the installer and releases/latest keep serving v1.0.0-rc.101 on every platform; install rc.102 on Linux by downloading the assets below.
[1.0.0-rc.102] - 2026-11-06
rc.102: the XERJ Query-1 serve rule R8, a guard against counts the counting
path cannot express, and the rc.102 public window. The model bundle that
ships with this release, candidate_a_s47_r8, holds the same weights as
rc.101's candidate_a_s47 (every weight file has the same sha256) and changes
only how answers are served: rule R8 (details under Changed). On XERJ Score v2
(credit measured against Opus 5.5 = 100), on the four development families
teacher_dev, bench_select, s1b_dev and d1_select (400 items each,
1,600 in all), seed 47 moves from 90.29 to 94.69 (+4.40, 95% interval
+3.32 to +5.64, paired world-cluster bootstrap); seeds 11 and 29 move +3.95
and +4.17. These are development items, and R8 was chosen from a diagnosis of
those same items, so 94.69 is an in-sample number, not a held-out one. Wrong
answers rise on every seed: 9 to 10 of 1,600 on seed 47, 12 to 15 on seed 11.
The one held-out read is the fresh_v1 set, read once on 2026-11-04 and
re-scored under R8 without a second read: Net 0.3333 to 0.3481, right 112 to
118, wrong 11 to 12. Robustness to new wordings and fresh-set counting are not
separately measured. The engine serves the evaluated rule exactly: on the
merged rc.102 tree the engine's rows for all 1,600 development items give the
same served outcome as the evaluation's Python rows (1,600 of 1,600; 284 rows
differ only in the raw status, UNKNOWN versus UNSUPPORTED, and both are
declines). Without --facts-model-dir a node is the node rc.101 was.
Upgrade notes
- The rc.102 bundle needs an rc.102 binary. rc.101 refuses its
bundle.json(unknown ruledecline_v2_r8, model stateunavailable).
The rc.102 binary still loads the rc.101 bundle and serves it under
decline_v2with partner agreement, byte for byte as before. - Counting no longer waits for a partner under R8. With the rc.102
bundle a count is served when the question routes to counting, the hard
checks pass and the engine answers; the partner model does not run, and
partner_agreementisnullinstead oftrue. Readfinal_statusand
final_answeras before. - Data directories. rc.102 keeps rc.101's storage defaults (ZPS4
postings, row-dictionary stored text, on-disk format 4), so an rc.101 data
directory opens unchanged. The one-way upgrade from rc.100 described under
rc.101 still applies to a directory rc.100 last wrote. Not done in this
window, and carried forward: rc.101 said its storage and ingest lanes would
reach publicmainbefore rc.102. They have not; they are in the private
build tree only, and a build from publicmainstill writes format 3 and
refuses a format-4 directory. - Provenance. The rc.102 binaries are built from a private tree: public
mainat34a2f244(this window's merges) plus the XERJ-Query engine lanes
plus the model cratesxerj-infer,xerj-serveandxerj-exec, which are
licensed Proprietary and ship as binary + model bundle only. Those
crates are not Apache-2.0 and are not in the public repository; the
Apache-2.0 LICENSE covers the engine source onmain. - XERJ-Query stays opt-in. The flag is
--facts-model-dir <DIR>(or
XERJ_FACTS_MODEL_DIR); without it every/_factspath answers 404
xerj_query_not_enabled.
Added
xerj autoindex <path> --facts <namespace>writes table rows as XERJ Query-1
facts: SQLite files, SQL dumps, CSV/TSV and XLSX (#2988). Each row is one subject
whosesubject_idis the key column (id,<table>_id, … or--key), each
other column one typed fact quoting the row, so counting questions engage
without hand-written facts. Re-runs write only changed rows (withdraw the old
version, write the new one) and withdraw removed rows; unchanged rows are a
no-op. Measured on rc.101: 1,000 rows → 6,000 facts in 0.36 s; "How many
people have office Berlin?" → 366 viapath: countingwith partner
agreement (gold 366). The mapping is a per-row-change function
(facts_rows::RowFactMapper::map_change) so streamed sources can reuse it.- Live Postgres sources inside the node (#2984):
xerj connect postgres://…snapshots the chosen tables in a consistent snapshot, then
applies every insert, update, delete and truncate through logical
replication, survives restarts and resumes from its acknowledged LSN.
HTTPGET /_xerj/sources,GET|PUT|DELETE /_xerj/sources/{name}; MCP tool
xerj_sources(the MCP lists 21 tools without the hub key, 24 with it).
Measured in that PR on an x86_64 laptop (32 threads) against Postgres 16 on
the same host: a 1,000,000-row table snapshotted at 54,776 rows/s;
commit-to-readable p50 16.9 ms, p95 26.6 ms over 6,000 samples at 991
commits/s; after akill -9mid-stream, 27,696 rows = 27,696 docs with 0
missing, extra, stale or duplicate. Seedocs/LIVE_SOURCES.md. xerj autoindexindexes zip, tar, tar.gz/tgz and tar.zst archives, one
level deep, refusing absolute and..member paths, links and special
files, with byte, member and expansion-ratio caps (#2982).xerj sources [--json]anddocs/SOURCES.mdlist every way to get data in.- Cohere Rerank as a second
_searchreranking provider,"rerank": {"provider": "cohere"}, off until an operator sets a key; the endpoint is
configurable so document text can stay on a private Cohere deployment
(#2985). Seedocs/RERANK.md. - Cohere examples (#2983): an embedder config for Cohere's OpenAI-compatible
route, a stdlib Command RAG example whose citations resolve to file and
page, and the XERJ tools as a Cohere Chat v2 tool schema. Replay-tested
against a mock Cohere API; no live Cohere run yet. - The rc.101 documentation set and
/get --with-model(#2969): the
/_factsAPI, model bundle and quickstart pages, and an installer flag that
fetches the model bundle with the binary and checks its sha256.
Changed
- Serve rule R8 (opt-in per bundle; the rc.102 bundle opts in).
bundle.jsonmay namefacts.rule = "decline_v2_r8"and
counting.signal = "H". Underdecline_v2_r8the facts path serves the
raw program's answer wheredecline_v2would have declined it with policy
codeD2C_COUNT_COMPARISONorD2D_TYPE_DATE; every other code declines as
before. Under signalHa count is served on its own hard checks, without
the partner model. A bundle that names neither keepsdecline_v2and
signalA. The rule and its numbers are summarised at the top of this
section. - XERJ Query-1 launch claims corrected across the site, README and docs after
a review of 1,370 statements on 13 surfaces (#3023): latency is answer time
against Messages API time, never CLI start-up; the accuracy headline names
its scope (each question's own records given, development-set questions);
corpora are named next to numbers. - The
/_factswait loop inlanding/llms.txtanddocs/MODEL_QUICKSTART.md
stops onunavailableandxerj_query_not_enabledinstead of polling
forever (#3028). This is the docs half of issue #3021; the start-up half
stays open.
Fixed
- A count the counting op-set cannot express is no longer served (partial
fix of issue #3015). rc.101
served "How many people are in Berlin or Munich?" (Berlin x2, Munich x1) as
a verified count of 1, because both models dropped theorand agreed on
the program for Munich alone. When the serve rule would serve a count and
the question joins alternatives withor(either … or,nor) or asks
for a sum or a total of a quantity ("total height"), the answer is now a
decline on the counting path:final_status: "UNKNOWN",reason_code: "COUNT_CONNECTIVE_UNSUPPORTED", a reason naming the connective, and the
withheld program's sha aswithheld_program_sha256. Anorthat only makes
a threshold inclusive ("12 lines or more", "on or after 1990-01-01") is a
count the op-set expresses and is still served. The guard matters more
under R8, which drops the partner check: on the rc.102 release binary with
the rc.102 bundle, both "How many people are in Berlin or Munich?" and "How
many people have office Berlin or Munich?" reached the serve point with a
one-city program (the withheld shas are those of "office Munich" and
"office Berlin") and are declined; "How many people have office Berlin?"
is still served as 2. Regression tests: the three Berlin-or-Munich probes
(xerj-serveunit tests, and an HTTP test over the real models). What
stays open on #3015: returning the counted member ids. _searchwithprofile: truereports measured phase timings, in
nanoseconds, instead of 0/1 ns placeholders (#3029, issue #3005). Only
phases are measured: a non-zero breakdown timer is its phase total (an
upper bound),*_countfields are not measured, and the new field
profile.xerj_timingsays so.- Tied kNN neighbours are ranked by score, then
seq_no, then_idon every
executor (#3030, issue #3017), so a kNN or hybrid ranking with ties is the
same in the indexing process and after a restart. On a synthetic 5,000-doc
set with 2,500 distinct 384-d vectors and 160 queries, indexing process
versus restart went from 234 of 320 identical rankings to 320 of 320. - The proxy embedder accepts embedding responses without a per-item
index
(Cohere's OpenAI-compatible route omits it), sosemantic_textwrites
through such a route no longer fail withresponse parse(#2983). - The aarch64 Linux release assets are built with a 64 KiB jemalloc page
agai...
hub pack: rust-vulns @ caf0406d
Pre-indexed, signed Corpus Hub v2 pack for the rust-vulns record corpus.
- content pin:
caf0406df2ffaa4b81c9878fa7a13215981dd714(records of 2026-11-08) - licence: CC0-1.0 (adapt-with-attribution)
- definitions: 2916, files: 2
- built by: xerj 1.0.0-rc.102
Use it: xerj hub pull rust-vulns. The archive is checked against the hub key (sha256, then ed25519 signature) before anything is extracted.
Built by https://github.com/xerj-org/xerj/actions/runs/42446821657 from tools/packs/rust-vulns/recipe.toml
hub pack: rust-vulns @ caf0406d
Pre-indexed, signed Corpus Hub v2 pack for the rust-vulns record corpus.
- content pin:
caf0406df2ffaa4b81c9878fa7a13215981dd714(records of 2026-11-07) - licence: CC0-1.0 (adapt-with-attribution)
- definitions: 2916, files: 2
- built by: xerj 1.0.0-rc.101
Use it: xerj hub pull rust-vulns. The archive is checked against the hub key (sha256, then ed25519 signature) before anything is extracted.
Built by https://github.com/xerj-org/xerj/actions/runs/42338433850 from tools/packs/rust-vulns/recipe.toml
rust-vulns corpus pack (pack-rust-vulns-2026-11-08)
The rust-vulns corpus pack, built and signed by the scheduled
pack publish workflow from tools/packs/rust-vulns/recipe.toml.
One release per build; under immutable releases a same-day
rebuild publishes under -r2, -r3, … instead of replacing
the day's earlier release. The newest is always at
https://github.com/xerj-org/xerj/releases?q=pack-rust-vulns
Build history lives in the releases themselves and in the
workflow runs.
Install (public key: tools/packs/keys/rust-vulns.pub in the repo):
xerj corpus add rust-vulns --from rust-vulns-pack.zip \
--verify-sig rust-vulns.pub
xerj corpus index rust-vulns
rust-vulns-freshness.json carries the build date and record
count; the same 30-day staleness refusal that governs every
reference corpus governs this one.