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.

fix(search): rank a file holding the exact query phrase first (#1759)

James Jacksonb752fedd06f1
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c1dc88f0f..143bec78e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+### Fixed
+
+- `xerj search` and a plain-string `xerj_search` rank a file that contains
+ the query as an exact phrase (a pasted error message or log line) at the
+ top. The bag-of-words leg alone let a short `defs` list sharing two of the
+ words outrank the long file holding all of them in order. On 100 exact
+ string literals from XERJ's own sources the defining file went from rank 1
+ on 16 to rank 1 on 91, with symbol lookups unchanged
+ ([harness](benchmarks/search-exact-phrase/README.md)).
+
## [1.0.0-rc.97] - 2026-10-17
<!-- TODO(release manager): set the date above to the tag date. -->
diff --git a/benchmarks/search-exact-phrase/README.md b/benchmarks/search-exact-phrase/README.md
new file mode 100644
index 000000000..0d92bab35
--- /dev/null
+++ b/benchmarks/search-exact-phrase/README.md
@@ -0,0 +1,47 @@
+# `xerj search`: exact-phrase ranking
+
+Measures whether a plain-words `xerj search` puts the file the question is
+about at rank 1, on XERJ's own Rust sources as the corpus.
+
+Three question sets, 100 each, generated deterministically by
+`make_questions.py` from `engine/crates/**/*.rs` (seeded; the generated
+`questions.json` is committed):
+
+| set | query | expected file |
+|---|---|---|
+| `A_exact_string` | a string literal of 4+ words that occurs in exactly one file, as typed (an error message, an assertion text) | the file containing it |
+| `B_words_of_symbol` | a `fn` name of 3+ snake_case parts defined in exactly one file, words joined by spaces (`cat pending tasks`) | the defining file |
+| `C_identifier` | the same `fn` name verbatim (`cat_pending_tasks`) | the defining file |
+
+## Run
+
+```sh
+# corpus: the .rs files under engine/crates at the commit being measured
+mkdir corpus && git -C ../.. archive f9dcf626 engine/crates | tar -x -C corpus \
+ && mv corpus/engine/crates corpus/crates && rmdir corpus/engine \
+ && find corpus -type f ! -name '*.rs' -delete && find corpus -type d -empty -delete
+python3 make_questions.py # optional: regenerates questions.json byte-identically
+python3 run.py /path/to/xerj 9330 main
+```
+
+`run.py` starts a throwaway `--insecure` loopback node (temp data dir and
+HOME), autoindexes `./corpus`, and writes `results/<label>.json` with the
+rank of the expected file among distinct `ax_path`s in the top 10.
+
+## Results (2026-10-18, linux x86_64, 8 vCPU)
+
+Corpus and questions from `main` at f9dcf626. `main` is a release build of
+that commit, `fix` is the same commit plus the exact-phrase leg.
+
+| set | build | rank 1 | top 5 | top 10 |
+|---|---|---:|---:|---:|
+| A_exact_string | main | 16 | 36 | 45 |
+| A_exact_string | fix | 91 | 95 | 95 |
+| B_words_of_symbol | main | 13 | 31 | 36 |
+| B_words_of_symbol | fix | 15 | 32 | 38 |
+| C_identifier | main | 92 | 92 | 92 |
+| C_identifier | fix | 92 | 92 | 92 |
+
+Per question, 81 ranks improved and one got worse (`B`: "a rare term
+outweighs a term every document shares", rank 5 → 6). Raw rows are in
+`results/`.
diff --git a/benchmarks/search-exact-phrase/make_questions.py b/benchmarks/search-exact-phrase/make_questions.py
new file mode 100644
index 000000000..fa5435b94
--- /dev/null
+++ b/benchmarks/search-exact-phrase/make_questions.py
@@ -0,0 +1,32 @@
+import os,re,random,json,collections
+root='corpus' # engine/crates/**/*.rs at the measured commit (README)
+files={}
+for d,dirs,fs in os.walk(root):
+ dirs.sort()
+ for f in sorted(fs):
+ p=os.path.join(d,f); files[os.path.relpath(p,root)]=open(p,errors='replace').read()
+lit=re.compile(r'"([A-Za-z][A-Za-z ,.\'-]{15,90})"')
+occ=collections.defaultdict(set)
+for p,s in files.items():
+ for m in lit.finditer(s):
+ t=m.group(1).strip()
+ if len(t.split())>=4: occ[t].add(p)
+def count_files(t): return sum(1 for s in files.values() if t in s)
+A=sorted((t,next(iter(ps))) for t,ps in occ.items() if len(ps)==1)
+random.seed(7); random.shuffle(A)
+out=[]
+for t,p in A:
+ if count_files(t)==1: out.append((t,p))
+ if len(out)==100: break
+A=out
+fn=re.compile(r'\bfn ([a-z][a-z0-9]*(?:_[a-z0-9]+){2,})\s*[<(]')
+defs=collections.defaultdict(set)
+for p,s in files.items():
+ for m in fn.finditer(s): defs[m.group(1)].add(p)
+B=[(n,next(iter(ps))) for n,ps in defs.items() if len(ps)==1 and not n.startswith('test')]
+B.sort(); random.seed(11); random.shuffle(B); B=B[:100]
+qs=[{"set":"A_exact_string","q":t,"gt":p} for t,p in A]
+qs+=[{"set":"B_words_of_symbol","q":n.replace('_',' '),"gt":p} for n,p in B]
+qs+=[{"set":"C_identifier","q":n,"gt":p} for n,p in B]
+json.dump(qs,open('questions.json','w'),indent=0)
+print(collections.Counter(q['set'] for q in qs)); print(qs[0],qs[150],qs[250],sep='\n')
diff --git a/benchmarks/search-exact-phrase/questions.json b/benchmarks/search-exact-phrase/questions.json
new file mode 100644
index 000000000..e008096d8
--- /dev/null
+++ b/benchmarks/search-exact-phrase/questions.json
@@ -0,0 +1,1502 @@
+[
+{
+"set": "A_exact_string",
+"q": "self entry carries roles",
+"gt": "crates/xerj-api/src/es_compat.rs"
+},
+{
+"set": "A_exact_string",
+"q": "frozen plan lists a refused dataset twice, or both refuses and publishes one",
+"gt": "crates/xerj-autoindex/src/reconcile_plan.rs"
+},
+{
+"set": "A_exact_string",
+"q": "same version as this client",
+"gt": "crates/xerj-autoindex/src/sync_executor.rs"
+},
+{
+"set": "A_exact_string",
+"q": "only keys owned by the caller",
+"gt": "crates/xerj-api/src/es_compat.rs"
+},
+{
+"set": "A_exact_string",
+"q": "unrelated key must not wait",
+"gt": "crates/xerj-engine/src/write_publication.rs"
+},
+{
+"set": "A_exact_string",
+"q": "legacy state records no build",
+"gt": "crates/xerj-autoindex/src/xc.rs"
+},
+{
+"set": "A_exact_string",
+"q": "short bound must bail",
+"gt": "crates/xerj-engine/src/fast_aggs.rs"
+},
+{
+"set": "A_exact_string",
+"q": "first boot must mint a link",
+"gt": "crates/xerj-console-api/tests/phase1_boot_and_cluster_info.rs"
+},
+{
+"set": "A_exact_string",
+"q": "a watch with no condition",
+"gt": "crates/xerj-api/src/es_compat.rs"
+},
+{
+"set": "A_exact_string",
+"q": "only survivors are sent to the judge",
+"gt": "crates/xerj-api/tests/rerank_stage_http.rs"
+},
+{
+"set": "A_exact_string",
+"q": "search is always real",
+"gt": "crates/xerj-console-api/tests/knowledge_surface.rs"
+},
+{
+"set": "A_exact_string",
+"q": "credentials were not provided",
+"gt": "crates/xerj-autoindex/src/objsource.rs"
+},
+{
+"set": "A_exact_string",
+"q": "an emptied slug directory is dropped too",
+"gt": "crates/xerj-hub/src/sync/tests.rs"
+},
+{
+"set": "A_exact_string",
+"q": "key came from plan.files",
+"gt": "crates/xerj-autoindex/src/lib.rs"
+},
+{
+"set": "A_exact_string",
+"q": "an ordinary corpus with nothing stranded says nothing",
+"gt": "crates/xerj-autoindex/src/incremental_reconcile_http_tests.rs"
+},
+{
+"set": "A_exact_string",
+"q": "key must be stable across boots",
+"gt": "crates/xerj-console-api/src/bootstrap.rs"
+},
+{
+"set": "A_exact_string",
+"q": "must remain searchable after a successful refresh",
+"gt": "crates/xerj-api/tests/refresh_reports_flush_failure.rs"
+},
+{
+"set": "A_exact_string",
+"q": "Discover which hub corpora can answer a question. Returns candidate corpora",
+"gt": "crates/xerj-mcp/src/hub.rs"
+},
+{
+"set": "A_exact_string",
+"q": "new doc should be created by create action",
+"gt": "crates/xerj-engine/tests/es_compat_tests.rs"
+},
+{
+"set": "A_exact_string",
+"q": "the attempt loop returns on its final iteration",
+"gt": "crates/xerj-autoindex/src/esclient.rs"
+},
+{
+"set": "A_exact_string",
+"q": "a freshly opened index must hold no WAL descriptors",
+"gt": "crates/xerj-engine/src/index.rs"
+},
+{
+"set": "A_exact_string",
+"q": "partial must never broaden",
+"gt": "crates/xerj-fts/src/search.rs"
+},
+{
+"set": "A_exact_string",
+"q": "is not a bare type name",
+"gt": "crates/xerj-engine/tests/docs_capability_lists.rs"
+},
+{
+"set": "A_exact_string",
+"q": "no header row means no row is consumed",
+"gt": "crates/xerj-autoindex/src/extract/html.rs"
+},
+{
+"set": "A_exact_string",
+"q": "keep the caller's existing window",
+"gt": "crates/xerj-engine/src/code_blocks.rs"
+},
+{
+"set": "A_exact_string",
+"q": "a multipart ETag must not force a re-download",
+"gt": "crates/xerj-autoindex/src/objsource_s3_tests.rs"
+},
+{
+"set": "A_exact_string",
+"q": "the data directory must be gone",
+"gt": "crates/xerj-engine/tests/corrupt_index_metadata.rs"
+},
+{
+"set": "A_exact_string",
+"q": "age should be included",
+"gt": "crates/xerj-engine/tests/integration.rs"
+},
+{
+"set": "A_exact_string",
+"q": "the prose line is body text of some record",
+"gt": "crates/xerj-autoindex/src/detect/e2e_mail.rs"
+},
+{
+"set": "A_exact_string",
+"q": "AND all tokens present",
+"gt": "crates/xerj-engine/tests/multi_match_flush_parity.rs"
+},
+{
+"set": "A_exact_string",
+"q": "public without a catalogue must be refused at boot",
+"gt": "crates/xerj-common/src/config.rs"
+},
+{
+"set": "A_exact_string",
+"q": "urgent wire transfer from an unknown prince, act now",
+"gt": "crates/xerj-api/src/es_compat.rs"
+},
+{
+"set": "A_exact_string",
+"q": "a graph left unpruned becomes densely clustered near the entry node",
+"gt": "crates/xerj-api/src/es_compat.rs"
+},
+{
+"set": "A_exact_string",
+"q": "the live document must have moved on once the node loaded cleanly",
+"gt": "crates/xerj-api/tests/cluster_metadata_survives_restart.rs"
+},
+{
+"set": "A_exact_string",
+"q": "nothing has been charged yet",
+"gt": "crates/xerj-engine/src/painless.rs"
+},
+{
+"set": "A_exact_string",
+"q": "security.html still says the key is printed",
+"gt": "crates/xerj-common/tests/admin_key_not_printed.rs"
+},
+{
+"set": "A_exact_string",
+"q": "segment should persist after reopen",
+"gt": "crates/xerj-engine/tests/integration.rs"
+},
+{
+"set": "A_exact_string",
+"q": "the program that replaced the node must not be SIGKILLed",
+"gt": "crates/xerj-hub/src/node.rs"
+},
+{
+"set": "A_exact_string",
+"q": "CPU-time probe support changed within one process",
+"gt": "crates/xerj-server/src/ingest_memory_trace.rs"
+},
+{
+"set": "A_exact_string",
+"q": "predates embedding identity pinning",
+"gt": "crates/xerj-autoindex/src/state.rs"
+},
+{
+"set": "A_exact_string",
+"q": "should plan at least one move",
+"gt": "crates/xerj-cluster/tests/region_tests.rs"
+},
+{
+"set": "A_exact_string",
+"q": "first put is within budget",
+"gt": "crates/xerj-storage/tests/s3_object_store.rs"
+},
+{
+"set": "A_exact_string",
+"q": "Must find payment-service errors",
+"gt": "crates/xerj-engine/tests/product_experience.rs"
+},
+{
+"set": "A_exact_string",
+"q": "the ledger is written",
+"gt": "crates/xerj-hub/tests/ask_flow.rs"
+},
+{
+"set": "A_exact_string",
+"q": "Cumulative internal query-result cache hits across all indices",
+"gt": "crates/xerj-common/src/metrics.rs"
+},
+{
+"set": "A_exact_string",
+"q": "all quarry blast events",
+"gt": "crates/xerj-api/tests/ask_endpoint.rs"
+},
+{
+"set": "A_exact_string",
+"q": "remote alias can drift",
+"gt": "crates/xerj-autoindex/src/state.rs"
+},
+{
+"set": "A_exact_string",
+"q": "field source must be dropped",
+"gt": "crates/xerj-autoindex/src/extract/doc.rs"
+},
+{
+"set": "A_exact_string",
+"q": "attachments are not replies",
+"gt": "crates/xerj-autoindex/src/detect/emailthread.rs"
+},
+{
+"set": "A_exact_string",
+"q": "restore the removed file",
+"gt": "crates/xerj-autoindex/src/lib.rs"
+},
+{
+"set": "A_exact_string",
+"q": "a dry run emits nothing",
+"gt": "crates/xerj-autoindex/tests/objwatch_minio.rs"
+},
+{
+"set": "A_exact_string",
+"q": "restart must recover exactly once",
+"gt": "crates/xerj-storage/src/index_store.rs"
+},
+{
+"set": "A_exact_string",
+"q": "HMAC accepts keys of any length",
+"gt": "crates/xerj-cluster/src/auth.rs"
+},
+{
+"set": "A_exact_string",
+"q": "the log says the port was taken",
+"gt": "crates/xerj-hub/src/node.rs"
+},
+{
+"set": "A_exact_string",
+"q": "obj must be included",
+"gt": "crates/xerj-engine/tests/es_compat_tests.rs"
+},
+{
+"set": "A_exact_string",
+"q": "cannot decode stored section",
+"gt": "crates/xerj-storage/src/index_store.rs"
+},
+{
+"set": "A_exact_string",
+"q": "mid-file-corrupt generation must be frozen, not appended to",
+"gt": "crates/xerj-storage/src/wal.rs"
+},
+{
+"set": "A_exact_string",
+"q": "re-indexed doc must have the correct id",
+"gt": "crates/xerj-engine/tests/es_compat_tests.rs"
+},
+{
+"set": "A_exact_string",
+"q": "profile document not found",
+"gt": "crates/xerj-api/src/es_compat.rs"
+},
+{
+"set": "A_exact_string",
+"q": "Fanning out search to remote node",
+"gt": "crates/xerj-cluster/src/coordinator.rs"
+},
+{
+"set": "A_exact_string",
+"q": "generated run summary query has no hits",
+"gt": "crates/xerj-autoindex/src/lib.rs"
+},
+{
+"set": "A_exact_string",
+"q": "deleted rows must leave their bucket",
+"gt": "crates/xerj-engine/tests/verify_window_terms_perf.rs"
+},
+{
+"set": "A_exact_string",
+"q": "the replayed document landed",
+"gt": "crates/xerj-autoindex/src/incremental_reconcile_http_tests.rs"
+},
+{
+"set": "A_exact_string",
+"q": "both pages saved bytes",
+"gt": "crates/xerj-engine/src/index.rs"
+},
+{
+"set": "A_exact_string",
+"q": "a crash mid-burst must not lose or duplicate documents",
+"gt": "crates/xerj-autoindex/src/incremental_reconcile_http_tests.rs"
+},
+{
+"set": "A_exact_string",
+"q": "per-hit attribution is what lets the API layer re-sum over the page it really emits",
+"gt": "crates/xerj-engine/src/index.rs"
+},
+{
+"set": "A_exact_string",
+"q": "bundle object not found",
+"gt": "crates/xerj-storage/src/index_store.rs"
+},
+{
+"set": "A_exact_string",
+"q": "term score must be positive",
+"gt": "crates/xerj-fts/src/search.rs"
+},
+{
+"set": "A_exact_string",
+"q": "is on main and ships",
+"gt": "crates/xerj-engine/tests/docs_do_not_promise_the_next_release.rs"
+},
+{
+"set": "A_exact_string",
+"q": "both bulk docs must be immediately searchable",
+"gt": "crates/xerj-engine/tests/es_compat_tests.rs"
+},
+{
+"set": "A_exact_string",
+"q": "kiwi AND lime OR plum",
+"gt": "crates/xerj-query/src/parser.rs"
+},
+{
+"set": "A_exact_string",
+"q": "snapshot source byte overflow",
+"gt": "crates/xerj-autoindex/src/sync_executor.rs"
+},
+{
+"set": "A_exact_string",
+"q": "not supported, denormalize the relationship",
+"gt": "crates/xerj-query/src/parser.rs"
+},
+{
+"set": "A_exact_string",
+"q": "no segments exist pre-flush",
+"gt": "crates/xerj-engine/tests/graph_expand.rs"
+},
+{
+"set": "A_exact_string",
+"q": "storage snapshot entry under root",
+"gt": "crates/xerj-api/tests/cluster_metadata_survives_restart.rs"
+},
+{
+"set": "A_exact_string",
+"q": "ghosted rows must leave the filtered total",
+"gt": "crates/xerj-engine/tests/verify_window_terms_perf.rs"
+},
+{
+"set": "A_exact_string",
+"q": "plan alias projection disagrees with manifest groups",
+"gt": "crates/xerj-autoindex/src/sync.rs"
+},
+{
+"set": "A_exact_string",
+"q": "split the expression into smaller statements",
+"gt": "crates/xerj-engine/src/painless.rs"
+},
+{
+"set": "A_exact_string",
+"q": "snapshot.json must be in the bucket the moment the flush returns",
+"gt": "crates/xerj-storage/src/index_store.rs"
+},
+{
+"set": "A_exact_string",
+"q": "a clean definition replays",
+"gt": "crates/xerj-wasm/src/pipeline.rs"
+},
+{
+"set": "A_exact_string",
+"q": "refund money back request",
+"gt": "crates/xerj-api/tests/decide_flywheel.rs"
+},
+{
+"set": "A_exact_string",
+"q": "stored column exceeds declared row count",
+"gt": "crates/xerj-storage/src/stored_codec/row_hydration.rs"
+},
+{
+"set": "A_exact_string",
+"q": "hash live malformed state",
+"gt": "crates/xerj-api/tests/cluster_metadata_survives_restart.rs"
+},
+{
+"set": "A_exact_string",
+"q": "and nothing was fetched",
+"gt": "crates/xerj-autoindex/src/objwatch/tests.rs"
+},
+{
+"set": "A_exact_string",
+"q": "no second generation may be committed by the refused cross-path re-run",
+"gt": "crates/xerj-autoindex/src/incremental_reconcile_http_tests.rs"
+},
+{
+"set": "A_exact_string",
+"q": "cluster auth secret rejected",
+"gt": "crates/xerj-server/src/main.rs"
+},
+{
+"set": "A_exact_string",
+"q": "source snapshot footprint does not match its sealed artifacts",
+"gt": "crates/xerj-autoindex/src/sync_executor.rs"
+},
+{
+"set": "A_exact_string",
+"q": "post-publication maintenance is deferred, not a flush error",
+"gt": "crates/xerj-storage/src/index_store.rs"
+},
+{
+"set": "A_exact_string",
+"q": "how does chlorophyll drive photosynthesis in a chloroplast",
+"gt": "crates/xerj-engine/src/index.rs"
+},
+{
+"set": "A_exact_string",
+"q": "the same query at two page sizes must not report two different shapes",
+"gt": "crates/xerj-api/tests/savings_stat_is_honest.rs"
+},
+{
+"set": "A_exact_string",
+"q": "desired generation index identity disagrees with its frozen mappings",
+"gt": "crates/xerj-autoindex/src/sync_executor.rs"
+},
+{
+"set": "A_exact_string",
+"q": "reversed phrase should not match",
+"gt": "crates/xerj-fts/src/search.rs"
+},
+{
+"set": "A_exact_string",
+"q": "script source is required",
+"gt": "crates/xerj-api/src/es_compat.rs"
+},
+{
+"set": "A_exact_string",
+"q": "Sort must contain at least one field.",
+"gt": "crates/xerj-api/src/es_compat.rs"
+},
+{
+"set": "A_exact_string",
+"q": "no doc left un-incremented",
+"gt": "crates/xerj-api/tests/update_by_query_updates_entire_index.rs"
+},
+{
+"set": "A_exact_string",
+"q": "every record landed once the node accepted the re-send",
+"gt": "crates/xerj-autoindex/src/incremental_reconcile_http_tests.rs"
+},
+{
+"set": "A_exact_string",
+"q": "the line directly above",
+"gt": "crates/xerj-autoindex/src/extract/code.rs"
+},
+{
+"set": "A_exact_string",
+"q": "a second opener must not pass the held preflight lock",
+"gt": "crates/xerj-autoindex/src/state.rs"
+},
+{
+"set": "A_exact_string",
+"q": "async replication send failed",
+"gt": "crates/xerj-cluster/src/replication.rs"
+},
+{
+"set": "A_exact_string",
+"q": "dead optional clause dropped",
+"gt": "crates/xerj-engine/src/index.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "get rollup job",
+"gt": "crates/xerj-api/src/es_compat.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "charged params read",
+"gt": "crates/xerj-engine/src/painless.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "run reverse nested",
+"gt": "crates/xerj-engine/src/aggs.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "without a workbook part worksheets are read in numeric order",
+"gt": "crates/xerj-autoindex/src/extract/xlsx.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "published schemas match the server exactly",
+"gt": "crates/xerj-mcp/tests/published_schema_drift.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "prefix keyword case is flush invariant",
+"gt": "crates/xerj-engine/tests/prefix_keyword_case_flush_parity.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "batch limits split the stream instead of dropping it",
+"gt": "crates/xerj-engine/tests/wal_tap_push.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "write one frame recovered",
+"gt": "crates/xerj-storage/src/wal.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "hash all field names recurses into array elements",
+"gt": "crates/xerj-engine/src/index.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "hybrid keeps lexical only indices in the bm25 leg",
+"gt": "crates/xerj-common/src/xccode/mod.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "live and deleted",
+"gt": "crates/xerj-api/tests/cat_common_params_and_real_segments.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "is public path",
+"gt": "crates/xerj-api/src/hub_api.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "aggregate bytes matches full recount after every mutator",
+"gt": "crates/xerj-engine/src/memtable.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "decode unique durable json",
+"gt": "crates/xerj-autoindex/src/sync.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "is takeout root",
+"gt": "crates/xerj-autoindex/src/walk.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "read search fields",
+"gt": "crates/xerj-api/src/hub_api.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "swift var is static not const",
+"gt": "crates/xerj-autoindex/src/extract/code.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "encode block freqs",
+"gt": "crates/xerj-fts/src/postings.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "index documents batched",
+"gt": "crates/xerj-engine/src/index.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "string param cannot inject query structure",
+"gt": "crates/xerj-api/src/es_compat.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "free port search skips a busy triple",
+"gt": "crates/xerj-hub/src/node.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "by query matches anything",
+"gt": "crates/xerj-api/src/es_compat.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "for this os",
+"gt": "crates/xerj-hub/src/sync.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "local directory is adopted into an empty bucket",
+"gt": "crates/xerj-storage/src/index_store.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "durable dataset stats",
+"gt": "crates/xerj-autoindex/src/lib.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "the operator tier is owner and admin",
+"gt": "crates/xerj-console-api/tests/console_graph_read.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "bootstrap replay accepts only exact empty genesis",
+"gt": "crates/xerj-autoindex/src/sync.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "hubpack state carries source pin and licence and pins the build",
+"gt": "crates/xerj-common/src/xccode/state.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "prune drops only the clauses a segment cannot serve",
+"gt": "crates/xerj-engine/src/index.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "sweep expired async searches",
+"gt": "crates/xerj-engine/src/engine.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "worker stack actually exceeds the 2mib default",
+"gt": "crates/xerj-server/src/main.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "object store read path hydrates the whole family",
+"gt": "crates/xerj-storage/src/index_store.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "run matrix stats",
+"gt": "crates/xerj-engine/src/aggs.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "the auto id and create endpoints enforce the same rules",
+"gt": "crates/xerj-api/tests/numeric_fields_enforce_their_type.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "detection watch body",
+"gt": "crates/xerj-api/src/es_compat.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "query workbench datasources is an honest empty list not 404",
+"gt": "crates/xerj-api/src/es_compat.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "run ip range",
+"gt": "crates/xerj-engine/src/aggs.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "re escalating the same question keeps one cached answer",
+"gt": "crates/xerj-api/tests/decide_flywheel.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "a miss on a real prefix stays exit zero and lists the others",
+"gt": "crates/xerj-autoindex/src/search.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "a per item 429 on a data bulk is resent and the run completes",
+"gt": "crates/xerj-autoindex/src/failure_resume_http_tests.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "build sort shadow",
+"gt": "crates/xerj-engine/src/index.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "auto date pick interval",
+"gt": "crates/xerj-engine/src/aggs.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "the identity probe still blames the capability for a non auth failure",
+"gt": "crates/xerj-autoindex/src/esclient.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "lexical passage never uses a field the query did not target",
+"gt": "crates/xerj-engine/src/index.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "qs resolve bound",
+"gt": "crates/xerj-query/src/parser.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "run multi terms",
+"gt": "crates/xerj-engine/src/aggs.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "unfiltered exact scan never parses stored documents",
+"gt": "crates/xerj-engine/src/index.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "empty finish produces no bytes",
+"gt": "crates/xerj-compress/src/block.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "single should bool",
+"gt": "crates/xerj-engine/src/index.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "week and ordinal dates resolve to the right instant",
+"gt": "crates/xerj-query/src/dates.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "cat pending tasks",
+"gt": "crates/xerj-api/src/es_compat.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "scores are descending",
+"gt": "crates/xerj-vector/src/search.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "error policy split matches the documented rule",
+"gt": "crates/xerj-rerank/src/lib.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "instruction wording does not change the answer",
+"gt": "crates/xerj-api/tests/systemone_http.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "multivalued numeric metric aggs use all values",
+"gt": "crates/xerj-engine/src/aggs.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "collect array values",
+"gt": "crates/xerj-engine/src/memtable.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "a slash ending an unquoted attribute value does not read as self closing",
+"gt": "crates/xerj-autoindex/src/extract/html.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "grok nginx combined",
+"gt": "crates/xerj-wasm/src/builtins.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "exec auto date histogram",
+"gt": "crates/xerj-engine/src/fast_aggs.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "threshold can be updated",
+"gt": "crates/xerj-engine/src/slow_query.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "a semantic clause that never reached the vector is still flagged",
+"gt": "crates/xerj-api/src/es_compat.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "tls listener exposes the real peer not the header",
+"gt": "crates/xerj-server/src/main.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "parse span term",
+"gt": "crates/xerj-query/src/parser.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "chunk vectors are per passage and pool consistently",
+"gt": "crates/xerj-engine/src/index.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "unlink recovery markers",
+"gt": "crates/xerj-storage/src/index_store.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "exponential call tree is bounded not a hang",
+"gt": "crates/xerj-engine/src/painless.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "the guest script never parses document text as markup",
+"gt": "crates/xerj-console-api/src/spa.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "glob matches star and exact",
+"gt": "crates/xerj-api/src/ask_api.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "parse and expr",
+"gt": "crates/xerj-engine/src/sql.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "invalid mcp json is left alone",
+"gt": "crates/xerj-autoindex/src/init.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "a rare term outweighs a term every document shares",
+"gt": "crates/xerj-rerank/src/judge.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "querying a field with no postings and no doc values is rejected",
+"gt": "crates/xerj-api/tests/index_false_is_honoured.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "separator lines from real writers are recognised",
+"gt": "crates/xerj-autoindex/src/extract/mbox.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "xerj console auth module is bundled",
+"gt": "crates/xerj-console-api/tests/spa_assets.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "mode is how for prose and flags force the rest",
+"gt": "crates/xerj-hub/src/ask.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "elastic caller gets no empty warning header",
+"gt": "crates/xerj-api/src/router.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "run median absolute deviation",
+"gt": "crates/xerj-engine/src/aggs.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "isotonic interpolates and clamps",
+"gt": "crates/xerj-common/src/calibration.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "seg with cols",
+"gt": "crates/xerj-engine/src/fast_aggs.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "this endpoint and a legacy journal keep the old words",
+"gt": "crates/xerj-autoindex/src/lib.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "provenance contract changes only upsert ax run",
+"gt": "crates/xerj-autoindex/src/generation_catalog.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "empty bucket is refused with the shape to type",
+"gt": "crates/xerj-autoindex/src/source.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "count tries env defaults are the scripts values",
+"gt": "crates/xerj-autoindex/src/xc.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "describe field diff",
+"gt": "crates/xerj-autoindex/src/generation_catalog.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "a request that exhausts its retries reports all of them",
+"gt": "crates/xerj-autoindex/src/objsource_s3_tests.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "status empty hub says no packs",
+"gt": "crates/xerj-hub/src/lockfile.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "watch baselines at max seq no existing docs do not fire",
+"gt": "crates/xerj-api/src/es_compat.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "xferlog lines parse to fields",
+"gt": "crates/xerj-autoindex/src/extract/logs.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "an empty catalog keeps the autoindex hint",
+"gt": "crates/xerj-autoindex/src/search.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "every old pin of the slug goes once the new one has restored",
+"gt": "crates/xerj-hub/src/sync/tests.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "new segment id",
+"gt": "crates/xerj-storage/src/segment.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "residual filter still excludes nonmatching docs",
+"gt": "crates/xerj-engine/tests/bool_filter_is_non_scoring.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "c const and file scope",
+"gt": "crates/xerj-autoindex/src/extract/code.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "a two field projection reads differently from withholding source",
+"gt": "crates/xerj-api/tests/savings_stat_is_honest.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "admin allows all on all indices",
+"gt": "crates/xerj-engine/src/rbac.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "apply get doc source filter",
+"gt": "crates/xerj-api/src/es_compat.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "run scripted metric",
+"gt": "crates/xerj-engine/src/aggs.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "inject bbq rescore defaults",
+"gt": "crates/xerj-api/src/es_compat.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "pack build pull def roundtrip",
+"gt": "crates/xerj-hub/tests/pack_roundtrip.rs"
+},
+{
+"set": "B_words_of_symbol",
+"q": "decode raw payload",
+"gt": "crates/xerj-storage/src/stored_codec.rs"
+},
+{
+"set": "C_identifier",
+"q": "get_rollup_job",
+"gt": "crates/xerj-api/src/es_compat.rs"
+},
+{
+"set": "C_identifier",
+"q": "charged_params_read",
+"gt": "crates/xerj-engine/src/painless.rs"
+},
+{
+"set": "C_identifier",
+"q": "run_reverse_nested",
+"gt": "crates/xerj-engine/src/aggs.rs"
+},
+{
+"set": "C_identifier",
+"q": "without_a_workbook_part_worksheets_are_read_in_numeric_order",
+"gt": "crates/xerj-autoindex/src/extract/xlsx.rs"
+},
+{
+"set": "C_identifier",
+"q": "published_schemas_match_the_server_exactly",
+"gt": "crates/xerj-mcp/tests/published_schema_drift.rs"
+},
+{
+"set": "C_identifier",
+"q": "prefix_keyword_case_is_flush_invariant",
+"gt": "crates/xerj-engine/tests/prefix_keyword_case_flush_parity.rs"
+},
+{
+"set": "C_identifier",
+"q": "batch_limits_split_the_stream_instead_of_dropping_it",
+"gt": "crates/xerj-engine/tests/wal_tap_push.rs"
+},
+{
+"set": "C_identifier",
+"q": "write_one_frame_recovered",
+"gt": "crates/xerj-storage/src/wal.rs"
+},
+{
+"set": "C_identifier",
+"q": "hash_all_field_names_recurses_into_array_elements",
+"gt": "crates/xerj-engine/src/index.rs"
+},
+{
+"set": "C_identifier",
+"q": "hybrid_keeps_lexical_only_indices_in_the_bm25_leg",
+"gt": "crates/xerj-common/src/xccode/mod.rs"
+},
+{
+"set": "C_identifier",
+"q": "live_and_deleted",
+"gt": "crates/xerj-api/tests/cat_common_params_and_real_segments.rs"
+},
+{
+"set": "C_identifier",
+"q": "is_public_path",
+"gt": "crates/xerj-api/src/hub_api.rs"
+},
+{
+"set": "C_identifier",
+"q": "aggregate_bytes_matches_full_recount_after_every_mutator",
+"gt": "crates/xerj-engine/src/memtable.rs"
+},
+{
+"set": "C_identifier",
+"q": "decode_unique_durable_json",
+"gt": "crates/xerj-autoindex/src/sync.rs"
+},
+{
+"set": "C_identifier",
+"q": "is_takeout_root",
+"gt": "crates/xerj-autoindex/src/walk.rs"
+},
+{
+"set": "C_identifier",
+"q": "read_search_fields",
+"gt": "crates/xerj-api/src/hub_api.rs"
+},
+{
+"set": "C_identifier",
+"q": "swift_var_is_static_not_const",
+"gt": "crates/xerj-autoindex/src/extract/code.rs"
+},
+{
+"set": "C_identifier",
+"q": "encode_block_freqs",
+"gt": "crates/xerj-fts/src/postings.rs"
+},
+{
+"set": "C_identifier",
+"q": "index_documents_batched",
+"gt": "crates/xerj-engine/src/index.rs"
+},
+{
+"set": "C_identifier",
+"q": "string_param_cannot_inject_query_structure",
+"gt": "crates/xerj-api/src/es_compat.rs"
+},
+{
+"set": "C_identifier",
+"q": "free_port_search_skips_a_busy_triple",
+"gt": "crates/xerj-hub/src/node.rs"
+},
+{
+"set": "C_identifier",
+"q": "by_query_matches_anything",
+"gt": "crates/xerj-api/src/es_compat.rs"
+},
+{
+"set": "C_identifier",
+"q": "for_this_os",
+"gt": "crates/xerj-hub/src/sync.rs"
+},
+{
+"set": "C_identifier",
+"q": "local_directory_is_adopted_into_an_empty_bucket",
+"gt": "crates/xerj-storage/src/index_store.rs"
+},
+{
+"set": "C_identifier",
+"q": "durable_dataset_stats",
+"gt": "crates/xerj-autoindex/src/lib.rs"
+},
+{
+"set": "C_identifier",
+"q": "the_operator_tier_is_owner_and_admin",
+"gt": "crates/xerj-console-api/tests/console_graph_read.rs"
+},
+{
+"set": "C_identifier",
+"q": "bootstrap_replay_accepts_only_exact_empty_genesis",
+"gt": "crates/xerj-autoindex/src/sync.rs"
+},
+{
+"set": "C_identifier",
+"q": "hubpack_state_carries_source_pin_and_licence_and_pins_the_build",
+"gt": "crates/xerj-common/src/xccode/state.rs"
+},
+{
+"set": "C_identifier",
+"q": "prune_drops_only_the_clauses_a_segment_cannot_serve",
+"gt": "crates/xerj-engine/src/index.rs"
+},
+{
+"set": "C_identifier",
+"q": "sweep_expired_async_searches",
+"gt": "crates/xerj-engine/src/engine.rs"
+},
+{
+"set": "C_identifier",
+"q": "worker_stack_actually_exceeds_the_2mib_default",
+"gt": "crates/xerj-server/src/main.rs"
+},
+{
+"set": "C_identifier",
+"q": "object_store_read_path_hydrates_the_whole_family",
+"gt": "crates/xerj-storage/src/index_store.rs"
+},
+{
+"set": "C_identifier",
+"q": "run_matrix_stats",
+"gt": "crates/xerj-engine/src/aggs.rs"
+},
+{
+"set": "C_identifier",
+"q": "the_auto_id_and_create_endpoints_enforce_the_same_rules",
+"gt": "crates/xerj-api/tests/numeric_fields_enforce_their_type.rs"
+},
+{
+"set": "C_identifier",
+"q": "detection_watch_body",
+"gt": "crates/xerj-api/src/es_compat.rs"
+},
+{
+"set": "C_identifier",
+"q": "query_workbench_datasources_is_an_honest_empty_list_not_404",
+"gt": "crates/xerj-api/src/es_compat.rs"
+},
+{
+"set": "C_identifier",
+"q": "run_ip_range",
+"gt": "crates/xerj-engine/src/aggs.rs"
+},
+{
+"set": "C_identifier",
+"q": "re_escalating_the_same_question_keeps_one_cached_answer",
+"gt": "crates/xerj-api/tests/decide_flywheel.rs"
+},
+{
+"set": "C_identifier",
+"q": "a_miss_on_a_real_prefix_stays_exit_zero_and_lists_the_others",
+"gt": "crates/xerj-autoindex/src/search.rs"
+},
+{
+"set": "C_identifier",
+"q": "a_per_item_429_on_a_data_bulk_is_resent_and_the_run_completes",
+"gt": "crates/xerj-autoindex/src/failure_resume_http_tests.rs"
+},
+{
+"set": "C_identifier",
+"q": "build_sort_shadow",
+"gt": "crates/xerj-engine/src/index.rs"
+},
+{
+"set": "C_identifier",
+"q": "auto_date_pick_interval",
+"gt": "crates/xerj-engine/src/aggs.rs"
+},
+{
+"set": "C_identifier",
+"q": "the_identity_probe_still_blames_the_capability_for_a_non_auth_failure",
+"gt": "crates/xerj-autoindex/src/esclient.rs"
+},
+{
+"set": "C_identifier",
+"q": "lexical_passage_never_uses_a_field_the_query_did_not_target",
+"gt": "crates/xerj-engine/src/index.rs"
+},
+{
+"set": "C_identifier",
+"q": "qs_resolve_bound",
+"gt": "crates/xerj-query/src/parser.rs"
+},
+{
+"set": "C_identifier",
+"q": "run_multi_terms",
+"gt": "crates/xerj-engine/src/aggs.rs"
+},
+{
+"set": "C_identifier",
+"q": "unfiltered_exact_scan_never_parses_stored_documents",
+"gt": "crates/xerj-engine/src/index.rs"
+},
+{
+"set": "C_identifier",
+"q": "empty_finish_produces_no_bytes",
+"gt": "crates/xerj-compress/src/block.rs"
+},
+{
+"set": "C_identifier",
+"q": "single_should_bool",
+"gt": "crates/xerj-engine/src/index.rs"
+},
+{
+"set": "C_identifier",
+"q": "week_and_ordinal_dates_resolve_to_the_right_instant",
+"gt": "crates/xerj-query/src/dates.rs"
+},
+{
+"set": "C_identifier",
+"q": "cat_pending_tasks",
+"gt": "crates/xerj-api/src/es_compat.rs"
+},
+{
+"set": "C_identifier",
+"q": "scores_are_descending",
+"gt": "crates/xerj-vector/src/search.rs"
+},
+{
+"set": "C_identifier",
+"q": "error_policy_split_matches_the_documented_rule",
+"gt": "crates/xerj-rerank/src/lib.rs"
+},
+{
+"set": "C_identifier",
+"q": "instruction_wording_does_not_change_the_answer",
+"gt": "crates/xerj-api/tests/systemone_http.rs"
+},
+{
+"set": "C_identifier",
+"q": "multivalued_numeric_metric_aggs_use_all_values",
+"gt": "crates/xerj-engine/src/aggs.rs"
+},
+{
+"set": "C_identifier",
+"q": "collect_array_values",
+"gt": "crates/xerj-engine/src/memtable.rs"
+},
+{
+"set": "C_identifier",
+"q": "a_slash_ending_an_unquoted_attribute_value_does_not_read_as_self_closing",
+"gt": "crates/xerj-autoindex/src/extract/html.rs"
+},
+{
+"set": "C_identifier",
+"q": "grok_nginx_combined",
+"gt": "crates/xerj-wasm/src/builtins.rs"
+},
+{
+"set": "C_identifier",
+"q": "exec_auto_date_histogram",
+"gt": "crates/xerj-engine/src/fast_aggs.rs"
+},
+{
+"set": "C_identifier",
+"q": "threshold_can_be_updated",
+"gt": "crates/xerj-engine/src/slow_query.rs"
+},
+{
+"set": "C_identifier",
+"q": "a_semantic_clause_that_never_reached_the_vector_is_still_flagged",
+"gt": "crates/xerj-api/src/es_compat.rs"
+},
+{
+"set": "C_identifier",
+"q": "tls_listener_exposes_the_real_peer_not_the_header",
+"gt": "crates/xerj-server/src/main.rs"
+},
+{
+"set": "C_identifier",
+"q": "parse_span_term",
+"gt": "crates/xerj-query/src/parser.rs"
+},
+{
+"set": "C_identifier",
+"q": "chunk_vectors_are_per_passage_and_pool_consistently",
+"gt": "crates/xerj-engine/src/index.rs"
+},
+{
+"set": "C_identifier",
+"q": "unlink_recovery_markers",
+"gt": "crates/xerj-storage/src/index_store.rs"
+},
+{
+"set": "C_identifier",
+"q": "exponential_call_tree_is_bounded_not_a_hang",
+"gt": "crates/xerj-engine/src/painless.rs"
+},
+{
+"set": "C_identifier",
+"q": "the_guest_script_never_parses_document_text_as_markup",
+"gt": "crates/xerj-console-api/src/spa.rs"
+},
+{
+"set": "C_identifier",
+"q": "glob_matches_star_and_exact",
+"gt": "crates/xerj-api/src/ask_api.rs"
+},
+{
+"set": "C_identifier",
+"q": "parse_and_expr",
+"gt": "crates/xerj-engine/src/sql.rs"
+},
+{
+"set": "C_identifier",
+"q": "invalid_mcp_json_is_left_alone",
+"gt": "crates/xerj-autoindex/src/init.rs"
+},
+{
+"set": "C_identifier",
+"q": "a_rare_term_outweighs_a_term_every_document_shares",
+"gt": "crates/xerj-rerank/src/judge.rs"
+},
+{
+"set": "C_identifier",
+"q": "querying_a_field_with_no_postings_and_no_doc_values_is_rejected",
+"gt": "crates/xerj-api/tests/index_false_is_honoured.rs"
+},
+{
+"set": "C_identifier",
+"q": "separator_lines_from_real_writers_are_recognised",
+"gt": "crates/xerj-autoindex/src/extract/mbox.rs"
+},
+{
+"set": "C_identifier",
+"q": "xerj_console_auth_module_is_bundled",
+"gt": "crates/xerj-console-api/tests/spa_assets.rs"
+},
+{
+"set": "C_identifier",
+"q": "mode_is_how_for_prose_and_flags_force_the_rest",
+"gt": "crates/xerj-hub/src/ask.rs"
+},
+{
+"set": "C_identifier",
+"q": "elastic_caller_gets_no_empty_warning_header",
+"gt": "crates/xerj-api/src/router.rs"
+},
+{
+"set": "C_identifier",
+"q": "run_median_absolute_deviation",
+"gt": "crates/xerj-engine/src/aggs.rs"
+},
+{
+"set": "C_identifier",
+"q": "isotonic_interpolates_and_clamps",
+"gt": "crates/xerj-common/src/calibration.rs"
+},
+{
+"set": "C_identifier",
+"q": "seg_with_cols",
+"gt": "crates/xerj-engine/src/fast_aggs.rs"
+},
+{
+"set": "C_identifier",
+"q": "this_endpoint_and_a_legacy_journal_keep_the_old_words",
+"gt": "crates/xerj-autoindex/src/lib.rs"
+},
+{
+"set": "C_identifier",
+"q": "provenance_contract_changes_only_upsert_ax_run",
+"gt": "crates/xerj-autoindex/src/generation_catalog.rs"
+},
+{
+"set": "C_identifier",
+"q": "empty_bucket_is_refused_with_the_shape_to_type",
+"gt": "crates/xerj-autoindex/src/source.rs"
+},
+{
+"set": "C_identifier",
+"q": "count_tries_env_defaults_are_the_scripts_values",
+"gt": "crates/xerj-autoindex/src/xc.rs"
+},
+{
+"set": "C_identifier",
+"q": "describe_field_diff",
+"gt": "crates/xerj-autoindex/src/generation_catalog.rs"
+},
+{
+"set": "C_identifier",
+"q": "a_request_that_exhausts_its_retries_reports_all_of_them",
+"gt": "crates/xerj-autoindex/src/objsource_s3_tests.rs"
+},
+{
+"set": "C_identifier",
+"q": "status_empty_hub_says_no_packs",
+"gt": "crates/xerj-hub/src/lockfile.rs"
+},
+{
+"set": "C_identifier",
+"q": "watch_baselines_at_max_seq_no_existing_docs_do_not_fire",
+"gt": "crates/xerj-api/src/es_compat.rs"
+},
+{
+"set": "C_identifier",
+"q": "xferlog_lines_parse_to_fields",
+"gt": "crates/xerj-autoindex/src/extract/logs.rs"
+},
+{
+"set": "C_identifier",
+"q": "an_empty_catalog_keeps_the_autoindex_hint",
+"gt": "crates/xerj-autoindex/src/search.rs"
+},
+{
+"set": "C_identifier",
+"q": "every_old_pin_of_the_slug_goes_once_the_new_one_has_restored",
+"gt": "crates/xerj-hub/src/sync/tests.rs"
+},
+{
+"set": "C_identifier",
+"q": "new_segment_id",
+"gt": "crates/xerj-storage/src/segment.rs"
+},
+{
+"set": "C_identifier",
+"q": "residual_filter_still_excludes_nonmatching_docs",
+"gt": "crates/xerj-engine/tests/bool_filter_is_non_scoring.rs"
+},
+{
+"set": "C_identifier",
+"q": "c_const_and_file_scope",
+"gt": "crates/xerj-autoindex/src/extract/code.rs"
+},
+{
+"set": "C_identifier",
+"q": "a_two_field_projection_reads_differently_from_withholding_source",
+"gt": "crates/xerj-api/tests/savings_stat_is_honest.rs"
+},
+{
+"set": "C_identifier",
+"q": "admin_allows_all_on_all_indices",
+"gt": "crates/xerj-engine/src/rbac.rs"
+},
+{
+"set": "C_identifier",
+"q": "apply_get_doc_source_filter",
+"gt": "crates/xerj-api/src/es_compat.rs"
+},
+{
+"set": "C_identifier",
+"q": "run_scripted_metric",
+"gt": "crates/xerj-engine/src/aggs.rs"
+},
+{
+"set": "C_identifier",
+"q": "inject_bbq_rescore_defaults",
+"gt": "crates/xerj-api/src/es_compat.rs"
+},
+{
+"set": "C_identifier",
+"q": "pack_build_pull_def_roundtrip",
+"gt": "crates/xerj-hub/tests/pack_roundtrip.rs"
+},
+{
+"set": "C_identifier",
+"q": "decode_raw_payload",
+"gt": "crates/xerj-storage/src/stored_codec.rs"
+}
+]
\ No newline at end of file
diff --git a/benchmarks/search-exact-phrase/results/fix.json b/benchmarks/search-exact-phrase/results/fix.json
new file mode 100644
index 000000000..7d60db9d9
--- /dev/null
+++ b/benchmarks/search-exact-phrase/results/fix.json
@@ -0,0 +1,2130 @@
+{
+ "label": "fix",
+ "idx_x": 3,
+ "idx_x_s": 13.2,
+ "sets": {
+ "A_exact_string": {
+ "n": 100,
+ "r1": 91,
+ "top5": 95,
+ "top10": 95,
+ "err": 0
+ },
+ "B_words_of_symbol": {
+ "n": 100,
+ "r1": 15,
+ "top5": 32,
+ "top10": 38,
+ "err": 0
+ },
+ "C_identifier": {
+ "n": 100,
+ "r1": 92,
+ "top5": 92,
+ "top10": 92,
+ "err": 0
+ }
+ },
+ "rows": [
+ {
+ "set": "A_exact_string",
+ "q": "self entry carries roles",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "frozen plan lists a refused dataset twice, or both refuses and publishes one",
+ "gt": "crates/xerj-autoindex/src/reconcile_plan.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "same version as this client",
+ "gt": "crates/xerj-autoindex/src/sync_executor.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "only keys owned by the caller",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 3,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "unrelated key must not wait",
+ "gt": "crates/xerj-engine/src/write_publication.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "legacy state records no build",
+ "gt": "crates/xerj-autoindex/src/xc.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "short bound must bail",
+ "gt": "crates/xerj-engine/src/fast_aggs.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "first boot must mint a link",
+ "gt": "crates/xerj-console-api/tests/phase1_boot_and_cluster_info.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "a watch with no condition",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "only survivors are sent to the judge",
+ "gt": "crates/xerj-api/tests/rerank_stage_http.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "search is always real",
+ "gt": "crates/xerj-console-api/tests/knowledge_surface.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "credentials were not provided",
+ "gt": "crates/xerj-autoindex/src/objsource.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "an emptied slug directory is dropped too",
+ "gt": "crates/xerj-hub/src/sync/tests.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "key came from plan.files",
+ "gt": "crates/xerj-autoindex/src/lib.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "an ordinary corpus with nothing stranded says nothing",
+ "gt": "crates/xerj-autoindex/src/incremental_reconcile_http_tests.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "key must be stable across boots",
+ "gt": "crates/xerj-console-api/src/bootstrap.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "must remain searchable after a successful refresh",
+ "gt": "crates/xerj-api/tests/refresh_reports_flush_failure.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "Discover which hub corpora can answer a question. Returns candidate corpora",
+ "gt": "crates/xerj-mcp/src/hub.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "new doc should be created by create action",
+ "gt": "crates/xerj-engine/tests/es_compat_tests.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "the attempt loop returns on its final iteration",
+ "gt": "crates/xerj-autoindex/src/esclient.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "a freshly opened index must hold no WAL descriptors",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "partial must never broaden",
+ "gt": "crates/xerj-fts/src/search.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "is not a bare type name",
+ "gt": "crates/xerj-engine/tests/docs_capability_lists.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "no header row means no row is consumed",
+ "gt": "crates/xerj-autoindex/src/extract/html.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "keep the caller's existing window",
+ "gt": "crates/xerj-engine/src/code_blocks.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "a multipart ETag must not force a re-download",
+ "gt": "crates/xerj-autoindex/src/objsource_s3_tests.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "the data directory must be gone",
+ "gt": "crates/xerj-engine/tests/corrupt_index_metadata.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "age should be included",
+ "gt": "crates/xerj-engine/tests/integration.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "the prose line is body text of some record",
+ "gt": "crates/xerj-autoindex/src/detect/e2e_mail.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "AND all tokens present",
+ "gt": "crates/xerj-engine/tests/multi_match_flush_parity.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "public without a catalogue must be refused at boot",
+ "gt": "crates/xerj-common/src/config.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "urgent wire transfer from an unknown prince, act now",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "a graph left unpruned becomes densely clustered near the entry node",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "the live document must have moved on once the node loaded cleanly",
+ "gt": "crates/xerj-api/tests/cluster_metadata_survives_restart.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "nothing has been charged yet",
+ "gt": "crates/xerj-engine/src/painless.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "security.html still says the key is printed",
+ "gt": "crates/xerj-common/tests/admin_key_not_printed.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "segment should persist after reopen",
+ "gt": "crates/xerj-engine/tests/integration.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "the program that replaced the node must not be SIGKILLed",
+ "gt": "crates/xerj-hub/src/node.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "CPU-time probe support changed within one process",
+ "gt": "crates/xerj-server/src/ingest_memory_trace.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "predates embedding identity pinning",
+ "gt": "crates/xerj-autoindex/src/state.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "should plan at least one move",
+ "gt": "crates/xerj-cluster/tests/region_tests.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "first put is within budget",
+ "gt": "crates/xerj-storage/tests/s3_object_store.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "Must find payment-service errors",
+ "gt": "crates/xerj-engine/tests/product_experience.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "the ledger is written",
+ "gt": "crates/xerj-hub/tests/ask_flow.rs",
+ "rank": 4,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "Cumulative internal query-result cache hits across all indices",
+ "gt": "crates/xerj-common/src/metrics.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "all quarry blast events",
+ "gt": "crates/xerj-api/tests/ask_endpoint.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "remote alias can drift",
+ "gt": "crates/xerj-autoindex/src/state.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "field source must be dropped",
+ "gt": "crates/xerj-autoindex/src/extract/doc.rs",
+ "rank": 2,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "attachments are not replies",
+ "gt": "crates/xerj-autoindex/src/detect/emailthread.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "restore the removed file",
+ "gt": "crates/xerj-autoindex/src/lib.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "a dry run emits nothing",
+ "gt": "crates/xerj-autoindex/tests/objwatch_minio.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "restart must recover exactly once",
+ "gt": "crates/xerj-storage/src/index_store.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "HMAC accepts keys of any length",
+ "gt": "crates/xerj-cluster/src/auth.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "the log says the port was taken",
+ "gt": "crates/xerj-hub/src/node.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "obj must be included",
+ "gt": "crates/xerj-engine/tests/es_compat_tests.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "cannot decode stored section",
+ "gt": "crates/xerj-storage/src/index_store.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "mid-file-corrupt generation must be frozen, not appended to",
+ "gt": "crates/xerj-storage/src/wal.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "re-indexed doc must have the correct id",
+ "gt": "crates/xerj-engine/tests/es_compat_tests.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "profile document not found",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "Fanning out search to remote node",
+ "gt": "crates/xerj-cluster/src/coordinator.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "generated run summary query has no hits",
+ "gt": "crates/xerj-autoindex/src/lib.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "deleted rows must leave their bucket",
+ "gt": "crates/xerj-engine/tests/verify_window_terms_perf.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "the replayed document landed",
+ "gt": "crates/xerj-autoindex/src/incremental_reconcile_http_tests.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "both pages saved bytes",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "a crash mid-burst must not lose or duplicate documents",
+ "gt": "crates/xerj-autoindex/src/incremental_reconcile_http_tests.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "per-hit attribution is what lets the API layer re-sum over the page it really emits",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "bundle object not found",
+ "gt": "crates/xerj-storage/src/index_store.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "term score must be positive",
+ "gt": "crates/xerj-fts/src/search.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "is on main and ships",
+ "gt": "crates/xerj-engine/tests/docs_do_not_promise_the_next_release.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "both bulk docs must be immediately searchable",
+ "gt": "crates/xerj-engine/tests/es_compat_tests.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "kiwi AND lime OR plum",
+ "gt": "crates/xerj-query/src/parser.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "snapshot source byte overflow",
+ "gt": "crates/xerj-autoindex/src/sync_executor.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "not supported, denormalize the relationship",
+ "gt": "crates/xerj-query/src/parser.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "no segments exist pre-flush",
+ "gt": "crates/xerj-engine/tests/graph_expand.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "storage snapshot entry under root",
+ "gt": "crates/xerj-api/tests/cluster_metadata_survives_restart.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "ghosted rows must leave the filtered total",
+ "gt": "crates/xerj-engine/tests/verify_window_terms_perf.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "plan alias projection disagrees with manifest groups",
+ "gt": "crates/xerj-autoindex/src/sync.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "split the expression into smaller statements",
+ "gt": "crates/xerj-engine/src/painless.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "snapshot.json must be in the bucket the moment the flush returns",
+ "gt": "crates/xerj-storage/src/index_store.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "a clean definition replays",
+ "gt": "crates/xerj-wasm/src/pipeline.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "refund money back request",
+ "gt": "crates/xerj-api/tests/decide_flywheel.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "stored column exceeds declared row count",
+ "gt": "crates/xerj-storage/src/stored_codec/row_hydration.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "hash live malformed state",
+ "gt": "crates/xerj-api/tests/cluster_metadata_survives_restart.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "and nothing was fetched",
+ "gt": "crates/xerj-autoindex/src/objwatch/tests.rs",
+ "rank": 2,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "no second generation may be committed by the refused cross-path re-run",
+ "gt": "crates/xerj-autoindex/src/incremental_reconcile_http_tests.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "cluster auth secret rejected",
+ "gt": "crates/xerj-server/src/main.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "source snapshot footprint does not match its sealed artifacts",
+ "gt": "crates/xerj-autoindex/src/sync_executor.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "post-publication maintenance is deferred, not a flush error",
+ "gt": "crates/xerj-storage/src/index_store.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "how does chlorophyll drive photosynthesis in a chloroplast",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "the same query at two page sizes must not report two different shapes",
+ "gt": "crates/xerj-api/tests/savings_stat_is_honest.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "desired generation index identity disagrees with its frozen mappings",
+ "gt": "crates/xerj-autoindex/src/sync_executor.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "reversed phrase should not match",
+ "gt": "crates/xerj-fts/src/search.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "script source is required",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "Sort must contain at least one field.",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "no doc left un-incremented",
+ "gt": "crates/xerj-api/tests/update_by_query_updates_entire_index.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "every record landed once the node accepted the re-send",
+ "gt": "crates/xerj-autoindex/src/incremental_reconcile_http_tests.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "the line directly above",
+ "gt": "crates/xerj-autoindex/src/extract/code.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "a second opener must not pass the held preflight lock",
+ "gt": "crates/xerj-autoindex/src/state.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "async replication send failed",
+ "gt": "crates/xerj-cluster/src/replication.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "dead optional clause dropped",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "get rollup job",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 2,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "charged params read",
+ "gt": "crates/xerj-engine/src/painless.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "run reverse nested",
+ "gt": "crates/xerj-engine/src/aggs.rs",
+ "rank": 2,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "without a workbook part worksheets are read in numeric order",
+ "gt": "crates/xerj-autoindex/src/extract/xlsx.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "published schemas match the server exactly",
+ "gt": "crates/xerj-mcp/tests/published_schema_drift.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "prefix keyword case is flush invariant",
+ "gt": "crates/xerj-engine/tests/prefix_keyword_case_flush_parity.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "batch limits split the stream instead of dropping it",
+ "gt": "crates/xerj-engine/tests/wal_tap_push.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "write one frame recovered",
+ "gt": "crates/xerj-storage/src/wal.rs",
+ "rank": 4,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "hash all field names recurses into array elements",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "hybrid keeps lexical only indices in the bm25 leg",
+ "gt": "crates/xerj-common/src/xccode/mod.rs",
+ "rank": 3,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "live and deleted",
+ "gt": "crates/xerj-api/tests/cat_common_params_and_real_segments.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "is public path",
+ "gt": "crates/xerj-api/src/hub_api.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "aggregate bytes matches full recount after every mutator",
+ "gt": "crates/xerj-engine/src/memtable.rs",
+ "rank": 2,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "decode unique durable json",
+ "gt": "crates/xerj-autoindex/src/sync.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "is takeout root",
+ "gt": "crates/xerj-autoindex/src/walk.rs",
+ "rank": 3,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "read search fields",
+ "gt": "crates/xerj-api/src/hub_api.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "swift var is static not const",
+ "gt": "crates/xerj-autoindex/src/extract/code.rs",
+ "rank": 2,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "encode block freqs",
+ "gt": "crates/xerj-fts/src/postings.rs",
+ "rank": 2,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "index documents batched",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "string param cannot inject query structure",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 6,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "free port search skips a busy triple",
+ "gt": "crates/xerj-hub/src/node.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "by query matches anything",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "for this os",
+ "gt": "crates/xerj-hub/src/sync.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "local directory is adopted into an empty bucket",
+ "gt": "crates/xerj-storage/src/index_store.rs",
+ "rank": 4,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "durable dataset stats",
+ "gt": "crates/xerj-autoindex/src/lib.rs",
+ "rank": 8,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "the operator tier is owner and admin",
+ "gt": "crates/xerj-console-api/tests/console_graph_read.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "bootstrap replay accepts only exact empty genesis",
+ "gt": "crates/xerj-autoindex/src/sync.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "hubpack state carries source pin and licence and pins the build",
+ "gt": "crates/xerj-common/src/xccode/state.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "prune drops only the clauses a segment cannot serve",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "sweep expired async searches",
+ "gt": "crates/xerj-engine/src/engine.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "worker stack actually exceeds the 2mib default",
+ "gt": "crates/xerj-server/src/main.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "object store read path hydrates the whole family",
+ "gt": "crates/xerj-storage/src/index_store.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "run matrix stats",
+ "gt": "crates/xerj-engine/src/aggs.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "the auto id and create endpoints enforce the same rules",
+ "gt": "crates/xerj-api/tests/numeric_fields_enforce_their_type.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "detection watch body",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "query workbench datasources is an honest empty list not 404",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 4,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "run ip range",
+ "gt": "crates/xerj-engine/src/aggs.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "re escalating the same question keeps one cached answer",
+ "gt": "crates/xerj-api/tests/decide_flywheel.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "a miss on a real prefix stays exit zero and lists the others",
+ "gt": "crates/xerj-autoindex/src/search.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "a per item 429 on a data bulk is resent and the run completes",
+ "gt": "crates/xerj-autoindex/src/failure_resume_http_tests.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "build sort shadow",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "auto date pick interval",
+ "gt": "crates/xerj-engine/src/aggs.rs",
+ "rank": 7,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "the identity probe still blames the capability for a non auth failure",
+ "gt": "crates/xerj-autoindex/src/esclient.rs",
+ "rank": 3,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "lexical passage never uses a field the query did not target",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "qs resolve bound",
+ "gt": "crates/xerj-query/src/parser.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "run multi terms",
+ "gt": "crates/xerj-engine/src/aggs.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "unfiltered exact scan never parses stored documents",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "empty finish produces no bytes",
+ "gt": "crates/xerj-compress/src/block.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "single should bool",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "week and ordinal dates resolve to the right instant",
+ "gt": "crates/xerj-query/src/dates.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "cat pending tasks",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "scores are descending",
+ "gt": "crates/xerj-vector/src/search.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "error policy split matches the documented rule",
+ "gt": "crates/xerj-rerank/src/lib.rs",
+ "rank": 3,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "instruction wording does not change the answer",
+ "gt": "crates/xerj-api/tests/systemone_http.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "multivalued numeric metric aggs use all values",
+ "gt": "crates/xerj-engine/src/aggs.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "collect array values",
+ "gt": "crates/xerj-engine/src/memtable.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "a slash ending an unquoted attribute value does not read as self closing",
+ "gt": "crates/xerj-autoindex/src/extract/html.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "grok nginx combined",
+ "gt": "crates/xerj-wasm/src/builtins.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "exec auto date histogram",
+ "gt": "crates/xerj-engine/src/fast_aggs.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "threshold can be updated",
+ "gt": "crates/xerj-engine/src/slow_query.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "a semantic clause that never reached the vector is still flagged",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 6,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "tls listener exposes the real peer not the header",
+ "gt": "crates/xerj-server/src/main.rs",
+ "rank": 5,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "parse span term",
+ "gt": "crates/xerj-query/src/parser.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "chunk vectors are per passage and pool consistently",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "unlink recovery markers",
+ "gt": "crates/xerj-storage/src/index_store.rs",
+ "rank": 3,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "exponential call tree is bounded not a hang",
+ "gt": "crates/xerj-engine/src/painless.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "the guest script never parses document text as markup",
+ "gt": "crates/xerj-console-api/src/spa.rs",
+ "rank": 5,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "glob matches star and exact",
+ "gt": "crates/xerj-api/src/ask_api.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "parse and expr",
+ "gt": "crates/xerj-engine/src/sql.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "invalid mcp json is left alone",
+ "gt": "crates/xerj-autoindex/src/init.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "a rare term outweighs a term every document shares",
+ "gt": "crates/xerj-rerank/src/judge.rs",
+ "rank": 6,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "querying a field with no postings and no doc values is rejected",
+ "gt": "crates/xerj-api/tests/index_false_is_honoured.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "separator lines from real writers are recognised",
+ "gt": "crates/xerj-autoindex/src/extract/mbox.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "xerj console auth module is bundled",
+ "gt": "crates/xerj-console-api/tests/spa_assets.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "mode is how for prose and flags force the rest",
+ "gt": "crates/xerj-hub/src/ask.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "elastic caller gets no empty warning header",
+ "gt": "crates/xerj-api/src/router.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "run median absolute deviation",
+ "gt": "crates/xerj-engine/src/aggs.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "isotonic interpolates and clamps",
+ "gt": "crates/xerj-common/src/calibration.rs",
+ "rank": 2,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "seg with cols",
+ "gt": "crates/xerj-engine/src/fast_aggs.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "this endpoint and a legacy journal keep the old words",
+ "gt": "crates/xerj-autoindex/src/lib.rs",
+ "rank": 6,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "provenance contract changes only upsert ax run",
+ "gt": "crates/xerj-autoindex/src/generation_catalog.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "empty bucket is refused with the shape to type",
+ "gt": "crates/xerj-autoindex/src/source.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "count tries env defaults are the scripts values",
+ "gt": "crates/xerj-autoindex/src/xc.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "describe field diff",
+ "gt": "crates/xerj-autoindex/src/generation_catalog.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "a request that exhausts its retries reports all of them",
+ "gt": "crates/xerj-autoindex/src/objsource_s3_tests.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "status empty hub says no packs",
+ "gt": "crates/xerj-hub/src/lockfile.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "watch baselines at max seq no existing docs do not fire",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "xferlog lines parse to fields",
+ "gt": "crates/xerj-autoindex/src/extract/logs.rs",
+ "rank": 5,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "an empty catalog keeps the autoindex hint",
+ "gt": "crates/xerj-autoindex/src/search.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "every old pin of the slug goes once the new one has restored",
+ "gt": "crates/xerj-hub/src/sync/tests.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "new segment id",
+ "gt": "crates/xerj-storage/src/segment.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "residual filter still excludes nonmatching docs",
+ "gt": "crates/xerj-engine/tests/bool_filter_is_non_scoring.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "c const and file scope",
+ "gt": "crates/xerj-autoindex/src/extract/code.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "a two field projection reads differently from withholding source",
+ "gt": "crates/xerj-api/tests/savings_stat_is_honest.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "admin allows all on all indices",
+ "gt": "crates/xerj-engine/src/rbac.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "apply get doc source filter",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "run scripted metric",
+ "gt": "crates/xerj-engine/src/aggs.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "inject bbq rescore defaults",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "pack build pull def roundtrip",
+ "gt": "crates/xerj-hub/tests/pack_roundtrip.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "decode raw payload",
+ "gt": "crates/xerj-storage/src/stored_codec.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "get_rollup_job",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "charged_params_read",
+ "gt": "crates/xerj-engine/src/painless.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "run_reverse_nested",
+ "gt": "crates/xerj-engine/src/aggs.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "without_a_workbook_part_worksheets_are_read_in_numeric_order",
+ "gt": "crates/xerj-autoindex/src/extract/xlsx.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "published_schemas_match_the_server_exactly",
+ "gt": "crates/xerj-mcp/tests/published_schema_drift.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "prefix_keyword_case_is_flush_invariant",
+ "gt": "crates/xerj-engine/tests/prefix_keyword_case_flush_parity.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "batch_limits_split_the_stream_instead_of_dropping_it",
+ "gt": "crates/xerj-engine/tests/wal_tap_push.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "write_one_frame_recovered",
+ "gt": "crates/xerj-storage/src/wal.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "hash_all_field_names_recurses_into_array_elements",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "hybrid_keeps_lexical_only_indices_in_the_bm25_leg",
+ "gt": "crates/xerj-common/src/xccode/mod.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "live_and_deleted",
+ "gt": "crates/xerj-api/tests/cat_common_params_and_real_segments.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "is_public_path",
+ "gt": "crates/xerj-api/src/hub_api.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "aggregate_bytes_matches_full_recount_after_every_mutator",
+ "gt": "crates/xerj-engine/src/memtable.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "decode_unique_durable_json",
+ "gt": "crates/xerj-autoindex/src/sync.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "is_takeout_root",
+ "gt": "crates/xerj-autoindex/src/walk.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "read_search_fields",
+ "gt": "crates/xerj-api/src/hub_api.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "swift_var_is_static_not_const",
+ "gt": "crates/xerj-autoindex/src/extract/code.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "encode_block_freqs",
+ "gt": "crates/xerj-fts/src/postings.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "index_documents_batched",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "string_param_cannot_inject_query_structure",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "free_port_search_skips_a_busy_triple",
+ "gt": "crates/xerj-hub/src/node.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "by_query_matches_anything",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "for_this_os",
+ "gt": "crates/xerj-hub/src/sync.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "local_directory_is_adopted_into_an_empty_bucket",
+ "gt": "crates/xerj-storage/src/index_store.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "durable_dataset_stats",
+ "gt": "crates/xerj-autoindex/src/lib.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "the_operator_tier_is_owner_and_admin",
+ "gt": "crates/xerj-console-api/tests/console_graph_read.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "bootstrap_replay_accepts_only_exact_empty_genesis",
+ "gt": "crates/xerj-autoindex/src/sync.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "hubpack_state_carries_source_pin_and_licence_and_pins_the_build",
+ "gt": "crates/xerj-common/src/xccode/state.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "prune_drops_only_the_clauses_a_segment_cannot_serve",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "sweep_expired_async_searches",
+ "gt": "crates/xerj-engine/src/engine.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "worker_stack_actually_exceeds_the_2mib_default",
+ "gt": "crates/xerj-server/src/main.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "object_store_read_path_hydrates_the_whole_family",
+ "gt": "crates/xerj-storage/src/index_store.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "run_matrix_stats",
+ "gt": "crates/xerj-engine/src/aggs.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "the_auto_id_and_create_endpoints_enforce_the_same_rules",
+ "gt": "crates/xerj-api/tests/numeric_fields_enforce_their_type.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "detection_watch_body",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "query_workbench_datasources_is_an_honest_empty_list_not_404",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "run_ip_range",
+ "gt": "crates/xerj-engine/src/aggs.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "re_escalating_the_same_question_keeps_one_cached_answer",
+ "gt": "crates/xerj-api/tests/decide_flywheel.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "a_miss_on_a_real_prefix_stays_exit_zero_and_lists_the_others",
+ "gt": "crates/xerj-autoindex/src/search.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "a_per_item_429_on_a_data_bulk_is_resent_and_the_run_completes",
+ "gt": "crates/xerj-autoindex/src/failure_resume_http_tests.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "build_sort_shadow",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "auto_date_pick_interval",
+ "gt": "crates/xerj-engine/src/aggs.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "the_identity_probe_still_blames_the_capability_for_a_non_auth_failure",
+ "gt": "crates/xerj-autoindex/src/esclient.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "lexical_passage_never_uses_a_field_the_query_did_not_target",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "qs_resolve_bound",
+ "gt": "crates/xerj-query/src/parser.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "run_multi_terms",
+ "gt": "crates/xerj-engine/src/aggs.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "unfiltered_exact_scan_never_parses_stored_documents",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "empty_finish_produces_no_bytes",
+ "gt": "crates/xerj-compress/src/block.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "single_should_bool",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "week_and_ordinal_dates_resolve_to_the_right_instant",
+ "gt": "crates/xerj-query/src/dates.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "cat_pending_tasks",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "scores_are_descending",
+ "gt": "crates/xerj-vector/src/search.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "error_policy_split_matches_the_documented_rule",
+ "gt": "crates/xerj-rerank/src/lib.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "instruction_wording_does_not_change_the_answer",
+ "gt": "crates/xerj-api/tests/systemone_http.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "multivalued_numeric_metric_aggs_use_all_values",
+ "gt": "crates/xerj-engine/src/aggs.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "collect_array_values",
+ "gt": "crates/xerj-engine/src/memtable.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "a_slash_ending_an_unquoted_attribute_value_does_not_read_as_self_closing",
+ "gt": "crates/xerj-autoindex/src/extract/html.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "grok_nginx_combined",
+ "gt": "crates/xerj-wasm/src/builtins.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "exec_auto_date_histogram",
+ "gt": "crates/xerj-engine/src/fast_aggs.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "threshold_can_be_updated",
+ "gt": "crates/xerj-engine/src/slow_query.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "a_semantic_clause_that_never_reached_the_vector_is_still_flagged",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "tls_listener_exposes_the_real_peer_not_the_header",
+ "gt": "crates/xerj-server/src/main.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "parse_span_term",
+ "gt": "crates/xerj-query/src/parser.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "chunk_vectors_are_per_passage_and_pool_consistently",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "unlink_recovery_markers",
+ "gt": "crates/xerj-storage/src/index_store.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "exponential_call_tree_is_bounded_not_a_hang",
+ "gt": "crates/xerj-engine/src/painless.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "the_guest_script_never_parses_document_text_as_markup",
+ "gt": "crates/xerj-console-api/src/spa.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "glob_matches_star_and_exact",
+ "gt": "crates/xerj-api/src/ask_api.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "parse_and_expr",
+ "gt": "crates/xerj-engine/src/sql.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "invalid_mcp_json_is_left_alone",
+ "gt": "crates/xerj-autoindex/src/init.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "a_rare_term_outweighs_a_term_every_document_shares",
+ "gt": "crates/xerj-rerank/src/judge.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "querying_a_field_with_no_postings_and_no_doc_values_is_rejected",
+ "gt": "crates/xerj-api/tests/index_false_is_honoured.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "separator_lines_from_real_writers_are_recognised",
+ "gt": "crates/xerj-autoindex/src/extract/mbox.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "xerj_console_auth_module_is_bundled",
+ "gt": "crates/xerj-console-api/tests/spa_assets.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "mode_is_how_for_prose_and_flags_force_the_rest",
+ "gt": "crates/xerj-hub/src/ask.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "elastic_caller_gets_no_empty_warning_header",
+ "gt": "crates/xerj-api/src/router.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "run_median_absolute_deviation",
+ "gt": "crates/xerj-engine/src/aggs.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "isotonic_interpolates_and_clamps",
+ "gt": "crates/xerj-common/src/calibration.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "seg_with_cols",
+ "gt": "crates/xerj-engine/src/fast_aggs.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "this_endpoint_and_a_legacy_journal_keep_the_old_words",
+ "gt": "crates/xerj-autoindex/src/lib.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "provenance_contract_changes_only_upsert_ax_run",
+ "gt": "crates/xerj-autoindex/src/generation_catalog.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "empty_bucket_is_refused_with_the_shape_to_type",
+ "gt": "crates/xerj-autoindex/src/source.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "count_tries_env_defaults_are_the_scripts_values",
+ "gt": "crates/xerj-autoindex/src/xc.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "describe_field_diff",
+ "gt": "crates/xerj-autoindex/src/generation_catalog.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "a_request_that_exhausts_its_retries_reports_all_of_them",
+ "gt": "crates/xerj-autoindex/src/objsource_s3_tests.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "status_empty_hub_says_no_packs",
+ "gt": "crates/xerj-hub/src/lockfile.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "watch_baselines_at_max_seq_no_existing_docs_do_not_fire",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "xferlog_lines_parse_to_fields",
+ "gt": "crates/xerj-autoindex/src/extract/logs.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "an_empty_catalog_keeps_the_autoindex_hint",
+ "gt": "crates/xerj-autoindex/src/search.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "every_old_pin_of_the_slug_goes_once_the_new_one_has_restored",
+ "gt": "crates/xerj-hub/src/sync/tests.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "new_segment_id",
+ "gt": "crates/xerj-storage/src/segment.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "residual_filter_still_excludes_nonmatching_docs",
+ "gt": "crates/xerj-engine/tests/bool_filter_is_non_scoring.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "c_const_and_file_scope",
+ "gt": "crates/xerj-autoindex/src/extract/code.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "a_two_field_projection_reads_differently_from_withholding_source",
+ "gt": "crates/xerj-api/tests/savings_stat_is_honest.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "admin_allows_all_on_all_indices",
+ "gt": "crates/xerj-engine/src/rbac.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "apply_get_doc_source_filter",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "run_scripted_metric",
+ "gt": "crates/xerj-engine/src/aggs.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "inject_bbq_rescore_defaults",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "pack_build_pull_def_roundtrip",
+ "gt": "crates/xerj-hub/tests/pack_roundtrip.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "decode_raw_payload",
+ "gt": "crates/xerj-storage/src/stored_codec.rs",
+ "rank": 1,
+ "err": null
+ }
+ ]
+}
\ No newline at end of file
diff --git a/benchmarks/search-exact-phrase/results/main.json b/benchmarks/search-exact-phrase/results/main.json
new file mode 100644
index 000000000..8358055b0
--- /dev/null
+++ b/benchmarks/search-exact-phrase/results/main.json
@@ -0,0 +1,2130 @@
+{
+ "label": "main",
+ "idx_x": 3,
+ "idx_x_s": 13.2,
+ "sets": {
+ "A_exact_string": {
+ "n": 100,
+ "r1": 16,
+ "top5": 36,
+ "top10": 45,
+ "err": 0
+ },
+ "B_words_of_symbol": {
+ "n": 100,
+ "r1": 13,
+ "top5": 31,
+ "top10": 36,
+ "err": 0
+ },
+ "C_identifier": {
+ "n": 100,
+ "r1": 92,
+ "top5": 92,
+ "top10": 92,
+ "err": 0
+ }
+ },
+ "rows": [
+ {
+ "set": "A_exact_string",
+ "q": "self entry carries roles",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 4,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "frozen plan lists a refused dataset twice, or both refuses and publishes one",
+ "gt": "crates/xerj-autoindex/src/reconcile_plan.rs",
+ "rank": 4,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "same version as this client",
+ "gt": "crates/xerj-autoindex/src/sync_executor.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "only keys owned by the caller",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "unrelated key must not wait",
+ "gt": "crates/xerj-engine/src/write_publication.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "legacy state records no build",
+ "gt": "crates/xerj-autoindex/src/xc.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "short bound must bail",
+ "gt": "crates/xerj-engine/src/fast_aggs.rs",
+ "rank": 7,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "first boot must mint a link",
+ "gt": "crates/xerj-console-api/tests/phase1_boot_and_cluster_info.rs",
+ "rank": 2,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "a watch with no condition",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "only survivors are sent to the judge",
+ "gt": "crates/xerj-api/tests/rerank_stage_http.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "search is always real",
+ "gt": "crates/xerj-console-api/tests/knowledge_surface.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "credentials were not provided",
+ "gt": "crates/xerj-autoindex/src/objsource.rs",
+ "rank": 4,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "an emptied slug directory is dropped too",
+ "gt": "crates/xerj-hub/src/sync/tests.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "key came from plan.files",
+ "gt": "crates/xerj-autoindex/src/lib.rs",
+ "rank": 9,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "an ordinary corpus with nothing stranded says nothing",
+ "gt": "crates/xerj-autoindex/src/incremental_reconcile_http_tests.rs",
+ "rank": 9,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "key must be stable across boots",
+ "gt": "crates/xerj-console-api/src/bootstrap.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "must remain searchable after a successful refresh",
+ "gt": "crates/xerj-api/tests/refresh_reports_flush_failure.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "Discover which hub corpora can answer a question. Returns candidate corpora",
+ "gt": "crates/xerj-mcp/src/hub.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "new doc should be created by create action",
+ "gt": "crates/xerj-engine/tests/es_compat_tests.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "the attempt loop returns on its final iteration",
+ "gt": "crates/xerj-autoindex/src/esclient.rs",
+ "rank": 4,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "a freshly opened index must hold no WAL descriptors",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "partial must never broaden",
+ "gt": "crates/xerj-fts/src/search.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "is not a bare type name",
+ "gt": "crates/xerj-engine/tests/docs_capability_lists.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "no header row means no row is consumed",
+ "gt": "crates/xerj-autoindex/src/extract/html.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "keep the caller's existing window",
+ "gt": "crates/xerj-engine/src/code_blocks.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "a multipart ETag must not force a re-download",
+ "gt": "crates/xerj-autoindex/src/objsource_s3_tests.rs",
+ "rank": 2,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "the data directory must be gone",
+ "gt": "crates/xerj-engine/tests/corrupt_index_metadata.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "age should be included",
+ "gt": "crates/xerj-engine/tests/integration.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "the prose line is body text of some record",
+ "gt": "crates/xerj-autoindex/src/detect/e2e_mail.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "AND all tokens present",
+ "gt": "crates/xerj-engine/tests/multi_match_flush_parity.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "public without a catalogue must be refused at boot",
+ "gt": "crates/xerj-common/src/config.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "urgent wire transfer from an unknown prince, act now",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "a graph left unpruned becomes densely clustered near the entry node",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "the live document must have moved on once the node loaded cleanly",
+ "gt": "crates/xerj-api/tests/cluster_metadata_survives_restart.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "nothing has been charged yet",
+ "gt": "crates/xerj-engine/src/painless.rs",
+ "rank": 4,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "security.html still says the key is printed",
+ "gt": "crates/xerj-common/tests/admin_key_not_printed.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "segment should persist after reopen",
+ "gt": "crates/xerj-engine/tests/integration.rs",
+ "rank": 5,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "the program that replaced the node must not be SIGKILLed",
+ "gt": "crates/xerj-hub/src/node.rs",
+ "rank": 4,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "CPU-time probe support changed within one process",
+ "gt": "crates/xerj-server/src/ingest_memory_trace.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "predates embedding identity pinning",
+ "gt": "crates/xerj-autoindex/src/state.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "should plan at least one move",
+ "gt": "crates/xerj-cluster/tests/region_tests.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "first put is within budget",
+ "gt": "crates/xerj-storage/tests/s3_object_store.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "Must find payment-service errors",
+ "gt": "crates/xerj-engine/tests/product_experience.rs",
+ "rank": 7,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "the ledger is written",
+ "gt": "crates/xerj-hub/tests/ask_flow.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "Cumulative internal query-result cache hits across all indices",
+ "gt": "crates/xerj-common/src/metrics.rs",
+ "rank": 10,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "all quarry blast events",
+ "gt": "crates/xerj-api/tests/ask_endpoint.rs",
+ "rank": 2,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "remote alias can drift",
+ "gt": "crates/xerj-autoindex/src/state.rs",
+ "rank": 6,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "field source must be dropped",
+ "gt": "crates/xerj-autoindex/src/extract/doc.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "attachments are not replies",
+ "gt": "crates/xerj-autoindex/src/detect/emailthread.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "restore the removed file",
+ "gt": "crates/xerj-autoindex/src/lib.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "a dry run emits nothing",
+ "gt": "crates/xerj-autoindex/tests/objwatch_minio.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "restart must recover exactly once",
+ "gt": "crates/xerj-storage/src/index_store.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "HMAC accepts keys of any length",
+ "gt": "crates/xerj-cluster/src/auth.rs",
+ "rank": 5,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "the log says the port was taken",
+ "gt": "crates/xerj-hub/src/node.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "obj must be included",
+ "gt": "crates/xerj-engine/tests/es_compat_tests.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "cannot decode stored section",
+ "gt": "crates/xerj-storage/src/index_store.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "mid-file-corrupt generation must be frozen, not appended to",
+ "gt": "crates/xerj-storage/src/wal.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "re-indexed doc must have the correct id",
+ "gt": "crates/xerj-engine/tests/es_compat_tests.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "profile document not found",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "Fanning out search to remote node",
+ "gt": "crates/xerj-cluster/src/coordinator.rs",
+ "rank": 3,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "generated run summary query has no hits",
+ "gt": "crates/xerj-autoindex/src/lib.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "deleted rows must leave their bucket",
+ "gt": "crates/xerj-engine/tests/verify_window_terms_perf.rs",
+ "rank": 3,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "the replayed document landed",
+ "gt": "crates/xerj-autoindex/src/incremental_reconcile_http_tests.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "both pages saved bytes",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "a crash mid-burst must not lose or duplicate documents",
+ "gt": "crates/xerj-autoindex/src/incremental_reconcile_http_tests.rs",
+ "rank": 2,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "per-hit attribution is what lets the API layer re-sum over the page it really emits",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "bundle object not found",
+ "gt": "crates/xerj-storage/src/index_store.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "term score must be positive",
+ "gt": "crates/xerj-fts/src/search.rs",
+ "rank": 6,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "is on main and ships",
+ "gt": "crates/xerj-engine/tests/docs_do_not_promise_the_next_release.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "both bulk docs must be immediately searchable",
+ "gt": "crates/xerj-engine/tests/es_compat_tests.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "kiwi AND lime OR plum",
+ "gt": "crates/xerj-query/src/parser.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "snapshot source byte overflow",
+ "gt": "crates/xerj-autoindex/src/sync_executor.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "not supported, denormalize the relationship",
+ "gt": "crates/xerj-query/src/parser.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "no segments exist pre-flush",
+ "gt": "crates/xerj-engine/tests/graph_expand.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "storage snapshot entry under root",
+ "gt": "crates/xerj-api/tests/cluster_metadata_survives_restart.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "ghosted rows must leave the filtered total",
+ "gt": "crates/xerj-engine/tests/verify_window_terms_perf.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "plan alias projection disagrees with manifest groups",
+ "gt": "crates/xerj-autoindex/src/sync.rs",
+ "rank": 5,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "split the expression into smaller statements",
+ "gt": "crates/xerj-engine/src/painless.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "snapshot.json must be in the bucket the moment the flush returns",
+ "gt": "crates/xerj-storage/src/index_store.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "a clean definition replays",
+ "gt": "crates/xerj-wasm/src/pipeline.rs",
+ "rank": 2,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "refund money back request",
+ "gt": "crates/xerj-api/tests/decide_flywheel.rs",
+ "rank": 5,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "stored column exceeds declared row count",
+ "gt": "crates/xerj-storage/src/stored_codec/row_hydration.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "hash live malformed state",
+ "gt": "crates/xerj-api/tests/cluster_metadata_survives_restart.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "and nothing was fetched",
+ "gt": "crates/xerj-autoindex/src/objwatch/tests.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "no second generation may be committed by the refused cross-path re-run",
+ "gt": "crates/xerj-autoindex/src/incremental_reconcile_http_tests.rs",
+ "rank": 7,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "cluster auth secret rejected",
+ "gt": "crates/xerj-server/src/main.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "source snapshot footprint does not match its sealed artifacts",
+ "gt": "crates/xerj-autoindex/src/sync_executor.rs",
+ "rank": 2,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "post-publication maintenance is deferred, not a flush error",
+ "gt": "crates/xerj-storage/src/index_store.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "how does chlorophyll drive photosynthesis in a chloroplast",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "the same query at two page sizes must not report two different shapes",
+ "gt": "crates/xerj-api/tests/savings_stat_is_honest.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "desired generation index identity disagrees with its frozen mappings",
+ "gt": "crates/xerj-autoindex/src/sync_executor.rs",
+ "rank": 3,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "reversed phrase should not match",
+ "gt": "crates/xerj-fts/src/search.rs",
+ "rank": 5,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "script source is required",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "Sort must contain at least one field.",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 8,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "no doc left un-incremented",
+ "gt": "crates/xerj-api/tests/update_by_query_updates_entire_index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "every record landed once the node accepted the re-send",
+ "gt": "crates/xerj-autoindex/src/incremental_reconcile_http_tests.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "the line directly above",
+ "gt": "crates/xerj-autoindex/src/extract/code.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "a second opener must not pass the held preflight lock",
+ "gt": "crates/xerj-autoindex/src/state.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "async replication send failed",
+ "gt": "crates/xerj-cluster/src/replication.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "A_exact_string",
+ "q": "dead optional clause dropped",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "get rollup job",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 2,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "charged params read",
+ "gt": "crates/xerj-engine/src/painless.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "run reverse nested",
+ "gt": "crates/xerj-engine/src/aggs.rs",
+ "rank": 2,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "without a workbook part worksheets are read in numeric order",
+ "gt": "crates/xerj-autoindex/src/extract/xlsx.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "published schemas match the server exactly",
+ "gt": "crates/xerj-mcp/tests/published_schema_drift.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "prefix keyword case is flush invariant",
+ "gt": "crates/xerj-engine/tests/prefix_keyword_case_flush_parity.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "batch limits split the stream instead of dropping it",
+ "gt": "crates/xerj-engine/tests/wal_tap_push.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "write one frame recovered",
+ "gt": "crates/xerj-storage/src/wal.rs",
+ "rank": 4,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "hash all field names recurses into array elements",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "hybrid keeps lexical only indices in the bm25 leg",
+ "gt": "crates/xerj-common/src/xccode/mod.rs",
+ "rank": 3,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "live and deleted",
+ "gt": "crates/xerj-api/tests/cat_common_params_and_real_segments.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "is public path",
+ "gt": "crates/xerj-api/src/hub_api.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "aggregate bytes matches full recount after every mutator",
+ "gt": "crates/xerj-engine/src/memtable.rs",
+ "rank": 2,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "decode unique durable json",
+ "gt": "crates/xerj-autoindex/src/sync.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "is takeout root",
+ "gt": "crates/xerj-autoindex/src/walk.rs",
+ "rank": 3,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "read search fields",
+ "gt": "crates/xerj-api/src/hub_api.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "swift var is static not const",
+ "gt": "crates/xerj-autoindex/src/extract/code.rs",
+ "rank": 2,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "encode block freqs",
+ "gt": "crates/xerj-fts/src/postings.rs",
+ "rank": 2,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "index documents batched",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "string param cannot inject query structure",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 6,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "free port search skips a busy triple",
+ "gt": "crates/xerj-hub/src/node.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "by query matches anything",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "for this os",
+ "gt": "crates/xerj-hub/src/sync.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "local directory is adopted into an empty bucket",
+ "gt": "crates/xerj-storage/src/index_store.rs",
+ "rank": 4,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "durable dataset stats",
+ "gt": "crates/xerj-autoindex/src/lib.rs",
+ "rank": 8,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "the operator tier is owner and admin",
+ "gt": "crates/xerj-console-api/tests/console_graph_read.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "bootstrap replay accepts only exact empty genesis",
+ "gt": "crates/xerj-autoindex/src/sync.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "hubpack state carries source pin and licence and pins the build",
+ "gt": "crates/xerj-common/src/xccode/state.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "prune drops only the clauses a segment cannot serve",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "sweep expired async searches",
+ "gt": "crates/xerj-engine/src/engine.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "worker stack actually exceeds the 2mib default",
+ "gt": "crates/xerj-server/src/main.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "object store read path hydrates the whole family",
+ "gt": "crates/xerj-storage/src/index_store.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "run matrix stats",
+ "gt": "crates/xerj-engine/src/aggs.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "the auto id and create endpoints enforce the same rules",
+ "gt": "crates/xerj-api/tests/numeric_fields_enforce_their_type.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "detection watch body",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "query workbench datasources is an honest empty list not 404",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 4,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "run ip range",
+ "gt": "crates/xerj-engine/src/aggs.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "re escalating the same question keeps one cached answer",
+ "gt": "crates/xerj-api/tests/decide_flywheel.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "a miss on a real prefix stays exit zero and lists the others",
+ "gt": "crates/xerj-autoindex/src/search.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "a per item 429 on a data bulk is resent and the run completes",
+ "gt": "crates/xerj-autoindex/src/failure_resume_http_tests.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "build sort shadow",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "auto date pick interval",
+ "gt": "crates/xerj-engine/src/aggs.rs",
+ "rank": 7,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "the identity probe still blames the capability for a non auth failure",
+ "gt": "crates/xerj-autoindex/src/esclient.rs",
+ "rank": 3,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "lexical passage never uses a field the query did not target",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "qs resolve bound",
+ "gt": "crates/xerj-query/src/parser.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "run multi terms",
+ "gt": "crates/xerj-engine/src/aggs.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "unfiltered exact scan never parses stored documents",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "empty finish produces no bytes",
+ "gt": "crates/xerj-compress/src/block.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "single should bool",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "week and ordinal dates resolve to the right instant",
+ "gt": "crates/xerj-query/src/dates.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "cat pending tasks",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "scores are descending",
+ "gt": "crates/xerj-vector/src/search.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "error policy split matches the documented rule",
+ "gt": "crates/xerj-rerank/src/lib.rs",
+ "rank": 3,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "instruction wording does not change the answer",
+ "gt": "crates/xerj-api/tests/systemone_http.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "multivalued numeric metric aggs use all values",
+ "gt": "crates/xerj-engine/src/aggs.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "collect array values",
+ "gt": "crates/xerj-engine/src/memtable.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "a slash ending an unquoted attribute value does not read as self closing",
+ "gt": "crates/xerj-autoindex/src/extract/html.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "grok nginx combined",
+ "gt": "crates/xerj-wasm/src/builtins.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "exec auto date histogram",
+ "gt": "crates/xerj-engine/src/fast_aggs.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "threshold can be updated",
+ "gt": "crates/xerj-engine/src/slow_query.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "a semantic clause that never reached the vector is still flagged",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 6,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "tls listener exposes the real peer not the header",
+ "gt": "crates/xerj-server/src/main.rs",
+ "rank": 5,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "parse span term",
+ "gt": "crates/xerj-query/src/parser.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "chunk vectors are per passage and pool consistently",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "unlink recovery markers",
+ "gt": "crates/xerj-storage/src/index_store.rs",
+ "rank": 3,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "exponential call tree is bounded not a hang",
+ "gt": "crates/xerj-engine/src/painless.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "the guest script never parses document text as markup",
+ "gt": "crates/xerj-console-api/src/spa.rs",
+ "rank": 5,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "glob matches star and exact",
+ "gt": "crates/xerj-api/src/ask_api.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "parse and expr",
+ "gt": "crates/xerj-engine/src/sql.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "invalid mcp json is left alone",
+ "gt": "crates/xerj-autoindex/src/init.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "a rare term outweighs a term every document shares",
+ "gt": "crates/xerj-rerank/src/judge.rs",
+ "rank": 5,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "querying a field with no postings and no doc values is rejected",
+ "gt": "crates/xerj-api/tests/index_false_is_honoured.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "separator lines from real writers are recognised",
+ "gt": "crates/xerj-autoindex/src/extract/mbox.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "xerj console auth module is bundled",
+ "gt": "crates/xerj-console-api/tests/spa_assets.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "mode is how for prose and flags force the rest",
+ "gt": "crates/xerj-hub/src/ask.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "elastic caller gets no empty warning header",
+ "gt": "crates/xerj-api/src/router.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "run median absolute deviation",
+ "gt": "crates/xerj-engine/src/aggs.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "isotonic interpolates and clamps",
+ "gt": "crates/xerj-common/src/calibration.rs",
+ "rank": 2,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "seg with cols",
+ "gt": "crates/xerj-engine/src/fast_aggs.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "this endpoint and a legacy journal keep the old words",
+ "gt": "crates/xerj-autoindex/src/lib.rs",
+ "rank": 6,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "provenance contract changes only upsert ax run",
+ "gt": "crates/xerj-autoindex/src/generation_catalog.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "empty bucket is refused with the shape to type",
+ "gt": "crates/xerj-autoindex/src/source.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "count tries env defaults are the scripts values",
+ "gt": "crates/xerj-autoindex/src/xc.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "describe field diff",
+ "gt": "crates/xerj-autoindex/src/generation_catalog.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "a request that exhausts its retries reports all of them",
+ "gt": "crates/xerj-autoindex/src/objsource_s3_tests.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "status empty hub says no packs",
+ "gt": "crates/xerj-hub/src/lockfile.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "watch baselines at max seq no existing docs do not fire",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "xferlog lines parse to fields",
+ "gt": "crates/xerj-autoindex/src/extract/logs.rs",
+ "rank": 5,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "an empty catalog keeps the autoindex hint",
+ "gt": "crates/xerj-autoindex/src/search.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "every old pin of the slug goes once the new one has restored",
+ "gt": "crates/xerj-hub/src/sync/tests.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "new segment id",
+ "gt": "crates/xerj-storage/src/segment.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "residual filter still excludes nonmatching docs",
+ "gt": "crates/xerj-engine/tests/bool_filter_is_non_scoring.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "c const and file scope",
+ "gt": "crates/xerj-autoindex/src/extract/code.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "a two field projection reads differently from withholding source",
+ "gt": "crates/xerj-api/tests/savings_stat_is_honest.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "admin allows all on all indices",
+ "gt": "crates/xerj-engine/src/rbac.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "apply get doc source filter",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "run scripted metric",
+ "gt": "crates/xerj-engine/src/aggs.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "inject bbq rescore defaults",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "pack build pull def roundtrip",
+ "gt": "crates/xerj-hub/tests/pack_roundtrip.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "B_words_of_symbol",
+ "q": "decode raw payload",
+ "gt": "crates/xerj-storage/src/stored_codec.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "get_rollup_job",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "charged_params_read",
+ "gt": "crates/xerj-engine/src/painless.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "run_reverse_nested",
+ "gt": "crates/xerj-engine/src/aggs.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "without_a_workbook_part_worksheets_are_read_in_numeric_order",
+ "gt": "crates/xerj-autoindex/src/extract/xlsx.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "published_schemas_match_the_server_exactly",
+ "gt": "crates/xerj-mcp/tests/published_schema_drift.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "prefix_keyword_case_is_flush_invariant",
+ "gt": "crates/xerj-engine/tests/prefix_keyword_case_flush_parity.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "batch_limits_split_the_stream_instead_of_dropping_it",
+ "gt": "crates/xerj-engine/tests/wal_tap_push.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "write_one_frame_recovered",
+ "gt": "crates/xerj-storage/src/wal.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "hash_all_field_names_recurses_into_array_elements",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "hybrid_keeps_lexical_only_indices_in_the_bm25_leg",
+ "gt": "crates/xerj-common/src/xccode/mod.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "live_and_deleted",
+ "gt": "crates/xerj-api/tests/cat_common_params_and_real_segments.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "is_public_path",
+ "gt": "crates/xerj-api/src/hub_api.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "aggregate_bytes_matches_full_recount_after_every_mutator",
+ "gt": "crates/xerj-engine/src/memtable.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "decode_unique_durable_json",
+ "gt": "crates/xerj-autoindex/src/sync.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "is_takeout_root",
+ "gt": "crates/xerj-autoindex/src/walk.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "read_search_fields",
+ "gt": "crates/xerj-api/src/hub_api.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "swift_var_is_static_not_const",
+ "gt": "crates/xerj-autoindex/src/extract/code.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "encode_block_freqs",
+ "gt": "crates/xerj-fts/src/postings.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "index_documents_batched",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "string_param_cannot_inject_query_structure",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "free_port_search_skips_a_busy_triple",
+ "gt": "crates/xerj-hub/src/node.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "by_query_matches_anything",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "for_this_os",
+ "gt": "crates/xerj-hub/src/sync.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "local_directory_is_adopted_into_an_empty_bucket",
+ "gt": "crates/xerj-storage/src/index_store.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "durable_dataset_stats",
+ "gt": "crates/xerj-autoindex/src/lib.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "the_operator_tier_is_owner_and_admin",
+ "gt": "crates/xerj-console-api/tests/console_graph_read.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "bootstrap_replay_accepts_only_exact_empty_genesis",
+ "gt": "crates/xerj-autoindex/src/sync.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "hubpack_state_carries_source_pin_and_licence_and_pins_the_build",
+ "gt": "crates/xerj-common/src/xccode/state.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "prune_drops_only_the_clauses_a_segment_cannot_serve",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "sweep_expired_async_searches",
+ "gt": "crates/xerj-engine/src/engine.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "worker_stack_actually_exceeds_the_2mib_default",
+ "gt": "crates/xerj-server/src/main.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "object_store_read_path_hydrates_the_whole_family",
+ "gt": "crates/xerj-storage/src/index_store.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "run_matrix_stats",
+ "gt": "crates/xerj-engine/src/aggs.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "the_auto_id_and_create_endpoints_enforce_the_same_rules",
+ "gt": "crates/xerj-api/tests/numeric_fields_enforce_their_type.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "detection_watch_body",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "query_workbench_datasources_is_an_honest_empty_list_not_404",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "run_ip_range",
+ "gt": "crates/xerj-engine/src/aggs.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "re_escalating_the_same_question_keeps_one_cached_answer",
+ "gt": "crates/xerj-api/tests/decide_flywheel.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "a_miss_on_a_real_prefix_stays_exit_zero_and_lists_the_others",
+ "gt": "crates/xerj-autoindex/src/search.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "a_per_item_429_on_a_data_bulk_is_resent_and_the_run_completes",
+ "gt": "crates/xerj-autoindex/src/failure_resume_http_tests.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "build_sort_shadow",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "auto_date_pick_interval",
+ "gt": "crates/xerj-engine/src/aggs.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "the_identity_probe_still_blames_the_capability_for_a_non_auth_failure",
+ "gt": "crates/xerj-autoindex/src/esclient.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "lexical_passage_never_uses_a_field_the_query_did_not_target",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "qs_resolve_bound",
+ "gt": "crates/xerj-query/src/parser.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "run_multi_terms",
+ "gt": "crates/xerj-engine/src/aggs.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "unfiltered_exact_scan_never_parses_stored_documents",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "empty_finish_produces_no_bytes",
+ "gt": "crates/xerj-compress/src/block.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "single_should_bool",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "week_and_ordinal_dates_resolve_to_the_right_instant",
+ "gt": "crates/xerj-query/src/dates.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "cat_pending_tasks",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "scores_are_descending",
+ "gt": "crates/xerj-vector/src/search.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "error_policy_split_matches_the_documented_rule",
+ "gt": "crates/xerj-rerank/src/lib.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "instruction_wording_does_not_change_the_answer",
+ "gt": "crates/xerj-api/tests/systemone_http.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "multivalued_numeric_metric_aggs_use_all_values",
+ "gt": "crates/xerj-engine/src/aggs.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "collect_array_values",
+ "gt": "crates/xerj-engine/src/memtable.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "a_slash_ending_an_unquoted_attribute_value_does_not_read_as_self_closing",
+ "gt": "crates/xerj-autoindex/src/extract/html.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "grok_nginx_combined",
+ "gt": "crates/xerj-wasm/src/builtins.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "exec_auto_date_histogram",
+ "gt": "crates/xerj-engine/src/fast_aggs.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "threshold_can_be_updated",
+ "gt": "crates/xerj-engine/src/slow_query.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "a_semantic_clause_that_never_reached_the_vector_is_still_flagged",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "tls_listener_exposes_the_real_peer_not_the_header",
+ "gt": "crates/xerj-server/src/main.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "parse_span_term",
+ "gt": "crates/xerj-query/src/parser.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "chunk_vectors_are_per_passage_and_pool_consistently",
+ "gt": "crates/xerj-engine/src/index.rs",
+ "rank": null,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "unlink_recovery_markers",
+ "gt": "crates/xerj-storage/src/index_store.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "exponential_call_tree_is_bounded_not_a_hang",
+ "gt": "crates/xerj-engine/src/painless.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "the_guest_script_never_parses_document_text_as_markup",
+ "gt": "crates/xerj-console-api/src/spa.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "glob_matches_star_and_exact",
+ "gt": "crates/xerj-api/src/ask_api.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "parse_and_expr",
+ "gt": "crates/xerj-engine/src/sql.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "invalid_mcp_json_is_left_alone",
+ "gt": "crates/xerj-autoindex/src/init.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "a_rare_term_outweighs_a_term_every_document_shares",
+ "gt": "crates/xerj-rerank/src/judge.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "querying_a_field_with_no_postings_and_no_doc_values_is_rejected",
+ "gt": "crates/xerj-api/tests/index_false_is_honoured.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "separator_lines_from_real_writers_are_recognised",
+ "gt": "crates/xerj-autoindex/src/extract/mbox.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "xerj_console_auth_module_is_bundled",
+ "gt": "crates/xerj-console-api/tests/spa_assets.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "mode_is_how_for_prose_and_flags_force_the_rest",
+ "gt": "crates/xerj-hub/src/ask.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "elastic_caller_gets_no_empty_warning_header",
+ "gt": "crates/xerj-api/src/router.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "run_median_absolute_deviation",
+ "gt": "crates/xerj-engine/src/aggs.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "isotonic_interpolates_and_clamps",
+ "gt": "crates/xerj-common/src/calibration.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "seg_with_cols",
+ "gt": "crates/xerj-engine/src/fast_aggs.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "this_endpoint_and_a_legacy_journal_keep_the_old_words",
+ "gt": "crates/xerj-autoindex/src/lib.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "provenance_contract_changes_only_upsert_ax_run",
+ "gt": "crates/xerj-autoindex/src/generation_catalog.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "empty_bucket_is_refused_with_the_shape_to_type",
+ "gt": "crates/xerj-autoindex/src/source.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "count_tries_env_defaults_are_the_scripts_values",
+ "gt": "crates/xerj-autoindex/src/xc.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "describe_field_diff",
+ "gt": "crates/xerj-autoindex/src/generation_catalog.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "a_request_that_exhausts_its_retries_reports_all_of_them",
+ "gt": "crates/xerj-autoindex/src/objsource_s3_tests.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "status_empty_hub_says_no_packs",
+ "gt": "crates/xerj-hub/src/lockfile.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "watch_baselines_at_max_seq_no_existing_docs_do_not_fire",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "xferlog_lines_parse_to_fields",
+ "gt": "crates/xerj-autoindex/src/extract/logs.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "an_empty_catalog_keeps_the_autoindex_hint",
+ "gt": "crates/xerj-autoindex/src/search.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "every_old_pin_of_the_slug_goes_once_the_new_one_has_restored",
+ "gt": "crates/xerj-hub/src/sync/tests.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "new_segment_id",
+ "gt": "crates/xerj-storage/src/segment.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "residual_filter_still_excludes_nonmatching_docs",
+ "gt": "crates/xerj-engine/tests/bool_filter_is_non_scoring.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "c_const_and_file_scope",
+ "gt": "crates/xerj-autoindex/src/extract/code.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "a_two_field_projection_reads_differently_from_withholding_source",
+ "gt": "crates/xerj-api/tests/savings_stat_is_honest.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "admin_allows_all_on_all_indices",
+ "gt": "crates/xerj-engine/src/rbac.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "apply_get_doc_source_filter",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "run_scripted_metric",
+ "gt": "crates/xerj-engine/src/aggs.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "inject_bbq_rescore_defaults",
+ "gt": "crates/xerj-api/src/es_compat.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "pack_build_pull_def_roundtrip",
+ "gt": "crates/xerj-hub/tests/pack_roundtrip.rs",
+ "rank": 1,
+ "err": null
+ },
+ {
+ "set": "C_identifier",
+ "q": "decode_raw_payload",
+ "gt": "crates/xerj-storage/src/stored_codec.rs",
+ "rank": 1,
+ "err": null
+ }
+ ]
+}
\ No newline at end of file
diff --git a/benchmarks/search-exact-phrase/run.py b/benchmarks/search-exact-phrase/run.py
new file mode 100644
index 000000000..c5e68c77a
--- /dev/null
+++ b/benchmarks/search-exact-phrase/run.py
@@ -0,0 +1,46 @@
+"""usage: run.py <xerj-binary> <port> <label>
+
+Starts a throwaway `--insecure` loopback node on <port> (ES API; +1/+2 for
+REST/gRPC) in a temp data dir and HOME, autoindexes ./corpus, runs every
+question in questions.json through `xerj search --json -k 10`, and records
+the rank of the expected file among distinct `ax_path`s. Writes
+results/<label>.json."""
+import json,os,subprocess,sys,tempfile,time,urllib.request,collections,shutil
+X,P,label=sys.argv[1],sys.argv[2],sys.argv[3]
+D=tempfile.mkdtemp(); H=tempfile.mkdtemp(); url=f"http://localhost:{P}"
+env=dict(os.environ,HOME=H); env.pop('XERJ_API_KEY',None)
+srv=subprocess.Popen([X,'--insecure','--data-dir',D,'--port',P],env=env,stdout=subprocess.DEVNULL,stderr=subprocess.DEVNULL)
+for _ in range(200):
+ try: urllib.request.urlopen(url+'/_cluster/health',timeout=1); break
+ except Exception: time.sleep(0.25)
+def idx(path,prefix):
+ r=subprocess.run([X,'autoindex','--url',url,'--prefix',prefix,'--progress','none',path],env=env,capture_output=True,text=True)
+ return r.returncode
+def search(q,prefix,k=10):
+ r=subprocess.run([X,'search','--url',url,'--prefix',prefix,'--json','-k',str(k),q],env=env,capture_output=True,text=True)
+ try: hits=json.loads(r.stdout)['hits']['hits']
+ except Exception: return [],r.stdout+r.stderr
+ paths=[]
+ for h in hits:
+ p=(h.get('_source') or {}).get('ax_path')
+ if p and p not in paths: paths.append(p)
+ return paths,None
+def text_tokens(q,prefix):
+ r=subprocess.run([X,'search','--url',url,'--prefix',prefix,'-k','5',q],env=env,capture_output=True,text=True)
+ return r.stdout
+res={'label':label}
+try:
+ t=time.time(); res['idx_x']=idx('corpus','bx'); res['idx_x_s']=round(time.time()-t,1)
+ qs=json.load(open('questions.json'))
+ per=collections.defaultdict(lambda: collections.Counter()); rows=[]
+ for q in qs:
+ paths,err=search(q['q'],'bx')
+ rank=paths.index(q['gt'])+1 if q['gt'] in paths else None
+ rows.append({**q,'rank':rank,'err':err})
+ c=per[q['set']]; c['n']+=1; c['r1']+=rank==1; c['top5']+=bool(rank and rank<=5); c['top10']+=bool(rank); c['err']+=bool(err)
+ res['sets']={k:dict(v) for k,v in per.items()}; res['rows']=rows
+finally:
+ srv.terminate(); srv.wait(); shutil.rmtree(D,True); shutil.rmtree(H,True)
+json.dump(res,open(f'results/{label}.json','w'),indent=1)
+print(label, 'index', res.get('idx_x'), res.get('idx_x_s'),'s')
+for k,v in sorted(res.get('sets',{}).items()): print(' ',k,v)
diff --git a/engine/crates/xerj-autoindex/src/search.rs b/engine/crates/xerj-autoindex/src/search.rs
index 93617ccdc..674fe7882 100644
--- a/engine/crates/xerj-autoindex/src/search.rs
+++ b/engine/crates/xerj-autoindex/src/search.rs
@@ -176,6 +176,11 @@ const SEARCH_MM_FIELDS: &[(&str, &str)] = &[
/// #916 shape exactly.
const PROSE_EXTRA_FIELDS: &[&str] = &["text", "impl", "message"];
+/// Analyzed content fields that get the exact-phrase clause when the
+/// `multi_match` names them. `name`, `code` and `title` are keywords and
+/// `defs` has its own phrase clause.
+const PHRASE_CONTENT_FIELDS: &[&str] = &["body", "text", "impl", "message"];
+
/// Every field `xerj search` might name in `multi_match`, `term`, or
/// `match_phrase`. A numeric mapping of one of these on any index in the
/// wildcard fails the whole request (`For input string`, #1284).
@@ -398,6 +403,24 @@ fn build_search_query(
if field_lookup_ok(mapped, numeric, "name") {
should.push(json!({ "term": { "name": { "value": query.trim(), "boost": 10 } } }));
}
+ // An exact phrase in a content field. A pasted error message or log
+ // line is the strongest signal of which file is meant, and the
+ // bag-of-words `multi_match` alone ranks a short `defs` list sharing two
+ // of its words above the long file holding all of them in order. Only
+ // the content fields the `multi_match` already names, so the mapping and
+ // numeric drops (#1601, #1284) apply unchanged. Appended last so the
+ // historical clause positions do not move.
+ if let Some(phrase) = xerj_common::code_query::exact_phrase_query(query) {
+ for field in &fields {
+ let base = field.split('^').next().unwrap_or(field);
+ if PHRASE_CONTENT_FIELDS.contains(&base) {
+ should.push(json!({ "match_phrase": { base: {
+ "query": phrase,
+ "boost": xerj_common::code_query::EXACT_PHRASE_BOOST
+ } } }));
+ }
+ }
+ }
json!({
"size": k,
"query": { "bool": { "should": should }},
@@ -1464,13 +1487,15 @@ mod tests {
let mapped = names_of(&["body", "title", "text", "impl"]);
let body = search_query_body_for_mapping("retention ceiling", 5, Some(&mapped), None);
let should = body["query"]["bool"]["should"].as_array().unwrap();
- assert_eq!(should.len(), 1, "{body}");
assert!(should[0].get("match_phrase").is_none(), "{body}");
- assert!(should[0].get("term").is_none(), "{body}");
+ assert!(should.iter().all(|c| c.get("term").is_none()), "{body}");
assert_eq!(
should[0]["multi_match"]["fields"],
json!(["body", "title", "text", "impl"])
);
+ // The exact-phrase legs name only mapped content fields; `title` is
+ // a keyword and gets none.
+ assert_eq!(phrase_fields(&body), vec!["body", "text", "impl"], "{body}");
let rendered = body["query"].to_string();
assert!(!rendered.contains("\"defs\""), "{rendered}");
assert!(!rendered.contains("\"name\""), "{rendered}");
@@ -1484,8 +1509,72 @@ mod tests {
let mapped = names_of(&["message", "ts", "host"]);
let body = search_query_body_for_mapping("SIP 403 Forbidden", 3, Some(&mapped), None);
let should = body["query"]["bool"]["should"].as_array().unwrap();
- assert_eq!(should.len(), 1, "{body}");
+ assert_eq!(should.len(), 2, "{body}");
assert_eq!(should[0]["multi_match"]["fields"], json!(["message"]));
+ assert_eq!(phrase_fields(&body), vec!["message"], "{body}");
+ }
+
+ /// Fields named by the exact-phrase legs, in order. The `defs` phrase
+ /// leg is the symbol clause, not one of these.
+ fn phrase_fields(body: &Value) -> Vec<String> {
+ body["query"]["bool"]["should"]
+ .as_array()
+ .unwrap()
+ .iter()
+ .filter_map(|c| c.get("match_phrase").and_then(Value::as_object))
+ .flat_map(|m| m.keys().cloned())
+ .filter(|f| f != "defs")
+ .collect()
+ }
+
+ /// A pasted error message is matched as typed, glue words included:
+ /// the normalized `multi_match` text drops `the`/`must`, and a phrase
+ /// built from that would not occur in the file.
+ #[test]
+ fn exact_phrase_leg_matches_the_query_as_typed() {
+ let query = " the boosted whole-value doc must rank first ";
+ let body = search_query_body(query, 5);
+ let should = body["query"]["bool"]["should"].as_array().unwrap();
+ let leg = should
+ .iter()
+ .find_map(|c| c.pointer("/match_phrase/body"))
+ .unwrap_or_else(|| panic!("no exact-phrase leg on body: {body}"));
+ assert_eq!(leg["query"], "the boosted whole-value doc must rank first");
+ assert_eq!(
+ leg["boost"],
+ json!(xerj_common::code_query::EXACT_PHRASE_BOOST)
+ );
+ assert_ne!(
+ should[0]["multi_match"]["query"], leg["query"],
+ "the multi_match keeps the normalized text"
+ );
+ }
+
+ /// One token is a lookup: no phrase leg, and the #916 clauses stay at
+ /// their historical positions for every query.
+ #[test]
+ fn single_token_query_gets_no_exact_phrase_leg() {
+ for query in ["normalize_code_search_query", "IOSIntfLine", " flush "] {
+ let body = search_query_body(query, 5);
+ assert!(phrase_fields(&body).is_empty(), "{body}");
+ }
+ let body = search_query_body("rotate the WAL segment", 5);
+ let should = body["query"]["bool"]["should"].as_array().unwrap();
+ assert!(should[0].get("multi_match").is_some(), "{body}");
+ assert!(should[1].pointer("/match_phrase/defs").is_some(), "{body}");
+ assert!(should[2].pointer("/term/name").is_some(), "{body}");
+ assert_eq!(phrase_fields(&body), vec!["body"], "{body}");
+ }
+
+ /// A content field some index maps as numeric is dropped from the
+ /// phrase legs too (#1284): naming it fails the whole wildcard request.
+ #[test]
+ fn exact_phrase_leg_skips_a_numeric_content_field() {
+ let mapped = names_of(&["name", "code", "body", "defs", "title", "message"]);
+ let numeric: BTreeSet<String> = ["message".to_string()].into_iter().collect();
+ let body =
+ search_query_body_for_mapping("SIP 403 Forbidden", 3, Some(&mapped), Some(&numeric));
+ assert_eq!(phrase_fields(&body), vec!["body"], "{body}");
}
/// A code corpus — and an unreadable mapping — keep the #916 shape,
diff --git a/engine/crates/xerj-common/src/code_query.rs b/engine/crates/xerj-common/src/code_query.rs
index 07784b7b3..3bce95e8f 100644
--- a/engine/crates/xerj-common/src/code_query.rs
+++ b/engine/crates/xerj-common/src/code_query.rs
@@ -184,3 +184,28 @@ pub fn normalize_code_search_query(query: &str) -> String {
content.join(" ")
}
}
+
+/// Boost on the exact-phrase clause `xerj search` and the plain-string
+/// `xerj_search` MCP tool put on content fields (`body`, and `text` /
+/// `message` / `impl` where mapped).
+///
+/// Below the `defs` phrase boost (8) on purpose: when a query is both a
+/// symbol's words and a phrase in some file, the definition still ranks
+/// first. It only has to beat the `most_fields` sum a short `defs` list
+/// collects from partial term overlap (`MemoryCandidate` matching
+/// `memory candidate …`), which on a long file body is several times the
+/// body's own BM25 score.
+pub const EXACT_PHRASE_BOOST: f64 = 4.0;
+
+/// The text an exact-phrase content clause matches, or `None` when the query
+/// is a single token.
+///
+/// This is the trimmed query as typed, not [`normalize_code_search_query`]'s
+/// output: dropping glue words or duplicate tokens from a pasted error
+/// message would turn it into a phrase the file does not contain. A single
+/// token is left to the existing clauses — as a phrase it scores the same
+/// documents as the `multi_match` and would only inflate them.
+pub fn exact_phrase_query(query: &str) -> Option<&str> {
+ let trimmed = query.trim();
+ trimmed.split_whitespace().nth(1).map(|_| trimmed)
+}
diff --git a/engine/crates/xerj-mcp/src/lib.rs b/engine/crates/xerj-mcp/src/lib.rs
index 8e9852eba..d17878ed1 100644
--- a/engine/crates/xerj-mcp/src/lib.rs
+++ b/engine/crates/xerj-mcp/src/lib.rs
@@ -1896,18 +1896,25 @@ fn build_search(args: &Value) -> Result<BuiltRequest, String> {
Some(Value::String(q)) if !q.trim().is_empty() => {
plain_string = true;
let shaped = xerj_common::code_query::normalize_code_search_query(q);
- body.insert(
- "query".into(),
- json!({ "bool": { "should": [
- { "multi_match": {
- "query": shaped,
- "fields": ["name^4", "code^2", "body", "defs^3", "title"],
- "type": "most_fields"
- }},
- { "match_phrase": { "defs": { "query": shaped, "boost": 8 } } },
- { "term": { "name": { "value": q.trim(), "boost": 10 } } }
- ]}}),
- );
+ let mut should = vec![
+ json!({ "multi_match": {
+ "query": shaped,
+ "fields": ["name^4", "code^2", "body", "defs^3", "title"],
+ "type": "most_fields"
+ }}),
+ json!({ "match_phrase": { "defs": { "query": shaped, "boost": 8 } } }),
+ json!({ "term": { "name": { "value": q.trim(), "boost": 10 } } }),
+ ];
+ // Same exact-phrase leg as `xerj search`: a pasted error string
+ // must rank the file that contains it, not a `defs` list that
+ // shares two of its words.
+ if let Some(phrase) = xerj_common::code_query::exact_phrase_query(q) {
+ should.push(json!({ "match_phrase": { "body": {
+ "query": phrase,
+ "boost": xerj_common::code_query::EXACT_PHRASE_BOOST
+ } } }));
+ }
+ body.insert("query".into(), json!({ "bool": { "should": should } }));
}
Some(q) if !q.is_null() => {
body.insert("query".into(), q.clone());
diff --git a/engine/crates/xerj-mcp/tests/search_exact_phrase.rs b/engine/crates/xerj-mcp/tests/search_exact_phrase.rs
new file mode 100644
index 000000000..c1ffe687b
--- /dev/null
+++ b/engine/crates/xerj-mcp/tests/search_exact_phrase.rs
@@ -0,0 +1,144 @@
+//! A plain-string `xerj_search` for an exact error message ranks the file
+//! that contains it, end to end against a real in-process node.
+//!
+//! The corpus is the autoindex shape in miniature: per-file docs with a
+//! `body` and a `defs` symbol list, plus a per-symbol doc. One short file's
+//! `defs` (`Memory`, `MemoryCandidate`) shares two words of the query; one
+//! long file holds the whole message in order. Without an exact-phrase leg
+//! the `most_fields` sum puts the short `defs` list first, because a 400-line
+//! body scores low on BM25 length normalisation however many query terms it
+//! holds.
+
+use serde_json::{json, Value};
+
+const PHRASE: &str = "Memory candidate capacity exceeded";
+
+fn long_module() -> String {
+ let mut out = String::from("class BackendError(Exception):\n pass\n\n");
+ for i in 0..40 {
+ if i == 20 {
+ out.push_str(&format!(
+ "def load_candidates(rows):\n picked = []\n for row in rows:\n \
+ picked.append(row)\n if len(picked) > 1000:\n \
+ raise BackendError(\"{PHRASE}\")\n return picked\n\n"
+ ));
+ }
+ out.push_str(&format!(
+ "def helper_{i}(rows, limit):\n \"\"\"Normalise batch {i} of loaded rows.\"\"\"\n \
+ out = []\n for row in rows:\n if not isinstance(row, dict):\n \
+ raise ValueError(\"row {i} is not an object\")\n out.append(row)\n \
+ return out[:limit]\n\n"
+ ));
+ }
+ out
+}
+
+async fn seed(client: &reqwest::Client, url: &str) {
+ let index = format!("{url}/ax-docs");
+ let r = client
+ .put(&index)
+ .json(&json!({ "mappings": { "properties": {
+ "ax_path": {"type": "keyword"}, "title": {"type": "keyword"},
+ "name": {"type": "keyword"}, "code": {"type": "keyword"},
+ "kind": {"type": "keyword"}, "line": {"type": "long"},
+ "defs": {"type": "text"}, "body": {"type": "text"}
+ }}}))
+ .send()
+ .await
+ .unwrap();
+ assert!(r.status().is_success(), "create {index}");
+ let mut defs = vec!["class BackendError".to_string()];
+ defs.extend((0..40).map(|i| format!("function helper_{i}")));
+ defs.insert(21, "function load_candidates".into());
+ let docs = [
+ json!({"ax_path": "memory_view.tsx", "title": "memory_view.tsx",
+ "defs": "function Memory\nconst MemoryCandidate\nfunction MemoryCandidate",
+ "body": "export function Memory({ items }) {\n const memory = items.filter(Boolean);\n \
+ // Memory panel: each memory candidate the user saved.\n}\n\
+ export const MemoryCandidate = (props) => props.text;\n"}),
+ json!({"ax_path": "memory_view.tsx", "title": "Memory", "name": "Memory",
+ "kind": "function", "line": 1, "code": "export function Memory({ items })"}),
+ json!({"ax_path": "bridge.py", "title": "bridge.py", "defs": defs.join("\n"),
+ "body": long_module()}),
+ json!({"ax_path": "bridge.py", "title": "load_candidates", "name": "load_candidates",
+ "kind": "function", "line": 23, "code": "def load_candidates(rows):"}),
+ json!({"ax_path": "notes.md", "title": "notes.md",
+ "body": "# Memory\n\nMemory records are saved per project. A memory candidate \
+ is reviewed before it is shared.\n"}),
+ ];
+ let mut bulk = String::new();
+ for d in docs {
+ bulk.push_str(&format!("{{\"index\":{{}}}}\n{d}\n"));
+ }
+ let r = client
+ .post(format!("{index}/_bulk?refresh=true"))
+ .header("content-type", "application/x-ndjson")
+ .body(bulk)
+ .send()
+ .await
+ .unwrap();
+ assert!(r.status().is_success(), "bulk {index}");
+ // Autoindex leaves its corpus flushed into segments; rank against that,
+ // not the memtable.
+ let r = client.post(format!("{index}/_flush")).send().await.unwrap();
+ assert!(r.status().is_success(), "flush {index}");
+}
+
+async fn ranked_paths(url: &str, query: &str) -> Vec<String> {
+ let msg = json!({"jsonrpc": "2.0", "id": 1, "method": "tools/call",
+ "params": {"name": "xerj_search", "arguments": {"query": query}}});
+ let resp = xerj_mcp::handle_message_for_test(url, None, msg)
+ .await
+ .expect("a request gets a response");
+ let text = resp["result"]["content"][0]["text"]
+ .as_str()
+ .unwrap_or_else(|| panic!("no text content: {resp}"));
+ let body: Value =
+ serde_json::from_str(text).unwrap_or_else(|e| panic!("{e}: not JSON: {text}"));
+ body["hits"]["hits"]
+ .as_array()
+ .unwrap_or_else(|| panic!("no hits array: {body}"))
+ .iter()
+ .filter_map(|h| h.pointer("/_source/ax_path").and_then(Value::as_str))
+ .map(str::to_string)
+ .collect()
+}
+
+#[tokio::test(flavor = "multi_thread", worker_threads = 2)]
+async fn an_exact_error_message_ranks_the_file_that_contains_it() {
+ let tmp = tempfile::tempdir().unwrap();
+ let mut config = xerj_common::config::Config::default();
+ config.server.data_dir = tmp.path().join("data").to_string_lossy().into_owned();
+ config.storage.wal_sync = xerj_common::config::WalSync::Async;
+ config.auth.enabled = false;
+ let metrics = xerj_common::metrics::Metrics::new().unwrap();
+ let engine = xerj_engine::Engine::new(config.clone()).unwrap();
+ let state = xerj_api::state::AppState::new(config, engine, metrics);
+ let app = xerj_api::router::build_es_compat_router(state);
+ let listener = tokio::net::TcpListener::bind("127.0.0.1:0").await.unwrap();
+ let url = format!("http://{}", listener.local_addr().unwrap());
+ tokio::spawn(async move { axum::serve(listener, app.into_make_service()).await });
+ seed(&reqwest::Client::new(), &url).await;
+
+ let paths = ranked_paths(&url, PHRASE).await;
+ assert_eq!(
+ paths.first().map(String::as_str),
+ Some("bridge.py"),
+ "the file holding \"{PHRASE}\" must rank first: {paths:?}"
+ );
+
+ // The definition-first shape is untouched: an identifier still lands on
+ // its symbol doc through the `name` term leg.
+ let paths = ranked_paths(&url, "load_candidates").await;
+ assert_eq!(
+ paths.first().map(String::as_str),
+ Some("bridge.py"),
+ "{paths:?}"
+ );
+ let paths = ranked_paths(&url, "Memory").await;
+ assert_eq!(
+ paths.first().map(String::as_str),
+ Some("memory_view.tsx"),
+ "{paths:?}"
+ );
+}