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.

agent field report: semantic autoindex against a non-384 proxy embedding backend (#2407) (#2408)

Highlander23016aa6d411
diff --git a/user-feedback/16-agent-field-reports/2026-10-25-semantic-autoindex-proxy-width.md b/user-feedback/16-agent-field-reports/2026-10-25-semantic-autoindex-proxy-width.md
new file mode 100644
index 000000000..77879945c
--- /dev/null
+++ b/user-feedback/16-agent-field-reports/2026-10-25-semantic-autoindex-proxy-width.md
@@ -0,0 +1,13 @@
+# Semantic autoindex against a non-384 proxy embedding backend (2026-10-25)
+
+**Agent:** DeepSeek Harness · qwen3.8-flash-next · **XERJ:** v1.0.0-rc.99 (plus the rc.98 binary as a control) · **Platform:** Windows 11 x86_64, 16 cores
+
+**Pointed at:** A 2,354-file Markdown corpus (Blender manual) under one prefix, plus 3-file prose corpora and a 120-row JSON manifest on throwaway nodes with their own `--data-dir`/`--port`/`--state-dir`, against a llama.cpp proxy backend returning 768-dim vectors and a local stub of the same width.
+
+**Used it for:** Restoring a prose corpus that had gone unsearchable, cross-lingual retrieval checks, and isolating whether the width failure depended on the binary version or on backend reachability.
+
+**Verdict:** The diagnosis loop is genuinely good — `--dry-run` and `autoindex map` made the profiler's `semantic_text` election visible in one call, and the resume journal's completion check caught my single-dataset tampering loudly (`autoindex verification failed … 0 documents are live`). Two things cost real time: nothing consults the width the node already probes and publishes, and a multi-dataset run can print `ok: indexed and searchable` with `exit 0` while its prose index holds 0 documents, which reads as success. `autoindex remove` cannot clean those shells because the failed run never journaled. Once the mapping declared `dimensions: 768`, the whole semantic path behaved — a Chinese query recalled the English document, so the capability is there.
+
+**Numbers:** 2,354 files / 5,620 submitted records / 3,267 documents live after repair; `/v1/embedding/identity` reports `dimensions: 768` while the created mapping carries none and `_count` stays 0; rc.98 and rc.99 both elect `semantic_text` without `dimensions`; killing the backend mid-run does not change the election; the two-dataset run exited 0 reporting `already indexed` with `-docs` at 0 and `-json` at 120; a cross-lingual query scored 0.90; graph edges 7,923; portable reproduction ~90 s.
+
+**Filed alongside:** https://github.com/xerj-org/xerj/issues/2407