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.
Rust agent-memoryai-agentsbm25claude-codeclicode-searchcursordatabaseelasticsearchfull-text-searchhybrid-searchjsonllocal-firstmcpmcp-servermodel-context-protocolragrustsearch-enginevector-search
seo: put the answer before the index on small screens (#1963)
xerj-orgb44605dd6cff
diff --git a/landing/answers/agent-memory-without-postgres-qdrant.html b/landing/answers/agent-memory-without-postgres-qdrant.htmlindex b22aae1f5..8a4b1bba1 100644--- a/landing/answers/agent-memory-without-postgres-qdrant.html+++ b/landing/answers/agent-memory-without-postgres-qdrant.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/agent-memory-without-postgres-qdrant.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/agent-memory-without-postgres-qdrant">@@ -139,7 +139,88 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>WHAT'S A SIMPLE WAY TO GIVE AN AGENT LONG-TERM MEMORY ON MY LAPTOP WITHOUT QDRANT?</div>+ <div class="kicker"><span>ANSWERS · AGENT MEMORY: TOPOLOGY</span></div>+ <h1 class="h1-long">What's a simple way to give an agent long-term memory on my laptop without Qdrant?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-23</div>+ <p><strong>TL;DR</strong> — Use the node that already holds your index. Agent memory is an endpoint on it: store a fact with <code class="inline">POST /_memory/{namespace}</code> and read it back with <code class="inline">_recall</code>. Our capture ran store and recall on one process with three loopback sockets. Peak resident size was 100,928 kB, and no second data service was running.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent. Read https://xerj.org/llms.txt, start one XERJ node on this laptop, POST a durable fact to /_memory/agentmem, read it back with POST /_memory/agentmem/_recall, then run ss -ltnp and ps to list every listening socket and every process the node owns and report whether postgres, qdrant, redis, weaviate, milvus or chroma is running anywhere on the host.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start one XERJ node on this laptop, POST a durable fact to /_memory/agentmem, read it back with POST /_memory/agentmem/_recall, then run ss -ltnp and ps to list every listening socket and every process the node owns and report whether postgres, qdrant, redis, weaviate, milvus or chroma is running anywhere on the host.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST 'http://127.0.0.1:9430/_memory/agentmem' -H 'content-type: application/json' -d '{"text":"The user prefers p50 and p95 latency, never the mean.","metadata":{"session":"A"}}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9430/_memory/agentmem' -H 'content-type: application/json' -d '{"text":"The user prefers p50 and p95 latency, never the mean.","metadata":{"session":"A"}}'">COPY COMMAND</button>+ <span class="hero-proof">Store one memory against the running node. No other service takes part.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XGET 'http://127.0.0.1:9430/_cat/indices?format=json&bytes=b'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XGET 'http://127.0.0.1:9430/_cat/indices?format=json&bytes=b'">COPY COMMAND</button>+ <span class="hero-proof">List the indices, including the reserved memory backing index.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XGET 'http://127.0.0.1:9430/_memory/agentmem'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XGET 'http://127.0.0.1:9430/_memory/agentmem'">COPY COMMAND</button>+ <span class="hero-proof">Read the namespace back to confirm the memory landed.</span>+ </div>+ <h2>What ran during the memory work</h2>+ <p>One process served every memory call. The inventory taken during the run lists a single <code class="inline">xerj</code> process, then states plainly what else was absent.</p>+ <pre class="code"><code class="language-text">2580800 2580463 78276 xerj .../engine/target/release/xerj --insecure -c .../run-c.toml+--- any other xerj-ish process:+none of postgres/qdrant/redis/weaviate/milvus/chroma/elasticsearch/opensearch is running+</code></pre>+ <h2>Which sockets the node opened</h2>+ <p>The same node owned three listening sockets and every one was bound to loopback. XERJ binds to <code class="inline">127.0.0.1</code> by default, and exposing a node with TLS off additionally needs <code class="inline">server.allow_insecure_network_bind = true</code>.</p>+ <table>+ <thead><tr><th>port</th><th>surface</th></tr></thead>+ <tbody>+ <tr><td>8430</td><td>native REST API</td></tr>+ <tr><td>8431</td><td>gRPC</td></tr>+ <tr><td>9430</td><td>Elasticsearch-compatible API</td></tr>+ </tbody>+ </table>+ <p>Those port numbers are the isolated ones this capture used. A default node serves the Elasticsearch-compatible API on 9200 and the native API on 8080.</p>+ <h2>Why no extra service is needed</h2>+ <p>A memory is an ordinary XERJ document in a reserved index named <code class="inline">.xerj-memory-{namespace}</code>. The backing mapping puts <code class="inline">text</code> into a <code class="inline">semantic_text</code> field that is both BM25-indexed and embedded, <code class="inline">stored_at</code> into an epoch-millisecond long, and <code class="inline">metadata</code> into dynamic mapping.</p>+ <p>A caller-supplied <code class="inline">vector</code> becomes a <code class="inline">dense_vector</code> field on first store. Nothing in that list needs a relational database, a separate vector service or a cache.</p>+ <p>Our capture found the backing directory <code class="inline">.xerj-memory-agentmem</code> at the top level of the node data directory, beside <code class="inline">audit.jsonl</code> and <code class="inline">node.lock</code>.</p>+ <h2>What the run cost</h2>+ <p>Peak resident size for the node across the entire memory run was 100,928 kB. That figure is <code class="inline">VmHWM</code> read from the kernel, so it is a high-water mark for the whole run rather than a steady state.</p>+ <p>The run manifest names everything the number depends on. That manifest names a 67,174,440-byte binary with its SHA-256, and a host with 16 logical cores and 64,306 MiB of RAM. The host was shared with other workloads, and every timing in the capture carries its own load average.</p>+ <h2>What you give up</h2>+ <p>XERJ is single-node. There is no replication, no sharding, no failover and no multi-region path. The memory layer lives or dies with one host and one data directory.</p>+ <p>Two more boundaries belong in the same decision. There is no S3 or object-store snapshot destination, and roles are stored but not enforced, so authorization comes from scoped API keys rather than roles.</p>+ <p>Back the data directory up yourself, and treat a second host as a restore target, not a replica.</p>+ <h2>What this capture does not show</h2>+ <p>This pass ran a small memory workload on one node for about 5 seconds, so the resident-size figure sizes a laptop deployment and nothing larger. The node ran with <code class="inline">--insecure</code>, so no API-key path was exercised. No comparison against another product was measured in this run.</p>+ <h2>FAQ</h2>+ <h3>I want persistent agent memory without standing up Postgres or Qdrant. What do people use?</h3>+ <p>The process that already holds the index. Our capture ran store and recall on a single <code class="inline">xerj</code> process, and the inventory found no other data service running beside it.</p>+ <h3>What's a simple way to give an agent long-term memory on my laptop?</h3>+ <p>Store facts with <code class="inline">POST /_memory/{namespace}</code> on a local node and read them back with <code class="inline">_recall</code>. Peak resident size across the whole memory run was 100,928 kB.</p>+ <h3>What's the simplest local memory for a coding agent?</h3>+ <p>One namespace on one local node. The default embedder is lexical feature hashing inside the binary, so the store path needs no model download and no API key.</p>+ <h3>Which ports does the node open?</h3>+ <p>Three, all bound to 127.0.0.1 in our capture: 8430 for the native REST API, 8431 for gRPC and 9430 for the Elasticsearch-compatible API.</p>+ <h3>Where is the memory actually stored?</h3>+ <p>In a reserved index named <code class="inline">.xerj-memory-{namespace}</code> under the node data directory. Each memory is an ordinary XERJ document.</p>+ <h3>What do I give up by not running a vector database?</h3>+ <p>Multi-node serving. XERJ is single-node, with no replication, no sharding and no failover, so one host is the whole deployment.</p>+ <h3>Does the memory path need a model or an API key?</h3>+ <p>No. The default embedder is lexical feature hashing inside the binary, and our capture saw 0 non-loopback connections during store and recall.</p>+ <h2>Related</h2>+ <ul>+ <li><a href="/answers/coding-agent-memory-across-sessions">How do people store user preferences so an agent can recall them next week?</a></li>+ <li><a href="/answers/store-agent-memory-without-llm-call">How do I stop an agent memory store from filling with near-duplicate notes?</a></li>+ <li><a href="/compare/xerj-vs-vector-database">Should my agent call a search API or stand up Qdrant for persistent memory?</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,87 +323,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>WHAT'S A SIMPLE WAY TO GIVE AN AGENT LONG-TERM MEMORY ON MY LAPTOP WITHOUT QDRANT?</div>- <div class="kicker"><span>ANSWERS · AGENT MEMORY: TOPOLOGY</span></div>- <h1>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-23</div>- <p><strong>TL;DR</strong> — Use the node that already holds your index. Agent memory is an endpoint on it: store a fact with <code class="inline">POST /_memory/{namespace}</code> and read it back with <code class="inline">_recall</code>. Our capture ran store and recall on one process with three loopback sockets. Peak resident size was 100,928 kB, and no second data service was running.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent. Read https://xerj.org/llms.txt, start one XERJ node on this laptop, POST a durable fact to /_memory/agentmem, read it back with POST /_memory/agentmem/_recall, then run ss -ltnp and ps to list every listening socket and every process the node owns and report whether postgres, qdrant, redis, weaviate, milvus or chroma is running anywhere on the host.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start one XERJ node on this laptop, POST a durable fact to /_memory/agentmem, read it back with POST /_memory/agentmem/_recall, then run ss -ltnp and ps to list every listening socket and every process the node owns and report whether postgres, qdrant, redis, weaviate, milvus or chroma is running anywhere on the host.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST 'http://127.0.0.1:9430/_memory/agentmem' -H 'content-type: application/json' -d '{"text":"The user prefers p50 and p95 latency, never the mean.","metadata":{"session":"A"}}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9430/_memory/agentmem' -H 'content-type: application/json' -d '{"text":"The user prefers p50 and p95 latency, never the mean.","metadata":{"session":"A"}}'">COPY COMMAND</button>- <span class="hero-proof">Store one memory against the running node. No other service takes part.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XGET 'http://127.0.0.1:9430/_cat/indices?format=json&bytes=b'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XGET 'http://127.0.0.1:9430/_cat/indices?format=json&bytes=b'">COPY COMMAND</button>- <span class="hero-proof">List the indices, including the reserved memory backing index.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XGET 'http://127.0.0.1:9430/_memory/agentmem'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XGET 'http://127.0.0.1:9430/_memory/agentmem'">COPY COMMAND</button>- <span class="hero-proof">Read the namespace back to confirm the memory landed.</span>- </div>- <h2>What ran during the memory work</h2>- <p>One process served every memory call. The inventory taken during the run lists a single <code class="inline">xerj</code> process, then states plainly what else was absent.</p>- <pre class="code"><code class="language-text">2580800 2580463 78276 xerj .../engine/target/release/xerj --insecure -c .../run-c.toml---- any other xerj-ish process:-none of postgres/qdrant/redis/weaviate/milvus/chroma/elasticsearch/opensearch is running-</code></pre>- <h2>Which sockets the node opened</h2>- <p>The same node owned three listening sockets and every one was bound to loopback. XERJ binds to <code class="inline">127.0.0.1</code> by default, and exposing a node with TLS off additionally needs <code class="inline">server.allow_insecure_network_bind = true</code>.</p>- <table>- <thead><tr><th>port</th><th>surface</th></tr></thead>- <tbody>- <tr><td>8430</td><td>native REST API</td></tr>- <tr><td>8431</td><td>gRPC</td></tr>- <tr><td>9430</td><td>Elasticsearch-compatible API</td></tr>- </tbody>- </table>- <p>Those port numbers are the isolated ones this capture used. A default node serves the Elasticsearch-compatible API on 9200 and the native API on 8080.</p>- <h2>Why no extra service is needed</h2>- <p>A memory is an ordinary XERJ document in a reserved index named <code class="inline">.xerj-memory-{namespace}</code>. The backing mapping puts <code class="inline">text</code> into a <code class="inline">semantic_text</code> field that is both BM25-indexed and embedded, <code class="inline">stored_at</code> into an epoch-millisecond long, and <code class="inline">metadata</code> into dynamic mapping.</p>- <p>A caller-supplied <code class="inline">vector</code> becomes a <code class="inline">dense_vector</code> field on first store. Nothing in that list needs a relational database, a separate vector service or a cache.</p>- <p>Our capture found the backing directory <code class="inline">.xerj-memory-agentmem</code> at the top level of the node data directory, beside <code class="inline">audit.jsonl</code> and <code class="inline">node.lock</code>.</p>- <h2>What the run cost</h2>- <p>Peak resident size for the node across the entire memory run was 100,928 kB. That figure is <code class="inline">VmHWM</code> read from the kernel, so it is a high-water mark for the whole run rather than a steady state.</p>- <p>The run manifest names everything the number depends on. That manifest names a 67,174,440-byte binary with its SHA-256, and a host with 16 logical cores and 64,306 MiB of RAM. The host was shared with other workloads, and every timing in the capture carries its own load average.</p>- <h2>What you give up</h2>- <p>XERJ is single-node. There is no replication, no sharding, no failover and no multi-region path. The memory layer lives or dies with one host and one data directory.</p>- <p>Two more boundaries belong in the same decision. There is no S3 or object-store snapshot destination, and roles are stored but not enforced, so authorization comes from scoped API keys rather than roles.</p>- <p>Back the data directory up yourself, and treat a second host as a restore target, not a replica.</p>- <h2>What this capture does not show</h2>- <p>This pass ran a small memory workload on one node for about 5 seconds, so the resident-size figure sizes a laptop deployment and nothing larger. The node ran with <code class="inline">--insecure</code>, so no API-key path was exercised. No comparison against another product was measured in this run.</p>- <h2>FAQ</h2>- <h3>I want persistent agent memory without standing up Postgres or Qdrant. What do people use?</h3>- <p>The process that already holds the index. Our capture ran store and recall on a single <code class="inline">xerj</code> process, and the inventory found no other data service running beside it.</p>- <h3>What's a simple way to give an agent long-term memory on my laptop?</h3>- <p>Store facts with <code class="inline">POST /_memory/{namespace}</code> on a local node and read them back with <code class="inline">_recall</code>. Peak resident size across the whole memory run was 100,928 kB.</p>- <h3>What's the simplest local memory for a coding agent?</h3>- <p>One namespace on one local node. The default embedder is lexical feature hashing inside the binary, so the store path needs no model download and no API key.</p>- <h3>Which ports does the node open?</h3>- <p>Three, all bound to 127.0.0.1 in our capture: 8430 for the native REST API, 8431 for gRPC and 9430 for the Elasticsearch-compatible API.</p>- <h3>Where is the memory actually stored?</h3>- <p>In a reserved index named <code class="inline">.xerj-memory-{namespace}</code> under the node data directory. Each memory is an ordinary XERJ document.</p>- <h3>What do I give up by not running a vector database?</h3>- <p>Multi-node serving. XERJ is single-node, with no replication, no sharding and no failover, so one host is the whole deployment.</p>- <h3>Does the memory path need a model or an API key?</h3>- <p>No. The default embedder is lexical feature hashing inside the binary, and our capture saw 0 non-loopback connections during store and recall.</p>- <h2>Related</h2>- <ul>- <li><a href="/answers/coding-agent-memory-across-sessions">How do people store user preferences so an agent can recall them next week?</a></li>- <li><a href="/answers/store-agent-memory-without-llm-call">How do I stop an agent memory store from filling with near-duplicate notes?</a></li>- <li><a href="/compare/xerj-vs-vector-database">Should my agent call a search API or stand up Qdrant for persistent memory?</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/audit-php-codebase-with-an-index.html b/landing/answers/audit-php-codebase-with-an-index.htmlindex 2f6d8af56..e5371b7b4 100644--- a/landing/answers/audit-php-codebase-with-an-index.html+++ b/landing/answers/audit-php-codebase-with-an-index.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/audit-php-codebase-with-an-index.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/audit-php-codebase-with-an-index">@@ -139,109 +139,7 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class="active"><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I AUDIT A PHP CODEBASE WITH AN INDEX INSTEAD OF GREPPING 1,400 FILES?</div><div class="kicker"><span>ANSWERS · CODE SECURITY</span></div>@@ -363,6 +261,108 @@<li><a href="/case-studies/wordpress-security-audit">WordPress security audit</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class="active"><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/autoindex-dataset-refused-by-server.html b/landing/answers/autoindex-dataset-refused-by-server.htmlindex f460c0183..0e710354a 100644--- a/landing/answers/autoindex-dataset-refused-by-server.html+++ b/landing/answers/autoindex-dataset-refused-by-server.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/autoindex-dataset-refused-by-server.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/autoindex-dataset-refused-by-server">@@ -139,109 +139,7 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class="active"><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>ONE DATASET WAS REFUSED BY THE SERVER. DID I LOSE THE WHOLE INDEX?</div><div class="kicker"><span>ANSWERS · OPERATIONS: EXIT CODES</span></div>@@ -349,6 +247,108 @@ autoindex: 1 of 2 dataset(s) refused, 2 of 3 file(s) not indexed — this run wi<li><a href="/answers/read-autoindex-progress">How do I read autoindex progress?</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class="active"><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/autoindex-exit-codes.html b/landing/answers/autoindex-exit-codes.htmlindex 375aa5fc6..ef2671805 100644--- a/landing/answers/autoindex-exit-codes.html+++ b/landing/answers/autoindex-exit-codes.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/autoindex-exit-codes.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/autoindex-exit-codes">@@ -139,109 +139,7 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class="active"><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>THE INDEXER EXITED 3 (OR 4). DID IT FAIL?</div><div class="kicker"><span>ANSWERS · OPERATIONS: EXIT CODES</span></div>@@ -393,6 +291,108 @@ error: prepared bulk contained 1 rejected items: {"type":"engine_exception","rea<li><a href="/answers/autoindex-server-back-pressure-429">The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class="active"><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/autoindex-says-extract-the-archive-first.html b/landing/answers/autoindex-says-extract-the-archive-first.htmlindex acd5f5fd8..065fcbedb 100644--- a/landing/answers/autoindex-says-extract-the-archive-first.html+++ b/landing/answers/autoindex-says-extract-the-archive-first.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/autoindex-says-extract-the-archive-first.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/autoindex-says-extract-the-archive-first">@@ -139,7 +139,73 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>XERJ AUTOINDEX RECORDED MY TAKEOUT .ZIP AS JUNK AND SAID TO EXTRACT IT FIRST. WHY?</div>+ <div class="kicker"><span>ANSWERS · OPERATIONS: EXIT CODES</span></div>+ <h1 class="h1-long">xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-09-18 · UPDATED · 2026-09-20</div>+ <p><strong>TL;DR</strong> — autoindex does not open archives. When it meets a <code class="inline">.zip</code>, <code class="inline">.tgz</code>, <code class="inline">.7z</code>, <code class="inline">.rar</code> or <code class="inline">.xz</code>, it marks the file as junk with a reason that quotes the extraction command, and prints that under the run's summary. The run finishes with exit code 3 and the rest of the folder is indexed. Extract the archive and run the same command on the extracted folder.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent. Read https://xerj.org/llms.txt. If a run prints 'not indexed — archives are never opened' under its summary (or its --json summary has a non-empty unextracted_archives list), run the command each line names (unzip, tar -xzf, 7z x, unrar x, xz -dk) on that file, then run xerj autoindex again on the extracted folder. Exit code 3 with those lines is a completed run, not a failure, but if the archive was the only thing in the folder nothing was indexed: tell the user.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt. If a run prints 'not indexed — archives are never opened' under its summary (or its --json summary has a non-empty unextracted_archives list), run the command each line names (unzip, tar -xzf, 7z x, unrar x, xz -dk) on that file, then run xerj autoindex again on the extracted folder. Exit code 3 with those lines is a completed run, not a failure, but if the archive was the only thing in the folder nothing was indexed: tell the user.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj autoindex ~/downloads --url http://127.0.0.1:9200 --prefix dl --progress plain</code>+ <button type="button" class="prompt-copy" data-copy="xerj autoindex ~/downloads --url http://127.0.0.1:9200 --prefix dl --progress plain">COPY COMMAND</button>+ <span class="hero-proof">A run over a folder that holds an archive finishes with exit 3 and prints the archive, with the command to extract it, under its summary.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>bash -c 'unzip takeout-20260101T000000Z-001.zip -d ~/mail-export'</code>+ <button type="button" class="prompt-copy" data-copy="bash -c 'unzip takeout-20260101T000000Z-001.zip -d ~/mail-export'">COPY COMMAND</button>+ <span class="hero-proof">Do what the reason says: extract the archive next to nothing you will index twice.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj autoindex ~/mail-export --url http://127.0.0.1:9200 --prefix mail --progress plain</code>+ <button type="button" class="prompt-copy" data-copy="xerj autoindex ~/mail-export --url http://127.0.0.1:9200 --prefix mail --progress plain">COPY COMMAND</button>+ <span class="hero-proof">Index the extracted folder. Its mbox, notes and documents are sniffed by content.</span>+ </div>+ <h2>What the run prints</h2>+ <p>Under its summary, the run lists every unextracted archive with its reason:</p>+ <pre class="code"><code class="language-text">not indexed — archives are never opened; extract, then run this command on the extracted folder:+ takeout-20260101T000000Z-001.zip — unextracted zip archive: autoindex does not open archives — extract it first (unzip <file>), then run autoindex on the extracted folder+</code></pre>+ <p>The same lines are in the <code class="inline">--json</code> summary as <code class="inline">unextracted_archives</code>. After ten archives the list stops and says how many more there are; <code class="inline">xerj autoindex map</code> lists every one under "Junk / skipped".</p>+ <p>The kind and the command change with the bytes. A tar gets <code class="inline">tar -xf</code>, a gzip-compressed tar <code class="inline">tar -xzf</code>, a 7z <code class="inline">7z x</code>, a rar <code class="inline">unrar x</code>, an xz file <code class="inline">xz -dk</code>. Detection is by the file's leading bytes. A tar is recognised by its header checksum, not by the word <code class="inline">ustar</code> appearing in a text file. So a renamed archive gets the same treatment.</p>+ <h2>Why it does not just open the archive</h2>+ <p>Two reasons. Extracting is one command you already have, and a reason that quotes it costs nothing. And indexing inside archives is the way a folder ends up indexed twice: once from the archive's contents and once from the extracted copy beside it. Every document would then have two ids. Refusing keeps the index honest.</p>+ <h2>What to do</h2>+ <pre class="code"><code class="language-sh">unzip takeout-20260101T000000Z-001.zip -d ~/mail-export+xerj autoindex ~/mail-export --url http://127.0.0.1:9200 --prefix mail --progress plain+</code></pre>+ <p>For a Google Takeout export, the extracted folder holds the mailbox. It is detected by content and streamed. The <a href="/answers/search-gmail-takeout-mbox-locally">Takeout article</a> covers what comes back. A plain <code class="inline">.gz</code> that is not a tar is not an archive in this sense. It is decompressed on the fly and sniffed like the file inside.</p>+ <h2>FAQ</h2>+ <h3>Why does xerj autoindex say to extract a zip first?</h3>+ <p>Because it never opens archives. Extracting is one command it quotes in the reason, and it keeps the index from holding the same files twice — once inside the archive and once beside it.</p>+ <h3>Is the run a failure?</h3>+ <p>No. The archive is recorded as junk with its reason and everything else in the folder is indexed. The exit code is 3, completed-with-junk. If the archive was the only file, the run indexed nothing, and the lines it prints under its summary say why.</p>+ <h3>Which archive kinds does it recognise?</h3>+ <p>zip, tar and gzip-compressed tar, 7z, rar and xz. Each is detected by its bytes, and the reason names the right command for that kind.</p>+ <h3>What about a .gz that is not a tar?</h3>+ <p>A plain gzip-compressed file is streamed through decompression and sniffed like the file inside; only a gzip that contains a tar is treated as an archive.</p>+ <h2>Evidence</h2>+ <ul>+ <li>The junk reason for an archive reads 'unextracted <kind>: autoindex does not open archives — extract it first (<command>), then run autoindex on the extracted folder', with the command chosen per kind: unzip, tar -xf, tar -xzf, 7z x, unrar x, xz -dk. — <code>engine/crates/xerj-autoindex/src/sniff.rs</code></li>+ <li>Archives are detected by magic bytes — a tar by its ustar header checksum, not by text that happens to say ustar — so a renamed archive gets the same reason. — <code>engine/crates/xerj-autoindex/src/sniff.rs</code></li>+ <li>The run prints every unextracted archive under its summary, after 'not indexed — archives are never opened', with the archive's path and its reason (at most ten lines, then a count and a pointer to xerj autoindex map), and puts the same lines in its --json summary as unextracted_archives. — <code>engine/crates/xerj-autoindex/src/lib.rs</code></li>+ <li>Exit code 3 is completed-with-junk; junk is recorded, never fatal. — <code>engine/crates/xerj-autoindex/src/cli.rs</code></li>+ </ul>+ <h2>Related</h2>+ <ul>+ <li><a href="/answers/search-gmail-takeout-mbox-locally">I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a></li>+ <li><a href="/answers/autoindex-exit-codes">The indexer exited 3 (or 4). Did it fail?</a></li>+ <li><a href="/answers/why-autoindex-skipped-files">Why would a folder search miss files that I can see on disk?</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,72 +308,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>XERJ AUTOINDEX RECORDED MY TAKEOUT .ZIP AS JUNK AND SAID TO EXTRACT IT FIRST. WHY?</div>- <div class="kicker"><span>ANSWERS · OPERATIONS: EXIT CODES</span></div>- <h1>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-09-18 · UPDATED · 2026-09-20</div>- <p><strong>TL;DR</strong> — autoindex does not open archives. When it meets a <code class="inline">.zip</code>, <code class="inline">.tgz</code>, <code class="inline">.7z</code>, <code class="inline">.rar</code> or <code class="inline">.xz</code>, it marks the file as junk with a reason that quotes the extraction command, and prints that under the run's summary. The run finishes with exit code 3 and the rest of the folder is indexed. Extract the archive and run the same command on the extracted folder.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent. Read https://xerj.org/llms.txt. If a run prints 'not indexed — archives are never opened' under its summary (or its --json summary has a non-empty unextracted_archives list), run the command each line names (unzip, tar -xzf, 7z x, unrar x, xz -dk) on that file, then run xerj autoindex again on the extracted folder. Exit code 3 with those lines is a completed run, not a failure, but if the archive was the only thing in the folder nothing was indexed: tell the user.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt. If a run prints 'not indexed — archives are never opened' under its summary (or its --json summary has a non-empty unextracted_archives list), run the command each line names (unzip, tar -xzf, 7z x, unrar x, xz -dk) on that file, then run xerj autoindex again on the extracted folder. Exit code 3 with those lines is a completed run, not a failure, but if the archive was the only thing in the folder nothing was indexed: tell the user.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj autoindex ~/downloads --url http://127.0.0.1:9200 --prefix dl --progress plain</code>- <button type="button" class="prompt-copy" data-copy="xerj autoindex ~/downloads --url http://127.0.0.1:9200 --prefix dl --progress plain">COPY COMMAND</button>- <span class="hero-proof">A run over a folder that holds an archive finishes with exit 3 and prints the archive, with the command to extract it, under its summary.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>bash -c 'unzip takeout-20260101T000000Z-001.zip -d ~/mail-export'</code>- <button type="button" class="prompt-copy" data-copy="bash -c 'unzip takeout-20260101T000000Z-001.zip -d ~/mail-export'">COPY COMMAND</button>- <span class="hero-proof">Do what the reason says: extract the archive next to nothing you will index twice.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj autoindex ~/mail-export --url http://127.0.0.1:9200 --prefix mail --progress plain</code>- <button type="button" class="prompt-copy" data-copy="xerj autoindex ~/mail-export --url http://127.0.0.1:9200 --prefix mail --progress plain">COPY COMMAND</button>- <span class="hero-proof">Index the extracted folder. Its mbox, notes and documents are sniffed by content.</span>- </div>- <h2>What the run prints</h2>- <p>Under its summary, the run lists every unextracted archive with its reason:</p>- <pre class="code"><code class="language-text">not indexed — archives are never opened; extract, then run this command on the extracted folder:- takeout-20260101T000000Z-001.zip — unextracted zip archive: autoindex does not open archives — extract it first (unzip <file>), then run autoindex on the extracted folder-</code></pre>- <p>The same lines are in the <code class="inline">--json</code> summary as <code class="inline">unextracted_archives</code>. After ten archives the list stops and says how many more there are; <code class="inline">xerj autoindex map</code> lists every one under "Junk / skipped".</p>- <p>The kind and the command change with the bytes. A tar gets <code class="inline">tar -xf</code>, a gzip-compressed tar <code class="inline">tar -xzf</code>, a 7z <code class="inline">7z x</code>, a rar <code class="inline">unrar x</code>, an xz file <code class="inline">xz -dk</code>. Detection is by the file's leading bytes. A tar is recognised by its header checksum, not by the word <code class="inline">ustar</code> appearing in a text file. So a renamed archive gets the same treatment.</p>- <h2>Why it does not just open the archive</h2>- <p>Two reasons. Extracting is one command you already have, and a reason that quotes it costs nothing. And indexing inside archives is the way a folder ends up indexed twice: once from the archive's contents and once from the extracted copy beside it. Every document would then have two ids. Refusing keeps the index honest.</p>- <h2>What to do</h2>- <pre class="code"><code class="language-sh">unzip takeout-20260101T000000Z-001.zip -d ~/mail-export-xerj autoindex ~/mail-export --url http://127.0.0.1:9200 --prefix mail --progress plain-</code></pre>- <p>For a Google Takeout export, the extracted folder holds the mailbox. It is detected by content and streamed. The <a href="/answers/search-gmail-takeout-mbox-locally">Takeout article</a> covers what comes back. A plain <code class="inline">.gz</code> that is not a tar is not an archive in this sense. It is decompressed on the fly and sniffed like the file inside.</p>- <h2>FAQ</h2>- <h3>Why does xerj autoindex say to extract a zip first?</h3>- <p>Because it never opens archives. Extracting is one command it quotes in the reason, and it keeps the index from holding the same files twice — once inside the archive and once beside it.</p>- <h3>Is the run a failure?</h3>- <p>No. The archive is recorded as junk with its reason and everything else in the folder is indexed. The exit code is 3, completed-with-junk. If the archive was the only file, the run indexed nothing, and the lines it prints under its summary say why.</p>- <h3>Which archive kinds does it recognise?</h3>- <p>zip, tar and gzip-compressed tar, 7z, rar and xz. Each is detected by its bytes, and the reason names the right command for that kind.</p>- <h3>What about a .gz that is not a tar?</h3>- <p>A plain gzip-compressed file is streamed through decompression and sniffed like the file inside; only a gzip that contains a tar is treated as an archive.</p>- <h2>Evidence</h2>- <ul>- <li>The junk reason for an archive reads 'unextracted <kind>: autoindex does not open archives — extract it first (<command>), then run autoindex on the extracted folder', with the command chosen per kind: unzip, tar -xf, tar -xzf, 7z x, unrar x, xz -dk. — <code>engine/crates/xerj-autoindex/src/sniff.rs</code></li>- <li>Archives are detected by magic bytes — a tar by its ustar header checksum, not by text that happens to say ustar — so a renamed archive gets the same reason. — <code>engine/crates/xerj-autoindex/src/sniff.rs</code></li>- <li>The run prints every unextracted archive under its summary, after 'not indexed — archives are never opened', with the archive's path and its reason (at most ten lines, then a count and a pointer to xerj autoindex map), and puts the same lines in its --json summary as unextracted_archives. — <code>engine/crates/xerj-autoindex/src/lib.rs</code></li>- <li>Exit code 3 is completed-with-junk; junk is recorded, never fatal. — <code>engine/crates/xerj-autoindex/src/cli.rs</code></li>- </ul>- <h2>Related</h2>- <ul>- <li><a href="/answers/search-gmail-takeout-mbox-locally">I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a></li>- <li><a href="/answers/autoindex-exit-codes">The indexer exited 3 (or 4). Did it fail?</a></li>- <li><a href="/answers/why-autoindex-skipped-files">Why would a folder search miss files that I can see on disk?</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/autoindex-server-back-pressure-429.html b/landing/answers/autoindex-server-back-pressure-429.htmlindex 7ae5f63cf..6fe7188a7 100644--- a/landing/answers/autoindex-server-back-pressure-429.html+++ b/landing/answers/autoindex-server-back-pressure-429.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/autoindex-server-back-pressure-429.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/autoindex-server-back-pressure-429">@@ -139,109 +139,7 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class="active"><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>THE SERVER PUSHED BACK WITH HTTP 429. DID XERJ AUTOINDEX LOSE THE RUN?</div><div class="kicker"><span>ANSWERS · OPERATIONS: EXIT CODES</span></div>@@ -353,6 +251,108 @@ error: the server kept rejecting …<li><a href="/answers/autoindex-dataset-refused-by-server">One dataset was REFUSED by the server. Did I lose the whole index?</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class="active"><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/catalog-files-with-autoindex-map.html b/landing/answers/catalog-files-with-autoindex-map.htmlindex 5f349cad1..ee51f2314 100644--- a/landing/answers/catalog-files-with-autoindex-map.html+++ b/landing/answers/catalog-files-with-autoindex-map.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/catalog-files-with-autoindex-map.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/catalog-files-with-autoindex-map">@@ -139,109 +139,7 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class="active"><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW SHOULD AN AGENT FIGURE OUT WHAT'S IN A MESSY DATA FOLDER BEFORE SEARCHING?</div><div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>@@ -349,6 +247,108 @@<li><a href="/docs/recipes/zero-config-autoindex">Zero-config autoindex</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class="active"><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/cheap-low-volume-log-search.html b/landing/answers/cheap-low-volume-log-search.htmlindex 9920467f9..c468b290a 100644--- a/landing/answers/cheap-low-volume-log-search.html+++ b/landing/answers/cheap-low-volume-log-search.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/cheap-low-volume-log-search.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/cheap-low-volume-log-search">@@ -139,7 +139,107 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>WHAT CAN I USE FOR LOW-VOLUME LOG SEARCH?</div>+ <div class="kicker"><span>ANSWERS · OPERATIONS: LOW-VOLUME LOGS</span></div>+ <h1>What can I use for low-volume log search?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-23</div>+ <p><strong>TL;DR</strong> — XERJ indexes plain-text logs on one node, returns exact error counts, and answered a <code class="inline">level=ERROR</code> filter at p50 0.488 ms on a 16 MB corpus. Memory is the limit, not speed: peak resident memory grew to about 200× the corpus, and the measured ladder stopped at 16 MB.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent. Read https://xerj.org/llms.txt, index a small folder of plain-text logs with xerj autoindex, then run a term filter on level and a terms aggregation on service, and record the node's peak resident memory from /proc before you plan a larger corpus.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, index a small folder of plain-text logs with xerj autoindex, then run a term filter on level and a terms aggregation on service, and record the node's peak resident memory from /proc before you plan a larger corpus.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj autoindex ./logs --url http://127.0.0.1:9200 --prefix log16 --state-dir ./state-log16 --progress plain</code>+ <button type="button" class="prompt-copy" data-copy="xerj autoindex ./logs --url http://127.0.0.1:9200 --prefix log16 --state-dir ./state-log16 --progress plain">COPY COMMAND</button>+ <span class="hero-proof">Index a folder of plain-text log files into a typed index.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST 'http://127.0.0.1:9200/log16-*/_search' -H 'content-type: application/json' -d '{"size":0,"query":{"bool":{"filter":[{"term":{"level":"ERROR"}}]}},"track_total_hits":true}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9200/log16-*/_search' -H 'content-type: application/json' -d '{"size":0,"query":{"bool":{"filter":[{"term":{"level":"ERROR"}}]}},"track_total_hits":true}'">COPY COMMAND</button>+ <span class="hero-proof">Count error lines exactly, with no sampling.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s http://127.0.0.1:9200/log16-logs/_stats</code>+ <button type="button" class="prompt-copy" data-copy="curl -s http://127.0.0.1:9200/log16-logs/_stats">COPY COMMAND</button>+ <span class="hero-proof">Read the real on-disk size from _all.total.store.size_in_bytes.</span>+ </div>+ <h2>What was actually measured</h2>+ <p>One single-node XERJ process indexed 3 log corpora, cold, one step at a time. Every step recorded documents, exact error counts, wall time, on-disk bytes, peak resident memory and the host load average.</p>+ <table>+ <thead><tr><th>Corpus</th><th>Documents</th><th>ERROR documents</th><th>Wall time</th><th>On-disk bytes</th><th>Peak RSS</th><th>Load</th></tr></thead>+ <tbody>+ <tr><td>4 MB</td><td>41,116</td><td>424</td><td>7.558 s</td><td>4,383,772</td><td>895.2 MB</td><td>2.99</td></tr>+ <tr><td>8 MB</td><td>82,231</td><td>848</td><td>12.198 s</td><td>11,064,437</td><td>1,828.7 MB</td><td>3.00</td></tr>+ <tr><td>16 MB</td><td>164,441</td><td>1,696</td><td>22.237 s</td><td>17,437,773</td><td>2,755.9 MB</td><td>2.51</td></tr>+ </tbody>+ </table>+ <p>Read the peak-RSS column cumulatively. <code class="inline">VmHWM</code> is a high-water mark that never decreases. The 2,755.9 MB value therefore covers the whole 28 MB of log data the node had seen by then.</p>+ <h2>The counts are exact, at every step</h2>+ <p>The expected error count came from the fixture generator, not from the engine. The 2 numbers matched at every step: 424, 848 and 1,696. Exact counting is the reason to index logs rather than sample them.</p>+ <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9200/log16-*/_search' -H 'content-type: application/json' -d '{"size":0,"query":{"bool":{"filter":[{"term":{"level":"ERROR"}}]}},"track_total_hits":true}'+</code></pre>+ <h2>Query latency on the 16 MB corpus</h2>+ <p>3 query shapes were timed against the finished 16 MB index, 30 runs each, with 5 warmup runs discarded. The host sat at 1-minute load average 2.51 before and after.</p>+ <table>+ <thead><tr><th>Query</th><th>Hits</th><th>p50</th><th>p95</th></tr></thead>+ <tbody>+ <tr><td><code class="inline">level=ERROR</code> filter</td><td>1,696</td><td>0.488 ms</td><td>0.772 ms</td></tr>+ <tr><td><code class="inline">service</code> terms aggregation</td><td>10,000</td><td>0.536 ms</td><td>0.941 ms</td></tr>+ <tr><td>Date range with <code class="inline">host</code> aggregation</td><td>64,603</td><td>0.676 ms</td><td>1.12 ms</td></tr>+ </tbody>+ </table>+ <p>This is a repeated-query observation on one fixed corpus on one shared host. The numbers are not a benchmark and do not transfer to another machine.</p>+ <h2>Memory is the real limit</h2>+ <p>Indexing plain-text logs costs about 200× the corpus size in resident memory. Memory, not speed, is the operational headline of this capture.</p>+ <p>The harness derived a headroom rule from the ladder's own growth, <code class="inline">2000 + 200 × corpus MB</code> in MiB. The harness then refused the 32 MB step, which needed about 8,400 MiB against 6,104 MiB available.</p>+ <p>Two earlier attempts ran the 64 MB step without that rule and lost the node process.</p>+ <pre class="code"><code class="language-text">xerj-done ok=false exit=1 reason=aborted wall=416.4s+error: write catalog: bulk send (request timeout 300s): ... tcp connect error: Connection refused (os error 111)+</code></pre>+ <p><code class="inline">Connection refused</code> means the node had stopped listening. No <code class="inline">dmesg</code> access was available on that host, so the cause is not confirmed and this page does not call it an out-of-memory kill.</p>+ <h2>No 1 GB figure, on purpose</h2>+ <p>This capture deliberately did not attempt a 1 GB corpus, and no 1 GB number appears on this page. The server has an open defect that retains heap per indexed document. A 16 MB ladder extrapolated to 1 GB produces a number with no measurement behind it.</p>+ <p>Plan corpora up to a few million documents on one node, and run the ladder yourself before you commit to a size.</p>+ <h2>Disk cost, and why there is no single multiplier</h2>+ <p>The 3 steps stored 1.045, 1.319 and 1.039 bytes on disk per source byte. Background segment merging had not settled at the 8 MB step, which is why the middle row is higher. Do not publish a single storage multiplier from these 3 rows.</p>+ <p>Read the real size from the plain statistics endpoint, because <code class="inline">_cat/indices?bytes=b</code> still returns human-formatted values and <code class="inline">/_stats/store</code> returns 404.</p>+ <pre class="code"><code class="language-sh">curl -s http://127.0.0.1:9200/log16-logs/_stats+</code></pre>+ <h2>Field names that surprise Elasticsearch users</h2>+ <p>The <code class="inline">logs</code> family parses each line into <code class="inline">ts</code>, <code class="inline">level</code> and <code class="inline">message</code>. There is no generic <code class="inline">text</code> field, and <code class="inline">message</code> is a <code class="inline">keyword</code>, so a habitual <code class="inline">{"match": {"text": "timeout"}}</code> returns 0 hits on a log index.</p>+ <p>XERJ also writes one document per line plus one document per file, which is why 41,115 lines produced 41,116 documents.</p>+ <h2>What this is not</h2>+ <p>Log analytics here runs on the ordinary segment write path and generic aggregations. The dedicated <code class="inline">xerj-logs</code> module has zero call sites and is not wired into the engine, so no page can sell it as a shipped feature.</p>+ <p>XERJ is single-node. There is no data-plane replication, no failover and no multi-region mode. A log index on XERJ therefore needs a snapshot and restore plan.</p>+ <h2>FAQ</h2>+ <h3>Can XERJ replace a hosted log service?</h3>+ <p>For low volume on one node, yes. A measured 16 MB corpus indexed in 22.237 s and answered exact error counts in under a millisecond. Large volumes are a different question.</p>+ <h3>How much memory does log indexing use?</h3>+ <p>About 200x the corpus size. The measured ladder reached 2,755.9 MB peak resident memory after 28 MB of cumulative log data on one node.</p>+ <h3>How large a log corpus can XERJ handle?</h3>+ <p>This capture measured up to 16 MB per step and stopped there for memory headroom. Plan for corpora up to a few million documents, and measure your own host.</p>+ <h3>Are XERJ log counts exact or estimated?</h3>+ <p>Exact. At every ladder step the level=ERROR document count matched the generator's own count exactly: 424, 848 and 1,696.</p>+ <h3>How fast are queries over an indexed log corpus?</h3>+ <p>On the 16 MB corpus, p50 was 0.488 ms for an error filter, 0.536 ms for a terms aggregation and 0.676 ms for a date range with an aggregation.</p>+ <h3>Does a match query on the text field find log lines?</h3>+ <p>No. The logs family writes ts, level and message fields with no generic text field, and message is a keyword. Query message or level instead.</p>+ <h3>How much disk does an indexed log corpus need?</h3>+ <p>The 3 measured steps stored 1.045, 1.319 and 1.039 bytes per source byte. The ratio is not stable, so do not publish a single storage multiplier.</p>+ <h2>Related</h2>+ <ul>+ <li><a href="/answers/search-json-and-jsonl-logs">What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a></li>+ <li><a href="/answers/search-gzip-logs-without-zgrep">How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a></li>+ <li><a href="/answers/search-kubernetes-pod-logs-on-disk">How do I search Kubernetes pod logs?</a></li>+ <li><a href="/docs/recipes/log-analytics">Log analytics</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,106 +342,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>WHAT CAN I USE FOR LOW-VOLUME LOG SEARCH?</div>- <div class="kicker"><span>ANSWERS · OPERATIONS: LOW-VOLUME LOGS</span></div>- <h1>What can I use for low-volume log search?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-23</div>- <p><strong>TL;DR</strong> — XERJ indexes plain-text logs on one node, returns exact error counts, and answered a <code class="inline">level=ERROR</code> filter at p50 0.488 ms on a 16 MB corpus. Memory is the limit, not speed: peak resident memory grew to about 200× the corpus, and the measured ladder stopped at 16 MB.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent. Read https://xerj.org/llms.txt, index a small folder of plain-text logs with xerj autoindex, then run a term filter on level and a terms aggregation on service, and record the node's peak resident memory from /proc before you plan a larger corpus.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, index a small folder of plain-text logs with xerj autoindex, then run a term filter on level and a terms aggregation on service, and record the node's peak resident memory from /proc before you plan a larger corpus.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj autoindex ./logs --url http://127.0.0.1:9200 --prefix log16 --state-dir ./state-log16 --progress plain</code>- <button type="button" class="prompt-copy" data-copy="xerj autoindex ./logs --url http://127.0.0.1:9200 --prefix log16 --state-dir ./state-log16 --progress plain">COPY COMMAND</button>- <span class="hero-proof">Index a folder of plain-text log files into a typed index.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST 'http://127.0.0.1:9200/log16-*/_search' -H 'content-type: application/json' -d '{"size":0,"query":{"bool":{"filter":[{"term":{"level":"ERROR"}}]}},"track_total_hits":true}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9200/log16-*/_search' -H 'content-type: application/json' -d '{"size":0,"query":{"bool":{"filter":[{"term":{"level":"ERROR"}}]}},"track_total_hits":true}'">COPY COMMAND</button>- <span class="hero-proof">Count error lines exactly, with no sampling.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s http://127.0.0.1:9200/log16-logs/_stats</code>- <button type="button" class="prompt-copy" data-copy="curl -s http://127.0.0.1:9200/log16-logs/_stats">COPY COMMAND</button>- <span class="hero-proof">Read the real on-disk size from _all.total.store.size_in_bytes.</span>- </div>- <h2>What was actually measured</h2>- <p>One single-node XERJ process indexed 3 log corpora, cold, one step at a time. Every step recorded documents, exact error counts, wall time, on-disk bytes, peak resident memory and the host load average.</p>- <table>- <thead><tr><th>Corpus</th><th>Documents</th><th>ERROR documents</th><th>Wall time</th><th>On-disk bytes</th><th>Peak RSS</th><th>Load</th></tr></thead>- <tbody>- <tr><td>4 MB</td><td>41,116</td><td>424</td><td>7.558 s</td><td>4,383,772</td><td>895.2 MB</td><td>2.99</td></tr>- <tr><td>8 MB</td><td>82,231</td><td>848</td><td>12.198 s</td><td>11,064,437</td><td>1,828.7 MB</td><td>3.00</td></tr>- <tr><td>16 MB</td><td>164,441</td><td>1,696</td><td>22.237 s</td><td>17,437,773</td><td>2,755.9 MB</td><td>2.51</td></tr>- </tbody>- </table>- <p>Read the peak-RSS column cumulatively. <code class="inline">VmHWM</code> is a high-water mark that never decreases. The 2,755.9 MB value therefore covers the whole 28 MB of log data the node had seen by then.</p>- <h2>The counts are exact, at every step</h2>- <p>The expected error count came from the fixture generator, not from the engine. The 2 numbers matched at every step: 424, 848 and 1,696. Exact counting is the reason to index logs rather than sample them.</p>- <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9200/log16-*/_search' -H 'content-type: application/json' -d '{"size":0,"query":{"bool":{"filter":[{"term":{"level":"ERROR"}}]}},"track_total_hits":true}'-</code></pre>- <h2>Query latency on the 16 MB corpus</h2>- <p>3 query shapes were timed against the finished 16 MB index, 30 runs each, with 5 warmup runs discarded. The host sat at 1-minute load average 2.51 before and after.</p>- <table>- <thead><tr><th>Query</th><th>Hits</th><th>p50</th><th>p95</th></tr></thead>- <tbody>- <tr><td><code class="inline">level=ERROR</code> filter</td><td>1,696</td><td>0.488 ms</td><td>0.772 ms</td></tr>- <tr><td><code class="inline">service</code> terms aggregation</td><td>10,000</td><td>0.536 ms</td><td>0.941 ms</td></tr>- <tr><td>Date range with <code class="inline">host</code> aggregation</td><td>64,603</td><td>0.676 ms</td><td>1.12 ms</td></tr>- </tbody>- </table>- <p>This is a repeated-query observation on one fixed corpus on one shared host. The numbers are not a benchmark and do not transfer to another machine.</p>- <h2>Memory is the real limit</h2>- <p>Indexing plain-text logs costs about 200× the corpus size in resident memory. Memory, not speed, is the operational headline of this capture.</p>- <p>The harness derived a headroom rule from the ladder's own growth, <code class="inline">2000 + 200 × corpus MB</code> in MiB. The harness then refused the 32 MB step, which needed about 8,400 MiB against 6,104 MiB available.</p>- <p>Two earlier attempts ran the 64 MB step without that rule and lost the node process.</p>- <pre class="code"><code class="language-text">xerj-done ok=false exit=1 reason=aborted wall=416.4s-error: write catalog: bulk send (request timeout 300s): ... tcp connect error: Connection refused (os error 111)-</code></pre>- <p><code class="inline">Connection refused</code> means the node had stopped listening. No <code class="inline">dmesg</code> access was available on that host, so the cause is not confirmed and this page does not call it an out-of-memory kill.</p>- <h2>No 1 GB figure, on purpose</h2>- <p>This capture deliberately did not attempt a 1 GB corpus, and no 1 GB number appears on this page. The server has an open defect that retains heap per indexed document. A 16 MB ladder extrapolated to 1 GB produces a number with no measurement behind it.</p>- <p>Plan corpora up to a few million documents on one node, and run the ladder yourself before you commit to a size.</p>- <h2>Disk cost, and why there is no single multiplier</h2>- <p>The 3 steps stored 1.045, 1.319 and 1.039 bytes on disk per source byte. Background segment merging had not settled at the 8 MB step, which is why the middle row is higher. Do not publish a single storage multiplier from these 3 rows.</p>- <p>Read the real size from the plain statistics endpoint, because <code class="inline">_cat/indices?bytes=b</code> still returns human-formatted values and <code class="inline">/_stats/store</code> returns 404.</p>- <pre class="code"><code class="language-sh">curl -s http://127.0.0.1:9200/log16-logs/_stats-</code></pre>- <h2>Field names that surprise Elasticsearch users</h2>- <p>The <code class="inline">logs</code> family parses each line into <code class="inline">ts</code>, <code class="inline">level</code> and <code class="inline">message</code>. There is no generic <code class="inline">text</code> field, and <code class="inline">message</code> is a <code class="inline">keyword</code>, so a habitual <code class="inline">{"match": {"text": "timeout"}}</code> returns 0 hits on a log index.</p>- <p>XERJ also writes one document per line plus one document per file, which is why 41,115 lines produced 41,116 documents.</p>- <h2>What this is not</h2>- <p>Log analytics here runs on the ordinary segment write path and generic aggregations. The dedicated <code class="inline">xerj-logs</code> module has zero call sites and is not wired into the engine, so no page can sell it as a shipped feature.</p>- <p>XERJ is single-node. There is no data-plane replication, no failover and no multi-region mode. A log index on XERJ therefore needs a snapshot and restore plan.</p>- <h2>FAQ</h2>- <h3>Can XERJ replace a hosted log service?</h3>- <p>For low volume on one node, yes. A measured 16 MB corpus indexed in 22.237 s and answered exact error counts in under a millisecond. Large volumes are a different question.</p>- <h3>How much memory does log indexing use?</h3>- <p>About 200x the corpus size. The measured ladder reached 2,755.9 MB peak resident memory after 28 MB of cumulative log data on one node.</p>- <h3>How large a log corpus can XERJ handle?</h3>- <p>This capture measured up to 16 MB per step and stopped there for memory headroom. Plan for corpora up to a few million documents, and measure your own host.</p>- <h3>Are XERJ log counts exact or estimated?</h3>- <p>Exact. At every ladder step the level=ERROR document count matched the generator's own count exactly: 424, 848 and 1,696.</p>- <h3>How fast are queries over an indexed log corpus?</h3>- <p>On the 16 MB corpus, p50 was 0.488 ms for an error filter, 0.536 ms for a terms aggregation and 0.676 ms for a date range with an aggregation.</p>- <h3>Does a match query on the text field find log lines?</h3>- <p>No. The logs family writes ts, level and message fields with no generic text field, and message is a keyword. Query message or level instead.</p>- <h3>How much disk does an indexed log corpus need?</h3>- <p>The 3 measured steps stored 1.045, 1.319 and 1.039 bytes per source byte. The ratio is not stable, so do not publish a single storage multiplier.</p>- <h2>Related</h2>- <ul>- <li><a href="/answers/search-json-and-jsonl-logs">What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a></li>- <li><a href="/answers/search-gzip-logs-without-zgrep">How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a></li>- <li><a href="/answers/search-kubernetes-pod-logs-on-disk">How do I search Kubernetes pod logs?</a></li>- <li><a href="/docs/recipes/log-analytics">Log analytics</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/check-codebase-index-is-complete.html b/landing/answers/check-codebase-index-is-complete.htmlindex 68287da7b..900fefa03 100644--- a/landing/answers/check-codebase-index-is-complete.html+++ b/landing/answers/check-codebase-index-is-complete.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/check-codebase-index-is-complete.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/check-codebase-index-is-complete">@@ -139,7 +139,104 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>MY CODEBASE INDEXER SAYS INDEXED BUT I DON'T SEE MY CODE. HOW DO I CHECK IT ACTUALLY FINISHED?</div>+ <div class="kicker"><span>ANSWERS · OPERATIONS: COMPLETENESS</span></div>+ <h1 class="h1-long">My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-23</div>+ <p><strong>TL;DR</strong> — Reconcile 4 numbers before you trust an "indexed" status: files on disk, the <code class="inline">--dry-run</code> plan, <code class="inline">xerj autoindex status</code>, and the document count in <code class="inline">_cat/indices</code>. A captured XERJ run turned 64 non-hidden files into a 3-file plan, and every missing file had a named ignore rule.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent. Read https://xerj.org/llms.txt, count the files under the target folder, run xerj autoindex with --dry-run, run it for real, then reconcile the dry-run file count with xerj autoindex status and with a _cat/indices count before you report the codebase as indexed.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, count the files under the target folder, run xerj autoindex with --dry-run, run it for real, then reconcile the dry-run file count with xerj autoindex status and with a _cat/indices count before you report the codebase as indexed.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj autoindex ./my-repo --url http://127.0.0.1:9200 --prefix comp --state-dir ./state-comp --dry-run</code>+ <button type="button" class="prompt-copy" data-copy="xerj autoindex ./my-repo --url http://127.0.0.1:9200 --prefix comp --state-dir ./state-comp --dry-run">COPY COMMAND</button>+ <span class="hero-proof">Print the plan and the ignore accounting without writing anything.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj autoindex ./my-repo --url http://127.0.0.1:9200 --prefix comp --state-dir ./state-comp</code>+ <button type="button" class="prompt-copy" data-copy="xerj autoindex ./my-repo --url http://127.0.0.1:9200 --prefix comp --state-dir ./state-comp">COPY COMMAND</button>+ <span class="hero-proof">Index the folder and print the final document counts.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj autoindex status --url http://127.0.0.1:9200 --state-dir ./state-comp</code>+ <button type="button" class="prompt-copy" data-copy="xerj autoindex status --url http://127.0.0.1:9200 --state-dir ./state-comp">COPY COMMAND</button>+ <span class="hero-proof">Read the journal state and the live indices for this run.</span>+ </div>+ <h2>The 4 numbers that must agree</h2>+ <p>A completeness check is arithmetic, not a status word. Count the files on disk, read the planned file count, read the journal state, then read the index count, and account for every difference.</p>+ <table>+ <thead><tr><th>Number</th><th>Where it comes from</th><th>Captured value</th></tr></thead>+ <tbody>+ <tr><td>Files on disk</td><td><code class="inline">find . -type f</code></td><td>65 total, 64 non-hidden</td></tr>+ <tr><td>Files in the plan</td><td><code class="inline">autoindex --dry-run</code></td><td>3</td></tr>+ <tr><td>Files done</td><td><code class="inline">xerj autoindex status</code></td><td>3 files done, <code class="inline">FINISHED</code></td></tr>+ <tr><td>Documents live</td><td><code class="inline">_cat/indices</code></td><td>set by the emission model below, not by the file count</td></tr>+ </tbody>+ </table>+ <p>The gap between 64 and 3 is the interesting one, and <code class="inline">autoindex</code> explains it rather than hiding it.</p>+ <h2>Read the plan before the run</h2>+ <p>A dry run prints the plan and the ignore accounting, and writes nothing to the node. Run it first on any folder that later looks under-indexed.</p>+ <pre class="code"><code class="language-sh">xerj autoindex ./my-repo --url http://127.0.0.1:9200 --prefix comp --state-dir ./state-comp --dry-run+</code></pre>+ <p>The captured dry run named every exclusion with an exact file count.</p>+ <pre class="code"><code class="language-text">autoindex: 3 files (0 MB) under .../fixtures/code+autoindex: ignore rules: skipped 2 files and pruned 3 directories (60 non-hidden files inside them); 1 ignore file read+autoindex: ignore rules: <built-in>:target/ — 1 directory pruned (30 non-hidden files inside)+autoindex: ignore rules: <built-in>:node_modules/ — 1 directory pruned (25 non-hidden files inside)+autoindex: ignore rules: .gitignore:coverage/ — 1 directory pruned (5 non-hidden files inside)+</code></pre>+ <p>3 planned files plus 2 skipped files plus 60 files inside pruned directories accounts for 65 paths. Every exclusion carries a rule name and a count.</p>+ <h2>Documents outnumber files, and that is normal</h2>+ <p>XERJ writes one document per extracted row, and for most families that includes a whole-file document alongside the rows. Source code goes one step further. For each source file XERJ writes the file document, carrying the full text and a <code class="inline">defs</code> list of everything the file declares. It then writes one more document for every declaration it found, keyed by a <code class="inline">code:<line>:<name></code> locator. That is what makes a constant or a one-line signature retrievable on its own, instead of only inside the class or method enclosing it. A declaration captured twice at the same line and name collapses to a single document.</p>+ <p>The document count for a folder of source files therefore follows the number of declarations in it. No fixed ratio to the file count exists to carry over from another run. Read the count from <code class="inline">_cat/indices</code> for your own run, and reconcile it against the count <code class="inline">xerj autoindex status</code> prints.</p>+ <p>State the convention whenever you quote a count, because a reader comparing a file count with a much larger document count will otherwise assume an error.</p>+ <h2>Ask the journal, not your memory</h2>+ <p><code class="inline">xerj autoindex status</code> reads the state directory the run wrote and prints both the journal state and the live indices.</p>+ <pre class="code"><code class="language-sh">xerj autoindex status --url http://127.0.0.1:9200 --state-dir ./state-comp+</code></pre>+ <p>The journal prints as one line: the journal path, the root it indexed, how many files are done, how many documents were written, and either <code class="inline">FINISHED</code> or <code class="inline">in progress</code>. A run that wrote a graph adds an indented <code class="inline">graph:</code> line naming the edge count, the edges index and the brain. Below that, <code class="inline">status</code> lists every live index carrying your prefix with its document count, read from the node rather than from the journal.</p>+ <p>Compare those two sides rather than trusting <code class="inline">FINISHED</code> on its own. The journal says what the run believed it wrote; the live index list says what the node actually holds.</p>+ <h2>Finish with a query you can predict</h2>+ <p>A count proves quantity; a query proves retrievability. Pick a symbol you know exists in the tree and search the <code class="inline">defs</code> field for it.</p>+ <pre class="code"><code class="language-sh">curl -s -XPOST http://127.0.0.1:9200/comp-*/_search -H 'content-type: application/json' -d '{"query":{"match":{"defs":"merge_segments"}},"size":10,"_source":["ax_path","language","defs"],"track_total_hits":true}'+</code></pre>+ <p>The captured response returned 2 hits, <code class="inline">src/lib.rs</code> in Rust and <code class="inline">src/ingest.py</code> in Python, each with its full <code class="inline">defs</code> list.</p>+ <h2>Two size checks that fail on XERJ</h2>+ <p>An Elasticsearch user checking index size reaches for 2 forms that fail here. <code class="inline">GET /_cat/indices?format=json&bytes=b</code> still returned <code class="inline">58.5kb</code>, not a raw byte count. <code class="inline">GET /{index}/_stats/store</code> returned 404.</p>+ <p>Use the plain statistics form instead, then read <code class="inline">_all.total.store.size_in_bytes</code>.</p>+ <pre class="code"><code class="language-sh">curl -s http://127.0.0.1:9200/comp-docs/_stats+</code></pre>+ <h2>One more surprise in <code class="inline">_cat/indices</code></h2>+ <p><code class="inline">autoindex</code> creates one <code class="inline">.xerj-memory-<brain>-edges</code> index per indexed folder, named after the folder. A first look at <code class="inline">_cat/indices</code> therefore shows more indices than folders you indexed. XERJ is single-node, so all of them live in one process.</p>+ <h2>FAQ</h2>+ <h3>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</h3>+ <p>Reconcile 4 numbers: files on disk, the dry-run plan, the autoindex status journal, and the index document count. A gap between the first two is always an ignore rule.</p>+ <h3>How can I tell if folder indexing is still running or if it died?</h3>+ <p>Run xerj autoindex status with the same --state-dir. The journal reports files done, records and its state; the captured output read 3 files done and FINISHED.</p>+ <h3>How do I verify a local code index actually contains my files?</h3>+ <p>Query for a symbol you know exists. The captured query on the defs field for merge_segments returned 2 hits, src/lib.rs in Rust and src/ingest.py in Python, each with its path.</p>+ <h3>The indexer exited. Did it finish or just stop?</h3>+ <p>Read the terminal line and then the journal. Exit 0 with reason=completed means nothing was refused, and exit 3 with reason=completed-with-junk means the run finished and refused at least one file.</p>+ <h3>Why does the index hold more documents than files?</h3>+ <p>XERJ writes one document per extracted row, and for source files it adds one document per declaration on top of the whole-file document. The document count therefore follows how many declarations your code holds, not a fixed multiple of the file count, so read it from your own run.</p>+ <h3>Why does the plan hold fewer files than the folder?</h3>+ <p>Ignore rules pruned them. The captured dry run named target/, node_modules/ and a .gitignore entry, with an exact count of files inside each.</p>+ <h3>Does _cat/indices report the index size in bytes?</h3>+ <p>No. Even with bytes=b it returned human-formatted values such as 58.5kb, so read GET /{index}/_stats and use _all.total.store.size_in_bytes.</p>+ <h2>Related</h2>+ <ul>+ <li><a href="/answers/index-monorepo-for-agent">How do I stop my agent from reading the whole repo into context?</a></li>+ <li><a href="/answers/catalog-files-with-autoindex-map">How should an agent figure out what's in a messy data folder before searching?</a></li>+ <li><a href="/answers/read-autoindex-progress">How do I read autoindex progress?</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,103 +339,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>MY CODEBASE INDEXER SAYS INDEXED BUT I DON'T SEE MY CODE. HOW DO I CHECK IT ACTUALLY FINISHED?</div>- <div class="kicker"><span>ANSWERS · OPERATIONS: COMPLETENESS</span></div>- <h1>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-23</div>- <p><strong>TL;DR</strong> — Reconcile 4 numbers before you trust an "indexed" status: files on disk, the <code class="inline">--dry-run</code> plan, <code class="inline">xerj autoindex status</code>, and the document count in <code class="inline">_cat/indices</code>. A captured XERJ run turned 64 non-hidden files into a 3-file plan, and every missing file had a named ignore rule.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent. Read https://xerj.org/llms.txt, count the files under the target folder, run xerj autoindex with --dry-run, run it for real, then reconcile the dry-run file count with xerj autoindex status and with a _cat/indices count before you report the codebase as indexed.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, count the files under the target folder, run xerj autoindex with --dry-run, run it for real, then reconcile the dry-run file count with xerj autoindex status and with a _cat/indices count before you report the codebase as indexed.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj autoindex ./my-repo --url http://127.0.0.1:9200 --prefix comp --state-dir ./state-comp --dry-run</code>- <button type="button" class="prompt-copy" data-copy="xerj autoindex ./my-repo --url http://127.0.0.1:9200 --prefix comp --state-dir ./state-comp --dry-run">COPY COMMAND</button>- <span class="hero-proof">Print the plan and the ignore accounting without writing anything.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj autoindex ./my-repo --url http://127.0.0.1:9200 --prefix comp --state-dir ./state-comp</code>- <button type="button" class="prompt-copy" data-copy="xerj autoindex ./my-repo --url http://127.0.0.1:9200 --prefix comp --state-dir ./state-comp">COPY COMMAND</button>- <span class="hero-proof">Index the folder and print the final document counts.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj autoindex status --url http://127.0.0.1:9200 --state-dir ./state-comp</code>- <button type="button" class="prompt-copy" data-copy="xerj autoindex status --url http://127.0.0.1:9200 --state-dir ./state-comp">COPY COMMAND</button>- <span class="hero-proof">Read the journal state and the live indices for this run.</span>- </div>- <h2>The 4 numbers that must agree</h2>- <p>A completeness check is arithmetic, not a status word. Count the files on disk, read the planned file count, read the journal state, then read the index count, and account for every difference.</p>- <table>- <thead><tr><th>Number</th><th>Where it comes from</th><th>Captured value</th></tr></thead>- <tbody>- <tr><td>Files on disk</td><td><code class="inline">find . -type f</code></td><td>65 total, 64 non-hidden</td></tr>- <tr><td>Files in the plan</td><td><code class="inline">autoindex --dry-run</code></td><td>3</td></tr>- <tr><td>Files done</td><td><code class="inline">xerj autoindex status</code></td><td>3 files done, <code class="inline">FINISHED</code></td></tr>- <tr><td>Documents live</td><td><code class="inline">_cat/indices</code></td><td>set by the emission model below, not by the file count</td></tr>- </tbody>- </table>- <p>The gap between 64 and 3 is the interesting one, and <code class="inline">autoindex</code> explains it rather than hiding it.</p>- <h2>Read the plan before the run</h2>- <p>A dry run prints the plan and the ignore accounting, and writes nothing to the node. Run it first on any folder that later looks under-indexed.</p>- <pre class="code"><code class="language-sh">xerj autoindex ./my-repo --url http://127.0.0.1:9200 --prefix comp --state-dir ./state-comp --dry-run-</code></pre>- <p>The captured dry run named every exclusion with an exact file count.</p>- <pre class="code"><code class="language-text">autoindex: 3 files (0 MB) under .../fixtures/code-autoindex: ignore rules: skipped 2 files and pruned 3 directories (60 non-hidden files inside them); 1 ignore file read-autoindex: ignore rules: <built-in>:target/ — 1 directory pruned (30 non-hidden files inside)-autoindex: ignore rules: <built-in>:node_modules/ — 1 directory pruned (25 non-hidden files inside)-autoindex: ignore rules: .gitignore:coverage/ — 1 directory pruned (5 non-hidden files inside)-</code></pre>- <p>3 planned files plus 2 skipped files plus 60 files inside pruned directories accounts for 65 paths. Every exclusion carries a rule name and a count.</p>- <h2>Documents outnumber files, and that is normal</h2>- <p>XERJ writes one document per extracted row, and for most families that includes a whole-file document alongside the rows. Source code goes one step further. For each source file XERJ writes the file document, carrying the full text and a <code class="inline">defs</code> list of everything the file declares. It then writes one more document for every declaration it found, keyed by a <code class="inline">code:<line>:<name></code> locator. That is what makes a constant or a one-line signature retrievable on its own, instead of only inside the class or method enclosing it. A declaration captured twice at the same line and name collapses to a single document.</p>- <p>The document count for a folder of source files therefore follows the number of declarations in it. No fixed ratio to the file count exists to carry over from another run. Read the count from <code class="inline">_cat/indices</code> for your own run, and reconcile it against the count <code class="inline">xerj autoindex status</code> prints.</p>- <p>State the convention whenever you quote a count, because a reader comparing a file count with a much larger document count will otherwise assume an error.</p>- <h2>Ask the journal, not your memory</h2>- <p><code class="inline">xerj autoindex status</code> reads the state directory the run wrote and prints both the journal state and the live indices.</p>- <pre class="code"><code class="language-sh">xerj autoindex status --url http://127.0.0.1:9200 --state-dir ./state-comp-</code></pre>- <p>The journal prints as one line: the journal path, the root it indexed, how many files are done, how many documents were written, and either <code class="inline">FINISHED</code> or <code class="inline">in progress</code>. A run that wrote a graph adds an indented <code class="inline">graph:</code> line naming the edge count, the edges index and the brain. Below that, <code class="inline">status</code> lists every live index carrying your prefix with its document count, read from the node rather than from the journal.</p>- <p>Compare those two sides rather than trusting <code class="inline">FINISHED</code> on its own. The journal says what the run believed it wrote; the live index list says what the node actually holds.</p>- <h2>Finish with a query you can predict</h2>- <p>A count proves quantity; a query proves retrievability. Pick a symbol you know exists in the tree and search the <code class="inline">defs</code> field for it.</p>- <pre class="code"><code class="language-sh">curl -s -XPOST http://127.0.0.1:9200/comp-*/_search -H 'content-type: application/json' -d '{"query":{"match":{"defs":"merge_segments"}},"size":10,"_source":["ax_path","language","defs"],"track_total_hits":true}'-</code></pre>- <p>The captured response returned 2 hits, <code class="inline">src/lib.rs</code> in Rust and <code class="inline">src/ingest.py</code> in Python, each with its full <code class="inline">defs</code> list.</p>- <h2>Two size checks that fail on XERJ</h2>- <p>An Elasticsearch user checking index size reaches for 2 forms that fail here. <code class="inline">GET /_cat/indices?format=json&bytes=b</code> still returned <code class="inline">58.5kb</code>, not a raw byte count. <code class="inline">GET /{index}/_stats/store</code> returned 404.</p>- <p>Use the plain statistics form instead, then read <code class="inline">_all.total.store.size_in_bytes</code>.</p>- <pre class="code"><code class="language-sh">curl -s http://127.0.0.1:9200/comp-docs/_stats-</code></pre>- <h2>One more surprise in <code class="inline">_cat/indices</code></h2>- <p><code class="inline">autoindex</code> creates one <code class="inline">.xerj-memory-<brain>-edges</code> index per indexed folder, named after the folder. A first look at <code class="inline">_cat/indices</code> therefore shows more indices than folders you indexed. XERJ is single-node, so all of them live in one process.</p>- <h2>FAQ</h2>- <h3>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</h3>- <p>Reconcile 4 numbers: files on disk, the dry-run plan, the autoindex status journal, and the index document count. A gap between the first two is always an ignore rule.</p>- <h3>How can I tell if folder indexing is still running or if it died?</h3>- <p>Run xerj autoindex status with the same --state-dir. The journal reports files done, records and its state; the captured output read 3 files done and FINISHED.</p>- <h3>How do I verify a local code index actually contains my files?</h3>- <p>Query for a symbol you know exists. The captured query on the defs field for merge_segments returned 2 hits, src/lib.rs in Rust and src/ingest.py in Python, each with its path.</p>- <h3>The indexer exited. Did it finish or just stop?</h3>- <p>Read the terminal line and then the journal. Exit 0 with reason=completed means nothing was refused, and exit 3 with reason=completed-with-junk means the run finished and refused at least one file.</p>- <h3>Why does the index hold more documents than files?</h3>- <p>XERJ writes one document per extracted row, and for source files it adds one document per declaration on top of the whole-file document. The document count therefore follows how many declarations your code holds, not a fixed multiple of the file count, so read it from your own run.</p>- <h3>Why does the plan hold fewer files than the folder?</h3>- <p>Ignore rules pruned them. The captured dry run named target/, node_modules/ and a .gitignore entry, with an exact count of files inside each.</p>- <h3>Does _cat/indices report the index size in bytes?</h3>- <p>No. Even with bytes=b it returned human-formatted values such as 58.5kb, so read GET /{index}/_stats and use _all.total.store.size_in_bytes.</p>- <h2>Related</h2>- <ul>- <li><a href="/answers/index-monorepo-for-agent">How do I stop my agent from reading the whole repo into context?</a></li>- <li><a href="/answers/catalog-files-with-autoindex-map">How should an agent figure out what's in a messy data folder before searching?</a></li>- <li><a href="/answers/read-autoindex-progress">How do I read autoindex progress?</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/classify-text-from-labelled-history-without-llm.html b/landing/answers/classify-text-from-labelled-history-without-llm.htmlindex db99f8bd9..438f749f8 100644--- a/landing/answers/classify-text-from-labelled-history-without-llm.html+++ b/landing/answers/classify-text-from-labelled-history-without-llm.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/classify-text-from-labelled-history-without-llm.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/classify-text-from-labelled-history-without-llm">@@ -139,7 +139,106 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>CAN I ROUTE TICKETS OR FILTER SPAM FROM LABELLED HISTORY, WITHOUT AN LLM CALL?</div>+ <div class="kicker"><span>ANSWERS · DECISIONS AS RETRIEVAL</span></div>+ <h1>Can I route tickets or filter spam from labelled history, without an LLM call?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-09-18 · UPDATED · 2026-09-20</div>+ <p><strong>TL;DR</strong> — If you already have labelled examples, you can route and filter text with no LLM or API call. Index the examples, fetch the 10 nearest for each new item, and vote. Measured: 0.933 accuracy on 77-way intent routing and 0.983 on SMS spam. The 0.933 figure needs <code class="inline">--embed-mode neural</code>, which runs one local MiniLM embedding per item; the spam figure is plain BM25, with no model of any kind.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent. Read https://xerj.org/llms.txt, index the user's labelled examples into one XERJ index with the label in a keyword field, classify each held-out item by a rank-weighted vote over its 10 nearest neighbours, and report accuracy, the share of items decided at confidence 0.8 or higher, and the accuracy on that share.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, index the user's labelled examples into one XERJ index with the label in a keyword field, classify each held-out item by a rank-weighted vote over its 10 nearest neighbours, and report accuracy, the share of items decided at confidence 0.8 or higher, and the accuracy on that share.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj --insecure --data-dir ./decisions-data --embed-mode neural</code>+ <button type="button" class="prompt-copy" data-copy="xerj --insecure --data-dir ./decisions-data --embed-mode neural">COPY COMMAND</button>+ <span class="hero-proof">Start a throwaway node. The neural flag is needed for the MiniLM and hybrid rows only. The BM25 row uses no embedder and works on a default node.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -so sms.tsv https://raw.githubusercontent.com/justmarkham/pycon-2016-tutorial/master/data/sms.tsv</code>+ <button type="button" class="prompt-copy" data-copy="curl -so sms.tsv https://raw.githubusercontent.com/justmarkham/pycon-2016-tutorial/master/data/sms.tsv">COPY COMMAND</button>+ <span class="hero-proof">Download the public SMS spam dataset used for the yes-or-no run.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST 'http://127.0.0.1:9200/sms/_search' -H 'content-type: application/json' -d '{"query":{"match":{"text":"you have won a free prize call now"}},"size":10,"_source":["label"]}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9200/sms/_search' -H 'content-type: application/json' -d '{"query":{"match":{"text":"you have won a free prize call now"}},"size":10,"_source":["label"]}'">COPY COMMAND</button>+ <span class="hero-proof">Fetch the 10 nearest labelled examples for one new message. The vote over their labels is the decision, and the winning share is the confidence.</span>+ </div>+ <h2>The method</h2>+ <p>A judge model answers typed questions: pick one of N, or yes-or-no with a probability. Where a team already has labelled history, a search index can answer the same shape of question.</p>+ <ol>+ <li>Index every labelled example, with the label in a keyword field.</li>+ <li>For a new item, fetch its 10 nearest neighbours.</li>+ <li>Take a rank-weighted vote over the neighbours' labels.</li>+ <li>Report the winning label, and its share of the vote as the confidence.</li>+ </ol>+ <p>No model runs per decision on the BM25 arm. On the neural arms one local embedding runs per item, on the node, with no API call.</p>+ <h2>Intent routing: Banking77</h2>+ <p>Banking77 is a public dataset of banking support messages with 77 intent labels. The run indexed 10,003 labelled examples and classified 1,000 held-out items.</p>+ <table>+ <thead><tr><th>Arm</th><th>Accuracy</th><th>Calibration error</th><th>Decided at confidence 0.8 or higher</th><th>Accuracy on that share</th><th>ms per item</th></tr></thead>+ <tbody>+ <tr><td>BM25, no model of any kind</td><td>0.819</td><td>0.089</td><td>50.6%</td><td>0.996</td><td>2.2</td></tr>+ <tr><td>MiniLM neighbours</td><td>0.933</td><td>0.012</td><td>86.9%</td><td>0.979</td><td>8.6</td></tr>+ <tr><td>Hybrid RRF</td><td>0.937</td><td>0.052</td><td>79.2%</td><td>0.989</td><td>12.4</td></tr>+ </tbody>+ </table>+ <h2>Spam detection: SMS spam</h2>+ <p>The SMS spam dataset is a public yes-or-no task. The run indexed 4,000 labelled messages and classified 1,000 held-out ones.</p>+ <table>+ <thead><tr><th>Arm</th><th>Accuracy</th><th>Spam F1</th><th>Calibration error</th><th>ms per item</th></tr></thead>+ <tbody>+ <tr><td>BM25, no model of any kind</td><td>0.983</td><td>0.944</td><td>0.017</td><td>0.9</td></tr>+ <tr><td>MiniLM neighbours</td><td>0.982</td><td>0.940</td><td>0.009</td><td>74.5</td></tr>+ <tr><td>Hybrid RRF</td><td>0.989</td><td>0.962</td><td>0.015</td><td>67.2</td></tr>+ </tbody>+ </table>+ <p>Plain BM25 over 4,000 examples reached 0.983 in under a millisecond per message. The neural arm did not improve accuracy here, and it cost far more time.</p>+ <h2>Which embedder these numbers need</h2>+ <p>The BM25 rows use no embedder, so they hold on a default XERJ node. The MiniLM and hybrid rows were measured with <code class="inline">--embed-mode neural</code> and the all-MiniLM-L6-v2 model on CPU.</p>+ <p>XERJ's default embedder is lexical feature hashing. It has no model in it. Do not read the MiniLM or hybrid rows as what a default node scores.</p>+ <h2>The confidence gate is the point</h2>+ <p>An expected calibration error of 0.012 means the reported confidence is usable: averaged over confidence bins, the gap between the confidence the vote reported and the accuracy observed at that confidence was about one point in this run.</p>+ <p>That makes the confidence a gate. On Banking77, the MiniLM arm decided 86.9% of items at confidence 0.8 or higher, and was right on 0.979 of them. Only the remaining items need a judge model or a person.</p>+ <p>This is the economics of a two-stage system. A free local stage takes the bulk, and the paid stage sees only what is uncertain.</p>+ <h2>When to call a judge model instead</h2>+ <p>Call a judge model when there is no labelled history. This method is not zero-shot. A new policy or a new category has nothing to vote from, and a judge model needs no examples.</p>+ <p>Call one also for the low-confidence share. XERJ's <code class="inline">rerank</code> search stage can send documents to an external judge when an operator has set a provider key. XERJ did not run any judge model on these two datasets. It claims nothing about how one would score on them.</p>+ <h2>What this run does not show</h2>+ <p>Two public datasets, one run each, 1,000 held-out items per dataset, k fixed at 10. The held-out split uses a seeded shuffle. The latency was measured on a machine that was also compiling, so treat it as an upper bound.</p>+ <p>The gap between the two datasets' latencies is query length. Short banking messages embed in a few milliseconds, and longer SMS bodies take tens.</p>+ <h2>FAQ</h2>+ <h3>Can I classify text without calling an LLM?</h3>+ <p>Yes, when you have labelled history. Index the labelled examples, fetch the 10 nearest for each new item, and take a rank-weighted vote over their labels. No model call is made per decision.</p>+ <h3>How accurate is nearest-neighbour classification on a real dataset?</h3>+ <p>On Banking77, a 77-way intent dataset, XERJ measured 0.819 with BM25 and 0.933 with MiniLM neighbours. On SMS spam it measured 0.983 with BM25 alone. The MiniLM figures need <code class="inline">--embed-mode neural</code>.</p>+ <h3>Can I trust the confidence value?</h3>+ <p>In this run, yes. Expected calibration error was 0.012 on Banking77 and 0.009 on SMS spam for the MiniLM arm: averaged over confidence bins, the reported confidence and the observed accuracy differed by about one point.</p>+ <h3>Does this work with no labelled examples?</h3>+ <p>No. This is not zero-shot. A new category or a new policy has no history to vote from, and that case needs a judge model or a person.</p>+ <h3>Do I need a neural embedder for this?</h3>+ <p>Not for spam. BM25 alone reached 0.983 on SMS spam with no embedder at all. For 77-way intent routing the neural arm added about 11 points of accuracy over BM25.</p>+ <h3>Did XERJ compare this against an LLM judge?</h3>+ <p>No. XERJ did not run any judge model on these datasets and claims nothing about how one would score.</p>+ <h2>Evidence</h2>+ <ul>+ <li>Banking77, 77-way intent routing, 10,003 labelled examples indexed, 1,000 held-out test items, k = 10: accuracy 0.819 for BM25, 0.933 for MiniLM neighbours and 0.937 for hybrid RRF; expected calibration error 0.089, 0.012 and 0.052; 50.6%, 86.9% and 79.2% of items decided at confidence 0.8 or higher, at accuracy 0.996, 0.979 and 0.989; 2.2, 8.6 and 12.4 ms per item. — <code>benchmarks/decisions-as-retrieval/results/run-2026-09-18.txt</code></li>+ <li>SMS spam, yes-or-no detection, 4,000 labelled examples indexed, 1,000 held-out test items, k = 10: accuracy 0.983 for BM25, 0.982 for MiniLM neighbours and 0.989 for hybrid RRF; spam F1 0.944, 0.940 and 0.962; expected calibration error 0.017, 0.009 and 0.015; 0.9, 74.5 and 67.2 ms per item. — <code>benchmarks/decisions-as-retrieval/results/run-2026-09-18.txt</code></li>+ <li>The run was made on 2026-09-18 with xerj v1.0.0-rc.74 and --embed-mode neural using all-MiniLM-L6-v2 on CPU, with a seeded shuffle for the held-out split, on a machine that was also compiling. — <code>benchmarks/decisions-as-retrieval/README.md</code></li>+ </ul>+ <h2>Related</h2>+ <ul>+ <li><a href="/answers/store-agent-memory-without-llm-call">How do I stop an agent memory store from filling with near-duplicate notes?</a></li>+ <li><a href="/answers/hybrid-search-quality-measured-ndcg">How much better is hybrid search than BM25? Measured nDCG numbers</a></li>+ <li><a href="/answers/rerank-search-results-calibrated-judge">How do I rerank search results with a relevance judge?</a></li>+ <li><a href="/answers/do-search-embeddings-help">When should I turn on neural embeddings, and when is the lexical default enough?</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,105 +341,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>CAN I ROUTE TICKETS OR FILTER SPAM FROM LABELLED HISTORY, WITHOUT AN LLM CALL?</div>- <div class="kicker"><span>ANSWERS · DECISIONS AS RETRIEVAL</span></div>- <h1>Can I route tickets or filter spam from labelled history, without an LLM call?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-09-18 · UPDATED · 2026-09-20</div>- <p><strong>TL;DR</strong> — If you already have labelled examples, you can route and filter text with no LLM or API call. Index the examples, fetch the 10 nearest for each new item, and vote. Measured: 0.933 accuracy on 77-way intent routing and 0.983 on SMS spam. The 0.933 figure needs <code class="inline">--embed-mode neural</code>, which runs one local MiniLM embedding per item; the spam figure is plain BM25, with no model of any kind.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent. Read https://xerj.org/llms.txt, index the user's labelled examples into one XERJ index with the label in a keyword field, classify each held-out item by a rank-weighted vote over its 10 nearest neighbours, and report accuracy, the share of items decided at confidence 0.8 or higher, and the accuracy on that share.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, index the user's labelled examples into one XERJ index with the label in a keyword field, classify each held-out item by a rank-weighted vote over its 10 nearest neighbours, and report accuracy, the share of items decided at confidence 0.8 or higher, and the accuracy on that share.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj --insecure --data-dir ./decisions-data --embed-mode neural</code>- <button type="button" class="prompt-copy" data-copy="xerj --insecure --data-dir ./decisions-data --embed-mode neural">COPY COMMAND</button>- <span class="hero-proof">Start a throwaway node. The neural flag is needed for the MiniLM and hybrid rows only. The BM25 row uses no embedder and works on a default node.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -so sms.tsv https://raw.githubusercontent.com/justmarkham/pycon-2016-tutorial/master/data/sms.tsv</code>- <button type="button" class="prompt-copy" data-copy="curl -so sms.tsv https://raw.githubusercontent.com/justmarkham/pycon-2016-tutorial/master/data/sms.tsv">COPY COMMAND</button>- <span class="hero-proof">Download the public SMS spam dataset used for the yes-or-no run.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST 'http://127.0.0.1:9200/sms/_search' -H 'content-type: application/json' -d '{"query":{"match":{"text":"you have won a free prize call now"}},"size":10,"_source":["label"]}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9200/sms/_search' -H 'content-type: application/json' -d '{"query":{"match":{"text":"you have won a free prize call now"}},"size":10,"_source":["label"]}'">COPY COMMAND</button>- <span class="hero-proof">Fetch the 10 nearest labelled examples for one new message. The vote over their labels is the decision, and the winning share is the confidence.</span>- </div>- <h2>The method</h2>- <p>A judge model answers typed questions: pick one of N, or yes-or-no with a probability. Where a team already has labelled history, a search index can answer the same shape of question.</p>- <ol>- <li>Index every labelled example, with the label in a keyword field.</li>- <li>For a new item, fetch its 10 nearest neighbours.</li>- <li>Take a rank-weighted vote over the neighbours' labels.</li>- <li>Report the winning label, and its share of the vote as the confidence.</li>- </ol>- <p>No model runs per decision on the BM25 arm. On the neural arms one local embedding runs per item, on the node, with no API call.</p>- <h2>Intent routing: Banking77</h2>- <p>Banking77 is a public dataset of banking support messages with 77 intent labels. The run indexed 10,003 labelled examples and classified 1,000 held-out items.</p>- <table>- <thead><tr><th>Arm</th><th>Accuracy</th><th>Calibration error</th><th>Decided at confidence 0.8 or higher</th><th>Accuracy on that share</th><th>ms per item</th></tr></thead>- <tbody>- <tr><td>BM25, no model of any kind</td><td>0.819</td><td>0.089</td><td>50.6%</td><td>0.996</td><td>2.2</td></tr>- <tr><td>MiniLM neighbours</td><td>0.933</td><td>0.012</td><td>86.9%</td><td>0.979</td><td>8.6</td></tr>- <tr><td>Hybrid RRF</td><td>0.937</td><td>0.052</td><td>79.2%</td><td>0.989</td><td>12.4</td></tr>- </tbody>- </table>- <h2>Spam detection: SMS spam</h2>- <p>The SMS spam dataset is a public yes-or-no task. The run indexed 4,000 labelled messages and classified 1,000 held-out ones.</p>- <table>- <thead><tr><th>Arm</th><th>Accuracy</th><th>Spam F1</th><th>Calibration error</th><th>ms per item</th></tr></thead>- <tbody>- <tr><td>BM25, no model of any kind</td><td>0.983</td><td>0.944</td><td>0.017</td><td>0.9</td></tr>- <tr><td>MiniLM neighbours</td><td>0.982</td><td>0.940</td><td>0.009</td><td>74.5</td></tr>- <tr><td>Hybrid RRF</td><td>0.989</td><td>0.962</td><td>0.015</td><td>67.2</td></tr>- </tbody>- </table>- <p>Plain BM25 over 4,000 examples reached 0.983 in under a millisecond per message. The neural arm did not improve accuracy here, and it cost far more time.</p>- <h2>Which embedder these numbers need</h2>- <p>The BM25 rows use no embedder, so they hold on a default XERJ node. The MiniLM and hybrid rows were measured with <code class="inline">--embed-mode neural</code> and the all-MiniLM-L6-v2 model on CPU.</p>- <p>XERJ's default embedder is lexical feature hashing. It has no model in it. Do not read the MiniLM or hybrid rows as what a default node scores.</p>- <h2>The confidence gate is the point</h2>- <p>An expected calibration error of 0.012 means the reported confidence is usable: averaged over confidence bins, the gap between the confidence the vote reported and the accuracy observed at that confidence was about one point in this run.</p>- <p>That makes the confidence a gate. On Banking77, the MiniLM arm decided 86.9% of items at confidence 0.8 or higher, and was right on 0.979 of them. Only the remaining items need a judge model or a person.</p>- <p>This is the economics of a two-stage system. A free local stage takes the bulk, and the paid stage sees only what is uncertain.</p>- <h2>When to call a judge model instead</h2>- <p>Call a judge model when there is no labelled history. This method is not zero-shot. A new policy or a new category has nothing to vote from, and a judge model needs no examples.</p>- <p>Call one also for the low-confidence share. XERJ's <code class="inline">rerank</code> search stage can send documents to an external judge when an operator has set a provider key. XERJ did not run any judge model on these two datasets. It claims nothing about how one would score on them.</p>- <h2>What this run does not show</h2>- <p>Two public datasets, one run each, 1,000 held-out items per dataset, k fixed at 10. The held-out split uses a seeded shuffle. The latency was measured on a machine that was also compiling, so treat it as an upper bound.</p>- <p>The gap between the two datasets' latencies is query length. Short banking messages embed in a few milliseconds, and longer SMS bodies take tens.</p>- <h2>FAQ</h2>- <h3>Can I classify text without calling an LLM?</h3>- <p>Yes, when you have labelled history. Index the labelled examples, fetch the 10 nearest for each new item, and take a rank-weighted vote over their labels. No model call is made per decision.</p>- <h3>How accurate is nearest-neighbour classification on a real dataset?</h3>- <p>On Banking77, a 77-way intent dataset, XERJ measured 0.819 with BM25 and 0.933 with MiniLM neighbours. On SMS spam it measured 0.983 with BM25 alone. The MiniLM figures need <code class="inline">--embed-mode neural</code>.</p>- <h3>Can I trust the confidence value?</h3>- <p>In this run, yes. Expected calibration error was 0.012 on Banking77 and 0.009 on SMS spam for the MiniLM arm: averaged over confidence bins, the reported confidence and the observed accuracy differed by about one point.</p>- <h3>Does this work with no labelled examples?</h3>- <p>No. This is not zero-shot. A new category or a new policy has no history to vote from, and that case needs a judge model or a person.</p>- <h3>Do I need a neural embedder for this?</h3>- <p>Not for spam. BM25 alone reached 0.983 on SMS spam with no embedder at all. For 77-way intent routing the neural arm added about 11 points of accuracy over BM25.</p>- <h3>Did XERJ compare this against an LLM judge?</h3>- <p>No. XERJ did not run any judge model on these datasets and claims nothing about how one would score.</p>- <h2>Evidence</h2>- <ul>- <li>Banking77, 77-way intent routing, 10,003 labelled examples indexed, 1,000 held-out test items, k = 10: accuracy 0.819 for BM25, 0.933 for MiniLM neighbours and 0.937 for hybrid RRF; expected calibration error 0.089, 0.012 and 0.052; 50.6%, 86.9% and 79.2% of items decided at confidence 0.8 or higher, at accuracy 0.996, 0.979 and 0.989; 2.2, 8.6 and 12.4 ms per item. — <code>benchmarks/decisions-as-retrieval/results/run-2026-09-18.txt</code></li>- <li>SMS spam, yes-or-no detection, 4,000 labelled examples indexed, 1,000 held-out test items, k = 10: accuracy 0.983 for BM25, 0.982 for MiniLM neighbours and 0.989 for hybrid RRF; spam F1 0.944, 0.940 and 0.962; expected calibration error 0.017, 0.009 and 0.015; 0.9, 74.5 and 67.2 ms per item. — <code>benchmarks/decisions-as-retrieval/results/run-2026-09-18.txt</code></li>- <li>The run was made on 2026-09-18 with xerj v1.0.0-rc.74 and --embed-mode neural using all-MiniLM-L6-v2 on CPU, with a seeded shuffle for the held-out split, on a machine that was also compiling. — <code>benchmarks/decisions-as-retrieval/README.md</code></li>- </ul>- <h2>Related</h2>- <ul>- <li><a href="/answers/store-agent-memory-without-llm-call">How do I stop an agent memory store from filling with near-duplicate notes?</a></li>- <li><a href="/answers/hybrid-search-quality-measured-ndcg">How much better is hybrid search than BM25? Measured nDCG numbers</a></li>- <li><a href="/answers/rerank-search-results-calibrated-judge">How do I rerank search results with a relevance judge?</a></li>- <li><a href="/answers/do-search-embeddings-help">When should I turn on neural embeddings, and when is the lexical default enough?</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/code-search-mcp-for-claude-code.html b/landing/answers/code-search-mcp-for-claude-code.htmlindex c4d7de88f..64faed042 100644--- a/landing/answers/code-search-mcp-for-claude-code.html+++ b/landing/answers/code-search-mcp-for-claude-code.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/code-search-mcp-for-claude-code.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/code-search-mcp-for-claude-code">@@ -139,113 +139,11 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class="active"><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>I NEED MY AGENT TO FIND A PASSAGE AND CITE THE FILE, NOT DUMP THE WHOLE TREE. HOW?</div><div class="kicker"><span>ANSWERS · AGENT ACCESS AND MEMORY</span></div>- <h1>I need my agent to find a passage and cite the file, not dump the whole tree. How?</h1>+ <h1 class="h1-long">I need my agent to find a passage and cite the file, not dump the whole tree. How?</h1><div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-21</div><p><strong>TL;DR</strong> — Index the repository with <code class="inline">xerj autoindex</code>, then register <code class="inline">xerj mcp</code> as an MCP server in the agent host. One captured <code class="inline">xerj_search</code> call on the <code class="inline">defs</code> field returned 2 documents. Each carried a <code class="inline">symbols</code> array with file and line, including <code class="inline">merge_segments</code> at <code class="inline">src/lib.rs</code> line 17.</p><div class="prompt-card">@@ -354,6 +252,108 @@ none of postgres/qdrant/redis/weaviate/milvus/chroma/elasticsearch/opensearch/ol<li><a href="/compare/xerj-vs-ast-grep">ast-grep vs a code index for an agent?</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class="active"><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/coding-agent-memory-across-sessions.html b/landing/answers/coding-agent-memory-across-sessions.htmlindex c2606d66a..aaa2c5848 100644--- a/landing/answers/coding-agent-memory-across-sessions.html+++ b/landing/answers/coding-agent-memory-across-sessions.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/coding-agent-memory-across-sessions.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/coding-agent-memory-across-sessions">@@ -139,7 +139,96 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO PEOPLE STORE USER PREFERENCES SO AN AGENT CAN RECALL THEM NEXT WEEK?</div>+ <div class="kicker"><span>ANSWERS · AGENT MEMORY: SETUP</span></div>+ <h1>How do people store user preferences so an agent can recall them next week?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-09-13</div>+ <p><strong>TL;DR</strong> — XERJ stores each memory as an ordinary document in a reserved index named <code class="inline">.xerj-memory-{namespace}</code>. Our capture stored two memories, stopped the node, started it again against the same data directory, and recalled both by id. One forget call by id removed exactly that memory.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent. Read https://xerj.org/llms.txt, POST two facts to /_memory/agentmem on a running XERJ node, stop the node, start it again against the same data directory, then POST to /_memory/agentmem/_recall and report both returned ids.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, POST two facts to /_memory/agentmem on a running XERJ node, stop the node, start it again against the same data directory, then POST to /_memory/agentmem/_recall and report both returned ids.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST 'http://127.0.0.1:9430/_memory/agentmem' -H 'content-type: application/json' -d '{"text":"The user prefers p50 and p95 latency, never the mean.","metadata":{"session":"A","topic":"preferences"}}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9430/_memory/agentmem' -H 'content-type: application/json' -d '{"text":"The user prefers p50 and p95 latency, never the mean.","metadata":{"session":"A","topic":"preferences"}}'">COPY COMMAND</button>+ <span class="hero-proof">Store one memory. Port 9430 is the capture's Elasticsearch-compatible listener; the default is 9200.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST 'http://127.0.0.1:9430/_memory/agentmem/_recall' -H 'content-type: application/json' -d '{"query":"where is the deploy runbook","k":5}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9430/_memory/agentmem/_recall' -H 'content-type: application/json' -d '{"query":"where is the deploy runbook","k":5}'">COPY COMMAND</button>+ <span class="hero-proof">Recall from a later session. This is BM25 over the memory text by default.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XGET 'http://127.0.0.1:9430/_memory/agentmem'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XGET 'http://127.0.0.1:9430/_memory/agentmem'">COPY COMMAND</button>+ <span class="hero-proof">List the namespace and read every stored memory with its id and metadata.</span>+ </div>+ <h2>Store a fact in the first session</h2>+ <p>An agent stores a memory with one HTTP request to <code class="inline">POST /_memory/{namespace}</code>. The body needs <code class="inline">text</code>, and it accepts <code class="inline">metadata</code>, an explicit <code class="inline">id</code>, a caller-supplied <code class="inline">vector</code>, <code class="inline">dedup</code> and <code class="inline">dedup_threshold</code>.</p>+ <p>XERJ answered our first store call with a new identifier.</p>+ <pre class="code"><code class="language-json">{"created":true,"id":"d6ed79bf-7174-4a6d-9f1d-987a53045a11","namespace":"agentmem"}+</code></pre>+ <h2>Recall in a later session</h2>+ <p>Our capture stopped the node completely, then started it again against the same data directory. <code class="inline">POST /_memory/agentmem/_recall</code> then returned both memories, ranked.</p>+ <table>+ <thead><tr><th>id</th><th>score</th><th>text</th></tr></thead>+ <tbody>+ <tr><td><code class="inline">d6ed79bf-7174-4a6d-9f1d-987a53045a11</code></td><td>1.4581499</td><td>the deploy runbook memory</td></tr>+ <tr><td><code class="inline">2b00ed19-8741-49ca-8318-54e9ba8c7a58</code></td><td>0.27662587</td><td>the latency preference memory</td></tr>+ </tbody>+ </table>+ <p>Durability comes from the storage layer, not from a memory subsystem. Each memory is an ordinary document, and our capture found the backing directory <code class="inline">.xerj-memory-agentmem</code> at the top level of the node data directory.</p>+ <h2>What recall actually runs</h2>+ <p>Recall picks one mode in strict order and does not blend them unless you ask. A supplied <code class="inline">vector</code> runs pure kNN, <code class="inline">semantic: true</code> embeds the query on the server, and a plain <code class="inline">query</code> runs <code class="inline">{"match":{"text":q}}</code>, which is BM25.</p>+ <p>Fusion is opt-in. <code class="inline">hybrid: true</code> runs the BM25 leg and the server-side semantic leg over the same <code class="inline">query</code> and fuses the two rankings by reciprocal rank (<code class="inline">fusion: "linear"</code> sums min-max-normalised scores instead). A <code class="inline">filter</code> narrows both legs, and <code class="inline">recency_weight</code> re-ranks the fused pool exactly as it does for a single mode. Sending <code class="inline">vector</code> or <code class="inline">semantic: true</code> beside <code class="inline">hybrid: true</code> is a 400, so a request never silently falls back to one leg.</p>+ <p>The two modes disagree on our fixture, which is the point of naming them. The plain query put the deploy memory first at 1.4581499. The same question with <code class="inline">semantic: true</code> put the latency memory first at 0.627885, because the default embedder is lexical feature hashing rather than a neural model.</p>+ <h2>A misspelled key fails loudly</h2>+ <p>Recall uses strict field parsing, so an unknown key is a hard 400 rather than a silent match-all at score 1.0. The strictness matters for an agent that trusts whatever recall hands back.</p>+ <pre class="code"><code class="language-text">malformed JSON in request body: unknown field `quety`, expected one of `query`,+`vector`, `semantic`, `k`, `filter`, `recency_weight`, `graph` at line 1 column 8+</code></pre>+ <h2>Deduplicate and forget</h2>+ <p>A second store call with the identical text and <code class="inline">dedup: true</code> returned the existing id rather than a second document.</p>+ <pre class="code"><code class="language-json">{"created":false,"deduplicated":true,"id":"2b00ed19-8741-49ca-8318-54e9ba8c7a58",+ "namespace":"agentmem","score":1.0}+</code></pre>+ <p>To forget one memory, send <code class="inline">DELETE /_memory/agentmem/{id}</code>. Our capture forgot <code class="inline">d6ed79bf-7174-4a6d-9f1d-987a53045a11</code>, and the same recall query afterwards returned only <code class="inline">2b00ed19-8741-49ca-8318-54e9ba8c7a58</code>.</p>+ <h2>Nothing ages out on its own</h2>+ <p>Memories are permanent until explicitly forgotten. XERJ has no TTL, no decay and no importance weighting, so a stale fact stays until an agent or an operator deletes it.</p>+ <p>The only time signal is <code class="inline">stored_at</code>. An optional <code class="inline">recency_weight</code> re-ranks on it: our capture passed <code class="inline">recency_weight: 0.5</code> with the query <code class="inline">latency</code> and got the newer memory at 0.80259144.</p>+ <p>Build a deletion habit into the agent loop. On a single-node XERJ there is no second copy and no scheduled cleanup to save you from an unbounded namespace.</p>+ <h2>Which surface an agent uses</h2>+ <p>Every call on this page is plain HTTP against a running node. The MCP tools <code class="inline">xerj_memory_store</code> and <code class="inline">xerj_memory_recall</code> wrap the same routes and ship with the <code class="inline">xerj mcp</code> subcommand.</p>+ <p>No MCP client was connected in this capture. Every call recorded on this page went over plain HTTP against the node.</p>+ <h2>FAQ</h2>+ <h3>How do people store user preferences so an agent can recall them next week?</h3>+ <p>Write each preference with <code class="inline">POST /_memory/{namespace}</code> and read it back with <code class="inline">POST /_memory/{namespace}/_recall</code>. The record lives in a reserved index in the data directory and survives a full node restart.</p>+ <h3>How do I make my coding agent remember things across sessions?</h3>+ <p>Store each fact with <code class="inline">POST /_memory/{namespace}</code> and read it back with <code class="inline">POST /_memory/{namespace}/_recall</code>. The memory survives a full node restart.</p>+ <h3>What's the simplest local memory for a coding agent?</h3>+ <p>One namespace on a local node. Nothing extra runs beside it: <code class="inline">_memory</code> writes into <code class="inline">.xerj-memory-{namespace}</code> in the node data directory, and a plain <code class="inline">query</code> recall ranks with BM25.</p>+ <h3>Where does XERJ keep agent memory?</h3>+ <p>In a reserved index named <code class="inline">.xerj-memory-{namespace}</code> inside the node data directory. Our capture found <code class="inline">.xerj-memory-agentmem</code> at the top level of that directory.</p>+ <h3>Do memories expire?</h3>+ <p>No. Memories are permanent until you explicitly forget them, and there is no TTL, no decay and no importance weighting. The only time signal is <code class="inline">stored_at</code>.</p>+ <h3>How do I delete one memory?</h3>+ <p>Send <code class="inline">DELETE /_memory/{namespace}/{id}</code>. Our capture got <code class="inline">{"forgotten": true}</code> and the next recall returned only the remaining memory.</p>+ <h3>Does recall use vectors?</h3>+ <p>Only if you ask. Plain <code class="inline">query</code> runs BM25, <code class="inline">semantic: true</code> embeds server-side, and a supplied <code class="inline">vector</code> runs pure kNN. <code class="inline">hybrid: true</code> runs the BM25 and the server-side semantic leg over the same <code class="inline">query</code> and fuses them by reciprocal rank inside <code class="inline">_recall</code>; it is off unless you set it.</p>+ <h2>Related</h2>+ <ul>+ <li><a href="/answers/agent-memory-without-postgres-qdrant">What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a></li>+ <li><a href="/answers/set-mcp-memory-storage-path">How do I set the MCP memory storage path?</a></li>+ <li><a href="/answers/private-agent-memory-namespaces">How do I give two agents private memory on one laptop?</a></li>+ <li><a href="/docs/recipes/agentic-memory">Agent memory</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,95 +331,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO PEOPLE STORE USER PREFERENCES SO AN AGENT CAN RECALL THEM NEXT WEEK?</div>- <div class="kicker"><span>ANSWERS · AGENT MEMORY: SETUP</span></div>- <h1>How do people store user preferences so an agent can recall them next week?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-09-13</div>- <p><strong>TL;DR</strong> — XERJ stores each memory as an ordinary document in a reserved index named <code class="inline">.xerj-memory-{namespace}</code>. Our capture stored two memories, stopped the node, started it again against the same data directory, and recalled both by id. One forget call by id removed exactly that memory.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent. Read https://xerj.org/llms.txt, POST two facts to /_memory/agentmem on a running XERJ node, stop the node, start it again against the same data directory, then POST to /_memory/agentmem/_recall and report both returned ids.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, POST two facts to /_memory/agentmem on a running XERJ node, stop the node, start it again against the same data directory, then POST to /_memory/agentmem/_recall and report both returned ids.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST 'http://127.0.0.1:9430/_memory/agentmem' -H 'content-type: application/json' -d '{"text":"The user prefers p50 and p95 latency, never the mean.","metadata":{"session":"A","topic":"preferences"}}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9430/_memory/agentmem' -H 'content-type: application/json' -d '{"text":"The user prefers p50 and p95 latency, never the mean.","metadata":{"session":"A","topic":"preferences"}}'">COPY COMMAND</button>- <span class="hero-proof">Store one memory. Port 9430 is the capture's Elasticsearch-compatible listener; the default is 9200.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST 'http://127.0.0.1:9430/_memory/agentmem/_recall' -H 'content-type: application/json' -d '{"query":"where is the deploy runbook","k":5}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9430/_memory/agentmem/_recall' -H 'content-type: application/json' -d '{"query":"where is the deploy runbook","k":5}'">COPY COMMAND</button>- <span class="hero-proof">Recall from a later session. This is BM25 over the memory text by default.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XGET 'http://127.0.0.1:9430/_memory/agentmem'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XGET 'http://127.0.0.1:9430/_memory/agentmem'">COPY COMMAND</button>- <span class="hero-proof">List the namespace and read every stored memory with its id and metadata.</span>- </div>- <h2>Store a fact in the first session</h2>- <p>An agent stores a memory with one HTTP request to <code class="inline">POST /_memory/{namespace}</code>. The body needs <code class="inline">text</code>, and it accepts <code class="inline">metadata</code>, an explicit <code class="inline">id</code>, a caller-supplied <code class="inline">vector</code>, <code class="inline">dedup</code> and <code class="inline">dedup_threshold</code>.</p>- <p>XERJ answered our first store call with a new identifier.</p>- <pre class="code"><code class="language-json">{"created":true,"id":"d6ed79bf-7174-4a6d-9f1d-987a53045a11","namespace":"agentmem"}-</code></pre>- <h2>Recall in a later session</h2>- <p>Our capture stopped the node completely, then started it again against the same data directory. <code class="inline">POST /_memory/agentmem/_recall</code> then returned both memories, ranked.</p>- <table>- <thead><tr><th>id</th><th>score</th><th>text</th></tr></thead>- <tbody>- <tr><td><code class="inline">d6ed79bf-7174-4a6d-9f1d-987a53045a11</code></td><td>1.4581499</td><td>the deploy runbook memory</td></tr>- <tr><td><code class="inline">2b00ed19-8741-49ca-8318-54e9ba8c7a58</code></td><td>0.27662587</td><td>the latency preference memory</td></tr>- </tbody>- </table>- <p>Durability comes from the storage layer, not from a memory subsystem. Each memory is an ordinary document, and our capture found the backing directory <code class="inline">.xerj-memory-agentmem</code> at the top level of the node data directory.</p>- <h2>What recall actually runs</h2>- <p>Recall picks one mode in strict order and does not blend them unless you ask. A supplied <code class="inline">vector</code> runs pure kNN, <code class="inline">semantic: true</code> embeds the query on the server, and a plain <code class="inline">query</code> runs <code class="inline">{"match":{"text":q}}</code>, which is BM25.</p>- <p>Fusion is opt-in. <code class="inline">hybrid: true</code> runs the BM25 leg and the server-side semantic leg over the same <code class="inline">query</code> and fuses the two rankings by reciprocal rank (<code class="inline">fusion: "linear"</code> sums min-max-normalised scores instead). A <code class="inline">filter</code> narrows both legs, and <code class="inline">recency_weight</code> re-ranks the fused pool exactly as it does for a single mode. Sending <code class="inline">vector</code> or <code class="inline">semantic: true</code> beside <code class="inline">hybrid: true</code> is a 400, so a request never silently falls back to one leg.</p>- <p>The two modes disagree on our fixture, which is the point of naming them. The plain query put the deploy memory first at 1.4581499. The same question with <code class="inline">semantic: true</code> put the latency memory first at 0.627885, because the default embedder is lexical feature hashing rather than a neural model.</p>- <h2>A misspelled key fails loudly</h2>- <p>Recall uses strict field parsing, so an unknown key is a hard 400 rather than a silent match-all at score 1.0. The strictness matters for an agent that trusts whatever recall hands back.</p>- <pre class="code"><code class="language-text">malformed JSON in request body: unknown field `quety`, expected one of `query`,-`vector`, `semantic`, `k`, `filter`, `recency_weight`, `graph` at line 1 column 8-</code></pre>- <h2>Deduplicate and forget</h2>- <p>A second store call with the identical text and <code class="inline">dedup: true</code> returned the existing id rather than a second document.</p>- <pre class="code"><code class="language-json">{"created":false,"deduplicated":true,"id":"2b00ed19-8741-49ca-8318-54e9ba8c7a58",- "namespace":"agentmem","score":1.0}-</code></pre>- <p>To forget one memory, send <code class="inline">DELETE /_memory/agentmem/{id}</code>. Our capture forgot <code class="inline">d6ed79bf-7174-4a6d-9f1d-987a53045a11</code>, and the same recall query afterwards returned only <code class="inline">2b00ed19-8741-49ca-8318-54e9ba8c7a58</code>.</p>- <h2>Nothing ages out on its own</h2>- <p>Memories are permanent until explicitly forgotten. XERJ has no TTL, no decay and no importance weighting, so a stale fact stays until an agent or an operator deletes it.</p>- <p>The only time signal is <code class="inline">stored_at</code>. An optional <code class="inline">recency_weight</code> re-ranks on it: our capture passed <code class="inline">recency_weight: 0.5</code> with the query <code class="inline">latency</code> and got the newer memory at 0.80259144.</p>- <p>Build a deletion habit into the agent loop. On a single-node XERJ there is no second copy and no scheduled cleanup to save you from an unbounded namespace.</p>- <h2>Which surface an agent uses</h2>- <p>Every call on this page is plain HTTP against a running node. The MCP tools <code class="inline">xerj_memory_store</code> and <code class="inline">xerj_memory_recall</code> wrap the same routes and ship with the <code class="inline">xerj mcp</code> subcommand.</p>- <p>No MCP client was connected in this capture. Every call recorded on this page went over plain HTTP against the node.</p>- <h2>FAQ</h2>- <h3>How do people store user preferences so an agent can recall them next week?</h3>- <p>Write each preference with <code class="inline">POST /_memory/{namespace}</code> and read it back with <code class="inline">POST /_memory/{namespace}/_recall</code>. The record lives in a reserved index in the data directory and survives a full node restart.</p>- <h3>How do I make my coding agent remember things across sessions?</h3>- <p>Store each fact with <code class="inline">POST /_memory/{namespace}</code> and read it back with <code class="inline">POST /_memory/{namespace}/_recall</code>. The memory survives a full node restart.</p>- <h3>What's the simplest local memory for a coding agent?</h3>- <p>One namespace on a local node. Nothing extra runs beside it: <code class="inline">_memory</code> writes into <code class="inline">.xerj-memory-{namespace}</code> in the node data directory, and a plain <code class="inline">query</code> recall ranks with BM25.</p>- <h3>Where does XERJ keep agent memory?</h3>- <p>In a reserved index named <code class="inline">.xerj-memory-{namespace}</code> inside the node data directory. Our capture found <code class="inline">.xerj-memory-agentmem</code> at the top level of that directory.</p>- <h3>Do memories expire?</h3>- <p>No. Memories are permanent until you explicitly forget them, and there is no TTL, no decay and no importance weighting. The only time signal is <code class="inline">stored_at</code>.</p>- <h3>How do I delete one memory?</h3>- <p>Send <code class="inline">DELETE /_memory/{namespace}/{id}</code>. Our capture got <code class="inline">{"forgotten": true}</code> and the next recall returned only the remaining memory.</p>- <h3>Does recall use vectors?</h3>- <p>Only if you ask. Plain <code class="inline">query</code> runs BM25, <code class="inline">semantic: true</code> embeds server-side, and a supplied <code class="inline">vector</code> runs pure kNN. <code class="inline">hybrid: true</code> runs the BM25 and the server-side semantic leg over the same <code class="inline">query</code> and fuses them by reciprocal rank inside <code class="inline">_recall</code>; it is off unless you set it.</p>- <h2>Related</h2>- <ul>- <li><a href="/answers/agent-memory-without-postgres-qdrant">What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a></li>- <li><a href="/answers/set-mcp-memory-storage-path">How do I set the MCP memory storage path?</a></li>- <li><a href="/answers/private-agent-memory-namespaces">How do I give two agents private memory on one laptop?</a></li>- <li><a href="/docs/recipes/agentic-memory">Agent memory</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/do-search-embeddings-help.html b/landing/answers/do-search-embeddings-help.htmlindex 33dd615e6..f0df99553 100644--- a/landing/answers/do-search-embeddings-help.html+++ b/landing/answers/do-search-embeddings-help.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/do-search-embeddings-help.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/do-search-embeddings-help">@@ -139,109 +139,7 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class="active"><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>WHEN SHOULD I TURN ON NEURAL EMBEDDINGS, AND WHEN IS THE LEXICAL DEFAULT ENOUGH?</div><div class="kicker"><span>ANSWERS · EMBEDDINGS: SELECTION</span></div>@@ -351,6 +249,108 @@<li><a href="/answers/reduce-embedding-api-cost">How do I reduce embedding API cost?</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class="active"><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/does-xerj-support-s3-alerting-plugins.html b/landing/answers/does-xerj-support-s3-alerting-plugins.htmlindex 499b70d4e..1cfcae70a 100644--- a/landing/answers/does-xerj-support-s3-alerting-plugins.html+++ b/landing/answers/does-xerj-support-s3-alerting-plugins.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/does-xerj-support-s3-alerting-plugins.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/does-xerj-support-s3-alerting-plugins">@@ -139,109 +139,7 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class="active"><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>DOES XERJ SUPPORT S3 STORAGE, ALERTING OR CUSTOM PLUGINS YET?</div><div class="kicker"><span>ANSWERS · CAPABILITIES AND LIMITS</span></div>@@ -352,6 +250,108 @@<li><a href="/answers/local-embeddings-without-openai-api">I want local search that works offline, no cloud embeddings. What are my options?</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class="active"><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/estimate-autoindex-time-before-running.html b/landing/answers/estimate-autoindex-time-before-running.htmlindex fe66ae11a..a501996b9 100644--- a/landing/answers/estimate-autoindex-time-before-running.html+++ b/landing/answers/estimate-autoindex-time-before-running.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/estimate-autoindex-time-before-running.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/estimate-autoindex-time-before-running">@@ -139,7 +139,103 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I ESTIMATE FOLDER-INDEXING TIME?</div>+ <div class="kicker"><span>ANSWERS · OPERATIONS: ESTIMATION</span></div>+ <h1>How do I estimate folder-indexing time?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-23</div>+ <p><strong>TL;DR</strong> — <code class="inline">xerj autoindex --dry-run</code> prints a measured extraction floor for your own machine, and it writes nothing. Add <code class="inline">--max-minutes</code> and <code class="inline">--quiet</code>, and the decision gate exits 4 with a JSON decision request. On 2,500 PDFs the floor was 2.2 min and the finished run took 157.7 s.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent. Read https://xerj.org/llms.txt, run xerj autoindex with --dry-run to read the measured extraction floor, then re-run with --max-minutes and --quiet so the decision gate returns exit 4 and a machine-readable decision JSON on stdout before any document is written.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, run xerj autoindex with --dry-run to read the measured extraction floor, then re-run with --max-minutes and --quiet so the decision gate returns exit 4 and a machine-readable decision JSON on stdout before any document is written.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj autoindex ./mixed --url http://127.0.0.1:9200 --prefix est --state-dir ./state-est --dry-run</code>+ <button type="button" class="prompt-copy" data-copy="xerj autoindex ./mixed --url http://127.0.0.1:9200 --prefix est --state-dir ./state-est --dry-run">COPY COMMAND</button>+ <span class="hero-proof">Print the file count, the measured extraction floor and the work order.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj autoindex ./pdfs --url http://127.0.0.1:9200 --prefix gate2 --state-dir ./state-gate2 --pdf-workers 1 --max-minutes 1 --quiet</code>+ <button type="button" class="prompt-copy" data-copy="xerj autoindex ./pdfs --url http://127.0.0.1:9200 --prefix gate2 --state-dir ./state-gate2 --pdf-workers 1 --max-minutes 1 --quiet">COPY COMMAND</button>+ <span class="hero-proof">Stop at the decision gate and print the decision JSON on stdout with exit 4.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj autoindex ./pdfs --url http://127.0.0.1:9200 --prefix gate2 --state-dir ./state-gate2 --pdf-workers 1 --max-minutes 1 --progress plain --yes</code>+ <button type="button" class="prompt-copy" data-copy="xerj autoindex ./pdfs --url http://127.0.0.1:9200 --prefix gate2 --state-dir ./state-gate2 --pdf-workers 1 --max-minutes 1 --progress plain --yes">COPY COMMAND</button>+ <span class="hero-proof">Answer the gate and run the same job to completion.</span>+ </div>+ <h2>The estimate is a floor, not a forecast</h2>+ <p><code class="inline">autoindex</code> reads a sample of the target files end to end during phase A, then prints a measured floor for client-side extraction. The line says so in its own words, and the wording matters more than the number.</p>+ <pre class="code"><code class="language-text">estimate: at least 0.0 s–0.0 s — a MEASURED FLOOR for client-side extraction, not a prediction of the whole run: server indexing, embedding and network time are not in it+</code></pre>+ <p>XERJ lists what the floor leaves out. The exclusions are server-side indexing and merge time, network round trips, relationship detection, and any unmeasured file family.</p>+ <h2>Read the basis line, not only the number</h2>+ <p>Every estimate carries a basis line that states how much of the job XERJ actually measured. Coverage under 100% means the floor rests on a sample rather than on the whole folder.</p>+ <pre class="code"><code class="language-text">estimate: basis — measured on this machine during phase A: 6 file(s) / 1.8 KB read end to end across 6 family/families, scheduled over 10 worker(s). Covers 1.8 KB of the 1.8 KB planned (100% of planned bytes). Client-side extraction only.+</code></pre>+ <p>A family with no end-to-end read appears under <code class="inline">unmeasured_families</code> and carries no time at all. That omission is the main way a floor understates a job.</p>+ <h2>How far the floor sat from the run</h2>+ <p>Two captured pairs show the gap between the floor and the finished run. The floor is honest about direction: it is always low.</p>+ <table>+ <thead><tr><th>Corpus</th><th>Measured floor</th><th>Actual wall time</th></tr></thead>+ <tbody>+ <tr><td>6 mixed files, 1.8 KB</td><td>0.0 s to 0.0 s</td><td>1.5 s</td></tr>+ <tr><td>2,500 PDFs, 1 PDF worker</td><td>134.5 s to 135.0 s</td><td>157.7 s</td></tr>+ </tbody>+ </table>+ <p>The PDF job finished about 23 seconds above its floor. Use the floor as a lower bound and a trigger, never as a completion time you can promise anyone.</p>+ <h2>The decision gate stops before it writes</h2>+ <p>Pass <code class="inline">--max-minutes</code> and the gate compares the measured floor with your budget. When the floor exceeds the budget, <code class="inline">autoindex</code> exits 4 and writes nothing to the node.</p>+ <pre class="code"><code class="language-sh">xerj autoindex ./pdfs --url http://127.0.0.1:9200 --prefix gate2 --state-dir ./state-gate2 --pdf-workers 1 --max-minutes 1 --quiet+</code></pre>+ <p>The captured reason names both sides of the comparison.</p>+ <pre class="code"><code class="language-text">the measured extraction floor alone is 2.2 min–2.3 min; its upper end 2.3 min already exceeds --max-minutes 1. The real run is longer than this — server, network and embedding time are not in the number+</code></pre>+ <h2>The decision JSON is built for an agent</h2>+ <p>With <code class="inline">--quiet</code> the gate writes one JSON object to stdout and exits 4. The object carries the estimate, the priority order, the heaviest directories and 4 options.</p>+ <table>+ <thead><tr><th>Option</th><th>What it does</th></tr></thead>+ <tbody>+ <tr><td><code class="inline">proceed</code></td><td>Index everything as planned; <code class="inline">--yes</code> is an alias</td></tr>+ <tr><td><code class="inline">fast</code></td><td>Adds <code class="inline">--no-semantic --no-graph</code>, keeping typed BM25 and keyword indices</td></tr>+ <tr><td><code class="inline">narrower</code></td><td>Re-run against a subdirectory; <code class="inline">autoindex</code> has no <code class="inline">--exclude</code> flag</td></tr>+ <tr><td><code class="inline">cancel</code></td><td>Index nothing and exit 0</td></tr>+ </tbody>+ </table>+ <p>The <code class="inline">fast</code> option states its own limit in the capture. The default embedder is lexical feature hashing, so the saving stays small unless the node runs <code class="inline">--embed-mode neural</code>.</p>+ <h2>Answering the gate</h2>+ <p>Re-run the identical command with an answer. The captured re-run with <code class="inline">--yes</code> exited 0 and indexed 2,500 files into 5,000 documents in 157.7 s.</p>+ <pre class="code"><code class="language-sh">xerj autoindex ./pdfs --url http://127.0.0.1:9200 --prefix gate2 --state-dir ./state-gate2 --pdf-workers 1 --max-minutes 1 --progress plain --yes+</code></pre>+ <p>An unanswered exit 4 writes nothing, so the node stays untouched until you answer the gate.</p>+ <h2>What the estimate cannot see</h2>+ <p>The floor measures your client, not the node. XERJ is single-node, so server indexing, merging and embedding queue behind one process on one host. None of that time appears in the floor.</p>+ <p>Host load changes the answer too. The captured PDF run held 1 PDF worker because the memory safe zone allowed only 1. A host with more free memory schedules more workers.</p>+ <h2>FAQ</h2>+ <h3>How do I estimate how long indexing will take?</h3>+ <p>Run xerj autoindex with --dry-run. XERJ reads a sample of the files end to end and prints a measured client-side extraction floor for that machine.</p>+ <h3>Is the autoindex estimate a prediction?</h3>+ <p>No. The estimate is a floor for client-side extraction only. It excludes server indexing, embedding, network round trips and relationship detection, and the run is always longer.</p>+ <h3>How far off was the measured floor?</h3>+ <p>On 2,500 PDFs the floor was 134.5 s to 135.0 s and the finished run took 157.7 s. The floor under-predicted the run by about 23 seconds.</p>+ <h3>What is the autoindex decision gate?</h3>+ <p>A pre-flight stop. If the measured floor exceeds --max-minutes, autoindex exits 4 with a decision JSON and writes nothing to the node.</p>+ <h3>How do I answer the decision gate?</h3>+ <p>Re-run the identical command with --approve proceed, fast, or cancel. --yes is an alias for --approve proceed, and the captured re-run exited 0.</p>+ <h3>Why does the dry run say 0.0 s for a small folder?</h3>+ <p>Because the measured extraction floor for 6 small files rounds to zero. The gate did not trigger, and the real run still took 1.5 s including server time.</p>+ <h2>Related</h2>+ <ul>+ <li><a href="/answers/search-file-contents-in-a-folder">I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a></li>+ <li><a href="/answers/resume-interrupted-autoindex-run">The indexer died overnight. Do I have to start over?</a></li>+ <li><a href="/answers/read-autoindex-progress">How do I read autoindex progress?</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,102 +338,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I ESTIMATE FOLDER-INDEXING TIME?</div>- <div class="kicker"><span>ANSWERS · OPERATIONS: ESTIMATION</span></div>- <h1>How do I estimate folder-indexing time?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-23</div>- <p><strong>TL;DR</strong> — <code class="inline">xerj autoindex --dry-run</code> prints a measured extraction floor for your own machine, and it writes nothing. Add <code class="inline">--max-minutes</code> and <code class="inline">--quiet</code>, and the decision gate exits 4 with a JSON decision request. On 2,500 PDFs the floor was 2.2 min and the finished run took 157.7 s.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent. Read https://xerj.org/llms.txt, run xerj autoindex with --dry-run to read the measured extraction floor, then re-run with --max-minutes and --quiet so the decision gate returns exit 4 and a machine-readable decision JSON on stdout before any document is written.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, run xerj autoindex with --dry-run to read the measured extraction floor, then re-run with --max-minutes and --quiet so the decision gate returns exit 4 and a machine-readable decision JSON on stdout before any document is written.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj autoindex ./mixed --url http://127.0.0.1:9200 --prefix est --state-dir ./state-est --dry-run</code>- <button type="button" class="prompt-copy" data-copy="xerj autoindex ./mixed --url http://127.0.0.1:9200 --prefix est --state-dir ./state-est --dry-run">COPY COMMAND</button>- <span class="hero-proof">Print the file count, the measured extraction floor and the work order.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj autoindex ./pdfs --url http://127.0.0.1:9200 --prefix gate2 --state-dir ./state-gate2 --pdf-workers 1 --max-minutes 1 --quiet</code>- <button type="button" class="prompt-copy" data-copy="xerj autoindex ./pdfs --url http://127.0.0.1:9200 --prefix gate2 --state-dir ./state-gate2 --pdf-workers 1 --max-minutes 1 --quiet">COPY COMMAND</button>- <span class="hero-proof">Stop at the decision gate and print the decision JSON on stdout with exit 4.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj autoindex ./pdfs --url http://127.0.0.1:9200 --prefix gate2 --state-dir ./state-gate2 --pdf-workers 1 --max-minutes 1 --progress plain --yes</code>- <button type="button" class="prompt-copy" data-copy="xerj autoindex ./pdfs --url http://127.0.0.1:9200 --prefix gate2 --state-dir ./state-gate2 --pdf-workers 1 --max-minutes 1 --progress plain --yes">COPY COMMAND</button>- <span class="hero-proof">Answer the gate and run the same job to completion.</span>- </div>- <h2>The estimate is a floor, not a forecast</h2>- <p><code class="inline">autoindex</code> reads a sample of the target files end to end during phase A, then prints a measured floor for client-side extraction. The line says so in its own words, and the wording matters more than the number.</p>- <pre class="code"><code class="language-text">estimate: at least 0.0 s–0.0 s — a MEASURED FLOOR for client-side extraction, not a prediction of the whole run: server indexing, embedding and network time are not in it-</code></pre>- <p>XERJ lists what the floor leaves out. The exclusions are server-side indexing and merge time, network round trips, relationship detection, and any unmeasured file family.</p>- <h2>Read the basis line, not only the number</h2>- <p>Every estimate carries a basis line that states how much of the job XERJ actually measured. Coverage under 100% means the floor rests on a sample rather than on the whole folder.</p>- <pre class="code"><code class="language-text">estimate: basis — measured on this machine during phase A: 6 file(s) / 1.8 KB read end to end across 6 family/families, scheduled over 10 worker(s). Covers 1.8 KB of the 1.8 KB planned (100% of planned bytes). Client-side extraction only.-</code></pre>- <p>A family with no end-to-end read appears under <code class="inline">unmeasured_families</code> and carries no time at all. That omission is the main way a floor understates a job.</p>- <h2>How far the floor sat from the run</h2>- <p>Two captured pairs show the gap between the floor and the finished run. The floor is honest about direction: it is always low.</p>- <table>- <thead><tr><th>Corpus</th><th>Measured floor</th><th>Actual wall time</th></tr></thead>- <tbody>- <tr><td>6 mixed files, 1.8 KB</td><td>0.0 s to 0.0 s</td><td>1.5 s</td></tr>- <tr><td>2,500 PDFs, 1 PDF worker</td><td>134.5 s to 135.0 s</td><td>157.7 s</td></tr>- </tbody>- </table>- <p>The PDF job finished about 23 seconds above its floor. Use the floor as a lower bound and a trigger, never as a completion time you can promise anyone.</p>- <h2>The decision gate stops before it writes</h2>- <p>Pass <code class="inline">--max-minutes</code> and the gate compares the measured floor with your budget. When the floor exceeds the budget, <code class="inline">autoindex</code> exits 4 and writes nothing to the node.</p>- <pre class="code"><code class="language-sh">xerj autoindex ./pdfs --url http://127.0.0.1:9200 --prefix gate2 --state-dir ./state-gate2 --pdf-workers 1 --max-minutes 1 --quiet-</code></pre>- <p>The captured reason names both sides of the comparison.</p>- <pre class="code"><code class="language-text">the measured extraction floor alone is 2.2 min–2.3 min; its upper end 2.3 min already exceeds --max-minutes 1. The real run is longer than this — server, network and embedding time are not in the number-</code></pre>- <h2>The decision JSON is built for an agent</h2>- <p>With <code class="inline">--quiet</code> the gate writes one JSON object to stdout and exits 4. The object carries the estimate, the priority order, the heaviest directories and 4 options.</p>- <table>- <thead><tr><th>Option</th><th>What it does</th></tr></thead>- <tbody>- <tr><td><code class="inline">proceed</code></td><td>Index everything as planned; <code class="inline">--yes</code> is an alias</td></tr>- <tr><td><code class="inline">fast</code></td><td>Adds <code class="inline">--no-semantic --no-graph</code>, keeping typed BM25 and keyword indices</td></tr>- <tr><td><code class="inline">narrower</code></td><td>Re-run against a subdirectory; <code class="inline">autoindex</code> has no <code class="inline">--exclude</code> flag</td></tr>- <tr><td><code class="inline">cancel</code></td><td>Index nothing and exit 0</td></tr>- </tbody>- </table>- <p>The <code class="inline">fast</code> option states its own limit in the capture. The default embedder is lexical feature hashing, so the saving stays small unless the node runs <code class="inline">--embed-mode neural</code>.</p>- <h2>Answering the gate</h2>- <p>Re-run the identical command with an answer. The captured re-run with <code class="inline">--yes</code> exited 0 and indexed 2,500 files into 5,000 documents in 157.7 s.</p>- <pre class="code"><code class="language-sh">xerj autoindex ./pdfs --url http://127.0.0.1:9200 --prefix gate2 --state-dir ./state-gate2 --pdf-workers 1 --max-minutes 1 --progress plain --yes-</code></pre>- <p>An unanswered exit 4 writes nothing, so the node stays untouched until you answer the gate.</p>- <h2>What the estimate cannot see</h2>- <p>The floor measures your client, not the node. XERJ is single-node, so server indexing, merging and embedding queue behind one process on one host. None of that time appears in the floor.</p>- <p>Host load changes the answer too. The captured PDF run held 1 PDF worker because the memory safe zone allowed only 1. A host with more free memory schedules more workers.</p>- <h2>FAQ</h2>- <h3>How do I estimate how long indexing will take?</h3>- <p>Run xerj autoindex with --dry-run. XERJ reads a sample of the files end to end and prints a measured client-side extraction floor for that machine.</p>- <h3>Is the autoindex estimate a prediction?</h3>- <p>No. The estimate is a floor for client-side extraction only. It excludes server indexing, embedding, network round trips and relationship detection, and the run is always longer.</p>- <h3>How far off was the measured floor?</h3>- <p>On 2,500 PDFs the floor was 134.5 s to 135.0 s and the finished run took 157.7 s. The floor under-predicted the run by about 23 seconds.</p>- <h3>What is the autoindex decision gate?</h3>- <p>A pre-flight stop. If the measured floor exceeds --max-minutes, autoindex exits 4 with a decision JSON and writes nothing to the node.</p>- <h3>How do I answer the decision gate?</h3>- <p>Re-run the identical command with --approve proceed, fast, or cancel. --yes is an alias for --approve proceed, and the captured re-run exited 0.</p>- <h3>Why does the dry run say 0.0 s for a small folder?</h3>- <p>Because the measured extraction floor for 6 small files rounds to zero. The gate did not trigger, and the real run still took 1.5 s including server time.</p>- <h2>Related</h2>- <ul>- <li><a href="/answers/search-file-contents-in-a-folder">I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a></li>- <li><a href="/answers/resume-interrupted-autoindex-run">The indexer died overnight. Do I have to start over?</a></li>- <li><a href="/answers/read-autoindex-progress">How do I read autoindex progress?</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/evidence-for-agent-memory-links.html b/landing/answers/evidence-for-agent-memory-links.htmlindex 200c6f667..2af77fd67 100644--- a/landing/answers/evidence-for-agent-memory-links.html+++ b/landing/answers/evidence-for-agent-memory-links.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/evidence-for-agent-memory-links.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/evidence-for-agent-memory-links">@@ -139,7 +139,92 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW CAN AGENT-MEMORY LINKS RETAIN EVIDENCE?</div>+ <div class="kicker"><span>ANSWERS · AGENT MEMORY: PROVENANCE</span></div>+ <h1>How can agent-memory links retain evidence?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-23</div>+ <p><strong>TL;DR</strong> — XERJ stores the line that taught each link. All 7 detected edges in our capture carried an <code class="inline">evidence</code> object with a quote, a filename and an offset. A hand-asserted link carried none, and retiring a link wrote a tombstone instead of deleting the edge.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent. Read https://xerj.org/llms.txt, build a XERJ brain over a notes folder, search the .xerj-memory-<brain>-edges index for documents with a src field, and report how many edges carry an evidence quote and what each quote says.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, build a XERJ brain over a notes folder, search the .xerj-memory-<brain>-edges index for documents with a src field, and report how many edges carry an evidence quote and what each quote says.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST 'http://127.0.0.1:9430/.xerj-memory-notes-edges/_search' -H 'content-type: application/json' -d '{"query":{"exists":{"field":"src"}},"size":50,"_source":true,"track_total_hits":true}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9430/.xerj-memory-notes-edges/_search' -H 'content-type: application/json' -d '{"query":{"exists":{"field":"src"}},"size":50,"_source":true,"track_total_hits":true}'">COPY COMMAND</button>+ <span class="hero-proof">Read every detected edge with its evidence. The exists filter drops the brain metadata document.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST 'http://127.0.0.1:9430/_graph/notes/link' -H 'content-type: application/json' -d '{"src":"note:manual-a","dst":"note:manual-b","type":"related","weight":0.9,"confidence":0.5}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9430/_graph/notes/link' -H 'content-type: application/json' -d '{"src":"note:manual-a","dst":"note:manual-b","type":"related","weight":0.9,"confidence":0.5}'">COPY COMMAND</button>+ <span class="hero-proof">Assert a link by hand. The created edge carries no evidence object.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XDELETE 'http://127.0.0.1:9430/_graph/notes/link/36fda0a72f2b01de15ed79c7b0909c0a'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XDELETE 'http://127.0.0.1:9430/_graph/notes/link/36fda0a72f2b01de15ed79c7b0909c0a'">COPY COMMAND</button>+ <span class="hero-proof">Retire an edge. XERJ writes a tombstone rather than deleting the document.</span>+ </div>+ <h2>Detected links carry the exact line</h2>+ <p>Each detected edge in a XERJ brain states where it came from. The <code class="inline">evidence</code> object holds <code class="inline">quote</code>, <code class="inline">source</code> and <code class="inline">offset</code>, so a reader can open the file at that character position and see the sentence for themselves.</p>+ <p>Our capture built a brain from a 3-file notes folder and produced 7 edges. Every one of the 7 carried an evidence quote.</p>+ <pre class="code"><code class="language-json">{"src":"c17355db8d2a82cfe436140a39e2d7ad","dst":"0ddfc0b862bd2b7ee0b308b8ce4768c9",+ "type":"wikilink","detector":"wikilink@2","confidence":0.95,"weight":1.0,+ "evidence":{"quote":"See [[00-overview]] for context.","source":"01-runbook.md","offset":170},+ "valid_at":1768478400000,"invalid_at":null}+</code></pre>+ <h2>Structural detectors make the quote checkable</h2>+ <p>The quote is useful because the detectors are structural rather than interpretive. A <code class="inline">wikilink</code> edge quotes the wikilink line. A <code class="inline">same_dir</code> edge quotes its own rationale, <code class="inline">00-overview.md and 01-runbook.md share directory .</code>, which the console shows as a reason rather than as a quotation.</p>+ <p>Confidence is a per-detector constant, not a learned number. Our run carried 0.99 on <code class="inline">sequence</code> edges, 0.95 on <code class="inline">wikilink</code> edges and 0.4 on <code class="inline">same_dir</code> edges.</p>+ <p>XERJ invents nothing to fill a gap. XERJ renders a real quote, a structural rationale and an asserted link as three different things.</p>+ <h2>An asserted link carries no evidence</h2>+ <p>A link you create by hand is honest about being a claim. The route <code class="inline">POST /_graph/{brain}/link</code> accepts <code class="inline">src</code>, <code class="inline">dst</code>, <code class="inline">type</code>, <code class="inline">weight</code> and <code class="inline">confidence</code>. It returns an edge whose detector is <code class="inline">manual@1</code>.</p>+ <pre class="code"><code class="language-json">{"created":true,"edge_id":"36fda0a72f2b01de15ed79c7b0909c0a",+ "edge":{"src":"note:manual-a","dst":"note:manual-b","type":"related",+ "detector":"manual@1","confidence":0.5,"weight":0.9,"valid_at":1787302747613}}+</code></pre>+ <p>There is no <code class="inline">evidence</code> key in that response, and the console labels such a link <code class="inline">no evidence recorded — asserted, not detected</code>.</p>+ <h2>Retiring a link writes a tombstone</h2>+ <p>Unlink never deletes the edge document. <code class="inline">DELETE /_graph/{brain}/link/{edge_id}</code> re-indexes the same edge with two new timestamps and returns them.</p>+ <pre class="code"><code class="language-json">{"brain":"notes","edge_id":"36fda0a72f2b01de15ed79c7b0909c0a",+ "invalidated":true,"invalid_at":1787302747760,"expired_at":1787302747760}+</code></pre>+ <p>A direct search of the edges index afterwards still returns the document, now carrying <code class="inline">valid_at</code>, <code class="inline">invalid_at</code> and <code class="inline">expired_at</code> together. The present-time ego view returns no edges and reports the reason in its <code class="inline">not_shown</code> object as <code class="inline">expired_excluded: 1</code>.</p>+ <h2>Reading history with as_of</h2>+ <p>Visibility is bi-temporal. An edge is visible at a given time when <code class="inline">valid_at</code> is at or before that time, and <code class="inline">invalid_at</code> is either absent or later than it.</p>+ <p>That rule lets an agent ask what it believed last week rather than only what it believes now. Pass <code class="inline">as_of</code> with a timestamp, and add <code class="inline">include_expired=true</code> to see retired edges in their old window.</p>+ <p>Our capture ran that query with <code class="inline">as_of=2026-08-21T00:00:00Z</code>, which is earlier than the asserted edge's own <code class="inline">valid_at</code>. The response therefore returned no edges, and it is proof that the filter applies rather than proof of a recovered history.</p>+ <h2>Why this matters for an agent</h2>+ <p>An agent that acts on a link must know whether a person asserted it or a file stated it. XERJ answers that from the edge itself: a detector name, a confidence constant, and either a quote or nothing.</p>+ <p>Retirement without deletion matters for the same reason. A wrong link stops changing recall at once, and the edge document that proves the old belief stays readable.</p>+ <h2>What this capture does not show</h2>+ <p>The fixture is a 3-file notes folder, so 7 edges from 3 detectors is the whole sample. The <code class="inline">as_of</code> probe in this pass predates the edge it queried, so no before-and-after history pair was captured. No large brain and no multi-node run exists in this pass.</p>+ <h2>FAQ</h2>+ <h3>Do XERJ links keep the text that created them?</h3>+ <p>Yes, for detected links. All 7 detected edges in our capture carried an <code class="inline">evidence</code> object with a quote, a source filename and a character offset.</p>+ <h3>What does an evidence object contain?</h3>+ <p>Three fields: <code class="inline">quote</code> with the exact line, <code class="inline">source</code> with the filename, and <code class="inline">offset</code> with the character position inside that file.</p>+ <h3>Do hand-asserted links carry evidence?</h3>+ <p>No. A link created through <code class="inline">POST /_graph/{brain}/link</code> has detector <code class="inline">manual@1</code> and no <code class="inline">evidence</code> object, and the console labels it as asserted rather than detected.</p>+ <h3>Does deleting a link erase it?</h3>+ <p>No. Unlink re-indexes the edge with <code class="inline">invalid_at</code> and <code class="inline">expired_at</code> set. The edge document remains readable in the edges index.</p>+ <h3>How do I read the graph as it was?</h3>+ <p>Pass <code class="inline">as_of</code> with a timestamp. An edge is visible when <code class="inline">valid_at</code> is at or before that time and <code class="inline">invalid_at</code> is absent or later.</p>+ <h3>What does confidence mean on an edge?</h3>+ <p>It is a per-detector constant, not a learned score. Our wikilink edges carried 0.95, sequence edges 0.99 and same-directory edges 0.4.</p>+ <h3>Where do I find the edges?</h3>+ <p>In the index named <code class="inline">.xerj-memory-{brain}-edges</code>. Filter on <code class="inline">{"exists":{"field":"src"}}</code> to skip the brain metadata document, which has no <code class="inline">src</code>.</p>+ <h2>Related</h2>+ <ul>+ <li><a href="/answers/knowledge-graphs-for-agent-memory">Should agent memory use a knowledge graph?</a></li>+ <li><a href="/answers/coding-agent-memory-across-sessions">How do people store user preferences so an agent can recall them next week?</a></li>+ <li><a href="/use-cases/second-brain">Second brain</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,91 +327,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW CAN AGENT-MEMORY LINKS RETAIN EVIDENCE?</div>- <div class="kicker"><span>ANSWERS · AGENT MEMORY: PROVENANCE</span></div>- <h1>How can agent-memory links retain evidence?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-23</div>- <p><strong>TL;DR</strong> — XERJ stores the line that taught each link. All 7 detected edges in our capture carried an <code class="inline">evidence</code> object with a quote, a filename and an offset. A hand-asserted link carried none, and retiring a link wrote a tombstone instead of deleting the edge.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent. Read https://xerj.org/llms.txt, build a XERJ brain over a notes folder, search the .xerj-memory-<brain>-edges index for documents with a src field, and report how many edges carry an evidence quote and what each quote says.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, build a XERJ brain over a notes folder, search the .xerj-memory-<brain>-edges index for documents with a src field, and report how many edges carry an evidence quote and what each quote says.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST 'http://127.0.0.1:9430/.xerj-memory-notes-edges/_search' -H 'content-type: application/json' -d '{"query":{"exists":{"field":"src"}},"size":50,"_source":true,"track_total_hits":true}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9430/.xerj-memory-notes-edges/_search' -H 'content-type: application/json' -d '{"query":{"exists":{"field":"src"}},"size":50,"_source":true,"track_total_hits":true}'">COPY COMMAND</button>- <span class="hero-proof">Read every detected edge with its evidence. The exists filter drops the brain metadata document.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST 'http://127.0.0.1:9430/_graph/notes/link' -H 'content-type: application/json' -d '{"src":"note:manual-a","dst":"note:manual-b","type":"related","weight":0.9,"confidence":0.5}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9430/_graph/notes/link' -H 'content-type: application/json' -d '{"src":"note:manual-a","dst":"note:manual-b","type":"related","weight":0.9,"confidence":0.5}'">COPY COMMAND</button>- <span class="hero-proof">Assert a link by hand. The created edge carries no evidence object.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XDELETE 'http://127.0.0.1:9430/_graph/notes/link/36fda0a72f2b01de15ed79c7b0909c0a'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XDELETE 'http://127.0.0.1:9430/_graph/notes/link/36fda0a72f2b01de15ed79c7b0909c0a'">COPY COMMAND</button>- <span class="hero-proof">Retire an edge. XERJ writes a tombstone rather than deleting the document.</span>- </div>- <h2>Detected links carry the exact line</h2>- <p>Each detected edge in a XERJ brain states where it came from. The <code class="inline">evidence</code> object holds <code class="inline">quote</code>, <code class="inline">source</code> and <code class="inline">offset</code>, so a reader can open the file at that character position and see the sentence for themselves.</p>- <p>Our capture built a brain from a 3-file notes folder and produced 7 edges. Every one of the 7 carried an evidence quote.</p>- <pre class="code"><code class="language-json">{"src":"c17355db8d2a82cfe436140a39e2d7ad","dst":"0ddfc0b862bd2b7ee0b308b8ce4768c9",- "type":"wikilink","detector":"wikilink@2","confidence":0.95,"weight":1.0,- "evidence":{"quote":"See [[00-overview]] for context.","source":"01-runbook.md","offset":170},- "valid_at":1768478400000,"invalid_at":null}-</code></pre>- <h2>Structural detectors make the quote checkable</h2>- <p>The quote is useful because the detectors are structural rather than interpretive. A <code class="inline">wikilink</code> edge quotes the wikilink line. A <code class="inline">same_dir</code> edge quotes its own rationale, <code class="inline">00-overview.md and 01-runbook.md share directory .</code>, which the console shows as a reason rather than as a quotation.</p>- <p>Confidence is a per-detector constant, not a learned number. Our run carried 0.99 on <code class="inline">sequence</code> edges, 0.95 on <code class="inline">wikilink</code> edges and 0.4 on <code class="inline">same_dir</code> edges.</p>- <p>XERJ invents nothing to fill a gap. XERJ renders a real quote, a structural rationale and an asserted link as three different things.</p>- <h2>An asserted link carries no evidence</h2>- <p>A link you create by hand is honest about being a claim. The route <code class="inline">POST /_graph/{brain}/link</code> accepts <code class="inline">src</code>, <code class="inline">dst</code>, <code class="inline">type</code>, <code class="inline">weight</code> and <code class="inline">confidence</code>. It returns an edge whose detector is <code class="inline">manual@1</code>.</p>- <pre class="code"><code class="language-json">{"created":true,"edge_id":"36fda0a72f2b01de15ed79c7b0909c0a",- "edge":{"src":"note:manual-a","dst":"note:manual-b","type":"related",- "detector":"manual@1","confidence":0.5,"weight":0.9,"valid_at":1787302747613}}-</code></pre>- <p>There is no <code class="inline">evidence</code> key in that response, and the console labels such a link <code class="inline">no evidence recorded — asserted, not detected</code>.</p>- <h2>Retiring a link writes a tombstone</h2>- <p>Unlink never deletes the edge document. <code class="inline">DELETE /_graph/{brain}/link/{edge_id}</code> re-indexes the same edge with two new timestamps and returns them.</p>- <pre class="code"><code class="language-json">{"brain":"notes","edge_id":"36fda0a72f2b01de15ed79c7b0909c0a",- "invalidated":true,"invalid_at":1787302747760,"expired_at":1787302747760}-</code></pre>- <p>A direct search of the edges index afterwards still returns the document, now carrying <code class="inline">valid_at</code>, <code class="inline">invalid_at</code> and <code class="inline">expired_at</code> together. The present-time ego view returns no edges and reports the reason in its <code class="inline">not_shown</code> object as <code class="inline">expired_excluded: 1</code>.</p>- <h2>Reading history with as_of</h2>- <p>Visibility is bi-temporal. An edge is visible at a given time when <code class="inline">valid_at</code> is at or before that time, and <code class="inline">invalid_at</code> is either absent or later than it.</p>- <p>That rule lets an agent ask what it believed last week rather than only what it believes now. Pass <code class="inline">as_of</code> with a timestamp, and add <code class="inline">include_expired=true</code> to see retired edges in their old window.</p>- <p>Our capture ran that query with <code class="inline">as_of=2026-08-21T00:00:00Z</code>, which is earlier than the asserted edge's own <code class="inline">valid_at</code>. The response therefore returned no edges, and it is proof that the filter applies rather than proof of a recovered history.</p>- <h2>Why this matters for an agent</h2>- <p>An agent that acts on a link must know whether a person asserted it or a file stated it. XERJ answers that from the edge itself: a detector name, a confidence constant, and either a quote or nothing.</p>- <p>Retirement without deletion matters for the same reason. A wrong link stops changing recall at once, and the edge document that proves the old belief stays readable.</p>- <h2>What this capture does not show</h2>- <p>The fixture is a 3-file notes folder, so 7 edges from 3 detectors is the whole sample. The <code class="inline">as_of</code> probe in this pass predates the edge it queried, so no before-and-after history pair was captured. No large brain and no multi-node run exists in this pass.</p>- <h2>FAQ</h2>- <h3>Do XERJ links keep the text that created them?</h3>- <p>Yes, for detected links. All 7 detected edges in our capture carried an <code class="inline">evidence</code> object with a quote, a source filename and a character offset.</p>- <h3>What does an evidence object contain?</h3>- <p>Three fields: <code class="inline">quote</code> with the exact line, <code class="inline">source</code> with the filename, and <code class="inline">offset</code> with the character position inside that file.</p>- <h3>Do hand-asserted links carry evidence?</h3>- <p>No. A link created through <code class="inline">POST /_graph/{brain}/link</code> has detector <code class="inline">manual@1</code> and no <code class="inline">evidence</code> object, and the console labels it as asserted rather than detected.</p>- <h3>Does deleting a link erase it?</h3>- <p>No. Unlink re-indexes the edge with <code class="inline">invalid_at</code> and <code class="inline">expired_at</code> set. The edge document remains readable in the edges index.</p>- <h3>How do I read the graph as it was?</h3>- <p>Pass <code class="inline">as_of</code> with a timestamp. An edge is visible when <code class="inline">valid_at</code> is at or before that time and <code class="inline">invalid_at</code> is absent or later.</p>- <h3>What does confidence mean on an edge?</h3>- <p>It is a per-detector constant, not a learned score. Our wikilink edges carried 0.95, sequence edges 0.99 and same-directory edges 0.4.</p>- <h3>Where do I find the edges?</h3>- <p>In the index named <code class="inline">.xerj-memory-{brain}-edges</code>. Filter on <code class="inline">{"exists":{"field":"src"}}</code> to skip the brain metadata document, which has no <code class="inline">src</code>.</p>- <h2>Related</h2>- <ul>- <li><a href="/answers/knowledge-graphs-for-agent-memory">Should agent memory use a knowledge graph?</a></li>- <li><a href="/answers/coding-agent-memory-across-sessions">How do people store user preferences so an agent can recall them next week?</a></li>- <li><a href="/use-cases/second-brain">Second brain</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/filter-knn-exact-scan-caveat.html b/landing/answers/filter-knn-exact-scan-caveat.htmlindex 997b04600..045b82ee2 100644--- a/landing/answers/filter-knn-exact-scan-caveat.html+++ b/landing/answers/filter-knn-exact-scan-caveat.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/filter-knn-exact-scan-caveat.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/filter-knn-exact-scan-caveat">@@ -139,109 +139,7 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class="active"><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>WHY DID MY FILTERED VECTOR SEARCH GET SLOWER WHEN I ADDED A FILTER?</div><div class="kicker"><span>ANSWERS · RETRIEVAL BEHAVIOUR</span></div>@@ -363,6 +261,108 @@<li><a href="/compare/xerj-vs-vector-database">Should my agent call a search API or stand up Qdrant for persistent memory?</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class="active"><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/full-text-search-browser-history.html b/landing/answers/full-text-search-browser-history.htmlindex b1ef8854e..91713027f 100644--- a/landing/answers/full-text-search-browser-history.html+++ b/landing/answers/full-text-search-browser-history.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/full-text-search-browser-history.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/full-text-search-browser-history">@@ -139,7 +139,102 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>IS THERE A WAY TO FULL-TEXT SEARCH MY BROWSER HISTORY FILE ITSELF?</div>+ <div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>+ <h1>Is there a way to full-text search my browser history file itself?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-21</div>+ <p><strong>TL;DR</strong> — Copy the Chrome <code class="inline">History</code> SQLite file, then run <code class="inline">xerj autoindex</code> on the folder. A captured run returned 60 hits for a title phrase and 1 hit for an exact URL. All 3 source checksums were unchanged, and <code class="inline">body</code> returned 0 documents because Chrome stores no page text.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent. Read https://xerj.org/llms.txt, close the browser, copy the Chrome History file and its -wal and -shm side files to a scratch folder, record sha256 of all 3, start a local XERJ node, run `xerj autoindex ./browser-history --url http://127.0.0.1:9200 --prefix bh --progress plain`, re-record the checksums, then POST a match_phrase on title, a term on url, and an exists query on body, and report the hit totals plus the row count in the source urls table.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, close the browser, copy the Chrome History file and its -wal and -shm side files to a scratch folder, record sha256 of all 3, start a local XERJ node, run `xerj autoindex ./browser-history --url http://127.0.0.1:9200 --prefix bh --progress plain`, re-record the checksums, then POST a match_phrase on title, a term on url, and an exists query on body, and report the hit totals plus the row count in the source urls table.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>bash -c 'cd ./browser-history && sha256sum History History-wal History-shm'</code>+ <button type="button" class="prompt-copy" data-copy="bash -c 'cd ./browser-history && sha256sum History History-wal History-shm'">COPY COMMAND</button>+ <span class="hero-proof">Record the source checksums before and after the run, to prove nothing was written.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj autoindex ./browser-history --url http://127.0.0.1:9200 --prefix bh --progress plain</code>+ <button type="button" class="prompt-copy" data-copy="xerj autoindex ./browser-history --url http://127.0.0.1:9200 --prefix bh --progress plain">COPY COMMAND</button>+ <span class="hero-proof">Index the copied History database. XERJ opens SQLite read-only.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST http://127.0.0.1:9200/bh-*/_search -H 'content-type: application/json' -d '{"query":{"match_phrase":{"title":"Lemur documentation portal"}},"size":5,"_source":["url","title","visit_count","last_visit_time"],"track_total_hits":true}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/bh-*/_search -H 'content-type: application/json' -d '{"query":{"match_phrase":{"title":"Lemur documentation portal"}},"size":5,"_source":["url","title","visit_count","last_visit_time"],"track_total_hits":true}'">COPY COMMAND</button>+ <span class="hero-proof">Full-text search the page titles Chrome stored.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST http://127.0.0.1:9200/bh-*/_search -H 'content-type: application/json' -d '{"query":{"exists":{"field":"body"}},"size":5,"track_total_hits":true}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/bh-*/_search -H 'content-type: application/json' -d '{"query":{"exists":{"field":"body"}},"size":5,"track_total_hits":true}'">COPY COMMAND</button>+ <span class="hero-proof">Prove that no page body exists, because Chrome does not store one.</span>+ </div>+ <h2>Copy the file, then index the folder</h2>+ <p>Copy <code class="inline">History</code> to a scratch folder while the browser is closed. XERJ opens SQLite read-only, and the captured run left the file byte-identical. A live profile can still change while you read it.</p>+ <pre class="code"><code class="language-sh">xerj autoindex ./browser-history --url http://127.0.0.1:9200 --prefix bh --progress plain+</code></pre>+ <p>The run read 1 file and produced 4 datasets with 624 documents live. The indices were <code class="inline">bh-urls</code> with 300 documents, <code class="inline">bh-visits</code> with 300, <code class="inline">bh-keyword-search-terms</code> with 21 and <code class="inline">bh-meta</code> with 3. XERJ writes 1 index per table, with no configuration.</p>+ <h2>The mandatory warning: WAL rows are invisible</h2>+ <p>A copied <code class="inline">History</code> file is read only as far as its last checkpoint. Rows that live only in <code class="inline">History-wal</code> are not indexed and return 0 hits, and nothing in the output says so.</p>+ <p>The captured database held 340 committed rows in <code class="inline">urls</code>. 300 of them were checkpointed into <code class="inline">History</code> and indexed. The 40 rows resident only in <code class="inline">History-wal</code> returned 0 hits for a phrase that exists in all 40.</p>+ <p>XERJ refused the side files themselves. <code class="inline">History-wal</code> and <code class="inline">History-shm</code> were each detected as <code class="inline">binary</code> with the reason <code class="inline">binary content (unknown)</code>, and produced 0 documents.</p>+ <p>A live browser profile always has an uncheckpointed tail. Your most recent pages are therefore the first ones to disappear from the index. This reproduces a first-pass finding on an unrelated support-ticket database, in a second database with a different schema.</p>+ <h2>Titles are full-text, URLs are exact</h2>+ <p>XERJ inferred the field types from the <code class="inline">urls</code> table without configuration. The 2 fields you search behave differently, and mixing them up is the most common way to get 0 hits.</p>+ <table>+ <thead><tr><th>field</th><th>inferred type</th><th>query that works</th></tr></thead>+ <tbody>+ <tr><td><code class="inline">title</code></td><td><code class="inline">text</code></td><td><code class="inline">match</code> or <code class="inline">match_phrase</code></td></tr>+ <tr><td><code class="inline">url</code></td><td><code class="inline">keyword</code></td><td><code class="inline">term</code> with the whole URL</td></tr>+ <tr><td><code class="inline">visit_count</code>, <code class="inline">typed_count</code>, <code class="inline">id</code>, <code class="inline">hidden</code></td><td><code class="inline">long</code></td><td><code class="inline">range</code> or <code class="inline">term</code></td></tr>+ <tr><td><code class="inline">last_visit_time</code></td><td><code class="inline">long</code></td><td><code class="inline">range</code> on microseconds since 1601-01-01</td></tr>+ </tbody>+ </table>+ <p>A <code class="inline">match_phrase</code> on <code class="inline">title</code> returned 60 hits. An exact <code class="inline">term</code> on <code class="inline">https://docs.example.invalid/page/5?ref=history</code> returned 1 hit. A <code class="inline">match</code> for the substring <code class="inline">docs.example.invalid</code> on the same field returned 0, because a <code class="inline">keyword</code> field is not analyzed.</p>+ <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9200/bh-*/_search' \+ -H 'content-type: application/json' \+ -d '{"query":{"match_phrase":{"title":"Lemur documentation portal"}},"size":5,"_source":["url","title","visit_count","last_visit_time"],"track_total_hits":true}'+</code></pre>+ <h2>There is no page text to search</h2>+ <p>Chrome does not keep the content of the pages you visited in <code class="inline">History</code>. An <code class="inline">exists</code> query on <code class="inline">body</code> returned 0 documents across every index in the captured run.</p>+ <p>Decide on that basis. If you want to search what a page said, archive the page yourself and index the archive. Browser history alone gives you the title, the URL and the visit counters.</p>+ <h2>The source database is unchanged</h2>+ <p>The harness recorded the sha256 of <code class="inline">History</code>, <code class="inline">History-wal</code> and <code class="inline">History-shm</code> before the run and again after it. All 3 values matched.</p>+ <pre class="code"><code class="language-sh">bash -c 'cd ./browser-history && sha256sum History History-wal History-shm'+</code></pre>+ <p>Run that line on both sides of the index run if the profile matters to you. An immutable read is the property that makes this safe to do on a copy of real data.</p>+ <h2>What this capture does not show</h2>+ <p>The <code class="inline">History</code> file in this run came from the fixture generator, written to the Chrome schema in WAL mode. No browser ran on the host, and no profile was read. Firefox uses a different schema and was not tested.</p>+ <p>XERJ runs single-node here, with no replication and no failover. The default embedder in XERJ is lexical feature hashing, so a query and a paraphrase that share no words do not match. Neural embeddings are opt-in through <code class="inline">--embed-mode neural</code>.</p>+ <p>Every number above comes from RUN-B, captured on 2026-08-21. The binary was a <code class="inline">ci-test</code> profile build, so no wall-clock figure from this run is published as a performance number.</p>+ <h2>FAQ</h2>+ <h3>Is there a way to full-text search my browser history?</h3>+ <p>Yes, on the page titles and URLs the browser stores. A captured <code class="inline">match_phrase</code> on <code class="inline">title</code> returned 60 hits, each with its URL and visit count.</p>+ <h3>How do I search Chrome places.sqlite?</h3>+ <p>Chrome keeps its history in a SQLite file named <code class="inline">History</code>; <code class="inline">places.sqlite</code> is the Firefox name. Close the browser, copy the file, index the copy, and query <code class="inline">title</code> and <code class="inline">url</code>.</p>+ <h3>Can I index a Firefox places database?</h3>+ <p>It is a SQLite file, so <code class="inline">autoindex</code> reads it the way it reads any other. This capture used the Chrome <code class="inline">History</code> file, so the Firefox table and column names were not verified here.</p>+ <h3>Can I search the text of the pages I visited?</h3>+ <p>No. The browser stores no page body in the history database. An <code class="inline">exists</code> query on <code class="inline">body</code> returned 0 documents in the captured run.</p>+ <h3>Does indexing modify my History file?</h3>+ <p>No. XERJ opens SQLite read-only. The sha256 of <code class="inline">History</code>, <code class="inline">History-wal</code> and <code class="inline">History-shm</code> was identical before and after the captured run.</p>+ <h3>Why are my most recent pages missing?</h3>+ <p>A copied <code class="inline">History</code> file is read only as far as its last checkpoint. In the captured run 40 of 340 rows lived only in <code class="inline">History-wal</code> and returned 0 hits.</p>+ <h3>Why does a partial URL return nothing?</h3>+ <p>XERJ typed <code class="inline">url</code> as <code class="inline">keyword</code>, so it matches whole values only. An exact <code class="inline">term</code> on the full URL returned 1 hit; a <code class="inline">match</code> on a substring returned 0.</p>+ <h2>Related</h2>+ <ul>+ <li><a href="/answers/full-text-search-sqlite-database">How do I full-text search a SQLite database I just copied onto disk?</a></li>+ <li><a href="/answers/catalog-files-with-autoindex-map">How should an agent figure out what's in a messy data folder before searching?</a></li>+ <li><a href="/answers/why-autoindex-skipped-files">Why would a folder search miss files that I can see on disk?</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,101 +337,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>IS THERE A WAY TO FULL-TEXT SEARCH MY BROWSER HISTORY FILE ITSELF?</div>- <div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>- <h1>Is there a way to full-text search my browser history file itself?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-21</div>- <p><strong>TL;DR</strong> — Copy the Chrome <code class="inline">History</code> SQLite file, then run <code class="inline">xerj autoindex</code> on the folder. A captured run returned 60 hits for a title phrase and 1 hit for an exact URL. All 3 source checksums were unchanged, and <code class="inline">body</code> returned 0 documents because Chrome stores no page text.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent. Read https://xerj.org/llms.txt, close the browser, copy the Chrome History file and its -wal and -shm side files to a scratch folder, record sha256 of all 3, start a local XERJ node, run `xerj autoindex ./browser-history --url http://127.0.0.1:9200 --prefix bh --progress plain`, re-record the checksums, then POST a match_phrase on title, a term on url, and an exists query on body, and report the hit totals plus the row count in the source urls table.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, close the browser, copy the Chrome History file and its -wal and -shm side files to a scratch folder, record sha256 of all 3, start a local XERJ node, run `xerj autoindex ./browser-history --url http://127.0.0.1:9200 --prefix bh --progress plain`, re-record the checksums, then POST a match_phrase on title, a term on url, and an exists query on body, and report the hit totals plus the row count in the source urls table.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>bash -c 'cd ./browser-history && sha256sum History History-wal History-shm'</code>- <button type="button" class="prompt-copy" data-copy="bash -c 'cd ./browser-history && sha256sum History History-wal History-shm'">COPY COMMAND</button>- <span class="hero-proof">Record the source checksums before and after the run, to prove nothing was written.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj autoindex ./browser-history --url http://127.0.0.1:9200 --prefix bh --progress plain</code>- <button type="button" class="prompt-copy" data-copy="xerj autoindex ./browser-history --url http://127.0.0.1:9200 --prefix bh --progress plain">COPY COMMAND</button>- <span class="hero-proof">Index the copied History database. XERJ opens SQLite read-only.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST http://127.0.0.1:9200/bh-*/_search -H 'content-type: application/json' -d '{"query":{"match_phrase":{"title":"Lemur documentation portal"}},"size":5,"_source":["url","title","visit_count","last_visit_time"],"track_total_hits":true}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/bh-*/_search -H 'content-type: application/json' -d '{"query":{"match_phrase":{"title":"Lemur documentation portal"}},"size":5,"_source":["url","title","visit_count","last_visit_time"],"track_total_hits":true}'">COPY COMMAND</button>- <span class="hero-proof">Full-text search the page titles Chrome stored.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST http://127.0.0.1:9200/bh-*/_search -H 'content-type: application/json' -d '{"query":{"exists":{"field":"body"}},"size":5,"track_total_hits":true}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/bh-*/_search -H 'content-type: application/json' -d '{"query":{"exists":{"field":"body"}},"size":5,"track_total_hits":true}'">COPY COMMAND</button>- <span class="hero-proof">Prove that no page body exists, because Chrome does not store one.</span>- </div>- <h2>Copy the file, then index the folder</h2>- <p>Copy <code class="inline">History</code> to a scratch folder while the browser is closed. XERJ opens SQLite read-only, and the captured run left the file byte-identical. A live profile can still change while you read it.</p>- <pre class="code"><code class="language-sh">xerj autoindex ./browser-history --url http://127.0.0.1:9200 --prefix bh --progress plain-</code></pre>- <p>The run read 1 file and produced 4 datasets with 624 documents live. The indices were <code class="inline">bh-urls</code> with 300 documents, <code class="inline">bh-visits</code> with 300, <code class="inline">bh-keyword-search-terms</code> with 21 and <code class="inline">bh-meta</code> with 3. XERJ writes 1 index per table, with no configuration.</p>- <h2>The mandatory warning: WAL rows are invisible</h2>- <p>A copied <code class="inline">History</code> file is read only as far as its last checkpoint. Rows that live only in <code class="inline">History-wal</code> are not indexed and return 0 hits, and nothing in the output says so.</p>- <p>The captured database held 340 committed rows in <code class="inline">urls</code>. 300 of them were checkpointed into <code class="inline">History</code> and indexed. The 40 rows resident only in <code class="inline">History-wal</code> returned 0 hits for a phrase that exists in all 40.</p>- <p>XERJ refused the side files themselves. <code class="inline">History-wal</code> and <code class="inline">History-shm</code> were each detected as <code class="inline">binary</code> with the reason <code class="inline">binary content (unknown)</code>, and produced 0 documents.</p>- <p>A live browser profile always has an uncheckpointed tail. Your most recent pages are therefore the first ones to disappear from the index. This reproduces a first-pass finding on an unrelated support-ticket database, in a second database with a different schema.</p>- <h2>Titles are full-text, URLs are exact</h2>- <p>XERJ inferred the field types from the <code class="inline">urls</code> table without configuration. The 2 fields you search behave differently, and mixing them up is the most common way to get 0 hits.</p>- <table>- <thead><tr><th>field</th><th>inferred type</th><th>query that works</th></tr></thead>- <tbody>- <tr><td><code class="inline">title</code></td><td><code class="inline">text</code></td><td><code class="inline">match</code> or <code class="inline">match_phrase</code></td></tr>- <tr><td><code class="inline">url</code></td><td><code class="inline">keyword</code></td><td><code class="inline">term</code> with the whole URL</td></tr>- <tr><td><code class="inline">visit_count</code>, <code class="inline">typed_count</code>, <code class="inline">id</code>, <code class="inline">hidden</code></td><td><code class="inline">long</code></td><td><code class="inline">range</code> or <code class="inline">term</code></td></tr>- <tr><td><code class="inline">last_visit_time</code></td><td><code class="inline">long</code></td><td><code class="inline">range</code> on microseconds since 1601-01-01</td></tr>- </tbody>- </table>- <p>A <code class="inline">match_phrase</code> on <code class="inline">title</code> returned 60 hits. An exact <code class="inline">term</code> on <code class="inline">https://docs.example.invalid/page/5?ref=history</code> returned 1 hit. A <code class="inline">match</code> for the substring <code class="inline">docs.example.invalid</code> on the same field returned 0, because a <code class="inline">keyword</code> field is not analyzed.</p>- <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9200/bh-*/_search' \- -H 'content-type: application/json' \- -d '{"query":{"match_phrase":{"title":"Lemur documentation portal"}},"size":5,"_source":["url","title","visit_count","last_visit_time"],"track_total_hits":true}'-</code></pre>- <h2>There is no page text to search</h2>- <p>Chrome does not keep the content of the pages you visited in <code class="inline">History</code>. An <code class="inline">exists</code> query on <code class="inline">body</code> returned 0 documents across every index in the captured run.</p>- <p>Decide on that basis. If you want to search what a page said, archive the page yourself and index the archive. Browser history alone gives you the title, the URL and the visit counters.</p>- <h2>The source database is unchanged</h2>- <p>The harness recorded the sha256 of <code class="inline">History</code>, <code class="inline">History-wal</code> and <code class="inline">History-shm</code> before the run and again after it. All 3 values matched.</p>- <pre class="code"><code class="language-sh">bash -c 'cd ./browser-history && sha256sum History History-wal History-shm'-</code></pre>- <p>Run that line on both sides of the index run if the profile matters to you. An immutable read is the property that makes this safe to do on a copy of real data.</p>- <h2>What this capture does not show</h2>- <p>The <code class="inline">History</code> file in this run came from the fixture generator, written to the Chrome schema in WAL mode. No browser ran on the host, and no profile was read. Firefox uses a different schema and was not tested.</p>- <p>XERJ runs single-node here, with no replication and no failover. The default embedder in XERJ is lexical feature hashing, so a query and a paraphrase that share no words do not match. Neural embeddings are opt-in through <code class="inline">--embed-mode neural</code>.</p>- <p>Every number above comes from RUN-B, captured on 2026-08-21. The binary was a <code class="inline">ci-test</code> profile build, so no wall-clock figure from this run is published as a performance number.</p>- <h2>FAQ</h2>- <h3>Is there a way to full-text search my browser history?</h3>- <p>Yes, on the page titles and URLs the browser stores. A captured <code class="inline">match_phrase</code> on <code class="inline">title</code> returned 60 hits, each with its URL and visit count.</p>- <h3>How do I search Chrome places.sqlite?</h3>- <p>Chrome keeps its history in a SQLite file named <code class="inline">History</code>; <code class="inline">places.sqlite</code> is the Firefox name. Close the browser, copy the file, index the copy, and query <code class="inline">title</code> and <code class="inline">url</code>.</p>- <h3>Can I index a Firefox places database?</h3>- <p>It is a SQLite file, so <code class="inline">autoindex</code> reads it the way it reads any other. This capture used the Chrome <code class="inline">History</code> file, so the Firefox table and column names were not verified here.</p>- <h3>Can I search the text of the pages I visited?</h3>- <p>No. The browser stores no page body in the history database. An <code class="inline">exists</code> query on <code class="inline">body</code> returned 0 documents in the captured run.</p>- <h3>Does indexing modify my History file?</h3>- <p>No. XERJ opens SQLite read-only. The sha256 of <code class="inline">History</code>, <code class="inline">History-wal</code> and <code class="inline">History-shm</code> was identical before and after the captured run.</p>- <h3>Why are my most recent pages missing?</h3>- <p>A copied <code class="inline">History</code> file is read only as far as its last checkpoint. In the captured run 40 of 340 rows lived only in <code class="inline">History-wal</code> and returned 0 hits.</p>- <h3>Why does a partial URL return nothing?</h3>- <p>XERJ typed <code class="inline">url</code> as <code class="inline">keyword</code>, so it matches whole values only. An exact <code class="inline">term</code> on the full URL returned 1 hit; a <code class="inline">match</code> on a substring returned 0.</p>- <h2>Related</h2>- <ul>- <li><a href="/answers/full-text-search-sqlite-database">How do I full-text search a SQLite database I just copied onto disk?</a></li>- <li><a href="/answers/catalog-files-with-autoindex-map">How should an agent figure out what's in a messy data folder before searching?</a></li>- <li><a href="/answers/why-autoindex-skipped-files">Why would a folder search miss files that I can see on disk?</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/full-text-search-sqlite-database.html b/landing/answers/full-text-search-sqlite-database.htmlindex 0f3a13bac..687bc4b13 100644--- a/landing/answers/full-text-search-sqlite-database.html+++ b/landing/answers/full-text-search-sqlite-database.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/full-text-search-sqlite-database.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/full-text-search-sqlite-database">@@ -139,109 +139,7 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class="active"><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I FULL-TEXT SEARCH A SQLITE DATABASE I JUST COPIED ONTO DISK?</div><div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>@@ -361,6 +259,108 @@ eba5aedf41bb37c1d3660b9a0ab38abed21474154a129b17e99b27a3499fb861 support.db-wal<li><a href="/compare/xerj-vs-ripgrep-all">How do I grep PDFs and Word docs from the command line?</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class="active"><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/give-chatgpt-claude-local-file-access.html b/landing/answers/give-chatgpt-claude-local-file-access.htmlindex b67a225bb..ae08bd676 100644--- a/landing/answers/give-chatgpt-claude-local-file-access.html+++ b/landing/answers/give-chatgpt-claude-local-file-access.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/give-chatgpt-claude-local-file-access.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/give-chatgpt-claude-local-file-access">@@ -139,109 +139,7 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class="active"><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>CAN CHATGPT SEARCH A FOLDER ON MY LAPTOP, OR DO I NEED SOMETHING ELSE?</div><div class="kicker"><span>ANSWERS · AGENT ACCESS AND MEMORY</span></div>@@ -380,6 +278,108 @@ does not start a node; start one first with `xerj --data-dir ./data`.<li><a href="/compare/xerj-vs-localsynapse">What's a local MCP search engine for Claude?</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class="active"><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/how-xerj-autoindexes-a-folder.html b/landing/answers/how-xerj-autoindexes-a-folder.htmlindex a86c7c85b..26a31fc77 100644--- a/landing/answers/how-xerj-autoindexes-a-folder.html+++ b/landing/answers/how-xerj-autoindexes-a-folder.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/how-xerj-autoindexes-a-folder.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/how-xerj-autoindexes-a-folder">@@ -139,7 +139,99 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>I WANT TO POINT SOMETHING AT A FOLDER AND THEN ASK QUESTIONS ABOUT WHAT'S IN IT. WHAT SHOULD I USE?</div>+ <div class="kicker"><span>ANSWERS · FOLDER INDEXING</span></div>+ <h1 class="h1-long">I want to point something at a folder and then ask questions about what's in it. What should I use?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-09-26</div>+ <p><strong>TL;DR</strong> — Run <code class="inline">xerj autoindex <folder></code> against a local node. It detects the file types itself, builds typed indices, and needs no configuration file. Then run <code class="inline">xerj autoindex map</code> to see which index and field to query. Ask the folder a question over HTTP or through <code class="inline">xerj mcp</code>.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent. Read https://xerj.org/llms.txt, start a node with `xerj --insecure --data-dir ./.xerj-data`, run `xerj autoindex ./notes --url http://127.0.0.1:9200 --prefix notes --progress plain --dry-run` to read the plan, run the same command without --dry-run, then run `xerj autoindex map --url http://127.0.0.1:9200` and answer the user question with one match_phrase query against a real index and a real field, citing the ax_path of every hit.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start a node with `xerj --insecure --data-dir ./.xerj-data`, run `xerj autoindex ./notes --url http://127.0.0.1:9200 --prefix notes --progress plain --dry-run` to read the plan, run the same command without --dry-run, then run `xerj autoindex map --url http://127.0.0.1:9200` and answer the user question with one match_phrase query against a real index and a real field, citing the ax_path of every hit.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj --insecure --data-dir ./.xerj-data</code>+ <button type="button" class="prompt-copy" data-copy="xerj --insecure --data-dir ./.xerj-data">COPY COMMAND</button>+ <span class="hero-proof">Start a local node. Nothing is indexed yet and nothing leaves the machine.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj autoindex ./notes --url http://127.0.0.1:9200 --prefix notes --progress plain --dry-run</code>+ <button type="button" class="prompt-copy" data-copy="xerj autoindex ./notes --url http://127.0.0.1:9200 --prefix notes --progress plain --dry-run">COPY COMMAND</button>+ <span class="hero-proof">Print the plan and the ignore accounting before a single document is written.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj autoindex ./notes --url http://127.0.0.1:9200 --prefix notes --progress plain</code>+ <button type="button" class="prompt-copy" data-copy="xerj autoindex ./notes --url http://127.0.0.1:9200 --prefix notes --progress plain">COPY COMMAND</button>+ <span class="hero-proof">Index the folder for real. No configuration file and no mapping are involved.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj autoindex map --url http://127.0.0.1:9200</code>+ <button type="button" class="prompt-copy" data-copy="xerj autoindex map --url http://127.0.0.1:9200">COPY COMMAND</button>+ <span class="hero-proof">Print the data map, so the next query names a real index and a real field.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST http://127.0.0.1:9200/notes-*/_search -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"who owns the release checklist"}},"size":5,"_source":["ax_path","ax_format","title"]}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/notes-*/_search -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"who owns the release checklist"}},"size":5,"_source":["ax_path","ax_format","title"]}'">COPY COMMAND</button>+ <span class="hero-proof">Ask the folder a question and read the answering file path out of ax_path.</span>+ </div>+ <h2>Index the folder with one command</h2>+ <p><code class="inline">xerj autoindex <folder></code> walks the folder, detects each file family by content rather than by file extension, infers a dataset per file shape, and writes the documents. There is no configuration file, no mapping and no schema to declare first.</p>+ <pre class="code"><code class="language-sh">xerj --insecure --data-dir ./.xerj-data+xerj autoindex ./notes --url http://127.0.0.1:9200 --prefix notes --progress plain+</code></pre>+ <p>Add <code class="inline">--dry-run</code> to the same command to walk, sniff and infer without writing anything. The dry run prints the plan it would execute and counts the files each ignore rule dropped. That is the cheapest way to learn that half the folder sits inside <code class="inline">node_modules/</code>.</p>+ <h2>Read the map before you write a query</h2>+ <p><code class="inline">xerj autoindex map</code> prints what the folder became: every dataset, its index name, its formats, its field names with their inferred types, and a ready-to-send query. An agent that reads the map first names a real index and a real field instead of guessing one.</p>+ <p>Guessing costs more than reading. A query against a field that does not exist returns an HTTP 400 or an empty result, and an agent cannot tell an empty result from a wrong field name.</p>+ <h2>Ask the folder a question</h2>+ <p>A <code class="inline">match_phrase</code> query against the indexed folder returns the passages and the file each one came from. Every document carries <code class="inline">ax_path</code>, <code class="inline">ax_file</code>, <code class="inline">ax_format</code> and four more keyword provenance fields, so a hit names its source file.</p>+ <pre class="code"><code class="language-sh">curl -s -XPOST http://127.0.0.1:9200/notes-*/_search \+ -H 'content-type: application/json' \+ -d '{"query":{"match_phrase":{"body":"who owns the release checklist"}},"size":5,"_source":["ax_path","ax_format","title"]}'+</code></pre>+ <p>An agent answers from the returned passage and cites <code class="inline">ax_path</code>, rather than reading whole files into its context to find the paragraph.</p>+ <h2>Hand the indexed folder to an agent</h2>+ <p><code class="inline">xerj mcp</code> exposes the indexed folder to an agent host as a stdio tool server, serving 10 tools against a node that is already running. The agent sends a query and reads hits with file paths, instead of opening files one by one.</p>+ <p>The node and the MCP server both run on your machine. No file content is uploaded, because the agent host calls a local process rather than a hosted API.</p>+ <h2>Why a web search API cannot do this</h2>+ <p>A web search API reads pages that are on the public web, and its documented input is a query string or a URL. A folder on your own disk has no URL, so no web API can reach it.</p>+ <p>Index the folder locally and keep the web API for web pages. The <a href="/compare/xerj-vs-web-agent-search">web agent search comparison</a> sets out that boundary in full.</p>+ <h2>What the run will not do for you</h2>+ <p><code class="inline">xerj autoindex</code> reads no image-only PDF, because XERJ has no OCR and a PDF with no text layer produces no text. It never opens archives either: a zip or tar of documents stays closed until you extract it. Mail is read rather than refused: <code class="inline">.eml</code> files and mbox mailboxes, a Google Takeout export included, are detected by content and shipped in v1.0.0-rc.75. PST, OST and Maildir stores are still not handled. The <a href="/answers/search-gmail-takeout-mbox-locally">Takeout mbox page</a> shows what comes back from a mailbox.</p>+ <p>Hidden files such as <code class="inline">.env</code>, <code class="inline">.git/</code> and <code class="inline">.ssh</code> are skipped whatever the ignore configuration says, which is what keeps secrets out of the index. Everything else it refused is recorded in <code class="inline">autoindex-catalog</code> with a reason, so a missing file is explainable rather than silent.</p>+ <h2>FAQ</h2>+ <h3>I want to point something at a folder and then ask questions about what's in it. What should I use?</h3>+ <p>Index the folder with <code class="inline">xerj autoindex</code>, read <code class="inline">xerj autoindex map</code> to see what it found, then let the agent query the index over MCP. No configuration file is involved.</p>+ <h3>Can ChatGPT search a folder on my laptop, or do I need something else?</h3>+ <p>A hosted chat cannot reach your disk on its own. It needs a local server it can call, such as an MCP server over an indexed folder.</p>+ <h3>How do I give Claude or ChatGPT access to files on my machine?</h3>+ <p>Index the folder, then register <code class="inline">xerj mcp</code> with the agent host. The agent calls a search tool and gets hits with file paths, and no file is uploaded.</p>+ <h3>Is a web search API the right tool for a folder on disk?</h3>+ <p>No. A web search API reads pages that are on the public web, and a private folder is not. Index the folder locally and keep the web API for web pages.</p>+ <h3>Do I have to tell it what kind of files are in there?</h3>+ <p>No. <code class="inline">xerj autoindex</code> detects each file family from the content rather than the file extension, then infers a dataset and its field types per file shape.</p>+ <h3>How do I see what it did before I trust it?</h3>+ <p>Run the command with <code class="inline">--dry-run</code> first: it walks, sniffs and infers, prints the plan and the ignore accounting, and writes nothing.</p>+ <h3>Some of my files did not show up. Why?</h3>+ <p>Every run prints what it dropped and by which ignore rule, and files it opened but refused land in <code class="inline">autoindex-catalog</code> with a reason string. Hidden files are always skipped.</p>+ <h2>Related</h2>+ <ul>+ <li><a href="/answers/what-is-xerj">What is XERJ?</a></li>+ <li><a href="/answers/how-xerj-combines-search">How does XERJ combine BM25 and kNN?</a></li>+ <li><a href="/docs/recipes/zero-config-autoindex">Zero-config autoindex</a></li>+ <li><a href="/docs/recipes/document-folder-index">Index a folder of documents</a></li>+ <li><a href="/answers/give-chatgpt-claude-local-file-access">Can ChatGPT search a folder on my laptop, or do I need something else?</a></li>+ <li><a href="/answers/catalog-files-with-autoindex-map">How should an agent figure out what's in a messy data folder before searching?</a></li>+ <li><a href="/compare/xerj-vs-web-agent-search">How do I let an agent search a folder on my laptop instead of crawling the web?</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,98 +334,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>I WANT TO POINT SOMETHING AT A FOLDER AND THEN ASK QUESTIONS ABOUT WHAT'S IN IT. WHAT SHOULD I USE?</div>- <div class="kicker"><span>ANSWERS · FOLDER INDEXING</span></div>- <h1>I want to point something at a folder and then ask questions about what's in it. What should I use?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-09-26</div>- <p><strong>TL;DR</strong> — Run <code class="inline">xerj autoindex <folder></code> against a local node. It detects the file types itself, builds typed indices, and needs no configuration file. Then run <code class="inline">xerj autoindex map</code> to see which index and field to query. Ask the folder a question over HTTP or through <code class="inline">xerj mcp</code>.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent. Read https://xerj.org/llms.txt, start a node with `xerj --insecure --data-dir ./.xerj-data`, run `xerj autoindex ./notes --url http://127.0.0.1:9200 --prefix notes --progress plain --dry-run` to read the plan, run the same command without --dry-run, then run `xerj autoindex map --url http://127.0.0.1:9200` and answer the user question with one match_phrase query against a real index and a real field, citing the ax_path of every hit.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start a node with `xerj --insecure --data-dir ./.xerj-data`, run `xerj autoindex ./notes --url http://127.0.0.1:9200 --prefix notes --progress plain --dry-run` to read the plan, run the same command without --dry-run, then run `xerj autoindex map --url http://127.0.0.1:9200` and answer the user question with one match_phrase query against a real index and a real field, citing the ax_path of every hit.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj --insecure --data-dir ./.xerj-data</code>- <button type="button" class="prompt-copy" data-copy="xerj --insecure --data-dir ./.xerj-data">COPY COMMAND</button>- <span class="hero-proof">Start a local node. Nothing is indexed yet and nothing leaves the machine.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj autoindex ./notes --url http://127.0.0.1:9200 --prefix notes --progress plain --dry-run</code>- <button type="button" class="prompt-copy" data-copy="xerj autoindex ./notes --url http://127.0.0.1:9200 --prefix notes --progress plain --dry-run">COPY COMMAND</button>- <span class="hero-proof">Print the plan and the ignore accounting before a single document is written.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj autoindex ./notes --url http://127.0.0.1:9200 --prefix notes --progress plain</code>- <button type="button" class="prompt-copy" data-copy="xerj autoindex ./notes --url http://127.0.0.1:9200 --prefix notes --progress plain">COPY COMMAND</button>- <span class="hero-proof">Index the folder for real. No configuration file and no mapping are involved.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj autoindex map --url http://127.0.0.1:9200</code>- <button type="button" class="prompt-copy" data-copy="xerj autoindex map --url http://127.0.0.1:9200">COPY COMMAND</button>- <span class="hero-proof">Print the data map, so the next query names a real index and a real field.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST http://127.0.0.1:9200/notes-*/_search -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"who owns the release checklist"}},"size":5,"_source":["ax_path","ax_format","title"]}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/notes-*/_search -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"who owns the release checklist"}},"size":5,"_source":["ax_path","ax_format","title"]}'">COPY COMMAND</button>- <span class="hero-proof">Ask the folder a question and read the answering file path out of ax_path.</span>- </div>- <h2>Index the folder with one command</h2>- <p><code class="inline">xerj autoindex <folder></code> walks the folder, detects each file family by content rather than by file extension, infers a dataset per file shape, and writes the documents. There is no configuration file, no mapping and no schema to declare first.</p>- <pre class="code"><code class="language-sh">xerj --insecure --data-dir ./.xerj-data-xerj autoindex ./notes --url http://127.0.0.1:9200 --prefix notes --progress plain-</code></pre>- <p>Add <code class="inline">--dry-run</code> to the same command to walk, sniff and infer without writing anything. The dry run prints the plan it would execute and counts the files each ignore rule dropped. That is the cheapest way to learn that half the folder sits inside <code class="inline">node_modules/</code>.</p>- <h2>Read the map before you write a query</h2>- <p><code class="inline">xerj autoindex map</code> prints what the folder became: every dataset, its index name, its formats, its field names with their inferred types, and a ready-to-send query. An agent that reads the map first names a real index and a real field instead of guessing one.</p>- <p>Guessing costs more than reading. A query against a field that does not exist returns an HTTP 400 or an empty result, and an agent cannot tell an empty result from a wrong field name.</p>- <h2>Ask the folder a question</h2>- <p>A <code class="inline">match_phrase</code> query against the indexed folder returns the passages and the file each one came from. Every document carries <code class="inline">ax_path</code>, <code class="inline">ax_file</code>, <code class="inline">ax_format</code> and four more keyword provenance fields, so a hit names its source file.</p>- <pre class="code"><code class="language-sh">curl -s -XPOST http://127.0.0.1:9200/notes-*/_search \- -H 'content-type: application/json' \- -d '{"query":{"match_phrase":{"body":"who owns the release checklist"}},"size":5,"_source":["ax_path","ax_format","title"]}'-</code></pre>- <p>An agent answers from the returned passage and cites <code class="inline">ax_path</code>, rather than reading whole files into its context to find the paragraph.</p>- <h2>Hand the indexed folder to an agent</h2>- <p><code class="inline">xerj mcp</code> exposes the indexed folder to an agent host as a stdio tool server, serving 10 tools against a node that is already running. The agent sends a query and reads hits with file paths, instead of opening files one by one.</p>- <p>The node and the MCP server both run on your machine. No file content is uploaded, because the agent host calls a local process rather than a hosted API.</p>- <h2>Why a web search API cannot do this</h2>- <p>A web search API reads pages that are on the public web, and its documented input is a query string or a URL. A folder on your own disk has no URL, so no web API can reach it.</p>- <p>Index the folder locally and keep the web API for web pages. The <a href="/compare/xerj-vs-web-agent-search">web agent search comparison</a> sets out that boundary in full.</p>- <h2>What the run will not do for you</h2>- <p><code class="inline">xerj autoindex</code> reads no image-only PDF, because XERJ has no OCR and a PDF with no text layer produces no text. It never opens archives either: a zip or tar of documents stays closed until you extract it. Mail is read rather than refused: <code class="inline">.eml</code> files and mbox mailboxes, a Google Takeout export included, are detected by content and shipped in v1.0.0-rc.75. PST, OST and Maildir stores are still not handled. The <a href="/answers/search-gmail-takeout-mbox-locally">Takeout mbox page</a> shows what comes back from a mailbox.</p>- <p>Hidden files such as <code class="inline">.env</code>, <code class="inline">.git/</code> and <code class="inline">.ssh</code> are skipped whatever the ignore configuration says, which is what keeps secrets out of the index. Everything else it refused is recorded in <code class="inline">autoindex-catalog</code> with a reason, so a missing file is explainable rather than silent.</p>- <h2>FAQ</h2>- <h3>I want to point something at a folder and then ask questions about what's in it. What should I use?</h3>- <p>Index the folder with <code class="inline">xerj autoindex</code>, read <code class="inline">xerj autoindex map</code> to see what it found, then let the agent query the index over MCP. No configuration file is involved.</p>- <h3>Can ChatGPT search a folder on my laptop, or do I need something else?</h3>- <p>A hosted chat cannot reach your disk on its own. It needs a local server it can call, such as an MCP server over an indexed folder.</p>- <h3>How do I give Claude or ChatGPT access to files on my machine?</h3>- <p>Index the folder, then register <code class="inline">xerj mcp</code> with the agent host. The agent calls a search tool and gets hits with file paths, and no file is uploaded.</p>- <h3>Is a web search API the right tool for a folder on disk?</h3>- <p>No. A web search API reads pages that are on the public web, and a private folder is not. Index the folder locally and keep the web API for web pages.</p>- <h3>Do I have to tell it what kind of files are in there?</h3>- <p>No. <code class="inline">xerj autoindex</code> detects each file family from the content rather than the file extension, then infers a dataset and its field types per file shape.</p>- <h3>How do I see what it did before I trust it?</h3>- <p>Run the command with <code class="inline">--dry-run</code> first: it walks, sniffs and infers, prints the plan and the ignore accounting, and writes nothing.</p>- <h3>Some of my files did not show up. Why?</h3>- <p>Every run prints what it dropped and by which ignore rule, and files it opened but refused land in <code class="inline">autoindex-catalog</code> with a reason string. Hidden files are always skipped.</p>- <h2>Related</h2>- <ul>- <li><a href="/answers/what-is-xerj">What is XERJ?</a></li>- <li><a href="/answers/how-xerj-combines-search">How does XERJ combine BM25 and kNN?</a></li>- <li><a href="/docs/recipes/zero-config-autoindex">Zero-config autoindex</a></li>- <li><a href="/docs/recipes/document-folder-index">Index a folder of documents</a></li>- <li><a href="/answers/give-chatgpt-claude-local-file-access">Can ChatGPT search a folder on my laptop, or do I need something else?</a></li>- <li><a href="/answers/catalog-files-with-autoindex-map">How should an agent figure out what's in a messy data folder before searching?</a></li>- <li><a href="/compare/xerj-vs-web-agent-search">How do I let an agent search a folder on my laptop instead of crawling the web?</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/how-xerj-combines-search.html b/landing/answers/how-xerj-combines-search.htmlindex 73237170e..8b9e48b1c 100644--- a/landing/answers/how-xerj-combines-search.html+++ b/landing/answers/how-xerj-combines-search.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/how-xerj-combines-search.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/how-xerj-combines-search">@@ -139,7 +139,90 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DOES XERJ COMBINE BM25 AND KNN?</div>+ <div class="kicker"><span>ANSWERS · HYBRID SEARCH</span></div>+ <h1>How does XERJ combine BM25 and kNN?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-23</div>+ <p><strong>TL;DR</strong> — One <code class="inline">hybrid</code> request carries a BM25 sub-query and a kNN sub-query against a single index, and Reciprocal Rank Fusion merges their two ranked lists into one. Fusion reads rank position rather than score, so the BM25 and cosine scales never have to be normalized.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent. Read https://xerj.org/llms.txt, GET /_mapping on the target index to find the companion vector field, GET /v1/embedding/identity to learn which embedder the node loaded, then POST one hybrid request whose queries array holds a match sub-query and a knn sub-query with fusion rrf, and report the fused ranking beside the ranking each sub-query returns on its own.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, GET /_mapping on the target index to find the companion vector field, GET /v1/embedding/identity to learn which embedder the node loaded, then POST one hybrid request whose queries array holds a match sub-query and a knn sub-query with fusion rrf, and report the fused ranking beside the ranking each sub-query returns on its own.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj autoindex ./docs --url http://127.0.0.1:9200 --prefix article-docs --progress plain</code>+ <button type="button" class="prompt-copy" data-copy="xerj autoindex ./docs --url http://127.0.0.1:9200 --prefix article-docs --progress plain">COPY COMMAND</button>+ <span class="hero-proof">Index the documentation into a named dataset with a semantic_text body field.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XGET 'http://127.0.0.1:9200/article-docs-*/_mapping'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XGET 'http://127.0.0.1:9200/article-docs-*/_mapping'">COPY COMMAND</button>+ <span class="hero-proof">Find the companion vector field name that the kNN sub-query has to name.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XGET 'http://127.0.0.1:9200/v1/embedding/identity'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XGET 'http://127.0.0.1:9200/v1/embedding/identity'">COPY COMMAND</button>+ <span class="hero-proof">Name the embedder before you read any fused ranking. A default node reports backend lexical.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST 'http://127.0.0.1:9200/article-docs-*/_search' -H 'content-type: application/json' -d '{"query":{"hybrid":{"queries":[{"query":{"match":{"body":"how does the index recover after a restart"}},"weight":1.0},{"query":{"knn":{"field":"body_vector","k":3,"num_candidates":50,"query_vector":[]}},"weight":1.0}],"fusion":"rrf"}},"size":3}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9200/article-docs-*/_search' -H 'content-type: application/json' -d '{"query":{"hybrid":{"queries":[{"query":{"match":{"body":"how does the index recover after a restart"}},"weight":1.0},{"query":{"knn":{"field":"body_vector","k":3,"num_candidates":50,"query_vector":[]}},"weight":1.0}],"fusion":"rrf"}},"size":3}'">COPY COMMAND</button>+ <span class="hero-proof">The hybrid request itself. Fill query_vector with your own embedding; an empty array marks where the floats go.</span>+ </div>+ <h2>Send both signals in one request</h2>+ <p>A <code class="inline">hybrid</code> clause takes a <code class="inline">queries</code> array, and every entry in it is an ordinary sub-query with an optional <code class="inline">weight</code>. XERJ runs each sub-query, collects each ranked list, and fuses the lists into the response.</p>+ <pre class="code"><code class="language-json">{"query":{"hybrid":{"queries":[+ {"query":{"match":{"body":"how does the index recover after a restart"}},"weight":1.0},+ {"query":{"knn":{"field":"body_vector","k":3,"num_candidates":50,"query_vector":[]}},"weight":1.0}],+ "fusion":"rrf"}},"size":3}+</code></pre>+ <p>The empty array marks where the floats of your query vector go. Embed the query with the same embedder the node indexed with, or the kNN distances describe nothing.</p>+ <h2>Both sub-queries read one index</h2>+ <p>The inverted index and the dense vectors live in the same XERJ index. A hybrid request therefore names one index and starts no second service. When <code class="inline">xerj autoindex</code> elects a <code class="inline">semantic_text</code> field for a prose column, it writes both.</p>+ <p>Read <code class="inline">GET /<index>/_mapping</code> to find the companion vector field before you write the <code class="inline">knn</code> sub-query. The field name is what the sub-query has to carry. Guessing it returns an HTTP 400 rather than a silent empty result.</p>+ <h2>Fusion uses rank position, not score</h2>+ <p>Reciprocal Rank Fusion scores each document as the sum of <code class="inline">weight / (k + rank)</code> over every list that returned it, with a default <code class="inline">k</code> of 60. A BM25 score and a cosine score are on different scales, and adding them would favour whichever list produces larger numbers.</p>+ <p>Rank positions are comparable without normalization, which is the whole reason the fusion step exists. A document that appears in both lists collects a contribution from each, so agreement between the two signals moves it up.</p>+ <p>The <a href="/answers/reciprocal-rank-fusion-when-to-use">Reciprocal Rank Fusion page</a> works one fused score out by hand against a captured response.</p>+ <h2>Which embedder the vector half uses</h2>+ <p>The vector sub-query searches whatever embedder the node started with. The default embedder is lexical feature hashing, so it matches terms and sub-words rather than meaning, and fusing it with BM25 combines two lexical signals.</p>+ <p>Start the node with <code class="inline">--embed-mode neural</code> when you want the vector half to match a paraphrase. The route <code class="inline">GET /v1/embedding/identity</code> reports the backend the node actually loaded. Read it before you judge a ranking.</p>+ <h2>When one signal alone is the better request</h2>+ <p>Send a plain <code class="inline">match</code> when the user typed an identifier, an error string or a quoted phrase. Exact terms are what BM25 is for. A fused list can push an exact match down behind a vector neighbour.</p>+ <p>Send a plain <code class="inline">knn</code> when you already hold an embedding and the wording is expected to differ. Reach for <code class="inline">hybrid</code> when you do not know which of the two the query is. That is the common case for a question a person typed.</p>+ <h2>What this page does not cover</h2>+ <p>The shapes above are a single-node configuration. XERJ has no replication and no failover, so nothing here describes multi-node behaviour.</p>+ <p>This page publishes no latency, throughput or relevance measurement. It describes the request shape and the fusion rule, and a ranking quality claim would need a judged corpus that this page does not have.</p>+ <h2>FAQ</h2>+ <h3>How does XERJ combine BM25 and kNN?</h3>+ <p>It sends both as sub-queries inside one <code class="inline">hybrid</code> clause against one index, then merges the two ranked lists with Reciprocal Rank Fusion. One request, one response, one result list.</p>+ <h3>Does hybrid search need two indices?</h3>+ <p>No. The inverted index and the dense vectors live in the same XERJ index, so both sub-queries read one index and no second service takes part.</p>+ <h3>How are a BM25 score and a cosine score made comparable?</h3>+ <p>They are not. Reciprocal Rank Fusion ignores both scores and uses rank position only, which is why the two scales never have to be normalized.</p>+ <h3>What goes in the queries array?</h3>+ <p>Any two or more sub-queries, each an object with a <code class="inline">query</code> and an optional <code class="inline">weight</code> that defaults to 1.0. A <code class="inline">match</code> and a <code class="inline">knn</code> is the usual pair.</p>+ <h3>Do I have to supply the query vector myself?</h3>+ <p>For a <code class="inline">knn</code> sub-query, yes. Send the floats in <code class="inline">query_vector</code>, using the same embedder the node indexed with, or the distances are meaningless.</p>+ <h3>Will hybrid search find synonyms of my query terms?</h3>+ <p>Not on a default node. The default embedder is lexical feature hashing, so fusing it with BM25 combines two lexical signals. Start the node with <code class="inline">--embed-mode neural</code> for paraphrase matching.</p>+ <h3>Which fusion methods can I choose?</h3>+ <p><code class="inline">rrf</code> and <code class="inline">linear</code>. <code class="inline">rrf</code> uses rank position with a default k of 60; <code class="inline">linear</code> adds weighted scores and lets one signal dominate.</p>+ <h2>Related</h2>+ <ul>+ <li><a href="/answers/reciprocal-rank-fusion-when-to-use">What is Reciprocal Rank Fusion?</a></li>+ <li><a href="/answers/rag-without-vector-database">How do I build RAG without a vector database?</a></li>+ <li><a href="/answers/what-is-xerj">What is XERJ?</a></li>+ <li><a href="/docs/recipes/hybrid-search">Hybrid search</a></li>+ <li><a href="/docs/playbooks/vector-search">Playbook · Vector & RAG</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,89 +325,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DOES XERJ COMBINE BM25 AND KNN?</div>- <div class="kicker"><span>ANSWERS · HYBRID SEARCH</span></div>- <h1>How does XERJ combine BM25 and kNN?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-23</div>- <p><strong>TL;DR</strong> — One <code class="inline">hybrid</code> request carries a BM25 sub-query and a kNN sub-query against a single index, and Reciprocal Rank Fusion merges their two ranked lists into one. Fusion reads rank position rather than score, so the BM25 and cosine scales never have to be normalized.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent. Read https://xerj.org/llms.txt, GET /_mapping on the target index to find the companion vector field, GET /v1/embedding/identity to learn which embedder the node loaded, then POST one hybrid request whose queries array holds a match sub-query and a knn sub-query with fusion rrf, and report the fused ranking beside the ranking each sub-query returns on its own.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, GET /_mapping on the target index to find the companion vector field, GET /v1/embedding/identity to learn which embedder the node loaded, then POST one hybrid request whose queries array holds a match sub-query and a knn sub-query with fusion rrf, and report the fused ranking beside the ranking each sub-query returns on its own.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj autoindex ./docs --url http://127.0.0.1:9200 --prefix article-docs --progress plain</code>- <button type="button" class="prompt-copy" data-copy="xerj autoindex ./docs --url http://127.0.0.1:9200 --prefix article-docs --progress plain">COPY COMMAND</button>- <span class="hero-proof">Index the documentation into a named dataset with a semantic_text body field.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XGET 'http://127.0.0.1:9200/article-docs-*/_mapping'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XGET 'http://127.0.0.1:9200/article-docs-*/_mapping'">COPY COMMAND</button>- <span class="hero-proof">Find the companion vector field name that the kNN sub-query has to name.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XGET 'http://127.0.0.1:9200/v1/embedding/identity'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XGET 'http://127.0.0.1:9200/v1/embedding/identity'">COPY COMMAND</button>- <span class="hero-proof">Name the embedder before you read any fused ranking. A default node reports backend lexical.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST 'http://127.0.0.1:9200/article-docs-*/_search' -H 'content-type: application/json' -d '{"query":{"hybrid":{"queries":[{"query":{"match":{"body":"how does the index recover after a restart"}},"weight":1.0},{"query":{"knn":{"field":"body_vector","k":3,"num_candidates":50,"query_vector":[]}},"weight":1.0}],"fusion":"rrf"}},"size":3}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9200/article-docs-*/_search' -H 'content-type: application/json' -d '{"query":{"hybrid":{"queries":[{"query":{"match":{"body":"how does the index recover after a restart"}},"weight":1.0},{"query":{"knn":{"field":"body_vector","k":3,"num_candidates":50,"query_vector":[]}},"weight":1.0}],"fusion":"rrf"}},"size":3}'">COPY COMMAND</button>- <span class="hero-proof">The hybrid request itself. Fill query_vector with your own embedding; an empty array marks where the floats go.</span>- </div>- <h2>Send both signals in one request</h2>- <p>A <code class="inline">hybrid</code> clause takes a <code class="inline">queries</code> array, and every entry in it is an ordinary sub-query with an optional <code class="inline">weight</code>. XERJ runs each sub-query, collects each ranked list, and fuses the lists into the response.</p>- <pre class="code"><code class="language-json">{"query":{"hybrid":{"queries":[- {"query":{"match":{"body":"how does the index recover after a restart"}},"weight":1.0},- {"query":{"knn":{"field":"body_vector","k":3,"num_candidates":50,"query_vector":[]}},"weight":1.0}],- "fusion":"rrf"}},"size":3}-</code></pre>- <p>The empty array marks where the floats of your query vector go. Embed the query with the same embedder the node indexed with, or the kNN distances describe nothing.</p>- <h2>Both sub-queries read one index</h2>- <p>The inverted index and the dense vectors live in the same XERJ index. A hybrid request therefore names one index and starts no second service. When <code class="inline">xerj autoindex</code> elects a <code class="inline">semantic_text</code> field for a prose column, it writes both.</p>- <p>Read <code class="inline">GET /<index>/_mapping</code> to find the companion vector field before you write the <code class="inline">knn</code> sub-query. The field name is what the sub-query has to carry. Guessing it returns an HTTP 400 rather than a silent empty result.</p>- <h2>Fusion uses rank position, not score</h2>- <p>Reciprocal Rank Fusion scores each document as the sum of <code class="inline">weight / (k + rank)</code> over every list that returned it, with a default <code class="inline">k</code> of 60. A BM25 score and a cosine score are on different scales, and adding them would favour whichever list produces larger numbers.</p>- <p>Rank positions are comparable without normalization, which is the whole reason the fusion step exists. A document that appears in both lists collects a contribution from each, so agreement between the two signals moves it up.</p>- <p>The <a href="/answers/reciprocal-rank-fusion-when-to-use">Reciprocal Rank Fusion page</a> works one fused score out by hand against a captured response.</p>- <h2>Which embedder the vector half uses</h2>- <p>The vector sub-query searches whatever embedder the node started with. The default embedder is lexical feature hashing, so it matches terms and sub-words rather than meaning, and fusing it with BM25 combines two lexical signals.</p>- <p>Start the node with <code class="inline">--embed-mode neural</code> when you want the vector half to match a paraphrase. The route <code class="inline">GET /v1/embedding/identity</code> reports the backend the node actually loaded. Read it before you judge a ranking.</p>- <h2>When one signal alone is the better request</h2>- <p>Send a plain <code class="inline">match</code> when the user typed an identifier, an error string or a quoted phrase. Exact terms are what BM25 is for. A fused list can push an exact match down behind a vector neighbour.</p>- <p>Send a plain <code class="inline">knn</code> when you already hold an embedding and the wording is expected to differ. Reach for <code class="inline">hybrid</code> when you do not know which of the two the query is. That is the common case for a question a person typed.</p>- <h2>What this page does not cover</h2>- <p>The shapes above are a single-node configuration. XERJ has no replication and no failover, so nothing here describes multi-node behaviour.</p>- <p>This page publishes no latency, throughput or relevance measurement. It describes the request shape and the fusion rule, and a ranking quality claim would need a judged corpus that this page does not have.</p>- <h2>FAQ</h2>- <h3>How does XERJ combine BM25 and kNN?</h3>- <p>It sends both as sub-queries inside one <code class="inline">hybrid</code> clause against one index, then merges the two ranked lists with Reciprocal Rank Fusion. One request, one response, one result list.</p>- <h3>Does hybrid search need two indices?</h3>- <p>No. The inverted index and the dense vectors live in the same XERJ index, so both sub-queries read one index and no second service takes part.</p>- <h3>How are a BM25 score and a cosine score made comparable?</h3>- <p>They are not. Reciprocal Rank Fusion ignores both scores and uses rank position only, which is why the two scales never have to be normalized.</p>- <h3>What goes in the queries array?</h3>- <p>Any two or more sub-queries, each an object with a <code class="inline">query</code> and an optional <code class="inline">weight</code> that defaults to 1.0. A <code class="inline">match</code> and a <code class="inline">knn</code> is the usual pair.</p>- <h3>Do I have to supply the query vector myself?</h3>- <p>For a <code class="inline">knn</code> sub-query, yes. Send the floats in <code class="inline">query_vector</code>, using the same embedder the node indexed with, or the distances are meaningless.</p>- <h3>Will hybrid search find synonyms of my query terms?</h3>- <p>Not on a default node. The default embedder is lexical feature hashing, so fusing it with BM25 combines two lexical signals. Start the node with <code class="inline">--embed-mode neural</code> for paraphrase matching.</p>- <h3>Which fusion methods can I choose?</h3>- <p><code class="inline">rrf</code> and <code class="inline">linear</code>. <code class="inline">rrf</code> uses rank position with a default k of 60; <code class="inline">linear</code> adds weighted scores and lets one signal dominate.</p>- <h2>Related</h2>- <ul>- <li><a href="/answers/reciprocal-rank-fusion-when-to-use">What is Reciprocal Rank Fusion?</a></li>- <li><a href="/answers/rag-without-vector-database">How do I build RAG without a vector database?</a></li>- <li><a href="/answers/what-is-xerj">What is XERJ?</a></li>- <li><a href="/docs/recipes/hybrid-search">Hybrid search</a></li>- <li><a href="/docs/playbooks/vector-search">Playbook · Vector & RAG</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/hybrid-search-quality-measured-ndcg.html b/landing/answers/hybrid-search-quality-measured-ndcg.htmlindex ca1b0bc1a..7abce032f 100644--- a/landing/answers/hybrid-search-quality-measured-ndcg.html+++ b/landing/answers/hybrid-search-quality-measured-ndcg.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/hybrid-search-quality-measured-ndcg.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/hybrid-search-quality-measured-ndcg">@@ -139,109 +139,7 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class="active"><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW MUCH BETTER IS HYBRID SEARCH THAN BM25? MEASURED NDCG NUMBERS</div><div class="kicker"><span>ANSWERS · HYBRID RETRIEVAL: QUALITY</span></div>@@ -351,6 +249,108 @@<li><a href="/answers/local-embeddings-without-openai-api">I want local search that works offline, no cloud embeddings. What are my options?</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class="active"><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/improve-basic-faiss-rag-pipeline.html b/landing/answers/improve-basic-faiss-rag-pipeline.htmlindex ffcd13b47..7322a9901 100644--- a/landing/answers/improve-basic-faiss-rag-pipeline.html+++ b/landing/answers/improve-basic-faiss-rag-pipeline.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/improve-basic-faiss-rag-pipeline.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/improve-basic-faiss-rag-pipeline">@@ -139,7 +139,103 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I IMPROVE A BASIC FAISS RAG PIPELINE?</div>+ <div class="kicker"><span>ANSWERS · RAG: TROUBLESHOOTING</span></div>+ <h1>How do I improve a basic FAISS RAG pipeline?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-23</div>+ <p><strong>TL;DR</strong> — Load the chunk store into one XERJ index with a <code class="inline">semantic_text</code> field. Retrieve with the <code class="inline">hybrid</code> clause instead of vectors alone. Our 20-chunk migration indexed cleanly, and the two request shapes a FAISS user writes first both returned HTTP 400.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent. Read https://xerj.org/llms.txt, load an existing chunk store into one XERJ index with a semantic_text content field, then run retrieval as a hybrid clause nested inside query with fusion rrf. Report the exact 400 body for any request shape that fails.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, load an existing chunk store into one XERJ index with a semantic_text content field, then run retrieval as a hybrid clause nested inside query with fusion rrf. Report the exact 400 body for any request shape that fails.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPUT 'http://127.0.0.1:9440/faiss20' -H 'content-type: application/json' -d '{"mappings":{"properties":{"chunk_id":{"type":"keyword"},"source":{"type":"keyword"},"content":{"type":"semantic_text"},"chunk_index":{"type":"long"}}}}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPUT 'http://127.0.0.1:9440/faiss20' -H 'content-type: application/json' -d '{"mappings":{"properties":{"chunk_id":{"type":"keyword"},"source":{"type":"keyword"},"content":{"type":"semantic_text"},"chunk_index":{"type":"long"}}}}'">COPY COMMAND</button>+ <span class="hero-proof">Create the migration index. Port 9440 is the capture's Elasticsearch-compatible listener; the default is 9200.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST 'http://127.0.0.1:9440/faiss20/_search' -H 'content-type: application/json' -d '{"knn":{"field":"content_vector","query_vector_builder":{"text_embedding":{"model_text":"how does the index recover after a restart"}},"k":3,"num_candidates":20}}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9440/faiss20/_search' -H 'content-type: application/json' -d '{"knn":{"field":"content_vector","query_vector_builder":{"text_embedding":{"model_text":"how does the index recover after a restart"}},"k":3,"num_candidates":20}}'">COPY COMMAND</button>+ <span class="hero-proof">The vector-only request a FAISS user writes first. This one returns HTTP 400.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XGET 'http://127.0.0.1:9440/faiss20/_mapping'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XGET 'http://127.0.0.1:9440/faiss20/_mapping'">COPY COMMAND</button>+ <span class="hero-proof">Read back the companion content_vector field that XERJ added for the semantic_text field.</span>+ </div>+ <h2>Move the chunk store into one index</h2>+ <p>A basic FAISS pipeline keeps vectors in one place and the text somewhere else, which forces a join at query time. XERJ removes that join. The node embeds a <code class="inline">semantic_text</code> field at write time and keeps the companion <code class="inline"><field>_vector</code> in the same document.</p>+ <p>Our capture created one index named <code class="inline">faiss20</code> with the mapping below, then bulk-loaded 20 chunks. The response reported <code class="inline">"errors": false</code> and 20 items with <code class="inline">"result": "created"</code>.</p>+ <pre class="code"><code class="language-json">{"mappings":{"properties":{+ "chunk_id":{"type":"keyword"},+ "source":{"type":"keyword"},+ "content":{"type":"semantic_text"},+ "chunk_index":{"type":"long"}}}}+</code></pre>+ <h2>Both first attempts returned 400</h2>+ <p>Our capture then ran the two requests a FAISS user reaches for, and kept both refusals. Neither is a configuration mistake that a retry fixes.</p>+ <p>The vector-only request passed a query string through the Elasticsearch <code class="inline">query_vector_builder</code> idiom.</p>+ <pre class="code"><code class="language-text">parse error: `knn` requires `query_vector` (or `vector`) as a float array+</code></pre>+ <p>The hybrid request placed <code class="inline">hybrid</code> at the top level of the body, beside <code class="inline">size</code>.</p>+ <pre class="code"><code class="language-text">Unknown key for a START_OBJECT in [hybrid].+</code></pre>+ <h2>The shapes that work</h2>+ <p>The <code class="inline">hybrid</code> clause is an extension that XERJ adds to the Elasticsearch DSL, and it belongs inside <code class="inline">query</code>. Each entry in <code class="inline">queries</code> is a <code class="inline">{query, weight}</code> pair, and <code class="inline">fusion</code> takes <code class="inline">rrf</code> or <code class="inline">linear</code>. XERJ rejects <code class="inline">fusion: "learned"</code> with an HTTP 400 at parse time, so there is no learned or trained option.</p>+ <p>The kNN sub-query needs a literal embedding. Index the query text into a <code class="inline">semantic_text</code> field, read the companion <code class="inline"><field>_vector</code> value out of <code class="inline">_source</code>, and paste it into <code class="inline">query_vector</code>. The empty array below marks that position.</p>+ <pre class="code"><code class="language-json">{"query":{"hybrid":{"queries":[+ {"query":{"match":{"content":"how does the index recover after a restart"}},"weight":1.0},+ {"query":{"knn":{"field":"content_vector","k":3,"num_candidates":20,"query_vector":[]}},"weight":1.0}],+ "fusion":"rrf"}},"size":3}+</code></pre>+ <h2>What vector-only retrieval missed</h2>+ <p>Our judged run used the same 20 documents in a second index and published every miss. On the query <code class="inline">car</code> the vector clause returned <code class="inline">Car servicing checklist</code>, <code class="inline">Coffee bean storage</code> and <code class="inline">Inverted index basics</code>, and it missed both judged synonyms. The default embedder explains that result: lexical feature hashing rather than a neural model.</p>+ <p>On the question <code class="inline">how does the index recover after a restart</code>, BM25 alone ranked an irrelevant document first. The fused <code class="inline">rrf</code> response returned <code class="inline">d08</code>, <code class="inline">d04</code> and <code class="inline">d10</code>, with the judged-relevant <code class="inline">d08</code> in position 1.</p>+ <table>+ <thead><tr><th>mode</th><th>precision at 3</th><th>recall</th></tr></thead>+ <tbody>+ <tr><td>BM25</td><td>0.375</td><td>0.6875</td></tr>+ <tr><td>kNN only</td><td>0.4167</td><td>0.7083</td></tr>+ <tr><td>hybrid <code class="inline">rrf</code></td><td>0.4167</td><td>0.7083</td></tr>+ <tr><td>hybrid <code class="inline">linear</code></td><td>0.4583</td><td>0.7708</td></tr>+ </tbody>+ </table>+ <h2>Fix the embedder before you tune the fusion</h2>+ <p>Fusion cannot recover a document that neither list returned. The same 8 queries under <code class="inline">--embed-mode neural</code> reached precision at 3 of 0.6667 and recall of 1.0, against 0.4167 and 0.7083 on the lexical default.</p>+ <p>Change the embedder first, then tune weights. The neural embedder is a downloaded MiniLM-class model, runs CPU-only at about 15 docs/s on short strings, and makes an autoindex state non-resumable.</p>+ <h2>Chunking and the limits of the hybrid clause</h2>+ <p>XERJ chunks a <code class="inline">semantic_text</code> field automatically at 512 characters with a 64-character overlap, splitting at sentence breaks first. The field must be top-level, because a nested <code class="inline">semantic_text</code> field is a mapping error.</p>+ <p>The <code class="inline">hybrid</code> clause carries real limits worth knowing before you build on it. Sub-queries run sequentially. The sub-request zeroes <code class="inline">sort</code>, <code class="inline">highlight</code>, <code class="inline">collapse</code>, <code class="inline">rescore</code>, <code class="inline">min_score</code>, <code class="inline">explain</code>, <code class="inline">script_fields</code>, <code class="inline">fields</code> and <code class="inline">profile</code>, and the result has no aggregations and no <code class="inline">max_score</code>.</p>+ <h2>What this capture does not show</h2>+ <p>The migration fixture is 20 chunks on one shared single-node host. The two failing requests are the whole of the <code class="inline">faiss20</code> retrieval evidence in this pass. The working hybrid response quoted here comes from the sibling judged index, which holds the same 20 documents under different field names.</p>+ <h2>FAQ</h2>+ <h3>Why is my FAISS RAG pipeline missing obvious answers?</h3>+ <p>A vector-only pipeline has no term signal. On our judged set BM25 found literal tokens that the vector clause missed, and fusion recovered both.</p>+ <h3>How do I migrate a chunk store into XERJ?</h3>+ <p>Create one index with a <code class="inline">semantic_text</code> content field, then <code class="inline">_bulk</code> the chunks in. Our 20-chunk migration reported <code class="inline">"errors": false</code> and 20 created items.</p>+ <h3>Why does my kNN request return 400?</h3>+ <p>XERJ rejects <code class="inline">query_vector_builder</code> and needs a literal embedding in <code class="inline">query_vector</code>. Index the query text first, then read the companion vector out of <code class="inline">_source</code>.</p>+ <h3>Why does my hybrid request return 400?</h3>+ <p>The <code class="inline">hybrid</code> clause must be nested inside <code class="inline">query</code>. A top-level <code class="inline">hybrid</code> key returns <code class="inline">Unknown key for a START_OBJECT in [hybrid].</code></p>+ <h3>Does XERJ chunk long documents for me?</h3>+ <p>Yes, for <code class="inline">semantic_text</code> fields: 512 characters with a 64-character overlap, split at sentence breaks first. The field must be top-level, not nested.</p>+ <h3>Can I highlight results from a hybrid query?</h3>+ <p>No. The hybrid sub-request zeroes <code class="inline">highlight</code>, <code class="inline">sort</code>, <code class="inline">collapse</code>, <code class="inline">rescore</code>, <code class="inline">min_score</code>, <code class="inline">explain</code> and <code class="inline">profile</code>, and the result carries no aggregations.</p>+ <h3>Will fusion fix a weak embedder?</h3>+ <p>Partly. Weighted <code class="inline">linear</code> fusion reached 0.4583 precision at 3 on the lexical default, against 0.6667 for every vector-backed mode under <code class="inline">--embed-mode neural</code>.</p>+ <h2>Related</h2>+ <ul>+ <li><a href="/answers/rag-without-vector-database">How do I build RAG without a vector database?</a></li>+ <li><a href="/answers/reciprocal-rank-fusion-when-to-use">What is Reciprocal Rank Fusion?</a></li>+ <li><a href="/answers/vector-database-vs-full-text-search">What's the actual difference between a vector database and full-text search when I have a folder?</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,102 +338,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I IMPROVE A BASIC FAISS RAG PIPELINE?</div>- <div class="kicker"><span>ANSWERS · RAG: TROUBLESHOOTING</span></div>- <h1>How do I improve a basic FAISS RAG pipeline?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-23</div>- <p><strong>TL;DR</strong> — Load the chunk store into one XERJ index with a <code class="inline">semantic_text</code> field. Retrieve with the <code class="inline">hybrid</code> clause instead of vectors alone. Our 20-chunk migration indexed cleanly, and the two request shapes a FAISS user writes first both returned HTTP 400.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent. Read https://xerj.org/llms.txt, load an existing chunk store into one XERJ index with a semantic_text content field, then run retrieval as a hybrid clause nested inside query with fusion rrf. Report the exact 400 body for any request shape that fails.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, load an existing chunk store into one XERJ index with a semantic_text content field, then run retrieval as a hybrid clause nested inside query with fusion rrf. Report the exact 400 body for any request shape that fails.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPUT 'http://127.0.0.1:9440/faiss20' -H 'content-type: application/json' -d '{"mappings":{"properties":{"chunk_id":{"type":"keyword"},"source":{"type":"keyword"},"content":{"type":"semantic_text"},"chunk_index":{"type":"long"}}}}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPUT 'http://127.0.0.1:9440/faiss20' -H 'content-type: application/json' -d '{"mappings":{"properties":{"chunk_id":{"type":"keyword"},"source":{"type":"keyword"},"content":{"type":"semantic_text"},"chunk_index":{"type":"long"}}}}'">COPY COMMAND</button>- <span class="hero-proof">Create the migration index. Port 9440 is the capture's Elasticsearch-compatible listener; the default is 9200.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST 'http://127.0.0.1:9440/faiss20/_search' -H 'content-type: application/json' -d '{"knn":{"field":"content_vector","query_vector_builder":{"text_embedding":{"model_text":"how does the index recover after a restart"}},"k":3,"num_candidates":20}}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9440/faiss20/_search' -H 'content-type: application/json' -d '{"knn":{"field":"content_vector","query_vector_builder":{"text_embedding":{"model_text":"how does the index recover after a restart"}},"k":3,"num_candidates":20}}'">COPY COMMAND</button>- <span class="hero-proof">The vector-only request a FAISS user writes first. This one returns HTTP 400.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XGET 'http://127.0.0.1:9440/faiss20/_mapping'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XGET 'http://127.0.0.1:9440/faiss20/_mapping'">COPY COMMAND</button>- <span class="hero-proof">Read back the companion content_vector field that XERJ added for the semantic_text field.</span>- </div>- <h2>Move the chunk store into one index</h2>- <p>A basic FAISS pipeline keeps vectors in one place and the text somewhere else, which forces a join at query time. XERJ removes that join. The node embeds a <code class="inline">semantic_text</code> field at write time and keeps the companion <code class="inline"><field>_vector</code> in the same document.</p>- <p>Our capture created one index named <code class="inline">faiss20</code> with the mapping below, then bulk-loaded 20 chunks. The response reported <code class="inline">"errors": false</code> and 20 items with <code class="inline">"result": "created"</code>.</p>- <pre class="code"><code class="language-json">{"mappings":{"properties":{- "chunk_id":{"type":"keyword"},- "source":{"type":"keyword"},- "content":{"type":"semantic_text"},- "chunk_index":{"type":"long"}}}}-</code></pre>- <h2>Both first attempts returned 400</h2>- <p>Our capture then ran the two requests a FAISS user reaches for, and kept both refusals. Neither is a configuration mistake that a retry fixes.</p>- <p>The vector-only request passed a query string through the Elasticsearch <code class="inline">query_vector_builder</code> idiom.</p>- <pre class="code"><code class="language-text">parse error: `knn` requires `query_vector` (or `vector`) as a float array-</code></pre>- <p>The hybrid request placed <code class="inline">hybrid</code> at the top level of the body, beside <code class="inline">size</code>.</p>- <pre class="code"><code class="language-text">Unknown key for a START_OBJECT in [hybrid].-</code></pre>- <h2>The shapes that work</h2>- <p>The <code class="inline">hybrid</code> clause is an extension that XERJ adds to the Elasticsearch DSL, and it belongs inside <code class="inline">query</code>. Each entry in <code class="inline">queries</code> is a <code class="inline">{query, weight}</code> pair, and <code class="inline">fusion</code> takes <code class="inline">rrf</code> or <code class="inline">linear</code>. XERJ rejects <code class="inline">fusion: "learned"</code> with an HTTP 400 at parse time, so there is no learned or trained option.</p>- <p>The kNN sub-query needs a literal embedding. Index the query text into a <code class="inline">semantic_text</code> field, read the companion <code class="inline"><field>_vector</code> value out of <code class="inline">_source</code>, and paste it into <code class="inline">query_vector</code>. The empty array below marks that position.</p>- <pre class="code"><code class="language-json">{"query":{"hybrid":{"queries":[- {"query":{"match":{"content":"how does the index recover after a restart"}},"weight":1.0},- {"query":{"knn":{"field":"content_vector","k":3,"num_candidates":20,"query_vector":[]}},"weight":1.0}],- "fusion":"rrf"}},"size":3}-</code></pre>- <h2>What vector-only retrieval missed</h2>- <p>Our judged run used the same 20 documents in a second index and published every miss. On the query <code class="inline">car</code> the vector clause returned <code class="inline">Car servicing checklist</code>, <code class="inline">Coffee bean storage</code> and <code class="inline">Inverted index basics</code>, and it missed both judged synonyms. The default embedder explains that result: lexical feature hashing rather than a neural model.</p>- <p>On the question <code class="inline">how does the index recover after a restart</code>, BM25 alone ranked an irrelevant document first. The fused <code class="inline">rrf</code> response returned <code class="inline">d08</code>, <code class="inline">d04</code> and <code class="inline">d10</code>, with the judged-relevant <code class="inline">d08</code> in position 1.</p>- <table>- <thead><tr><th>mode</th><th>precision at 3</th><th>recall</th></tr></thead>- <tbody>- <tr><td>BM25</td><td>0.375</td><td>0.6875</td></tr>- <tr><td>kNN only</td><td>0.4167</td><td>0.7083</td></tr>- <tr><td>hybrid <code class="inline">rrf</code></td><td>0.4167</td><td>0.7083</td></tr>- <tr><td>hybrid <code class="inline">linear</code></td><td>0.4583</td><td>0.7708</td></tr>- </tbody>- </table>- <h2>Fix the embedder before you tune the fusion</h2>- <p>Fusion cannot recover a document that neither list returned. The same 8 queries under <code class="inline">--embed-mode neural</code> reached precision at 3 of 0.6667 and recall of 1.0, against 0.4167 and 0.7083 on the lexical default.</p>- <p>Change the embedder first, then tune weights. The neural embedder is a downloaded MiniLM-class model, runs CPU-only at about 15 docs/s on short strings, and makes an autoindex state non-resumable.</p>- <h2>Chunking and the limits of the hybrid clause</h2>- <p>XERJ chunks a <code class="inline">semantic_text</code> field automatically at 512 characters with a 64-character overlap, splitting at sentence breaks first. The field must be top-level, because a nested <code class="inline">semantic_text</code> field is a mapping error.</p>- <p>The <code class="inline">hybrid</code> clause carries real limits worth knowing before you build on it. Sub-queries run sequentially. The sub-request zeroes <code class="inline">sort</code>, <code class="inline">highlight</code>, <code class="inline">collapse</code>, <code class="inline">rescore</code>, <code class="inline">min_score</code>, <code class="inline">explain</code>, <code class="inline">script_fields</code>, <code class="inline">fields</code> and <code class="inline">profile</code>, and the result has no aggregations and no <code class="inline">max_score</code>.</p>- <h2>What this capture does not show</h2>- <p>The migration fixture is 20 chunks on one shared single-node host. The two failing requests are the whole of the <code class="inline">faiss20</code> retrieval evidence in this pass. The working hybrid response quoted here comes from the sibling judged index, which holds the same 20 documents under different field names.</p>- <h2>FAQ</h2>- <h3>Why is my FAISS RAG pipeline missing obvious answers?</h3>- <p>A vector-only pipeline has no term signal. On our judged set BM25 found literal tokens that the vector clause missed, and fusion recovered both.</p>- <h3>How do I migrate a chunk store into XERJ?</h3>- <p>Create one index with a <code class="inline">semantic_text</code> content field, then <code class="inline">_bulk</code> the chunks in. Our 20-chunk migration reported <code class="inline">"errors": false</code> and 20 created items.</p>- <h3>Why does my kNN request return 400?</h3>- <p>XERJ rejects <code class="inline">query_vector_builder</code> and needs a literal embedding in <code class="inline">query_vector</code>. Index the query text first, then read the companion vector out of <code class="inline">_source</code>.</p>- <h3>Why does my hybrid request return 400?</h3>- <p>The <code class="inline">hybrid</code> clause must be nested inside <code class="inline">query</code>. A top-level <code class="inline">hybrid</code> key returns <code class="inline">Unknown key for a START_OBJECT in [hybrid].</code></p>- <h3>Does XERJ chunk long documents for me?</h3>- <p>Yes, for <code class="inline">semantic_text</code> fields: 512 characters with a 64-character overlap, split at sentence breaks first. The field must be top-level, not nested.</p>- <h3>Can I highlight results from a hybrid query?</h3>- <p>No. The hybrid sub-request zeroes <code class="inline">highlight</code>, <code class="inline">sort</code>, <code class="inline">collapse</code>, <code class="inline">rescore</code>, <code class="inline">min_score</code>, <code class="inline">explain</code> and <code class="inline">profile</code>, and the result carries no aggregations.</p>- <h3>Will fusion fix a weak embedder?</h3>- <p>Partly. Weighted <code class="inline">linear</code> fusion reached 0.4583 precision at 3 on the lexical default, against 0.6667 for every vector-backed mode under <code class="inline">--embed-mode neural</code>.</p>- <h2>Related</h2>- <ul>- <li><a href="/answers/rag-without-vector-database">How do I build RAG without a vector database?</a></li>- <li><a href="/answers/reciprocal-rank-fusion-when-to-use">What is Reciprocal Rank Fusion?</a></li>- <li><a href="/answers/vector-database-vs-full-text-search">What's the actual difference between a vector database and full-text search when I have a folder?</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/index-csv-with-many-columns.html b/landing/answers/index-csv-with-many-columns.htmlindex e6b05aa54..1ec75eeb4 100644--- a/landing/answers/index-csv-with-many-columns.html+++ b/landing/answers/index-csv-with-many-columns.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/index-csv-with-many-columns.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/index-csv-with-many-columns">@@ -139,7 +139,100 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I INDEX A CSV WITH MANY COLUMNS?</div>+ <div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>+ <h1>How do I index a CSV with many columns?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-21</div>+ <p><strong>TL;DR</strong> — <code class="inline">xerj autoindex</code> infers a mapping for a wide CSV with no schema work. In a captured run a 120-column file became 128 mapped fields, 121 from the file and 7 provenance fields, across 501 documents. A terms aggregation on an inferred <code class="inline">keyword</code> column returned 4 exact buckets of 125.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent. Read https://xerj.org/llms.txt, start a local XERJ node, run `xerj autoindex ./csv-wide --url http://127.0.0.1:9200 --prefix wide --progress plain`, GET /wide-csv/_mapping to read the inferred field types, then POST a terms aggregation on an inferred keyword field and report the bucket counts with doc_count_error_upper_bound.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start a local XERJ node, run `xerj autoindex ./csv-wide --url http://127.0.0.1:9200 --prefix wide --progress plain`, GET /wide-csv/_mapping to read the inferred field types, then POST a terms aggregation on an inferred keyword field and report the bucket counts with doc_count_error_upper_bound.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj autoindex ./csv-wide --url http://127.0.0.1:9200 --prefix wide --progress plain</code>+ <button type="button" class="prompt-copy" data-copy="xerj autoindex ./csv-wide --url http://127.0.0.1:9200 --prefix wide --progress plain">COPY COMMAND</button>+ <span class="hero-proof">Index the wide CSV file; XERJ infers one type per column.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XGET http://127.0.0.1:9200/wide-csv/_mapping</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XGET http://127.0.0.1:9200/wide-csv/_mapping">COPY COMMAND</button>+ <span class="hero-proof">Read the inferred mapping, including the 7 provenance fields.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST http://127.0.0.1:9200/wide-csv/_search -H 'content-type: application/json' -d '{"size":0,"aggs":{"by_region":{"terms":{"field":"region","size":10}},"by_status":{"terms":{"field":"status","size":10}}}}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/wide-csv/_search -H 'content-type: application/json' -d '{"size":0,"aggs":{"by_region":{"terms":{"field":"region","size":10}},"by_status":{"terms":{"field":"status","size":10}}}}'">COPY COMMAND</button>+ <span class="hero-proof">Run an exact terms aggregation on two inferred keyword columns.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XGET http://127.0.0.1:9200/wide-csv/_count</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XGET http://127.0.0.1:9200/wide-csv/_count">COPY COMMAND</button>+ <span class="hero-proof">Count the documents the CSV produced.</span>+ </div>+ <h2>One command, no mapping file</h2>+ <p><code class="inline">xerj autoindex <folder></code> reads the CSV header, samples the values, and assigns one Elasticsearch type per column. No mapping file and no column list are involved.</p>+ <pre class="code"><code class="language-sh">xerj autoindex ./csv-wide --url http://127.0.0.1:9200 --prefix wide --progress plain+</code></pre>+ <p>XERJ assigns a type only when at least 95% of the non-null values in the column parse as that type. A column that mixes numbers and text therefore falls back to a string type instead of failing the run.</p>+ <h2>What a 120-column file produced</h2>+ <p>The captured run indexed a 120-column CSV of 500 data rows and created 1 index, <code class="inline">wide-csv</code>. The mapping held 128 fields.</p>+ <table>+ <thead><tr><th>group</th><th>fields</th><th>types</th></tr></thead>+ <tbody>+ <tr><td>columns from the file</td><td>121</td><td>118 <code class="inline">long</code>, 2 <code class="inline">keyword</code>, 1 <code class="inline">text</code></td></tr>+ <tr><td>provenance added by XERJ</td><td>7</td><td>7 <code class="inline">keyword</code></td></tr>+ <tr><td>total mapped fields</td><td>128</td><td>—</td></tr>+ </tbody>+ </table>+ <p>The 2 <code class="inline">keyword</code> columns are <code class="inline">region</code> and <code class="inline">status</code>, the low-cardinality string columns. The single <code class="inline">text</code> field is the derived <code class="inline">title</code>. XERJ elects <code class="inline">keyword</code> for exact filtering and aggregation, and <code class="inline">text</code> for full-text search.</p>+ <h2>The field budget is 512</h2>+ <p>XERJ caps a dataset at 512 fields, and the 7 provenance fields count toward that cap. The captured file used 128 of the budget, so a file about 4 times wider still fits.</p>+ <p>Plan for the cap before you index a very wide export. A file past 512 columns must be split into more than one dataset, because XERJ will not map every column of it.</p>+ <h2>An exact aggregation over an inferred column</h2>+ <p>A terms aggregation on the inferred <code class="inline">region</code> column returned 4 buckets of 125 documents each. XERJ reports <code class="inline">doc_count_error_upper_bound</code> 0 and <code class="inline">sum_other_doc_count</code> 0, because every aggregation in XERJ is exact rather than sampled.</p>+ <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9200/wide-csv/_search' \+ -H 'content-type: application/json' \+ -d '{"size":0,"aggs":{"by_region":{"terms":{"field":"region","size":10}},"by_status":{"terms":{"field":"status","size":10}}}}'+</code></pre>+ <pre class="code"><code class="language-json">{"by_region": {"buckets": [{"key": "amer", "doc_count": 125},+ {"key": "apac", "doc_count": 125},+ {"key": "emea", "doc_count": 125},+ {"key": "latam", "doc_count": 125}],+ "doc_count_error_upper_bound": 0, "sum_other_doc_count": 0}}+</code></pre>+ <h2>Read the counts together</h2>+ <p>The <code class="inline">_count</code> endpoint reported 501 documents for the same index, while the <code class="inline">region</code> buckets total 500. One document therefore carries no <code class="inline">region</code> value, and <code class="inline">sum_other_doc_count</code> 0 proves that XERJ did not hide it in another bucket.</p>+ <p>Compare <code class="inline">_count</code> with the bucket total whenever you report a number from a CSV index. The two answer different questions, and the gap tells you how many documents lack the field you grouped on.</p>+ <h2>What this capture does not show</h2>+ <p>This is a single-node run of 1 file on 1 host, so it measures inference and correctness rather than throughput. XERJ has no replication and no failover in this configuration.</p>+ <p>Ranking on the text column is BM25. The default embedder in XERJ is lexical feature hashing, so it cannot connect a query to a synonym; neural embeddings are opt-in through <code class="inline">--embed-mode neural</code>.</p>+ <p>Every number above comes from <code class="inline">RUN-A</code>, captured on 2026-08-21 on a 16-core AMD EPYC 9645 host.</p>+ <h2>FAQ</h2>+ <h3>How do I index a CSV with hundreds of columns?</h3>+ <p>Run <code class="inline">xerj autoindex</code> on the folder holding the file. XERJ reads the header, infers one type per column, and writes the mapping without a schema file.</p>+ <h3>How many columns can one CSV have?</h3>+ <p>XERJ caps a dataset at 512 fields, which includes the 7 provenance fields. The captured 120-column file used 128 of that budget.</p>+ <h3>Which types does XERJ infer for CSV columns?</h3>+ <p>XERJ infers <code class="inline">boolean</code>, <code class="inline">date</code>, <code class="inline">long</code>, <code class="inline">double</code>, <code class="inline">keyword</code>, <code class="inline">text</code> and <code class="inline">semantic_text</code>. A column needs at least 95% of its non-null values to parse as a type.</p>+ <h3>Are aggregations over a wide CSV exact?</h3>+ <p>Yes. XERJ returns <code class="inline">doc_count_error_upper_bound</code> 0 and <code class="inline">sum_other_doc_count</code> 0, and <code class="inline">cardinality</code> is a true distinct count rather than a sketch.</p>+ <h3>Do I have to name the columns I want to search?</h3>+ <p>No. Every column becomes a mapped field, so a <code class="inline">term</code> filter or a <code class="inline">terms</code> aggregation works on any of them straight after the run.</p>+ <h3>What happens to a column that mixes types?</h3>+ <p>XERJ falls back to a string type when fewer than 95% of the non-null values parse as one type. The column stays searchable as text or as a keyword.</p>+ <h2>Related</h2>+ <ul>+ <li><a href="/answers/index-multiple-csv-files">I have a directory of CSV exports. How do I query them without opening each one in Excel?</a></li>+ <li><a href="/answers/full-text-search-sqlite-database">How do I full-text search a SQLite database I just copied onto disk?</a></li>+ <li><a href="/docs/aggregations">Aggregations</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,99 +335,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I INDEX A CSV WITH MANY COLUMNS?</div>- <div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>- <h1>How do I index a CSV with many columns?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-21</div>- <p><strong>TL;DR</strong> — <code class="inline">xerj autoindex</code> infers a mapping for a wide CSV with no schema work. In a captured run a 120-column file became 128 mapped fields, 121 from the file and 7 provenance fields, across 501 documents. A terms aggregation on an inferred <code class="inline">keyword</code> column returned 4 exact buckets of 125.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent. Read https://xerj.org/llms.txt, start a local XERJ node, run `xerj autoindex ./csv-wide --url http://127.0.0.1:9200 --prefix wide --progress plain`, GET /wide-csv/_mapping to read the inferred field types, then POST a terms aggregation on an inferred keyword field and report the bucket counts with doc_count_error_upper_bound.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start a local XERJ node, run `xerj autoindex ./csv-wide --url http://127.0.0.1:9200 --prefix wide --progress plain`, GET /wide-csv/_mapping to read the inferred field types, then POST a terms aggregation on an inferred keyword field and report the bucket counts with doc_count_error_upper_bound.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj autoindex ./csv-wide --url http://127.0.0.1:9200 --prefix wide --progress plain</code>- <button type="button" class="prompt-copy" data-copy="xerj autoindex ./csv-wide --url http://127.0.0.1:9200 --prefix wide --progress plain">COPY COMMAND</button>- <span class="hero-proof">Index the wide CSV file; XERJ infers one type per column.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XGET http://127.0.0.1:9200/wide-csv/_mapping</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XGET http://127.0.0.1:9200/wide-csv/_mapping">COPY COMMAND</button>- <span class="hero-proof">Read the inferred mapping, including the 7 provenance fields.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST http://127.0.0.1:9200/wide-csv/_search -H 'content-type: application/json' -d '{"size":0,"aggs":{"by_region":{"terms":{"field":"region","size":10}},"by_status":{"terms":{"field":"status","size":10}}}}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/wide-csv/_search -H 'content-type: application/json' -d '{"size":0,"aggs":{"by_region":{"terms":{"field":"region","size":10}},"by_status":{"terms":{"field":"status","size":10}}}}'">COPY COMMAND</button>- <span class="hero-proof">Run an exact terms aggregation on two inferred keyword columns.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XGET http://127.0.0.1:9200/wide-csv/_count</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XGET http://127.0.0.1:9200/wide-csv/_count">COPY COMMAND</button>- <span class="hero-proof">Count the documents the CSV produced.</span>- </div>- <h2>One command, no mapping file</h2>- <p><code class="inline">xerj autoindex <folder></code> reads the CSV header, samples the values, and assigns one Elasticsearch type per column. No mapping file and no column list are involved.</p>- <pre class="code"><code class="language-sh">xerj autoindex ./csv-wide --url http://127.0.0.1:9200 --prefix wide --progress plain-</code></pre>- <p>XERJ assigns a type only when at least 95% of the non-null values in the column parse as that type. A column that mixes numbers and text therefore falls back to a string type instead of failing the run.</p>- <h2>What a 120-column file produced</h2>- <p>The captured run indexed a 120-column CSV of 500 data rows and created 1 index, <code class="inline">wide-csv</code>. The mapping held 128 fields.</p>- <table>- <thead><tr><th>group</th><th>fields</th><th>types</th></tr></thead>- <tbody>- <tr><td>columns from the file</td><td>121</td><td>118 <code class="inline">long</code>, 2 <code class="inline">keyword</code>, 1 <code class="inline">text</code></td></tr>- <tr><td>provenance added by XERJ</td><td>7</td><td>7 <code class="inline">keyword</code></td></tr>- <tr><td>total mapped fields</td><td>128</td><td>—</td></tr>- </tbody>- </table>- <p>The 2 <code class="inline">keyword</code> columns are <code class="inline">region</code> and <code class="inline">status</code>, the low-cardinality string columns. The single <code class="inline">text</code> field is the derived <code class="inline">title</code>. XERJ elects <code class="inline">keyword</code> for exact filtering and aggregation, and <code class="inline">text</code> for full-text search.</p>- <h2>The field budget is 512</h2>- <p>XERJ caps a dataset at 512 fields, and the 7 provenance fields count toward that cap. The captured file used 128 of the budget, so a file about 4 times wider still fits.</p>- <p>Plan for the cap before you index a very wide export. A file past 512 columns must be split into more than one dataset, because XERJ will not map every column of it.</p>- <h2>An exact aggregation over an inferred column</h2>- <p>A terms aggregation on the inferred <code class="inline">region</code> column returned 4 buckets of 125 documents each. XERJ reports <code class="inline">doc_count_error_upper_bound</code> 0 and <code class="inline">sum_other_doc_count</code> 0, because every aggregation in XERJ is exact rather than sampled.</p>- <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9200/wide-csv/_search' \- -H 'content-type: application/json' \- -d '{"size":0,"aggs":{"by_region":{"terms":{"field":"region","size":10}},"by_status":{"terms":{"field":"status","size":10}}}}'-</code></pre>- <pre class="code"><code class="language-json">{"by_region": {"buckets": [{"key": "amer", "doc_count": 125},- {"key": "apac", "doc_count": 125},- {"key": "emea", "doc_count": 125},- {"key": "latam", "doc_count": 125}],- "doc_count_error_upper_bound": 0, "sum_other_doc_count": 0}}-</code></pre>- <h2>Read the counts together</h2>- <p>The <code class="inline">_count</code> endpoint reported 501 documents for the same index, while the <code class="inline">region</code> buckets total 500. One document therefore carries no <code class="inline">region</code> value, and <code class="inline">sum_other_doc_count</code> 0 proves that XERJ did not hide it in another bucket.</p>- <p>Compare <code class="inline">_count</code> with the bucket total whenever you report a number from a CSV index. The two answer different questions, and the gap tells you how many documents lack the field you grouped on.</p>- <h2>What this capture does not show</h2>- <p>This is a single-node run of 1 file on 1 host, so it measures inference and correctness rather than throughput. XERJ has no replication and no failover in this configuration.</p>- <p>Ranking on the text column is BM25. The default embedder in XERJ is lexical feature hashing, so it cannot connect a query to a synonym; neural embeddings are opt-in through <code class="inline">--embed-mode neural</code>.</p>- <p>Every number above comes from <code class="inline">RUN-A</code>, captured on 2026-08-21 on a 16-core AMD EPYC 9645 host.</p>- <h2>FAQ</h2>- <h3>How do I index a CSV with hundreds of columns?</h3>- <p>Run <code class="inline">xerj autoindex</code> on the folder holding the file. XERJ reads the header, infers one type per column, and writes the mapping without a schema file.</p>- <h3>How many columns can one CSV have?</h3>- <p>XERJ caps a dataset at 512 fields, which includes the 7 provenance fields. The captured 120-column file used 128 of that budget.</p>- <h3>Which types does XERJ infer for CSV columns?</h3>- <p>XERJ infers <code class="inline">boolean</code>, <code class="inline">date</code>, <code class="inline">long</code>, <code class="inline">double</code>, <code class="inline">keyword</code>, <code class="inline">text</code> and <code class="inline">semantic_text</code>. A column needs at least 95% of its non-null values to parse as a type.</p>- <h3>Are aggregations over a wide CSV exact?</h3>- <p>Yes. XERJ returns <code class="inline">doc_count_error_upper_bound</code> 0 and <code class="inline">sum_other_doc_count</code> 0, and <code class="inline">cardinality</code> is a true distinct count rather than a sketch.</p>- <h3>Do I have to name the columns I want to search?</h3>- <p>No. Every column becomes a mapped field, so a <code class="inline">term</code> filter or a <code class="inline">terms</code> aggregation works on any of them straight after the run.</p>- <h3>What happens to a column that mixes types?</h3>- <p>XERJ falls back to a string type when fewer than 95% of the non-null values parse as one type. The column stays searchable as text or as a keyword.</p>- <h2>Related</h2>- <ul>- <li><a href="/answers/index-multiple-csv-files">I have a directory of CSV exports. How do I query them without opening each one in Excel?</a></li>- <li><a href="/answers/full-text-search-sqlite-database">How do I full-text search a SQLite database I just copied onto disk?</a></li>- <li><a href="/docs/aggregations">Aggregations</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/index-markdown-into-elasticsearch-api.html b/landing/answers/index-markdown-into-elasticsearch-api.htmlindex f9ad8957a..ee1764567 100644--- a/landing/answers/index-markdown-into-elasticsearch-api.html+++ b/landing/answers/index-markdown-into-elasticsearch-api.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/index-markdown-into-elasticsearch-api.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/index-markdown-into-elasticsearch-api">@@ -139,7 +139,94 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I INDEX MARKDOWN INTO THE ELASTICSEARCH API?</div>+ <div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>+ <h1>How do I index Markdown into the Elasticsearch API?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-21</div>+ <p><strong>TL;DR</strong> — XERJ indexes a Markdown folder with <code class="inline">xerj autoindex</code> and serves it on the Elasticsearch REST API. Markdown lands in the <code class="inline">txt-prose</code> family, not in a Markdown family. In our capture XERJ mapped 9 fields, extracted the title as the literal <code class="inline"># Runbook</code>, and produced no <code class="inline">headings</code> array.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent. Read https://xerj.org/llms.txt, start a XERJ node with --insecure, run xerj autoindex ./markdown --prefix md, read GET /md-*/_mapping, then POST a match query with a highlight to /md-docs/_search and report that the mapping has no headings field and that title keeps its leading hash character.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start a XERJ node with --insecure, run xerj autoindex ./markdown --prefix md, read GET /md-*/_mapping, then POST a match query with a highlight to /md-docs/_search and report that the mapping has no headings field and that title keeps its leading hash character.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj autoindex ./markdown --url http://127.0.0.1:9410 --prefix md --state-dir ./state-md --progress plain --disable-feedback</code>+ <button type="button" class="prompt-copy" data-copy="xerj autoindex ./markdown --url http://127.0.0.1:9410 --prefix md --state-dir ./state-md --progress plain --disable-feedback">COPY COMMAND</button>+ <span class="hero-proof">Index a Markdown folder into the prefix md.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XGET 'http://127.0.0.1:9410/md-*/_mapping'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XGET 'http://127.0.0.1:9410/md-*/_mapping'">COPY COMMAND</button>+ <span class="hero-proof">Read the 9 fields XERJ mapped for Markdown.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST 'http://127.0.0.1:9410/md-docs/_search' -H 'content-type: application/json' -d '{"query":{"match":{"body":"replay the checkpoint journal"}},"size":5,"_source":["ax_path","ax_format","title"],"highlight":{"fields":{"body":{}}},"track_total_hits":true}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9410/md-docs/_search' -H 'content-type: application/json' -d '{"query":{"match":{"body":"replay the checkpoint journal"}},"size":5,"_source":["ax_path","ax_format","title"],"highlight":{"fields":{"body":{}}},"track_total_hits":true}'">COPY COMMAND</button>+ <span class="hero-proof">Run one Elasticsearch-shaped search with a highlight.</span>+ </div>+ <h2>One command, an Elasticsearch-shaped index</h2>+ <p><code class="inline">xerj autoindex</code> indexes a Markdown folder and creates the index, the mapping and the documents in one pass. XERJ then answers <code class="inline">_mapping</code> and <code class="inline">_search</code> on the Elasticsearch-compatible port, so the same client code works against the result.</p>+ <p>The command below indexes 3 Markdown files into the prefix <code class="inline">md</code>.</p>+ <pre class="code"><code class="language-sh">xerj autoindex ./markdown --url http://127.0.0.1:9410 --prefix md --state-dir ./state-md --progress plain --disable-feedback+</code></pre>+ <h2>What XERJ detects Markdown as</h2>+ <p>XERJ detected all 6 documents from the 3 Markdown files as the <code class="inline">txt-prose</code> family. Markdown is not a separate format in XERJ; the sniffer routes it through the plain-text path using heading and sentence heuristics.</p>+ <p>Ask the node which family it chose with a terms aggregation on <code class="inline">ax_format</code>.</p>+ <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9410/md-*/_search' -H 'content-type: application/json' -d '{"size":0,"aggs":{"by_format":{"terms":{"field":"ax_format","size":10}}}}'+</code></pre>+ <h2>The mapping XERJ produced</h2>+ <p>XERJ mapped 9 fields on <code class="inline">md-docs</code>: 7 <code class="inline">ax_*</code> provenance fields as <code class="inline">keyword</code>, <code class="inline">body</code> as <code class="inline">semantic_text</code>, and <code class="inline">title</code> as <code class="inline">keyword</code>. That mapping is the whole contract for a Markdown index.</p>+ <table>+ <thead><tr><th>field</th><th>type</th></tr></thead>+ <tbody>+ <tr><td><code class="inline">body</code></td><td><code class="inline">semantic_text</code></td></tr>+ <tr><td><code class="inline">title</code></td><td><code class="inline">keyword</code></td></tr>+ <tr><td><code class="inline">ax_dataset</code>, <code class="inline">ax_file</code>, <code class="inline">ax_format</code>, <code class="inline">ax_locator</code>, <code class="inline">ax_path</code>, <code class="inline">ax_paths</code>, <code class="inline">ax_run</code></td><td><code class="inline">keyword</code></td></tr>+ </tbody>+ </table>+ <h2>The captured failure: no headings array</h2>+ <p>XERJ produced no <code class="inline">headings</code> field for Markdown, and the run recorded that as a failed expectation. The HTML family does produce one, so an equivalent heading becomes a field in HTML and stays inside <code class="inline">body</code> in Markdown.</p>+ <p>The second half of the same finding is the title. XERJ took the raw first line, so <code class="inline">01-runbook.md</code> carries the title <code class="inline"># Runbook</code> with the hash character included.</p>+ <p>Plan for both facts. Search headings with a phrase query on <code class="inline">body</code>, and strip a leading <code class="inline">#</code> yourself if you display <code class="inline">title</code>.</p>+ <h2>One <code class="inline">_search</code> response</h2>+ <p>One <code class="inline">match</code> query on <code class="inline">body</code> returned 3 hits with BM25 scores and a highlight per hit. The response is Elasticsearch-shaped, so <code class="inline">hits.total.value</code>, <code class="inline">_index</code>, <code class="inline">_score</code>, <code class="inline">_source</code> and <code class="inline">highlight</code> are all where a client expects them.</p>+ <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9410/md-docs/_search' -H 'content-type: application/json' -d '{"query":{"match":{"body":"replay the checkpoint journal"}},"size":5,"_source":["ax_path","ax_format","title","headings","section"],"highlight":{"fields":{"body":{}}},"track_total_hits":true}'+</code></pre>+ <p>The top hit in the capture looked like this.</p>+ <pre class="code"><code class="language-json">{"_index":"md-docs","_score":2.5890436,+ "_source":{"ax_format":"txt-prose","ax_path":"01-runbook.md","title":"# Runbook"},+ "highlight":{"body":["# Runbook\n\n## Restart procedure\n\nStop <em>the</em> node, replay the checkpoint journal, then start it again."]}}+</code></pre>+ <h2>The embedder behind the body field</h2>+ <p>XERJ elects <code class="inline">body</code> as a <code class="inline">semantic_text</code> field, and the default embedder is lexical feature hashing. The neural embedder is opt-in through <code class="inline">--embed-mode neural</code>. A <code class="inline">match</code> query on a <code class="inline">semantic_text</code> field runs BM25, not kNN, so the query above is full-text search.</p>+ <h2>What the capture covers</h2>+ <p>The capture indexed 3 Markdown files into 6 documents on 1 single-node XERJ process. This run covered no vault-scale folder and no wikilink graph extraction. Treat the field list and the failure as the result, not as a size claim.</p>+ <h2>FAQ</h2>+ <h3>Does XERJ have a Markdown format?</h3>+ <p>No. Markdown lands in the <code class="inline">txt-prose</code> family. Our capture detected all 6 Markdown documents as <code class="inline">txt-prose</code> and created no Markdown-specific field.</p>+ <h3>Does XERJ extract Markdown headings into a field?</h3>+ <p>No. The captured <code class="inline">md-docs</code> mapping has no <code class="inline">headings</code> field, and the run recorded that as a failed expectation. The HTML family does produce one.</p>+ <h3>Why does the title start with a hash character?</h3>+ <p>XERJ takes the raw first line of the file as the title. In our capture <code class="inline">01-runbook.md</code> returned the title <code class="inline"># Runbook</code>, hash included.</p>+ <h3>Which fields does a Markdown index have?</h3>+ <p>Nine: <code class="inline">body</code> as <code class="inline">semantic_text</code>, <code class="inline">title</code> as <code class="inline">keyword</code>, and the 7 <code class="inline">ax_*</code> provenance fields as <code class="inline">keyword</code>. Nothing else is mapped.</p>+ <h3>Can I query a Markdown index with an Elasticsearch client?</h3>+ <p>Yes. XERJ answers <code class="inline">_mapping</code> and <code class="inline">_search</code> on the Elasticsearch-compatible port, and the captured response carried <code class="inline">hits.total</code>, <code class="inline">_score</code>, <code class="inline">_source</code> and <code class="inline">highlight</code>.</p>+ <h3>How do I find text under one Markdown heading?</h3>+ <p>Send a <code class="inline">match_phrase</code> query on <code class="inline">body</code> for the heading text. No <code class="inline">headings</code> field exists on a Markdown index, so the heading is body text.</p>+ <h2>Related</h2>+ <ul>+ <li><a href="/answers/search-file-contents-in-a-folder">I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a></li>+ <li><a href="/answers/search-obsidian-pdf-docx-attachments">What's the best way to search markdown notes and PDFs in the same vault?</a></li>+ <li><a href="/answers/give-chatgpt-claude-local-file-access">Can ChatGPT search a folder on my laptop, or do I need something else?</a></li>+ <li><a href="/docs/api-es-compat">ES-compatible API</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,93 +329,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I INDEX MARKDOWN INTO THE ELASTICSEARCH API?</div>- <div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>- <h1>How do I index Markdown into the Elasticsearch API?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-21</div>- <p><strong>TL;DR</strong> — XERJ indexes a Markdown folder with <code class="inline">xerj autoindex</code> and serves it on the Elasticsearch REST API. Markdown lands in the <code class="inline">txt-prose</code> family, not in a Markdown family. In our capture XERJ mapped 9 fields, extracted the title as the literal <code class="inline"># Runbook</code>, and produced no <code class="inline">headings</code> array.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent. Read https://xerj.org/llms.txt, start a XERJ node with --insecure, run xerj autoindex ./markdown --prefix md, read GET /md-*/_mapping, then POST a match query with a highlight to /md-docs/_search and report that the mapping has no headings field and that title keeps its leading hash character.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start a XERJ node with --insecure, run xerj autoindex ./markdown --prefix md, read GET /md-*/_mapping, then POST a match query with a highlight to /md-docs/_search and report that the mapping has no headings field and that title keeps its leading hash character.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj autoindex ./markdown --url http://127.0.0.1:9410 --prefix md --state-dir ./state-md --progress plain --disable-feedback</code>- <button type="button" class="prompt-copy" data-copy="xerj autoindex ./markdown --url http://127.0.0.1:9410 --prefix md --state-dir ./state-md --progress plain --disable-feedback">COPY COMMAND</button>- <span class="hero-proof">Index a Markdown folder into the prefix md.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XGET 'http://127.0.0.1:9410/md-*/_mapping'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XGET 'http://127.0.0.1:9410/md-*/_mapping'">COPY COMMAND</button>- <span class="hero-proof">Read the 9 fields XERJ mapped for Markdown.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST 'http://127.0.0.1:9410/md-docs/_search' -H 'content-type: application/json' -d '{"query":{"match":{"body":"replay the checkpoint journal"}},"size":5,"_source":["ax_path","ax_format","title"],"highlight":{"fields":{"body":{}}},"track_total_hits":true}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9410/md-docs/_search' -H 'content-type: application/json' -d '{"query":{"match":{"body":"replay the checkpoint journal"}},"size":5,"_source":["ax_path","ax_format","title"],"highlight":{"fields":{"body":{}}},"track_total_hits":true}'">COPY COMMAND</button>- <span class="hero-proof">Run one Elasticsearch-shaped search with a highlight.</span>- </div>- <h2>One command, an Elasticsearch-shaped index</h2>- <p><code class="inline">xerj autoindex</code> indexes a Markdown folder and creates the index, the mapping and the documents in one pass. XERJ then answers <code class="inline">_mapping</code> and <code class="inline">_search</code> on the Elasticsearch-compatible port, so the same client code works against the result.</p>- <p>The command below indexes 3 Markdown files into the prefix <code class="inline">md</code>.</p>- <pre class="code"><code class="language-sh">xerj autoindex ./markdown --url http://127.0.0.1:9410 --prefix md --state-dir ./state-md --progress plain --disable-feedback-</code></pre>- <h2>What XERJ detects Markdown as</h2>- <p>XERJ detected all 6 documents from the 3 Markdown files as the <code class="inline">txt-prose</code> family. Markdown is not a separate format in XERJ; the sniffer routes it through the plain-text path using heading and sentence heuristics.</p>- <p>Ask the node which family it chose with a terms aggregation on <code class="inline">ax_format</code>.</p>- <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9410/md-*/_search' -H 'content-type: application/json' -d '{"size":0,"aggs":{"by_format":{"terms":{"field":"ax_format","size":10}}}}'-</code></pre>- <h2>The mapping XERJ produced</h2>- <p>XERJ mapped 9 fields on <code class="inline">md-docs</code>: 7 <code class="inline">ax_*</code> provenance fields as <code class="inline">keyword</code>, <code class="inline">body</code> as <code class="inline">semantic_text</code>, and <code class="inline">title</code> as <code class="inline">keyword</code>. That mapping is the whole contract for a Markdown index.</p>- <table>- <thead><tr><th>field</th><th>type</th></tr></thead>- <tbody>- <tr><td><code class="inline">body</code></td><td><code class="inline">semantic_text</code></td></tr>- <tr><td><code class="inline">title</code></td><td><code class="inline">keyword</code></td></tr>- <tr><td><code class="inline">ax_dataset</code>, <code class="inline">ax_file</code>, <code class="inline">ax_format</code>, <code class="inline">ax_locator</code>, <code class="inline">ax_path</code>, <code class="inline">ax_paths</code>, <code class="inline">ax_run</code></td><td><code class="inline">keyword</code></td></tr>- </tbody>- </table>- <h2>The captured failure: no headings array</h2>- <p>XERJ produced no <code class="inline">headings</code> field for Markdown, and the run recorded that as a failed expectation. The HTML family does produce one, so an equivalent heading becomes a field in HTML and stays inside <code class="inline">body</code> in Markdown.</p>- <p>The second half of the same finding is the title. XERJ took the raw first line, so <code class="inline">01-runbook.md</code> carries the title <code class="inline"># Runbook</code> with the hash character included.</p>- <p>Plan for both facts. Search headings with a phrase query on <code class="inline">body</code>, and strip a leading <code class="inline">#</code> yourself if you display <code class="inline">title</code>.</p>- <h2>One <code class="inline">_search</code> response</h2>- <p>One <code class="inline">match</code> query on <code class="inline">body</code> returned 3 hits with BM25 scores and a highlight per hit. The response is Elasticsearch-shaped, so <code class="inline">hits.total.value</code>, <code class="inline">_index</code>, <code class="inline">_score</code>, <code class="inline">_source</code> and <code class="inline">highlight</code> are all where a client expects them.</p>- <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9410/md-docs/_search' -H 'content-type: application/json' -d '{"query":{"match":{"body":"replay the checkpoint journal"}},"size":5,"_source":["ax_path","ax_format","title","headings","section"],"highlight":{"fields":{"body":{}}},"track_total_hits":true}'-</code></pre>- <p>The top hit in the capture looked like this.</p>- <pre class="code"><code class="language-json">{"_index":"md-docs","_score":2.5890436,- "_source":{"ax_format":"txt-prose","ax_path":"01-runbook.md","title":"# Runbook"},- "highlight":{"body":["# Runbook\n\n## Restart procedure\n\nStop <em>the</em> node, replay the checkpoint journal, then start it again."]}}-</code></pre>- <h2>The embedder behind the body field</h2>- <p>XERJ elects <code class="inline">body</code> as a <code class="inline">semantic_text</code> field, and the default embedder is lexical feature hashing. The neural embedder is opt-in through <code class="inline">--embed-mode neural</code>. A <code class="inline">match</code> query on a <code class="inline">semantic_text</code> field runs BM25, not kNN, so the query above is full-text search.</p>- <h2>What the capture covers</h2>- <p>The capture indexed 3 Markdown files into 6 documents on 1 single-node XERJ process. This run covered no vault-scale folder and no wikilink graph extraction. Treat the field list and the failure as the result, not as a size claim.</p>- <h2>FAQ</h2>- <h3>Does XERJ have a Markdown format?</h3>- <p>No. Markdown lands in the <code class="inline">txt-prose</code> family. Our capture detected all 6 Markdown documents as <code class="inline">txt-prose</code> and created no Markdown-specific field.</p>- <h3>Does XERJ extract Markdown headings into a field?</h3>- <p>No. The captured <code class="inline">md-docs</code> mapping has no <code class="inline">headings</code> field, and the run recorded that as a failed expectation. The HTML family does produce one.</p>- <h3>Why does the title start with a hash character?</h3>- <p>XERJ takes the raw first line of the file as the title. In our capture <code class="inline">01-runbook.md</code> returned the title <code class="inline"># Runbook</code>, hash included.</p>- <h3>Which fields does a Markdown index have?</h3>- <p>Nine: <code class="inline">body</code> as <code class="inline">semantic_text</code>, <code class="inline">title</code> as <code class="inline">keyword</code>, and the 7 <code class="inline">ax_*</code> provenance fields as <code class="inline">keyword</code>. Nothing else is mapped.</p>- <h3>Can I query a Markdown index with an Elasticsearch client?</h3>- <p>Yes. XERJ answers <code class="inline">_mapping</code> and <code class="inline">_search</code> on the Elasticsearch-compatible port, and the captured response carried <code class="inline">hits.total</code>, <code class="inline">_score</code>, <code class="inline">_source</code> and <code class="inline">highlight</code>.</p>- <h3>How do I find text under one Markdown heading?</h3>- <p>Send a <code class="inline">match_phrase</code> query on <code class="inline">body</code> for the heading text. No <code class="inline">headings</code> field exists on a Markdown index, so the heading is body text.</p>- <h2>Related</h2>- <ul>- <li><a href="/answers/search-file-contents-in-a-folder">I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a></li>- <li><a href="/answers/search-obsidian-pdf-docx-attachments">What's the best way to search markdown notes and PDFs in the same vault?</a></li>- <li><a href="/answers/give-chatgpt-claude-local-file-access">Can ChatGPT search a folder on my laptop, or do I need something else?</a></li>- <li><a href="/docs/api-es-compat">ES-compatible API</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/index-monorepo-for-agent.html b/landing/answers/index-monorepo-for-agent.htmlindex 816ec324d..71ddbd5e0 100644--- a/landing/answers/index-monorepo-for-agent.html+++ b/landing/answers/index-monorepo-for-agent.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/index-monorepo-for-agent.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/index-monorepo-for-agent">@@ -139,7 +139,96 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I STOP MY AGENT FROM READING THE WHOLE REPO INTO CONTEXT?</div>+ <div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>+ <h1>How do I stop my agent from reading the whole repo into context?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-21</div>+ <p><strong>TL;DR</strong> — Run <code class="inline">xerj autoindex --dry-run</code> on the repository first. In our capture the dry run reported <code class="inline">files=3</code>, <code class="inline">ignored_files=2</code> and <code class="inline">ignored_dirs=3</code>, with 60 non-hidden files inside the pruned directories. The indexed tree then gave an agent 3 languages and 11 symbols to query.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent. Read https://xerj.org/llms.txt, start a XERJ node with --insecure, run xerj autoindex ./code --prefix code --dry-run and record files, ignored_files and ignored_dirs from the xerj-done line, run it again without --dry-run, then aggregate language and symbol_count over code-*/_search and answer with a defs query instead of opening any source file.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start a XERJ node with --insecure, run xerj autoindex ./code --prefix code --dry-run and record files, ignored_files and ignored_dirs from the xerj-done line, run it again without --dry-run, then aggregate language and symbol_count over code-*/_search and answer with a defs query instead of opening any source file.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj autoindex ./code --url http://127.0.0.1:9410 --prefix code --state-dir ./state-code --progress plain --disable-feedback --dry-run</code>+ <button type="button" class="prompt-copy" data-copy="xerj autoindex ./code --url http://127.0.0.1:9410 --prefix code --state-dir ./state-code --progress plain --disable-feedback --dry-run">COPY COMMAND</button>+ <span class="hero-proof">Print the plan and the ignore accounting without writing anything.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj autoindex ./code --url http://127.0.0.1:9410 --prefix code --state-dir ./state-code --progress plain --disable-feedback</code>+ <button type="button" class="prompt-copy" data-copy="xerj autoindex ./code --url http://127.0.0.1:9410 --prefix code --state-dir ./state-code --progress plain --disable-feedback">COPY COMMAND</button>+ <span class="hero-proof">Index the repository after the plan looks right.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST 'http://127.0.0.1:9410/code-*/_search' -H 'content-type: application/json' -d '{"size":0,"aggs":{"by_language":{"terms":{"field":"language","size":40}},"total_symbols":{"sum":{"field":"symbol_count"}}}}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9410/code-*/_search' -H 'content-type: application/json' -d '{"size":0,"aggs":{"by_language":{"terms":{"field":"language","size":40}},"total_symbols":{"sum":{"field":"symbol_count"}}}}'">COPY COMMAND</button>+ <span class="hero-proof">Count the languages and the symbols in one request.</span>+ </div>+ <h2>Ask for the plan before you index</h2>+ <p><code class="inline">xerj autoindex --dry-run</code> prints the job size and the ignore accounting and writes nothing. Run it first on any repository, because the plan tells you how much of the tree XERJ will keep.</p>+ <pre class="code"><code class="language-sh">xerj autoindex ./code --url http://127.0.0.1:9410 --prefix code --state-dir ./state-code --progress plain --disable-feedback --dry-run+</code></pre>+ <p>The captured terminal line for a 3-source-file repository was exact about what it dropped.</p>+ <pre class="code"><code class="language-text">xerj-done ok=true exit=0 reason=dry-run wall=0.1s files=3 ignored_files=2 ignored_dirs=3 ignored_files_in_pruned_dirs=60 ignored_files_in_pruned_dirs_exact=true+</code></pre>+ <h2>What XERJ pruned, rule by rule</h2>+ <p>XERJ names every ignore rule that fired and counts the files behind it. The capture pruned 3 directories holding 60 non-hidden files and read 1 ignore file.</p>+ <pre class="code"><code class="language-text">autoindex: ignore rules: skipped 2 files and pruned 3 directories (60 non-hidden files inside them); 1 ignore file read+autoindex: ignore rules: <built-in>:target/ — 1 directory pruned (30 non-hidden files inside)+autoindex: ignore rules: <built-in>:node_modules/ — 1 directory pruned (25 non-hidden files inside)+autoindex: ignore rules: .gitignore:coverage/ — 1 directory pruned (5 non-hidden files inside)+</code></pre>+ <p>The precedence is fixed: <code class="inline">.xerjignore</code>, then <code class="inline">.gitignore</code>, then <code class="inline">.git/info/exclude</code>, then the built-in list. A hidden dotfile such as <code class="inline">.env</code> is always skipped, and <code class="inline">--no-ignore</code> does not turn that off.</p>+ <h2>Languages and symbols in the index</h2>+ <p>XERJ split the indexed tree into 3 languages and summed 11 symbols across it. One terms aggregation on <code class="inline">language</code> and one sum aggregation on <code class="inline">symbol_count</code> answer both questions in a single request.</p>+ <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9410/code-*/_search' -H 'content-type: application/json' -d '{"size":0,"aggs":{"by_language":{"terms":{"field":"language","size":40}},"total_symbols":{"sum":{"field":"symbol_count"}}}}'+</code></pre>+ <p>The <code class="inline">by_language</code> aggregation returned one bucket per language: <code class="inline">go</code>, <code class="inline">python</code> and <code class="inline">rust</code>. Do not carry a captured bucket size over to your own tree. Every per-declaration document carries the <code class="inline">language</code> of the file it came from, so a bucket counts declarations as well as files and moves with the code, not with the file count.</p>+ <p>XERJ recognizes 34 languages through tree-sitter. This capture exercised 3 of them, so read the answer as the shape of the aggregation and not as a language-coverage test.</p>+ <h2>One definition hit an agent can use</h2>+ <p>A <code class="inline">match</code> query on the <code class="inline">defs</code> field returns the file, the language and a <code class="inline">symbols</code> array. Each entry in that array carries a kind, a name and a line number. An agent reads the hit rather than the source file.</p>+ <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9410/code-*/_search' -H 'content-type: application/json' -d '{"query":{"match":{"defs":"merge_segments"}},"size":10,"_source":["ax_path","language","title","defs","symbols"],"track_total_hits":true}'+</code></pre>+ <pre class="code"><code class="language-json">{"_index":"code-docs","_score":0.45315087,"_source":{"ax_path":"src/lib.rs","language":"rust",+ "symbols":[{"kind":"struct","line":3,"name":"SegmentReader"},+ {"kind":"function","line":8,"name":"open"},+ {"kind":"function","line":12,"name":"checkpoint_journal_offset"},+ {"kind":"function","line":17,"name":"merge_segments"}]}}+</code></pre>+ <h2>The boundary: definitions only</h2>+ <p>XERJ extracts definitions only. There is no call graph, no import graph and no cross-file reference resolution. A <code class="inline">defs</code> hit therefore names the declaration site and never the call site.</p>+ <p>Two caps bound the extractor: 2 MB per source file and 5,000 symbols per file. A parse failure is never fatal, because XERJ still indexes the file body as plain text.</p>+ <h2>Counting documents, not files</h2>+ <p>XERJ writes a content document for each source file. On top of that it writes one document for every declaration in the file, keyed by a <code class="inline">code:<line>:<name></code> locator. That is what makes a constant or a one-line signature retrievable on its own, rather than only inside the class or method around it. A declaration captured under two kinds at the same line and name collapses to a single document. A document total over a code tree therefore tracks the declaration count, and no fixed ratio to the file count exists. State which convention you count before you compare a document total with a file total, and take the total from your own run.</p>+ <h2>What the capture is and is not</h2>+ <p>The capture indexed a 3-file, 3-language repository on 1 single-node XERJ process. This run measured no large monorepo. The project's own guidance is to plan corpora of at most a few million documents.</p>+ <h2>FAQ</h2>+ <h3>How do I stop my agent from reading the whole repo into context?</h3>+ <p>Index the tree once, then have the agent send a query instead of opening files. A <code class="inline">defs</code> hit names the declaration site with its path, so the agent reads one passage.</p>+ <h3>My agent keeps opening every file in the repo. How do I let it search the folder instead?</h3>+ <p>Run <code class="inline">xerj autoindex</code> on the tree and register <code class="inline">xerj mcp</code> with the agent host. The agent then calls a search tool and gets hits with paths, so the file-by-file walk stops.</p>+ <h3>How do I give a coding agent the whole codebase as searchable context?</h3>+ <p>Index the tree with <code class="inline">xerj autoindex</code>, which extracts definitions through tree-sitter for 34 languages, and expose the index over MCP. The agent queries it rather than loading the repository.</p>+ <h3>How do I index a monorepo so my coding agent stops reading files one by one?</h3>+ <p>Point <code class="inline">xerj autoindex</code> at the monorepo root. Built-in rules prune <code class="inline">node_modules/</code>, <code class="inline">vendor/</code>, <code class="inline">target/</code>, <code class="inline">dist/</code>, <code class="inline">build/</code>, <code class="inline">.venv/</code> and <code class="inline">__pycache__/</code>, and <code class="inline">--dry-run</code> prints the plan before anything is written.</p>+ <h3>Which ignore file wins?</h3>+ <p><code class="inline">.xerjignore</code> beats <code class="inline">.gitignore</code>, which beats <code class="inline">.git/info/exclude</code>, which beats the built-in list. The global <code class="inline">core.excludesFile</code> is deliberately not read.</p>+ <h3>Does XERJ index my .env file?</h3>+ <p>No. Hidden dotfiles and dotted directories are always skipped, and <code class="inline">--no-ignore</code> does not turn that rule off.</p>+ <h3>Can XERJ tell my agent who calls a function?</h3>+ <p>No. Extraction is definitions only, with no call graph and no cross-file reference resolution. A <code class="inline">defs</code> hit names the declaration site.</p>+ <h2>Related</h2>+ <ul>+ <li><a href="/answers/syntax-aware-code-search-refactoring">How do I run syntax-aware code search?</a></li>+ <li><a href="/answers/code-search-mcp-for-claude-code">I need my agent to find a passage and cite the file, not dump the whole tree. How?</a></li>+ <li><a href="/compare/xerj-vs-ripgrep-for-code-agents">Is ripgrep enough for a coding agent, or do I need a code index?</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,95 +331,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I STOP MY AGENT FROM READING THE WHOLE REPO INTO CONTEXT?</div>- <div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>- <h1>How do I stop my agent from reading the whole repo into context?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-21</div>- <p><strong>TL;DR</strong> — Run <code class="inline">xerj autoindex --dry-run</code> on the repository first. In our capture the dry run reported <code class="inline">files=3</code>, <code class="inline">ignored_files=2</code> and <code class="inline">ignored_dirs=3</code>, with 60 non-hidden files inside the pruned directories. The indexed tree then gave an agent 3 languages and 11 symbols to query.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent. Read https://xerj.org/llms.txt, start a XERJ node with --insecure, run xerj autoindex ./code --prefix code --dry-run and record files, ignored_files and ignored_dirs from the xerj-done line, run it again without --dry-run, then aggregate language and symbol_count over code-*/_search and answer with a defs query instead of opening any source file.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start a XERJ node with --insecure, run xerj autoindex ./code --prefix code --dry-run and record files, ignored_files and ignored_dirs from the xerj-done line, run it again without --dry-run, then aggregate language and symbol_count over code-*/_search and answer with a defs query instead of opening any source file.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj autoindex ./code --url http://127.0.0.1:9410 --prefix code --state-dir ./state-code --progress plain --disable-feedback --dry-run</code>- <button type="button" class="prompt-copy" data-copy="xerj autoindex ./code --url http://127.0.0.1:9410 --prefix code --state-dir ./state-code --progress plain --disable-feedback --dry-run">COPY COMMAND</button>- <span class="hero-proof">Print the plan and the ignore accounting without writing anything.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj autoindex ./code --url http://127.0.0.1:9410 --prefix code --state-dir ./state-code --progress plain --disable-feedback</code>- <button type="button" class="prompt-copy" data-copy="xerj autoindex ./code --url http://127.0.0.1:9410 --prefix code --state-dir ./state-code --progress plain --disable-feedback">COPY COMMAND</button>- <span class="hero-proof">Index the repository after the plan looks right.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST 'http://127.0.0.1:9410/code-*/_search' -H 'content-type: application/json' -d '{"size":0,"aggs":{"by_language":{"terms":{"field":"language","size":40}},"total_symbols":{"sum":{"field":"symbol_count"}}}}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9410/code-*/_search' -H 'content-type: application/json' -d '{"size":0,"aggs":{"by_language":{"terms":{"field":"language","size":40}},"total_symbols":{"sum":{"field":"symbol_count"}}}}'">COPY COMMAND</button>- <span class="hero-proof">Count the languages and the symbols in one request.</span>- </div>- <h2>Ask for the plan before you index</h2>- <p><code class="inline">xerj autoindex --dry-run</code> prints the job size and the ignore accounting and writes nothing. Run it first on any repository, because the plan tells you how much of the tree XERJ will keep.</p>- <pre class="code"><code class="language-sh">xerj autoindex ./code --url http://127.0.0.1:9410 --prefix code --state-dir ./state-code --progress plain --disable-feedback --dry-run-</code></pre>- <p>The captured terminal line for a 3-source-file repository was exact about what it dropped.</p>- <pre class="code"><code class="language-text">xerj-done ok=true exit=0 reason=dry-run wall=0.1s files=3 ignored_files=2 ignored_dirs=3 ignored_files_in_pruned_dirs=60 ignored_files_in_pruned_dirs_exact=true-</code></pre>- <h2>What XERJ pruned, rule by rule</h2>- <p>XERJ names every ignore rule that fired and counts the files behind it. The capture pruned 3 directories holding 60 non-hidden files and read 1 ignore file.</p>- <pre class="code"><code class="language-text">autoindex: ignore rules: skipped 2 files and pruned 3 directories (60 non-hidden files inside them); 1 ignore file read-autoindex: ignore rules: <built-in>:target/ — 1 directory pruned (30 non-hidden files inside)-autoindex: ignore rules: <built-in>:node_modules/ — 1 directory pruned (25 non-hidden files inside)-autoindex: ignore rules: .gitignore:coverage/ — 1 directory pruned (5 non-hidden files inside)-</code></pre>- <p>The precedence is fixed: <code class="inline">.xerjignore</code>, then <code class="inline">.gitignore</code>, then <code class="inline">.git/info/exclude</code>, then the built-in list. A hidden dotfile such as <code class="inline">.env</code> is always skipped, and <code class="inline">--no-ignore</code> does not turn that off.</p>- <h2>Languages and symbols in the index</h2>- <p>XERJ split the indexed tree into 3 languages and summed 11 symbols across it. One terms aggregation on <code class="inline">language</code> and one sum aggregation on <code class="inline">symbol_count</code> answer both questions in a single request.</p>- <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9410/code-*/_search' -H 'content-type: application/json' -d '{"size":0,"aggs":{"by_language":{"terms":{"field":"language","size":40}},"total_symbols":{"sum":{"field":"symbol_count"}}}}'-</code></pre>- <p>The <code class="inline">by_language</code> aggregation returned one bucket per language: <code class="inline">go</code>, <code class="inline">python</code> and <code class="inline">rust</code>. Do not carry a captured bucket size over to your own tree. Every per-declaration document carries the <code class="inline">language</code> of the file it came from, so a bucket counts declarations as well as files and moves with the code, not with the file count.</p>- <p>XERJ recognizes 34 languages through tree-sitter. This capture exercised 3 of them, so read the answer as the shape of the aggregation and not as a language-coverage test.</p>- <h2>One definition hit an agent can use</h2>- <p>A <code class="inline">match</code> query on the <code class="inline">defs</code> field returns the file, the language and a <code class="inline">symbols</code> array. Each entry in that array carries a kind, a name and a line number. An agent reads the hit rather than the source file.</p>- <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9410/code-*/_search' -H 'content-type: application/json' -d '{"query":{"match":{"defs":"merge_segments"}},"size":10,"_source":["ax_path","language","title","defs","symbols"],"track_total_hits":true}'-</code></pre>- <pre class="code"><code class="language-json">{"_index":"code-docs","_score":0.45315087,"_source":{"ax_path":"src/lib.rs","language":"rust",- "symbols":[{"kind":"struct","line":3,"name":"SegmentReader"},- {"kind":"function","line":8,"name":"open"},- {"kind":"function","line":12,"name":"checkpoint_journal_offset"},- {"kind":"function","line":17,"name":"merge_segments"}]}}-</code></pre>- <h2>The boundary: definitions only</h2>- <p>XERJ extracts definitions only. There is no call graph, no import graph and no cross-file reference resolution. A <code class="inline">defs</code> hit therefore names the declaration site and never the call site.</p>- <p>Two caps bound the extractor: 2 MB per source file and 5,000 symbols per file. A parse failure is never fatal, because XERJ still indexes the file body as plain text.</p>- <h2>Counting documents, not files</h2>- <p>XERJ writes a content document for each source file. On top of that it writes one document for every declaration in the file, keyed by a <code class="inline">code:<line>:<name></code> locator. That is what makes a constant or a one-line signature retrievable on its own, rather than only inside the class or method around it. A declaration captured under two kinds at the same line and name collapses to a single document. A document total over a code tree therefore tracks the declaration count, and no fixed ratio to the file count exists. State which convention you count before you compare a document total with a file total, and take the total from your own run.</p>- <h2>What the capture is and is not</h2>- <p>The capture indexed a 3-file, 3-language repository on 1 single-node XERJ process. This run measured no large monorepo. The project's own guidance is to plan corpora of at most a few million documents.</p>- <h2>FAQ</h2>- <h3>How do I stop my agent from reading the whole repo into context?</h3>- <p>Index the tree once, then have the agent send a query instead of opening files. A <code class="inline">defs</code> hit names the declaration site with its path, so the agent reads one passage.</p>- <h3>My agent keeps opening every file in the repo. How do I let it search the folder instead?</h3>- <p>Run <code class="inline">xerj autoindex</code> on the tree and register <code class="inline">xerj mcp</code> with the agent host. The agent then calls a search tool and gets hits with paths, so the file-by-file walk stops.</p>- <h3>How do I give a coding agent the whole codebase as searchable context?</h3>- <p>Index the tree with <code class="inline">xerj autoindex</code>, which extracts definitions through tree-sitter for 34 languages, and expose the index over MCP. The agent queries it rather than loading the repository.</p>- <h3>How do I index a monorepo so my coding agent stops reading files one by one?</h3>- <p>Point <code class="inline">xerj autoindex</code> at the monorepo root. Built-in rules prune <code class="inline">node_modules/</code>, <code class="inline">vendor/</code>, <code class="inline">target/</code>, <code class="inline">dist/</code>, <code class="inline">build/</code>, <code class="inline">.venv/</code> and <code class="inline">__pycache__/</code>, and <code class="inline">--dry-run</code> prints the plan before anything is written.</p>- <h3>Which ignore file wins?</h3>- <p><code class="inline">.xerjignore</code> beats <code class="inline">.gitignore</code>, which beats <code class="inline">.git/info/exclude</code>, which beats the built-in list. The global <code class="inline">core.excludesFile</code> is deliberately not read.</p>- <h3>Does XERJ index my .env file?</h3>- <p>No. Hidden dotfiles and dotted directories are always skipped, and <code class="inline">--no-ignore</code> does not turn that rule off.</p>- <h3>Can XERJ tell my agent who calls a function?</h3>- <p>No. Extraction is definitions only, with no call graph and no cross-file reference resolution. A <code class="inline">defs</code> hit names the declaration site.</p>- <h2>Related</h2>- <ul>- <li><a href="/answers/syntax-aware-code-search-refactoring">How do I run syntax-aware code search?</a></li>- <li><a href="/answers/code-search-mcp-for-claude-code">I need my agent to find a passage and cite the file, not dump the whole tree. How?</a></li>- <li><a href="/compare/xerj-vs-ripgrep-for-code-agents">Is ripgrep enough for a coding agent, or do I need a code index?</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/index-multiple-csv-files.html b/landing/answers/index-multiple-csv-files.htmlindex 88f3e1d0e..80cc2ff22 100644--- a/landing/answers/index-multiple-csv-files.html+++ b/landing/answers/index-multiple-csv-files.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/index-multiple-csv-files.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/index-multiple-csv-files">@@ -139,7 +139,98 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>I HAVE A DIRECTORY OF CSV EXPORTS. HOW DO I QUERY THEM WITHOUT OPENING EACH ONE IN EXCEL?</div>+ <div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>+ <h1 class="h1-long">I have a directory of CSV exports. How do I query them without opening each one in Excel?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-21</div>+ <p><strong>TL;DR</strong> — Give <code class="inline">xerj autoindex</code> the folder rather than each file. In a captured run, 3 CSV files across 2 different headers became 2 indices holding 402 and 151 documents. One <code class="inline">query_string</code> request across <code class="inline">multi-*</code> then returned 171 hits and split them by dataset.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent. Read https://xerj.org/llms.txt, start a local XERJ node, run `xerj autoindex ./csv-exports --url http://127.0.0.1:9200 --prefix multi --progress plain`, GET /_cat/indices/multi-*?format=json to see how many indices the different headers produced, then POST one query_string search across multi-* with a terms aggregation on ax_dataset and report the per-dataset counts.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start a local XERJ node, run `xerj autoindex ./csv-exports --url http://127.0.0.1:9200 --prefix multi --progress plain`, GET /_cat/indices/multi-*?format=json to see how many indices the different headers produced, then POST one query_string search across multi-* with a terms aggregation on ax_dataset and report the per-dataset counts.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj autoindex ./csv-multi --url http://127.0.0.1:9200 --prefix multi --progress plain</code>+ <button type="button" class="prompt-copy" data-copy="xerj autoindex ./csv-multi --url http://127.0.0.1:9200 --prefix multi --progress plain">COPY COMMAND</button>+ <span class="hero-proof">Index every CSV file in the folder in one pass.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XGET http://127.0.0.1:9200/_cat/indices/multi-*?format=json</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XGET http://127.0.0.1:9200/_cat/indices/multi-*?format=json">COPY COMMAND</button>+ <span class="hero-proof">List the indices the run created, with a document count for each.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST http://127.0.0.1:9200/multi-*/_search -H 'content-type: application/json' -d '{"query":{"query_string":{"query":"emea OR wh-1"}},"size":5,"_source":["ax_dataset","ax_file","region","warehouse"],"aggs":{"by_dataset":{"terms":{"field":"ax_dataset","size":10}}}}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/multi-*/_search -H 'content-type: application/json' -d '{"query":{"query_string":{"query":"emea OR wh-1"}},"size":5,"_source":["ax_dataset","ax_file","region","warehouse"],"aggs":{"by_dataset":{"terms":{"field":"ax_dataset","size":10}}}}'">COPY COMMAND</button>+ <span class="hero-proof">Search both schemas in one request and group the hits by dataset.</span>+ </div>+ <h2>Index the folder, not each file</h2>+ <p><code class="inline">xerj autoindex <folder></code> reads every CSV file under the folder in one pass. XERJ groups the files by their header, so files that share columns share an index.</p>+ <pre class="code"><code class="language-sh">xerj autoindex ./csv-multi --url http://127.0.0.1:9200 --prefix multi --progress plain+</code></pre>+ <p>The captured folder held 3 files. Two of them shared the header <code class="inline">invoice_id,customer,region,amount</code>, and the third had the unrelated header <code class="inline">sku,warehouse,on_hand,reorder_level</code>.</p>+ <h2>Two schemas produced two indices</h2>+ <p>XERJ created 2 indices from the 3 files, not 1 and not 3. Each index is named <code class="inline"><prefix>-<dataset></code>, and the captured <code class="inline">ax_dataset</code> values were <code class="inline">csv</code> and <code class="inline">csv-inventory-snapshot</code>.</p>+ <table>+ <thead><tr><th>index</th><th>documents</th><th>source files</th></tr></thead>+ <tbody>+ <tr><td><code class="inline">multi-csv</code></td><td>402</td><td><code class="inline">sales_q1.csv</code>, <code class="inline">sales_q2.csv</code></td></tr>+ <tr><td><code class="inline">multi-csv-inventory-snapshot</code></td><td>151</td><td><code class="inline">inventory_snapshot.csv</code></td></tr>+ </tbody>+ </table>+ <pre class="code"><code class="language-sh">curl -s -XGET 'http://127.0.0.1:9200/_cat/indices/multi-*?format=json'+</code></pre>+ <p>This split is the point of the design. Two files with the same columns stay comparable in one index, and a file with different columns never pollutes that mapping.</p>+ <h2>One query reads both indices</h2>+ <p>A single <code class="inline">query_string</code> request against <code class="inline">/multi-*/_search</code> returned 171 hits drawn from both indices. The same request carried a <code class="inline">terms</code> aggregation on <code class="inline">ax_dataset</code>, so the response also reports where the hits came from.</p>+ <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9200/multi-*/_search' \+ -H 'content-type: application/json' \+ -d '{"query":{"query_string":{"query":"emea OR wh-1"}},"size":5,"_source":["ax_dataset","ax_file","region","warehouse"],"aggs":{"by_dataset":{"terms":{"field":"ax_dataset","size":10}}}}'+</code></pre>+ <pre class="code"><code class="language-json">{"hits": {"total": {"value": 171, "relation": "eq"}},+ "aggregations": {"by_dataset": {"buckets": [{"key": "csv", "doc_count": 133},+ {"key": "csv-inventory-snapshot", "doc_count": 38}],+ "doc_count_error_upper_bound": 0,+ "sum_other_doc_count": 0}}}+</code></pre>+ <h2>Provenance tells you the source file</h2>+ <p>Every document carries 7 <code class="inline">keyword</code> provenance fields: <code class="inline">ax_path</code>, <code class="inline">ax_paths</code>, <code class="inline">ax_file</code>, <code class="inline">ax_locator</code>, <code class="inline">ax_dataset</code>, <code class="inline">ax_run</code> and <code class="inline">ax_format</code>. All 7 are exact-match fields, so you can filter or aggregate on any of them.</p>+ <p>Filter on <code class="inline">ax_file</code> to restrict a search to one CSV file. Aggregate on <code class="inline">ax_dataset</code> to report a count per schema. Read <code class="inline">ax_path</code> to give a human reader the file to open.</p>+ <h2>Adding files later</h2>+ <p>Run <code class="inline">xerj autoindex</code> on the folder again after you add a file. XERJ derives every document id from content, and the resume journal converges. A second run over the same folder therefore does not duplicate the files from the first run.</p>+ <p>A new header creates a new index rather than changing an existing mapping. The earlier files stay queryable, and the new file becomes searchable under the same index pattern.</p>+ <h2>What this capture does not show</h2>+ <p>This measurement is a single-node run of 3 small files on 1 host. The capture reports how the dataset split behaves, not how fast XERJ indexes a large folder. XERJ has no replication and no failover in this configuration.</p>+ <p>Ranking is BM25 over the indexed columns. The default embedder in XERJ is lexical feature hashing, so a query matches terms rather than meanings; neural embeddings are opt-in through <code class="inline">--embed-mode neural</code>.</p>+ <p>Every number above comes from <code class="inline">RUN-A</code>, captured on 2026-08-21.</p>+ <h2>FAQ</h2>+ <h3>I have a directory of CSV exports. How do I query them without opening each one in Excel?</h3>+ <p>Give <code class="inline">xerj autoindex</code> the folder, not each file. It reads every CSV in one run, groups the files by header, and each group becomes an index you query over HTTP.</p>+ <h3>What's a good way to read and search across a bunch of CSV files?</h3>+ <p>Index the folder once, then query the index pattern. XERJ reads every CSV file in the folder in one run and groups the files by their header.</p>+ <h3>How do I search 20 CSV exports like they were one table?</h3>+ <p>Files that share a header join one dataset, so one query pattern such as <code class="inline">/multi-*/_search</code> reads them all. The captured cross-index query returned 171 hits from 2 indices in one request.</p>+ <h3>How do I get counts and totals from a folder of CSV exports?</h3>+ <p>Run a <code class="inline">terms</code> aggregation on a keyword field such as <code class="inline">ax_dataset</code> or <code class="inline">ax_file</code>; both are exact bucket counts. This capture measured counts only, so it does not show sums over numeric columns.</p>+ <h3>Do all my CSV files land in one index?</h3>+ <p>Only if they share a header. Files with the same columns join one dataset, and a file with different columns gets its own index.</p>+ <h3>How do I tell which file a hit came from?</h3>+ <p>Read the <code class="inline">ax_file</code> and <code class="inline">ax_path</code> fields on the hit. XERJ writes 7 keyword provenance fields on every document it creates.</p>+ <h3>What happens if I add a fourth CSV file later?</h3>+ <p>Run <code class="inline">xerj autoindex</code> on the folder again. Document ids are content-derived and the run journal converges, so re-runs do not duplicate the earlier files.</p>+ <h2>Related</h2>+ <ul>+ <li><a href="/answers/index-csv-with-many-columns">How do I index a CSV with many columns?</a></li>+ <li><a href="/answers/catalog-files-with-autoindex-map">How should an agent figure out what's in a messy data folder before searching?</a></li>+ <li><a href="/answers/search-file-contents-in-a-folder">I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a></li>+ <li><a href="/compare/xerj-vs-typesense">Do I need Typesense for an agent to search my docs?</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,97 +333,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>I HAVE A DIRECTORY OF CSV EXPORTS. HOW DO I QUERY THEM WITHOUT OPENING EACH ONE IN EXCEL?</div>- <div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>- <h1>I have a directory of CSV exports. How do I query them without opening each one in Excel?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-21</div>- <p><strong>TL;DR</strong> — Give <code class="inline">xerj autoindex</code> the folder rather than each file. In a captured run, 3 CSV files across 2 different headers became 2 indices holding 402 and 151 documents. One <code class="inline">query_string</code> request across <code class="inline">multi-*</code> then returned 171 hits and split them by dataset.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent. Read https://xerj.org/llms.txt, start a local XERJ node, run `xerj autoindex ./csv-exports --url http://127.0.0.1:9200 --prefix multi --progress plain`, GET /_cat/indices/multi-*?format=json to see how many indices the different headers produced, then POST one query_string search across multi-* with a terms aggregation on ax_dataset and report the per-dataset counts.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start a local XERJ node, run `xerj autoindex ./csv-exports --url http://127.0.0.1:9200 --prefix multi --progress plain`, GET /_cat/indices/multi-*?format=json to see how many indices the different headers produced, then POST one query_string search across multi-* with a terms aggregation on ax_dataset and report the per-dataset counts.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj autoindex ./csv-multi --url http://127.0.0.1:9200 --prefix multi --progress plain</code>- <button type="button" class="prompt-copy" data-copy="xerj autoindex ./csv-multi --url http://127.0.0.1:9200 --prefix multi --progress plain">COPY COMMAND</button>- <span class="hero-proof">Index every CSV file in the folder in one pass.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XGET http://127.0.0.1:9200/_cat/indices/multi-*?format=json</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XGET http://127.0.0.1:9200/_cat/indices/multi-*?format=json">COPY COMMAND</button>- <span class="hero-proof">List the indices the run created, with a document count for each.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST http://127.0.0.1:9200/multi-*/_search -H 'content-type: application/json' -d '{"query":{"query_string":{"query":"emea OR wh-1"}},"size":5,"_source":["ax_dataset","ax_file","region","warehouse"],"aggs":{"by_dataset":{"terms":{"field":"ax_dataset","size":10}}}}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/multi-*/_search -H 'content-type: application/json' -d '{"query":{"query_string":{"query":"emea OR wh-1"}},"size":5,"_source":["ax_dataset","ax_file","region","warehouse"],"aggs":{"by_dataset":{"terms":{"field":"ax_dataset","size":10}}}}'">COPY COMMAND</button>- <span class="hero-proof">Search both schemas in one request and group the hits by dataset.</span>- </div>- <h2>Index the folder, not each file</h2>- <p><code class="inline">xerj autoindex <folder></code> reads every CSV file under the folder in one pass. XERJ groups the files by their header, so files that share columns share an index.</p>- <pre class="code"><code class="language-sh">xerj autoindex ./csv-multi --url http://127.0.0.1:9200 --prefix multi --progress plain-</code></pre>- <p>The captured folder held 3 files. Two of them shared the header <code class="inline">invoice_id,customer,region,amount</code>, and the third had the unrelated header <code class="inline">sku,warehouse,on_hand,reorder_level</code>.</p>- <h2>Two schemas produced two indices</h2>- <p>XERJ created 2 indices from the 3 files, not 1 and not 3. Each index is named <code class="inline"><prefix>-<dataset></code>, and the captured <code class="inline">ax_dataset</code> values were <code class="inline">csv</code> and <code class="inline">csv-inventory-snapshot</code>.</p>- <table>- <thead><tr><th>index</th><th>documents</th><th>source files</th></tr></thead>- <tbody>- <tr><td><code class="inline">multi-csv</code></td><td>402</td><td><code class="inline">sales_q1.csv</code>, <code class="inline">sales_q2.csv</code></td></tr>- <tr><td><code class="inline">multi-csv-inventory-snapshot</code></td><td>151</td><td><code class="inline">inventory_snapshot.csv</code></td></tr>- </tbody>- </table>- <pre class="code"><code class="language-sh">curl -s -XGET 'http://127.0.0.1:9200/_cat/indices/multi-*?format=json'-</code></pre>- <p>This split is the point of the design. Two files with the same columns stay comparable in one index, and a file with different columns never pollutes that mapping.</p>- <h2>One query reads both indices</h2>- <p>A single <code class="inline">query_string</code> request against <code class="inline">/multi-*/_search</code> returned 171 hits drawn from both indices. The same request carried a <code class="inline">terms</code> aggregation on <code class="inline">ax_dataset</code>, so the response also reports where the hits came from.</p>- <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9200/multi-*/_search' \- -H 'content-type: application/json' \- -d '{"query":{"query_string":{"query":"emea OR wh-1"}},"size":5,"_source":["ax_dataset","ax_file","region","warehouse"],"aggs":{"by_dataset":{"terms":{"field":"ax_dataset","size":10}}}}'-</code></pre>- <pre class="code"><code class="language-json">{"hits": {"total": {"value": 171, "relation": "eq"}},- "aggregations": {"by_dataset": {"buckets": [{"key": "csv", "doc_count": 133},- {"key": "csv-inventory-snapshot", "doc_count": 38}],- "doc_count_error_upper_bound": 0,- "sum_other_doc_count": 0}}}-</code></pre>- <h2>Provenance tells you the source file</h2>- <p>Every document carries 7 <code class="inline">keyword</code> provenance fields: <code class="inline">ax_path</code>, <code class="inline">ax_paths</code>, <code class="inline">ax_file</code>, <code class="inline">ax_locator</code>, <code class="inline">ax_dataset</code>, <code class="inline">ax_run</code> and <code class="inline">ax_format</code>. All 7 are exact-match fields, so you can filter or aggregate on any of them.</p>- <p>Filter on <code class="inline">ax_file</code> to restrict a search to one CSV file. Aggregate on <code class="inline">ax_dataset</code> to report a count per schema. Read <code class="inline">ax_path</code> to give a human reader the file to open.</p>- <h2>Adding files later</h2>- <p>Run <code class="inline">xerj autoindex</code> on the folder again after you add a file. XERJ derives every document id from content, and the resume journal converges. A second run over the same folder therefore does not duplicate the files from the first run.</p>- <p>A new header creates a new index rather than changing an existing mapping. The earlier files stay queryable, and the new file becomes searchable under the same index pattern.</p>- <h2>What this capture does not show</h2>- <p>This measurement is a single-node run of 3 small files on 1 host. The capture reports how the dataset split behaves, not how fast XERJ indexes a large folder. XERJ has no replication and no failover in this configuration.</p>- <p>Ranking is BM25 over the indexed columns. The default embedder in XERJ is lexical feature hashing, so a query matches terms rather than meanings; neural embeddings are opt-in through <code class="inline">--embed-mode neural</code>.</p>- <p>Every number above comes from <code class="inline">RUN-A</code>, captured on 2026-08-21.</p>- <h2>FAQ</h2>- <h3>I have a directory of CSV exports. How do I query them without opening each one in Excel?</h3>- <p>Give <code class="inline">xerj autoindex</code> the folder, not each file. It reads every CSV in one run, groups the files by header, and each group becomes an index you query over HTTP.</p>- <h3>What's a good way to read and search across a bunch of CSV files?</h3>- <p>Index the folder once, then query the index pattern. XERJ reads every CSV file in the folder in one run and groups the files by their header.</p>- <h3>How do I search 20 CSV exports like they were one table?</h3>- <p>Files that share a header join one dataset, so one query pattern such as <code class="inline">/multi-*/_search</code> reads them all. The captured cross-index query returned 171 hits from 2 indices in one request.</p>- <h3>How do I get counts and totals from a folder of CSV exports?</h3>- <p>Run a <code class="inline">terms</code> aggregation on a keyword field such as <code class="inline">ax_dataset</code> or <code class="inline">ax_file</code>; both are exact bucket counts. This capture measured counts only, so it does not show sums over numeric columns.</p>- <h3>Do all my CSV files land in one index?</h3>- <p>Only if they share a header. Files with the same columns join one dataset, and a file with different columns gets its own index.</p>- <h3>How do I tell which file a hit came from?</h3>- <p>Read the <code class="inline">ax_file</code> and <code class="inline">ax_path</code> fields on the hit. XERJ writes 7 keyword provenance fields on every document it creates.</p>- <h3>What happens if I add a fourth CSV file later?</h3>- <p>Run <code class="inline">xerj autoindex</code> on the folder again. Document ids are content-derived and the run journal converges, so re-runs do not duplicate the earlier files.</p>- <h2>Related</h2>- <ul>- <li><a href="/answers/index-csv-with-many-columns">How do I index a CSV with many columns?</a></li>- <li><a href="/answers/catalog-files-with-autoindex-map">How should an agent figure out what's in a messy data folder before searching?</a></li>- <li><a href="/answers/search-file-contents-in-a-folder">I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a></li>- <li><a href="/compare/xerj-vs-typesense">Do I need Typesense for an agent to search my docs?</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/index-reference-library-for-coding-agent.html b/landing/answers/index-reference-library-for-coding-agent.htmlindex 62f2a33fb..d9eafd046 100644--- a/landing/answers/index-reference-library-for-coding-agent.html+++ b/landing/answers/index-reference-library-for-coding-agent.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/index-reference-library-for-coding-agent.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/index-reference-library-for-coding-agent">@@ -139,113 +139,11 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class="active"><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I SET UP REFERENCE CODING SO THE AGENT RETRIEVES A MECHANISM BEFORE WRITING CODE?</div><div class="kicker"><span>ANSWERS · CODING AGENTS: REFERENCE RETRIEVAL</span></div>- <h1>How do I set up reference coding so the agent retrieves a mechanism before writing code?</h1>+ <h1 class="h1-long">How do I set up reference coding so the agent retrieves a mechanism before writing code?</h1><div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-22 · UPDATED · 2026-08-23</div><p><strong>TL;DR</strong> — Clone the library you are about to write against. Index it with <code class="inline">xerj autoindex</code>. Let the agent retrieve the passage before it writes code. A published study measured a gain on code the model cannot recall, and a loss on code it knows.</p><div class="prompt-card">@@ -365,6 +263,108 @@ xerj autoindex ./ref --url http://127.0.0.1:9200 --prefix ref --state-dir ./stat<li><a href="/compare/xerj-vs-ripgrep-for-code-agents">Is ripgrep enough for a coding agent, or do I need a code index?</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class="active"><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/index.html b/landing/answers/index.htmlindex 0604aba2e..d7b595497 100644--- a/landing/answers/index.html+++ b/landing/answers/index.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/"><meta property="og:site_name" content="XERJ.ai">@@ -120,109 +120,7 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span>ANSWERS</div><div class="kicker"><span>ANSWERS</span></div>@@ -422,6 +320,108 @@<li><a href="/answers/what-a-share-link-guest-can-reach">If I share one index with a link and a passcode, what can that person actually reach on my node?</a> — A share-link guest key reads the shared index and nothing else: no other index, no _cat or _cluster, no writes, no scroll or PIT. Each refusal is a live test.</li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/is-pdf-indexing-efficient.html b/landing/answers/is-pdf-indexing-efficient.htmlindex a770d4935..d746fc9ca 100644--- a/landing/answers/is-pdf-indexing-efficient.html+++ b/landing/answers/is-pdf-indexing-efficient.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/is-pdf-indexing-efficient.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/is-pdf-indexing-efficient">@@ -139,109 +139,7 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class="active"><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>IS IT EFFICIENT TO INDEX PDF FILES?</div><div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>@@ -347,6 +245,108 @@ autoindex: memory safe zone 966 MiB allows 1 PDF worker(s) at 1536 MiB each, not<li><a href="/answers/estimate-autoindex-time-before-running">How do I estimate folder-indexing time?</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class="active"><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/keep-index-current-as-files-change.html b/landing/answers/keep-index-current-as-files-change.htmlindex 1a794dd34..537833bdb 100644--- a/landing/answers/keep-index-current-as-files-change.html+++ b/landing/answers/keep-index-current-as-files-change.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/keep-index-current-as-files-change.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/keep-index-current-as-files-change">@@ -139,113 +139,11 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class="active"><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I KEEP A SEARCH INDEX UP TO DATE AS FILES CHANGE, WITHOUT RE-INDEXING EVERYTHING?</div><div class="kicker"><span>ANSWERS · OPERATIONS: FRESHNESS</span></div>- <h1>How do I keep a search index up to date as files change, without re-indexing everything?</h1>+ <h1 class="h1-long">How do I keep a search index up to date as files change, without re-indexing everything?</h1><div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-09-19 · UPDATED · 2026-09-20</div><p><strong>TL;DR</strong> — <code class="inline">xerj autoindex ./folder --watch --no-graph</code> indexes once, then reindexes what changed. At idle it costs nothing; a re-run on a timer costs a full walk and a full re-hash of the corpus on every tick.</p><div class="prompt-card">@@ -352,6 +250,108 @@ xerj autoindex ./notes --url http://127.0.0.1:9200 \<li><a href="/answers/catalog-files-with-autoindex-map">How should an agent figure out what's in a messy data folder before searching?</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class="active"><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/keep-s3-bucket-index-current.html b/landing/answers/keep-s3-bucket-index-current.htmlindex 82883a50a..efa1e888b 100644--- a/landing/answers/keep-s3-bucket-index-current.html+++ b/landing/answers/keep-s3-bucket-index-current.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/keep-s3-bucket-index-current.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/keep-s3-bucket-index-current">@@ -139,109 +139,7 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class="active"><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I KEEP AN INDEX CURRENT WHEN THE FILES LIVE IN AN OBJECT STORE?</div><div class="kicker"><span>ANSWERS · OBJECT STORAGE</span></div>@@ -392,6 +290,108 @@<li><a href="/answers/check-codebase-index-is-complete">My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class="active"><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/knowledge-graphs-for-agent-memory.html b/landing/answers/knowledge-graphs-for-agent-memory.htmlindex 5e31eff59..bcf9b70cd 100644--- a/landing/answers/knowledge-graphs-for-agent-memory.html+++ b/landing/answers/knowledge-graphs-for-agent-memory.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/knowledge-graphs-for-agent-memory.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/knowledge-graphs-for-agent-memory">@@ -139,7 +139,106 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>SHOULD AGENT MEMORY USE A KNOWLEDGE GRAPH?</div>+ <div class="kicker"><span>ANSWERS · AGENT MEMORY: LINK RETRIEVAL</span></div>+ <h1>Should agent memory use a knowledge graph?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-23</div>+ <p><strong>TL;DR</strong> — Links help, and XERJ is not a graph database. XERJ builds a bounded, graph-shaped link index over the documents it already indexed. Our capture produced 7 edges over 6 documents, answered 1 hop with 3 edges and 2 hops with 6, and refused 3 hops.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent. Read https://xerj.org/llms.txt, run `xerj autoindex ./notes --url http://127.0.0.1:9430 --prefix br --brain notes --progress plain`, GET /_graph/notes/overview to read the totals and the detector split, then request /_graph/notes/ego at hops=1, hops=2 and hops=3 and report the edge counts plus the exact text of the refusal you get at 3 hops.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, run `xerj autoindex ./notes --url http://127.0.0.1:9430 --prefix br --brain notes --progress plain`, GET /_graph/notes/overview to read the totals and the detector split, then request /_graph/notes/ego at hops=1, hops=2 and hops=3 and report the edge counts plus the exact text of the refusal you get at 3 hops.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj autoindex ./notes --url http://127.0.0.1:9430 --prefix br --state-dir ./state-br --brain notes --progress plain</code>+ <button type="button" class="prompt-copy" data-copy="xerj autoindex ./notes --url http://127.0.0.1:9430 --prefix br --state-dir ./state-br --brain notes --progress plain">COPY COMMAND</button>+ <span class="hero-proof">Index a notes folder and build its second brain in the same run.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XGET 'http://127.0.0.1:9430/_graph/notes/overview'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XGET 'http://127.0.0.1:9430/_graph/notes/overview'">COPY COMMAND</button>+ <span class="hero-proof">Read the edge total, the node total and the detector breakdown.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XGET 'http://127.0.0.1:9430/_graph/notes/ego?node=0ddfc0b862bd2b7ee0b308b8ce4768c9&hops=2&include_nodes=true'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XGET 'http://127.0.0.1:9430/_graph/notes/ego?node=0ddfc0b862bd2b7ee0b308b8ce4768c9&hops=2&include_nodes=true'">COPY COMMAND</button>+ <span class="hero-proof">Expand two hops from one document. Three hops returns HTTP 400.</span>+ </div>+ <h2>What XERJ actually builds</h2>+ <p>The XERJ second brain is a search engine with a graph-shaped index over its own documents, not a graph database. Deterministic detectors read the indexed files and write edges into an index named <code class="inline">.xerj-memory-{brain}-edges</code>.</p>+ <p>One <code class="inline">autoindex</code> run built ours. The terminal line reports the whole result, including the counts that did not happen.</p>+ <pre class="code"><code class="language-text">graph: 7 edges → .xerj-memory-notes-edges (samedir@2 2, sequence@2 3, wikilink@2 2);+0 unresolved, 0 ambiguous, 0 capped, 0 self-dropped, 0 invalidated+</code></pre>+ <h2>What the overview reports</h2>+ <p><code class="inline">GET /_graph/{brain}/overview</code> answers with totals, the detector split, the type split, and the hubs by in-degree and out-degree. Our 3-file notes folder produced 6 nodes and 7 live edges, with 0 invalidated.</p>+ <table>+ <thead><tr><th>detector</th><th>live edges</th><th>edge type</th></tr></thead>+ <tbody>+ <tr><td><code class="inline">sequence@2</code></td><td>3</td><td><code class="inline">sequence</code></td></tr>+ <tr><td><code class="inline">samedir@2</code></td><td>2</td><td><code class="inline">same_dir</code></td></tr>+ <tr><td><code class="inline">wikilink@2</code></td><td>2</td><td><code class="inline">wikilink</code></td></tr>+ </tbody>+ </table>+ <p>The overview also names the embedder in use, which was <code class="inline">lexical-feature-hash</code> on our default node. The embedder name matters here. The same brain backs the optional <code class="inline">semantic: true</code> recall mode, and the default embedder is lexical feature hashing rather than a neural model.</p>+ <h2>The detectors are structural</h2>+ <p>Seven of the eight edge detectors read structure: wikilinks, Markdown links, hrefs, path citations, section order and directory chains. The one content-reading detector compares unstemmed strings, so it matches literal text rather than concepts.</p>+ <p>Every edge in our capture came from a structural detector. A <code class="inline">wikilink</code> edge came from the literal line <code class="inline">See [[00-overview]] for context.</code>, and a <code class="inline">same_dir</code> edge came from two files sharing a directory.</p>+ <p>Structural detection is the reason the output is stable. The same folder always produces the same edges, with no model in the path to drift.</p>+ <h2>Expansion is bounded, and says so</h2>+ <p>Ego expansion answers at 1 or 2 hops. Our 1-hop request from one document returned 3 edges and 3 neighbors, and the 2-hop request from the same seed returned 6 edges.</p>+ <p>A 3-hop request is a hard refusal rather than a truncation.</p>+ <pre class="code"><code class="language-text">hops is capped at 2: XERJ's second brain is a relationship layer over documents,+not a graph database (no Cypher, no shortest-path, no variable-depth traversal).+Iterate: expand again from this response's 'reachable' ids.+</code></pre>+ <p>Every other bound is reported rather than silent. The response carries a <code class="inline">not_shown</code> object with counts for clipped edges, a clipped frontier, excluded expired edges and type-filtered edges, and ours were all 0.</p>+ <table>+ <thead><tr><th>bound</th><th>limit</th></tr></thead>+ <tbody>+ <tr><td>hops</td><td>2</td></tr>+ <tr><td>frontier ids per hop</td><td>4,096</td></tr>+ <tr><td>result edges per request</td><td>100,000</td></tr>+ <tr><td>ego seeds</td><td>64</td></tr>+ <tr><td>ego edges per response</td><td>1,000</td></tr>+ <tr><td>restrict prefilter ids</td><td>10,000</td></tr>+ </tbody>+ </table>+ <h2>Using links inside recall</h2>+ <p>Recall accepts a <code class="inline">graph</code> object with a required <code class="inline">mode</code> of <code class="inline">restrict</code> or <code class="inline">blend</code>. The other fields are <code class="inline">seeds</code>, <code class="inline">hops</code> of 1 or 2, <code class="inline">types</code>, a <code class="inline">weight</code> that defaults to 0.3, and <code class="inline">as_of</code>. Proximity is 1.0 for a seed and <code class="inline">0.5^hop</code> times the clamped weight otherwise.</p>+ <p>The link index earns its place for an agent here. Use <code class="inline">restrict</code> to confine recall to documents near a known anchor. Use <code class="inline">blend</code> to shift ranking while keeping every candidate.</p>+ <h2>When to choose something else</h2>+ <p>Pick a real graph database when you need variable-depth traversal, shortest paths, a query language or reasoning over typed entities. XERJ is not a graph database and answers none of those. The refusal body says so rather than degrading quietly.</p>+ <p>Pick the XERJ link index when the relationships are already in your files and you want the same answer every run. One single-node process is then the whole budget.</p>+ <h2>What this capture does not show</h2>+ <p>The fixture is a 3-file notes folder that produced 6 documents and 7 edges, so the counts demonstrate the mechanism and nothing about scale. Only 3 of the 8 detectors fired on this fixture. No large brain, no multi-node run and no recall-with-graph measurement exists in this pass.</p>+ <h2>FAQ</h2>+ <h3>Does XERJ give me a graph database for agent memory?</h3>+ <p>No. XERJ builds a bounded link index over its own indexed documents. It has no Cypher, no shortest-path and no variable-depth traversal.</p>+ <h3>How many hops can I traverse?</h3>+ <p>One or two. A 3-hop request returns HTTP 400 with the cap stated, and the response tells you to expand again from the returned reachable ids.</p>+ <h3>What creates the links?</h3>+ <p>Deterministic detectors. Our run used <code class="inline">wikilink@2</code>, <code class="inline">sequence@2</code> and <code class="inline">samedir@2</code>, which read wikilinks, section order and shared directories.</p>+ <h3>Are the detectors reading meaning?</h3>+ <p>No. Seven of the eight detectors are structural, and the one content-reading detector compares unstemmed strings, so it matches text rather than concepts.</p>+ <h3>What are the graph bounds?</h3>+ <p>Hops cap 2, 4,096 frontier ids per hop, 100,000 result edges per request, 64 ego seeds, 1,000 ego edges and 10,000 restrict ids.</p>+ <h3>Can recall use the links?</h3>+ <p>Yes. Pass a <code class="inline">graph</code> object to <code class="inline">_recall</code> with <code class="inline">mode</code> set to <code class="inline">restrict</code> or <code class="inline">blend</code>, plus <code class="inline">seeds</code>, <code class="inline">hops</code> of 1 or 2, and an optional <code class="inline">weight</code>.</p>+ <h3>Where do the edges live?</h3>+ <p>In an index named <code class="inline">.xerj-memory-{brain}-edges</code>. <code class="inline">autoindex</code> creates one per indexed folder by default, named after the folder.</p>+ <h2>Related</h2>+ <ul>+ <li><a href="/answers/evidence-for-agent-memory-links">How can agent-memory links retain evidence?</a></li>+ <li><a href="/answers/private-agent-memory-namespaces">How do I give two agents private memory on one laptop?</a></li>+ <li><a href="/answers/coding-agent-memory-across-sessions">How do people store user preferences so an agent can recall them next week?</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,105 +341,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>SHOULD AGENT MEMORY USE A KNOWLEDGE GRAPH?</div>- <div class="kicker"><span>ANSWERS · AGENT MEMORY: LINK RETRIEVAL</span></div>- <h1>Should agent memory use a knowledge graph?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-23</div>- <p><strong>TL;DR</strong> — Links help, and XERJ is not a graph database. XERJ builds a bounded, graph-shaped link index over the documents it already indexed. Our capture produced 7 edges over 6 documents, answered 1 hop with 3 edges and 2 hops with 6, and refused 3 hops.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent. Read https://xerj.org/llms.txt, run `xerj autoindex ./notes --url http://127.0.0.1:9430 --prefix br --brain notes --progress plain`, GET /_graph/notes/overview to read the totals and the detector split, then request /_graph/notes/ego at hops=1, hops=2 and hops=3 and report the edge counts plus the exact text of the refusal you get at 3 hops.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, run `xerj autoindex ./notes --url http://127.0.0.1:9430 --prefix br --brain notes --progress plain`, GET /_graph/notes/overview to read the totals and the detector split, then request /_graph/notes/ego at hops=1, hops=2 and hops=3 and report the edge counts plus the exact text of the refusal you get at 3 hops.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj autoindex ./notes --url http://127.0.0.1:9430 --prefix br --state-dir ./state-br --brain notes --progress plain</code>- <button type="button" class="prompt-copy" data-copy="xerj autoindex ./notes --url http://127.0.0.1:9430 --prefix br --state-dir ./state-br --brain notes --progress plain">COPY COMMAND</button>- <span class="hero-proof">Index a notes folder and build its second brain in the same run.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XGET 'http://127.0.0.1:9430/_graph/notes/overview'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XGET 'http://127.0.0.1:9430/_graph/notes/overview'">COPY COMMAND</button>- <span class="hero-proof">Read the edge total, the node total and the detector breakdown.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XGET 'http://127.0.0.1:9430/_graph/notes/ego?node=0ddfc0b862bd2b7ee0b308b8ce4768c9&hops=2&include_nodes=true'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XGET 'http://127.0.0.1:9430/_graph/notes/ego?node=0ddfc0b862bd2b7ee0b308b8ce4768c9&hops=2&include_nodes=true'">COPY COMMAND</button>- <span class="hero-proof">Expand two hops from one document. Three hops returns HTTP 400.</span>- </div>- <h2>What XERJ actually builds</h2>- <p>The XERJ second brain is a search engine with a graph-shaped index over its own documents, not a graph database. Deterministic detectors read the indexed files and write edges into an index named <code class="inline">.xerj-memory-{brain}-edges</code>.</p>- <p>One <code class="inline">autoindex</code> run built ours. The terminal line reports the whole result, including the counts that did not happen.</p>- <pre class="code"><code class="language-text">graph: 7 edges → .xerj-memory-notes-edges (samedir@2 2, sequence@2 3, wikilink@2 2);-0 unresolved, 0 ambiguous, 0 capped, 0 self-dropped, 0 invalidated-</code></pre>- <h2>What the overview reports</h2>- <p><code class="inline">GET /_graph/{brain}/overview</code> answers with totals, the detector split, the type split, and the hubs by in-degree and out-degree. Our 3-file notes folder produced 6 nodes and 7 live edges, with 0 invalidated.</p>- <table>- <thead><tr><th>detector</th><th>live edges</th><th>edge type</th></tr></thead>- <tbody>- <tr><td><code class="inline">sequence@2</code></td><td>3</td><td><code class="inline">sequence</code></td></tr>- <tr><td><code class="inline">samedir@2</code></td><td>2</td><td><code class="inline">same_dir</code></td></tr>- <tr><td><code class="inline">wikilink@2</code></td><td>2</td><td><code class="inline">wikilink</code></td></tr>- </tbody>- </table>- <p>The overview also names the embedder in use, which was <code class="inline">lexical-feature-hash</code> on our default node. The embedder name matters here. The same brain backs the optional <code class="inline">semantic: true</code> recall mode, and the default embedder is lexical feature hashing rather than a neural model.</p>- <h2>The detectors are structural</h2>- <p>Seven of the eight edge detectors read structure: wikilinks, Markdown links, hrefs, path citations, section order and directory chains. The one content-reading detector compares unstemmed strings, so it matches literal text rather than concepts.</p>- <p>Every edge in our capture came from a structural detector. A <code class="inline">wikilink</code> edge came from the literal line <code class="inline">See [[00-overview]] for context.</code>, and a <code class="inline">same_dir</code> edge came from two files sharing a directory.</p>- <p>Structural detection is the reason the output is stable. The same folder always produces the same edges, with no model in the path to drift.</p>- <h2>Expansion is bounded, and says so</h2>- <p>Ego expansion answers at 1 or 2 hops. Our 1-hop request from one document returned 3 edges and 3 neighbors, and the 2-hop request from the same seed returned 6 edges.</p>- <p>A 3-hop request is a hard refusal rather than a truncation.</p>- <pre class="code"><code class="language-text">hops is capped at 2: XERJ's second brain is a relationship layer over documents,-not a graph database (no Cypher, no shortest-path, no variable-depth traversal).-Iterate: expand again from this response's 'reachable' ids.-</code></pre>- <p>Every other bound is reported rather than silent. The response carries a <code class="inline">not_shown</code> object with counts for clipped edges, a clipped frontier, excluded expired edges and type-filtered edges, and ours were all 0.</p>- <table>- <thead><tr><th>bound</th><th>limit</th></tr></thead>- <tbody>- <tr><td>hops</td><td>2</td></tr>- <tr><td>frontier ids per hop</td><td>4,096</td></tr>- <tr><td>result edges per request</td><td>100,000</td></tr>- <tr><td>ego seeds</td><td>64</td></tr>- <tr><td>ego edges per response</td><td>1,000</td></tr>- <tr><td>restrict prefilter ids</td><td>10,000</td></tr>- </tbody>- </table>- <h2>Using links inside recall</h2>- <p>Recall accepts a <code class="inline">graph</code> object with a required <code class="inline">mode</code> of <code class="inline">restrict</code> or <code class="inline">blend</code>. The other fields are <code class="inline">seeds</code>, <code class="inline">hops</code> of 1 or 2, <code class="inline">types</code>, a <code class="inline">weight</code> that defaults to 0.3, and <code class="inline">as_of</code>. Proximity is 1.0 for a seed and <code class="inline">0.5^hop</code> times the clamped weight otherwise.</p>- <p>The link index earns its place for an agent here. Use <code class="inline">restrict</code> to confine recall to documents near a known anchor. Use <code class="inline">blend</code> to shift ranking while keeping every candidate.</p>- <h2>When to choose something else</h2>- <p>Pick a real graph database when you need variable-depth traversal, shortest paths, a query language or reasoning over typed entities. XERJ is not a graph database and answers none of those. The refusal body says so rather than degrading quietly.</p>- <p>Pick the XERJ link index when the relationships are already in your files and you want the same answer every run. One single-node process is then the whole budget.</p>- <h2>What this capture does not show</h2>- <p>The fixture is a 3-file notes folder that produced 6 documents and 7 edges, so the counts demonstrate the mechanism and nothing about scale. Only 3 of the 8 detectors fired on this fixture. No large brain, no multi-node run and no recall-with-graph measurement exists in this pass.</p>- <h2>FAQ</h2>- <h3>Does XERJ give me a graph database for agent memory?</h3>- <p>No. XERJ builds a bounded link index over its own indexed documents. It has no Cypher, no shortest-path and no variable-depth traversal.</p>- <h3>How many hops can I traverse?</h3>- <p>One or two. A 3-hop request returns HTTP 400 with the cap stated, and the response tells you to expand again from the returned reachable ids.</p>- <h3>What creates the links?</h3>- <p>Deterministic detectors. Our run used <code class="inline">wikilink@2</code>, <code class="inline">sequence@2</code> and <code class="inline">samedir@2</code>, which read wikilinks, section order and shared directories.</p>- <h3>Are the detectors reading meaning?</h3>- <p>No. Seven of the eight detectors are structural, and the one content-reading detector compares unstemmed strings, so it matches text rather than concepts.</p>- <h3>What are the graph bounds?</h3>- <p>Hops cap 2, 4,096 frontier ids per hop, 100,000 result edges per request, 64 ego seeds, 1,000 ego edges and 10,000 restrict ids.</p>- <h3>Can recall use the links?</h3>- <p>Yes. Pass a <code class="inline">graph</code> object to <code class="inline">_recall</code> with <code class="inline">mode</code> set to <code class="inline">restrict</code> or <code class="inline">blend</code>, plus <code class="inline">seeds</code>, <code class="inline">hops</code> of 1 or 2, and an optional <code class="inline">weight</code>.</p>- <h3>Where do the edges live?</h3>- <p>In an index named <code class="inline">.xerj-memory-{brain}-edges</code>. <code class="inline">autoindex</code> creates one per indexed folder by default, named after the folder.</p>- <h2>Related</h2>- <ul>- <li><a href="/answers/evidence-for-agent-memory-links">How can agent-memory links retain evidence?</a></li>- <li><a href="/answers/private-agent-memory-namespaces">How do I give two agents private memory on one laptop?</a></li>- <li><a href="/answers/coding-agent-memory-across-sessions">How do people store user preferences so an agent can recall them next week?</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/local-embeddings-without-openai-api.html b/landing/answers/local-embeddings-without-openai-api.htmlindex 9e08652c0..3857a3a72 100644--- a/landing/answers/local-embeddings-without-openai-api.html+++ b/landing/answers/local-embeddings-without-openai-api.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/local-embeddings-without-openai-api.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/local-embeddings-without-openai-api">@@ -139,7 +139,89 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>I WANT LOCAL SEARCH THAT WORKS OFFLINE, NO CLOUD EMBEDDINGS. WHAT ARE MY OPTIONS?</div>+ <div class="kicker"><span>ANSWERS · EMBEDDINGS: LOCAL EXECUTION</span></div>+ <h1 class="h1-long">I want local search that works offline, no cloud embeddings. What are my options?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-23</div>+ <p><strong>TL;DR</strong> — XERJ embeds locally in two ways. The default embedder is lexical feature hashing inside the binary, which needs no model and made 0 outbound connections in our capture. The flag <code class="inline">--embed-mode neural</code> loads <code class="inline">all-MiniLM-L6-v2</code> from a local cache and runs it on the CPU.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent. Read https://xerj.org/llms.txt, start one XERJ node with --embed-mode neural and a run-local HF_HOME, index 20 documents twice, and report both wall-clock times together with the output of GET /v1/embedding/identity.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start one XERJ node with --embed-mode neural and a run-local HF_HOME, index 20 documents twice, and report both wall-clock times together with the output of GET /v1/embedding/identity.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XGET 'http://127.0.0.1:9440/v1/embedding/identity'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XGET 'http://127.0.0.1:9440/v1/embedding/identity'">COPY COMMAND</button>+ <span class="hero-proof">Confirm the default node uses the built-in lexical embedder and downloads no model.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>env HF_HOME=./hf-cache xerj --insecure --data-dir ./xerj-neural --embed-mode neural</code>+ <button type="button" class="prompt-copy" data-copy="env HF_HOME=./hf-cache xerj --insecure --data-dir ./xerj-neural --embed-mode neural">COPY COMMAND</button>+ <span class="hero-proof">Start the opt-in neural embedder with a run-local model cache. HF_HOME keeps the model download inside ./hf-cache instead of your home directory.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XGET 'http://127.0.0.1:9200/v1/embedding/identity'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XGET 'http://127.0.0.1:9200/v1/embedding/identity'">COPY COMMAND</button>+ <span class="hero-proof">Read the identity of the node you just started. The capture returned backend neural and resumable false.</span>+ </div>+ <h2>Two local embedders, one flag apart</h2>+ <p>XERJ ships two local embedders and picks the lexical one unless you say otherwise. The default resolves to lexical feature hashing: 384 dimensions, no model file, no training and no semantics. The flag <code class="inline">--embed-mode neural</code> loads <code class="inline">all-MiniLM-L6-v2</code>, a 6-layer BERT model, and pins execution to the CPU.</p>+ <p>Ask the node which one it loaded rather than inferring it from the request shape.</p>+ <pre class="code"><code class="language-json">{"data":{"backend":"lexical","dimensions":384,"resumable":true,+ "semantic_contract":"semantic_text-derived-vector.v1","version":1}}+</code></pre>+ <p>Under <code class="inline">--embed-mode neural</code> the same route answered differently.</p>+ <pre class="code"><code class="language-json">{"data":{"backend":"neural","resumable":false,+ "non_resumable_reason":"the neural model is not content-addressed; use a fresh autoindex state after changing it",+ "semantic_contract":"semantic_text-derived-vector.v1","version":1}}+</code></pre>+ <h2>The default path needs no model at all</h2>+ <p>XERJ compiles the lexical embedder into the binary, so a default node embeds <code class="inline">semantic_text</code> fields with zero model files and zero downloads. Our network sampler watched a default node for its entire life and counted 0 non-loopback peers across 42 samples covering 3.51 s.</p>+ <p>That sampler polls <code class="inline">/proc/net/tcp</code> every 50 ms. A connection that opens and closes inside one gap escapes it, so cite the number with that limit attached.</p>+ <p>The trade is retrieval quality. On the same 8 judged queries, the lexical default scored 0.4167 precision at 3 while the neural embedder scored 0.6667 with recall 1.0.</p>+ <h2>What the neural run actually measured</h2>+ <p>Our capture started the neural node once with <code class="inline">HF_HOME</code> pointed at a run-local directory. The first 20-document <code class="inline">_bulk</code> call took 0.571 s including model load. A second <code class="inline">_bulk</code> of the same size took 0.245 s from cache.</p>+ <p>The node's whole life was 2.252 s.</p>+ <p>Read those two numbers as an observation, not a rate. Two single <code class="inline">_bulk</code> calls of 20 documents each is not a throughput measurement. Other workloads shared this host throughout the run.</p>+ <h2>No cold-download time exists in this capture</h2>+ <p>The <code class="inline">all-MiniLM-L6-v2</code> model was already in this machine's shared HuggingFace cache at 88 MB before the run started. Our harness pointed <code class="inline">HF_HOME</code> at a run-local directory and the model still loaded in under a second. This run therefore never exercised the first-download condition.</p>+ <p>This pass publishes no download time. For a planning figure, use the project's own listed throughput weakness of about 15 docs/s on short strings.</p>+ <h2>Air-gapped and offline use</h2>+ <p>XERJ downloads the neural model from HuggingFace Hub on first use and caches it after that. Set <code class="inline">embedding.local_model_dir</code> to a directory you populated yourself when the node has no outbound network.</p>+ <p>One security note belongs beside that instruction. XERJ pins no checksum on the Hub download, so the integrity guarantee is TLS plus the Hub, not a digest that XERJ verifies for you.</p>+ <h2>Changing embedders is not free</h2>+ <p>XERJ refuses a backend or model swap on a populated <code class="inline">semantic_text</code> index rather than mixing two vector spaces in one field. The identity route answered <code class="inline">"resumable": false</code> under neural mode for the same reason.</p>+ <p>Plan a fresh index and a fresh <code class="inline">--state-dir</code> whenever you move between lexical and neural. A single-node XERJ holds no second copy. Run the switch against a new prefix, then delete the old index after the new one answers.</p>+ <h2>What this capture does not show</h2>+ <p>This pass measured one node on one shared host with the model already cached. The timings carry the host's 1-minute load average and are not a benchmark. No first-download figure, no documents-per-second rate and no multi-node result exists in this run.</p>+ <h2>FAQ</h2>+ <h3>I want local search that works offline, no cloud embeddings. What are my options?</h3>+ <p>Two, and both stay on the host. The default embedder is lexical feature hashing inside the binary, and <code class="inline">--embed-mode neural</code> runs a downloaded MiniLM model on the local CPU.</p>+ <h3>How do I run embeddings locally without the OpenAI API?</h3>+ <p>Start the node as usual for the lexical default, or with <code class="inline">--embed-mode neural</code> for the local model. Neither path needs an API key.</p>+ <h3>Can I do RAG without a vector database?</h3>+ <p>Yes. XERJ keeps the inverted index and the dense vector in one index, so retrieval for a prompt is a single <code class="inline">_search</code> call against the folder you indexed.</p>+ <h3>How do I search a private folder without uploading it?</h3>+ <p>Index it in place with <code class="inline">xerj autoindex</code>. Our sampler observed 0 non-loopback peers across the entire life of a default node; it samples every 50 ms, so it is not a packet capture.</p>+ <h3>Which model does neural mode use?</h3>+ <p><code class="inline">sentence-transformers/all-MiniLM-L6-v2</code>, a 6-layer BERT model with 384 dimensions read from the loaded model config. XERJ downloads it from HuggingFace Hub on first use.</p>+ <h3>How do I run this air-gapped?</h3>+ <p>Point <code class="inline">embedding.local_model_dir</code> at a model you placed on disk yourself. XERJ pins no checksum on the Hub download, so the integrity guarantee is TLS plus the Hub.</p>+ <h3>Can I switch embedders on an existing index?</h3>+ <p>No. XERJ refuses a backend swap on a populated semantic index rather than mixing vector spaces. Start a fresh autoindex state instead.</p>+ <h2>Related</h2>+ <ul>+ <li><a href="/answers/do-search-embeddings-help">When should I turn on neural embeddings, and when is the lexical default enough?</a></li>+ <li><a href="/answers/store-agent-memory-without-llm-call">How do I stop an agent memory store from filling with near-duplicate notes?</a></li>+ <li><a href="/answers/rag-without-vector-database">How do I build RAG without a vector database?</a></li>+ <li><a href="/compare/xerj-vs-khoj">What's a simpler alternative to Khoj if I only need search and memory?</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,88 +324,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>I WANT LOCAL SEARCH THAT WORKS OFFLINE, NO CLOUD EMBEDDINGS. WHAT ARE MY OPTIONS?</div>- <div class="kicker"><span>ANSWERS · EMBEDDINGS: LOCAL EXECUTION</span></div>- <h1>I want local search that works offline, no cloud embeddings. What are my options?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-23</div>- <p><strong>TL;DR</strong> — XERJ embeds locally in two ways. The default embedder is lexical feature hashing inside the binary, which needs no model and made 0 outbound connections in our capture. The flag <code class="inline">--embed-mode neural</code> loads <code class="inline">all-MiniLM-L6-v2</code> from a local cache and runs it on the CPU.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent. Read https://xerj.org/llms.txt, start one XERJ node with --embed-mode neural and a run-local HF_HOME, index 20 documents twice, and report both wall-clock times together with the output of GET /v1/embedding/identity.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start one XERJ node with --embed-mode neural and a run-local HF_HOME, index 20 documents twice, and report both wall-clock times together with the output of GET /v1/embedding/identity.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XGET 'http://127.0.0.1:9440/v1/embedding/identity'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XGET 'http://127.0.0.1:9440/v1/embedding/identity'">COPY COMMAND</button>- <span class="hero-proof">Confirm the default node uses the built-in lexical embedder and downloads no model.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>env HF_HOME=./hf-cache xerj --insecure --data-dir ./xerj-neural --embed-mode neural</code>- <button type="button" class="prompt-copy" data-copy="env HF_HOME=./hf-cache xerj --insecure --data-dir ./xerj-neural --embed-mode neural">COPY COMMAND</button>- <span class="hero-proof">Start the opt-in neural embedder with a run-local model cache. HF_HOME keeps the model download inside ./hf-cache instead of your home directory.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XGET 'http://127.0.0.1:9200/v1/embedding/identity'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XGET 'http://127.0.0.1:9200/v1/embedding/identity'">COPY COMMAND</button>- <span class="hero-proof">Read the identity of the node you just started. The capture returned backend neural and resumable false.</span>- </div>- <h2>Two local embedders, one flag apart</h2>- <p>XERJ ships two local embedders and picks the lexical one unless you say otherwise. The default resolves to lexical feature hashing: 384 dimensions, no model file, no training and no semantics. The flag <code class="inline">--embed-mode neural</code> loads <code class="inline">all-MiniLM-L6-v2</code>, a 6-layer BERT model, and pins execution to the CPU.</p>- <p>Ask the node which one it loaded rather than inferring it from the request shape.</p>- <pre class="code"><code class="language-json">{"data":{"backend":"lexical","dimensions":384,"resumable":true,- "semantic_contract":"semantic_text-derived-vector.v1","version":1}}-</code></pre>- <p>Under <code class="inline">--embed-mode neural</code> the same route answered differently.</p>- <pre class="code"><code class="language-json">{"data":{"backend":"neural","resumable":false,- "non_resumable_reason":"the neural model is not content-addressed; use a fresh autoindex state after changing it",- "semantic_contract":"semantic_text-derived-vector.v1","version":1}}-</code></pre>- <h2>The default path needs no model at all</h2>- <p>XERJ compiles the lexical embedder into the binary, so a default node embeds <code class="inline">semantic_text</code> fields with zero model files and zero downloads. Our network sampler watched a default node for its entire life and counted 0 non-loopback peers across 42 samples covering 3.51 s.</p>- <p>That sampler polls <code class="inline">/proc/net/tcp</code> every 50 ms. A connection that opens and closes inside one gap escapes it, so cite the number with that limit attached.</p>- <p>The trade is retrieval quality. On the same 8 judged queries, the lexical default scored 0.4167 precision at 3 while the neural embedder scored 0.6667 with recall 1.0.</p>- <h2>What the neural run actually measured</h2>- <p>Our capture started the neural node once with <code class="inline">HF_HOME</code> pointed at a run-local directory. The first 20-document <code class="inline">_bulk</code> call took 0.571 s including model load. A second <code class="inline">_bulk</code> of the same size took 0.245 s from cache.</p>- <p>The node's whole life was 2.252 s.</p>- <p>Read those two numbers as an observation, not a rate. Two single <code class="inline">_bulk</code> calls of 20 documents each is not a throughput measurement. Other workloads shared this host throughout the run.</p>- <h2>No cold-download time exists in this capture</h2>- <p>The <code class="inline">all-MiniLM-L6-v2</code> model was already in this machine's shared HuggingFace cache at 88 MB before the run started. Our harness pointed <code class="inline">HF_HOME</code> at a run-local directory and the model still loaded in under a second. This run therefore never exercised the first-download condition.</p>- <p>This pass publishes no download time. For a planning figure, use the project's own listed throughput weakness of about 15 docs/s on short strings.</p>- <h2>Air-gapped and offline use</h2>- <p>XERJ downloads the neural model from HuggingFace Hub on first use and caches it after that. Set <code class="inline">embedding.local_model_dir</code> to a directory you populated yourself when the node has no outbound network.</p>- <p>One security note belongs beside that instruction. XERJ pins no checksum on the Hub download, so the integrity guarantee is TLS plus the Hub, not a digest that XERJ verifies for you.</p>- <h2>Changing embedders is not free</h2>- <p>XERJ refuses a backend or model swap on a populated <code class="inline">semantic_text</code> index rather than mixing two vector spaces in one field. The identity route answered <code class="inline">"resumable": false</code> under neural mode for the same reason.</p>- <p>Plan a fresh index and a fresh <code class="inline">--state-dir</code> whenever you move between lexical and neural. A single-node XERJ holds no second copy. Run the switch against a new prefix, then delete the old index after the new one answers.</p>- <h2>What this capture does not show</h2>- <p>This pass measured one node on one shared host with the model already cached. The timings carry the host's 1-minute load average and are not a benchmark. No first-download figure, no documents-per-second rate and no multi-node result exists in this run.</p>- <h2>FAQ</h2>- <h3>I want local search that works offline, no cloud embeddings. What are my options?</h3>- <p>Two, and both stay on the host. The default embedder is lexical feature hashing inside the binary, and <code class="inline">--embed-mode neural</code> runs a downloaded MiniLM model on the local CPU.</p>- <h3>How do I run embeddings locally without the OpenAI API?</h3>- <p>Start the node as usual for the lexical default, or with <code class="inline">--embed-mode neural</code> for the local model. Neither path needs an API key.</p>- <h3>Can I do RAG without a vector database?</h3>- <p>Yes. XERJ keeps the inverted index and the dense vector in one index, so retrieval for a prompt is a single <code class="inline">_search</code> call against the folder you indexed.</p>- <h3>How do I search a private folder without uploading it?</h3>- <p>Index it in place with <code class="inline">xerj autoindex</code>. Our sampler observed 0 non-loopback peers across the entire life of a default node; it samples every 50 ms, so it is not a packet capture.</p>- <h3>Which model does neural mode use?</h3>- <p><code class="inline">sentence-transformers/all-MiniLM-L6-v2</code>, a 6-layer BERT model with 384 dimensions read from the loaded model config. XERJ downloads it from HuggingFace Hub on first use.</p>- <h3>How do I run this air-gapped?</h3>- <p>Point <code class="inline">embedding.local_model_dir</code> at a model you placed on disk yourself. XERJ pins no checksum on the Hub download, so the integrity guarantee is TLS plus the Hub.</p>- <h3>Can I switch embedders on an existing index?</h3>- <p>No. XERJ refuses a backend swap on a populated semantic index rather than mixing vector spaces. Start a fresh autoindex state instead.</p>- <h2>Related</h2>- <ul>- <li><a href="/answers/do-search-embeddings-help">When should I turn on neural embeddings, and when is the lexical default enough?</a></li>- <li><a href="/answers/store-agent-memory-without-llm-call">How do I stop an agent memory store from filling with near-duplicate notes?</a></li>- <li><a href="/answers/rag-without-vector-database">How do I build RAG without a vector database?</a></li>- <li><a href="/compare/xerj-vs-khoj">What's a simpler alternative to Khoj if I only need search and memory?</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/mcp-api-search-or-vector-search.html b/landing/answers/mcp-api-search-or-vector-search.htmlindex 0b446d48d..35363469f 100644--- a/landing/answers/mcp-api-search-or-vector-search.html+++ b/landing/answers/mcp-api-search-or-vector-search.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/mcp-api-search-or-vector-search.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/mcp-api-search-or-vector-search">@@ -139,109 +139,7 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class="active"><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>SHOULD AN AGENT USE API SEARCH OR VECTOR SEARCH?</div><div class="kicker"><span>ANSWERS · AGENT ACCESS AND MEMORY</span></div>@@ -355,6 +253,108 @@<li><a href="/answers/give-chatgpt-claude-local-file-access">Can ChatGPT search a folder on my laptop, or do I need something else?</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class="active"><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/notion-export-duplicate-search-results.html b/landing/answers/notion-export-duplicate-search-results.htmlindex dd5a9830f..461253b2e 100644--- a/landing/answers/notion-export-duplicate-search-results.html+++ b/landing/answers/notion-export-duplicate-search-results.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/notion-export-duplicate-search-results.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/notion-export-duplicate-search-results">@@ -139,7 +139,103 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>WHY DOES MY NOTION EXPORT DUPLICATE TITLES?</div>+ <div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>+ <h1>Why does my Notion export duplicate titles?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-21</div>+ <p><strong>TL;DR</strong> — The duplicate titles come from the export layout and from the 2 documents XERJ writes per Markdown file. Re-indexing is not the cause. A captured run indexed the same export twice and returned 8 documents both times, with byte-identical ids.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent. Read https://xerj.org/llms.txt, start a local XERJ node, unzip a Notion Markdown and CSV workspace export, run `xerj autoindex ./notion-export --url http://127.0.0.1:9200 --prefix nt --progress plain` twice, POST a match_all sorted by ax_path and ax_locator after each run, compare the returned _id lists byte for byte, and report every file the autoindex-catalog marked junk with its reason.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start a local XERJ node, unzip a Notion Markdown and CSV workspace export, run `xerj autoindex ./notion-export --url http://127.0.0.1:9200 --prefix nt --progress plain` twice, POST a match_all sorted by ax_path and ax_locator after each run, compare the returned _id lists byte for byte, and report every file the autoindex-catalog marked junk with its reason.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj autoindex ./notion-export --url http://127.0.0.1:9200 --prefix nt --progress plain</code>+ <button type="button" class="prompt-copy" data-copy="xerj autoindex ./notion-export --url http://127.0.0.1:9200 --prefix nt --progress plain">COPY COMMAND</button>+ <span class="hero-proof">Index the unzipped Notion export. Run the same line twice to test for duplicates.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST http://127.0.0.1:9200/nt-*/_search -H 'content-type: application/json' -d '{"query":{"match_all":{}},"size":100,"_source":["ax_path","ax_format","ax_locator"],"sort":[{"ax_path":"asc"},{"ax_locator":"asc"}],"track_total_hits":true}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/nt-*/_search -H 'content-type: application/json' -d '{"query":{"match_all":{}},"size":100,"_source":["ax_path","ax_format","ax_locator"],"sort":[{"ax_path":"asc"},{"ax_locator":"asc"}],"track_total_hits":true}'">COPY COMMAND</button>+ <span class="hero-proof">List every document with its path and locator, in a stable order, after each run.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST http://127.0.0.1:9200/nt-*/_search -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"meerkat quarterly roadmap"}},"size":10,"_source":["ax_path","ax_format"],"track_total_hits":true}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/nt-*/_search -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"meerkat quarterly roadmap"}},"size":10,"_source":["ax_path","ax_format"],"track_total_hits":true}'">COPY COMMAND</button>+ <span class="hero-proof">Find a phrase that Notion exported into 2 different pages.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST http://127.0.0.1:9200/autoindex-catalog/_search -H 'content-type: application/json' -d '{"query":{"term":{"doc_kind":"file"}},"size":500,"_source":["path","format","status","records","reason"],"sort":[{"path":"asc"}]}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/autoindex-catalog/_search -H 'content-type: application/json' -d '{"query":{"term":{"doc_kind":"file"}},"size":500,"_source":["path","format","status","records","reason"],"sort":[{"path":"asc"}]}'">COPY COMMAND</button>+ <span class="hero-proof">List every exported file with its family, status and refusal reason.</span>+ </div>+ <h2>The export layout repeats the title</h2>+ <p>Notion writes a page as <code class="inline"><Title> <32-hex>.md</code> and puts its children into a sibling directory named <code class="inline"><Title> <32-hex>/</code>. The same title text therefore appears in a file name and in a directory name for one page.</p>+ <p>A phrase that Notion copied into both the parent page and a child page returned 2 hits, at <code class="inline">Engineering Handbook a1b2c3d4e5f60718293a4b5c6d7e8f90.md</code> and at <code class="inline">Engineering Handbook .../Runbooks a1b2c3d4e5f60718293a4b5c6d7e8f90.md</code>. Both hits are correct. The text is genuinely in 2 exported files.</p>+ <h2>Each Markdown file produces 2 documents</h2>+ <p>XERJ writes 1 whole-file document plus 1 document per passage. For a short Notion page that is a pair, and both documents carry the same <code class="inline">ax_path</code> and the same title text.</p>+ <table>+ <thead><tr><th><code class="inline">ax_path</code></th><th><code class="inline">ax_locator</code></th><th><code class="inline">ax_format</code></th></tr></thead>+ <tbody>+ <tr><td><code class="inline">Engineering Handbook a1b2c3d4e5f60718293a4b5c6d7e8f90.md</code></td><td><code class="inline">file</code></td><td><code class="inline">txt-prose</code></td></tr>+ <tr><td><code class="inline">Engineering Handbook a1b2c3d4e5f60718293a4b5c6d7e8f90.md</code></td><td><code class="inline">s0</code></td><td><code class="inline">txt-prose</code></td></tr>+ <tr><td><code class="inline">Engineering Handbook .../Runbooks a1b2c3d4e5f60718293a4b5c6d7e8f90.md</code></td><td><code class="inline">file</code></td><td><code class="inline">txt-prose</code></td></tr>+ <tr><td><code class="inline">Engineering Handbook .../Runbooks a1b2c3d4e5f60718293a4b5c6d7e8f90.md</code></td><td><code class="inline">s0</code></td><td><code class="inline">txt-prose</code></td></tr>+ </tbody>+ </table>+ <p>Group the hits on <code class="inline">ax_path</code> in your client if you want 1 result per page. Sort on <code class="inline">ax_path</code> and then <code class="inline">ax_locator</code> to make the pairs visible.</p>+ <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9200/nt-*/_search' \+ -H 'content-type: application/json' \+ -d '{"query":{"match_all":{}},"size":100,"_source":["ax_path","ax_format","ax_locator"],"sort":[{"ax_path":"asc"},{"ax_locator":"asc"}],"track_total_hits":true}'+</code></pre>+ <h2>Re-indexing is idempotent</h2>+ <p>The captured run indexed one Notion Markdown and CSV export, then indexed the same folder again with the same command. Both runs returned 8 documents. Every <code class="inline">_id</code> matched byte for byte, and the second run added nothing.</p>+ <p>The second run reported <code class="inline">files=0 records=8</code> at the terminal. XERJ recognized every file as unchanged and submitted no new source documents.</p>+ <pre class="code"><code class="language-sh">xerj autoindex ./notion-export --url http://127.0.0.1:9200 --prefix nt --progress plain+</code></pre>+ <h2>Watch for database pages refused as YAML</h2>+ <p>If most of an exported page's non-blank lines read as YAML — a <code class="inline">key: value</code> line, or a line opening with <code class="inline">- </code> — the family sniffer classifies the page as <code class="inline">yaml</code>. Notion writes a database row page as a title over <code class="inline">Status:</code>, <code class="inline">Owner:</code> and <code class="inline">Decided:</code> lines, which is exactly that shape. YAML parsing then fails and XERJ drops the file with 0 documents. There is no fallback to prose, and the only terminal signal is a junk file count. A <code class="inline">---</code> front-matter block at the top of a Markdown file does not trigger this on its own: a file that opens with front matter is classified by the body under it.</p>+ <p>All 3 database row pages under <code class="inline">Decisions 0f1e2d3c4b5a69788796a5b4c3d2e1f0/</code> were refused this way, with the reason <code class="inline">no records extracted (yaml candidate family, 1 junk lines)</code>. The run reported <code class="inline">junk_files=3</code>.</p>+ <p>A minimal 3-file reproduction shows the same behavior outside Notion. XERJ indexed <code class="inline">prose-no-colons.txt</code> as <code class="inline">txt-prose</code>. It gave <code class="inline">speaker-colons.txt</code> and <code class="inline">markdown-bullets.md</code> the <code class="inline">yaml</code> family and dropped both.</p>+ <h2>The database CSV still works</h2>+ <p>Notion also writes each database to <code class="inline"><Name> <id>_all.csv</code>. XERJ gave that file the <code class="inline">csv</code> family and produced 4 documents: 1 whole-file document and 3 row documents with locators <code class="inline">r0</code>, <code class="inline">r1</code> and <code class="inline">r2</code>.</p>+ <p>The CSV therefore carries the rows that the refused Markdown pages lost. Read <code class="inline">autoindex-catalog</code> after every run and compare the file count with the document count before you report either.</p>+ <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9200/autoindex-catalog/_search' \+ -H 'content-type: application/json' \+ -d '{"query":{"term":{"doc_kind":"file"}},"size":500,"_source":["path","format","status","records","reason"],"sort":[{"path":"asc"}]}'+</code></pre>+ <h2>What this capture does not show</h2>+ <p>The export folder in this run came from the fixture generator, written to Notion's own file naming. Notion never ran on the host, and no workspace was connected. XERJ has no Notion connector and fetches nothing over the network.</p>+ <p>XERJ runs single-node here, with no replication and no failover. The default embedder in XERJ is lexical feature hashing, so a query and a paraphrase that share no words do not match. Neural embeddings are opt-in through <code class="inline">--embed-mode neural</code>.</p>+ <p>Every number above comes from RUN-B, captured on 2026-08-21. The binary was a <code class="inline">ci-test</code> profile build, so no wall-clock figure from this run is published as a performance number.</p>+ <h2>FAQ</h2>+ <h3>Does indexing a Notion export twice create duplicates?</h3>+ <p>No. The captured run indexed the same export twice and got 8 documents both times, with byte-identical ids and nothing added.</p>+ <h3>Why do I see 2 results for the same Markdown page?</h3>+ <p>Each Markdown file produced 2 documents: one whole-file document with <code class="inline">ax_locator</code> <code class="inline">file</code>, and one passage document with <code class="inline">ax_locator</code> <code class="inline">s0</code>.</p>+ <h3>Why does one title appear in 2 different paths?</h3>+ <p>Notion writes a page as <code class="inline"><Title> <32-hex>.md</code> and its children into a sibling <code class="inline"><Title> <32-hex>/</code> directory. Text copied into both pages therefore matches twice.</p>+ <h3>Why did my Notion database rows return nothing?</h3>+ <p>All 3 database row pages were classified as <code class="inline">yaml</code> and refused with 0 documents. A prose file whose non-blank lines mostly read as <code class="inline">key: value</code> can be dropped this way.</p>+ <h3>How do I collapse duplicate hits into 1 page?</h3>+ <p>Group the returned hits on <code class="inline">ax_path</code> in your client. The captured listing query sorts on <code class="inline">ax_path</code> and then <code class="inline">ax_locator</code>, which makes the pairs visible.</p>+ <h3>Does the CSV that Notion writes for a database work?</h3>+ <p>Yes. The captured run indexed <code class="inline">Decisions <id>_all.csv</code> as <code class="inline">csv</code> with 4 documents: 1 whole-file document and 3 row documents.</p>+ <h3>Where do these results come from?</h3>+ <p>All results come from run RUN-B, captured on 2026-08-21 on a 16-core AMD EPYC 9645 host.</p>+ <h2>Related</h2>+ <ul>+ <li><a href="/answers/index-markdown-into-elasticsearch-api">How do I index Markdown into the Elasticsearch API?</a></li>+ <li><a href="/answers/catalog-files-with-autoindex-map">How should an agent figure out what's in a messy data folder before searching?</a></li>+ <li><a href="/answers/resume-interrupted-autoindex-run">The indexer died overnight. Do I have to start over?</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,102 +338,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>WHY DOES MY NOTION EXPORT DUPLICATE TITLES?</div>- <div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>- <h1>Why does my Notion export duplicate titles?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-21</div>- <p><strong>TL;DR</strong> — The duplicate titles come from the export layout and from the 2 documents XERJ writes per Markdown file. Re-indexing is not the cause. A captured run indexed the same export twice and returned 8 documents both times, with byte-identical ids.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent. Read https://xerj.org/llms.txt, start a local XERJ node, unzip a Notion Markdown and CSV workspace export, run `xerj autoindex ./notion-export --url http://127.0.0.1:9200 --prefix nt --progress plain` twice, POST a match_all sorted by ax_path and ax_locator after each run, compare the returned _id lists byte for byte, and report every file the autoindex-catalog marked junk with its reason.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start a local XERJ node, unzip a Notion Markdown and CSV workspace export, run `xerj autoindex ./notion-export --url http://127.0.0.1:9200 --prefix nt --progress plain` twice, POST a match_all sorted by ax_path and ax_locator after each run, compare the returned _id lists byte for byte, and report every file the autoindex-catalog marked junk with its reason.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj autoindex ./notion-export --url http://127.0.0.1:9200 --prefix nt --progress plain</code>- <button type="button" class="prompt-copy" data-copy="xerj autoindex ./notion-export --url http://127.0.0.1:9200 --prefix nt --progress plain">COPY COMMAND</button>- <span class="hero-proof">Index the unzipped Notion export. Run the same line twice to test for duplicates.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST http://127.0.0.1:9200/nt-*/_search -H 'content-type: application/json' -d '{"query":{"match_all":{}},"size":100,"_source":["ax_path","ax_format","ax_locator"],"sort":[{"ax_path":"asc"},{"ax_locator":"asc"}],"track_total_hits":true}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/nt-*/_search -H 'content-type: application/json' -d '{"query":{"match_all":{}},"size":100,"_source":["ax_path","ax_format","ax_locator"],"sort":[{"ax_path":"asc"},{"ax_locator":"asc"}],"track_total_hits":true}'">COPY COMMAND</button>- <span class="hero-proof">List every document with its path and locator, in a stable order, after each run.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST http://127.0.0.1:9200/nt-*/_search -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"meerkat quarterly roadmap"}},"size":10,"_source":["ax_path","ax_format"],"track_total_hits":true}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/nt-*/_search -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"meerkat quarterly roadmap"}},"size":10,"_source":["ax_path","ax_format"],"track_total_hits":true}'">COPY COMMAND</button>- <span class="hero-proof">Find a phrase that Notion exported into 2 different pages.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST http://127.0.0.1:9200/autoindex-catalog/_search -H 'content-type: application/json' -d '{"query":{"term":{"doc_kind":"file"}},"size":500,"_source":["path","format","status","records","reason"],"sort":[{"path":"asc"}]}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/autoindex-catalog/_search -H 'content-type: application/json' -d '{"query":{"term":{"doc_kind":"file"}},"size":500,"_source":["path","format","status","records","reason"],"sort":[{"path":"asc"}]}'">COPY COMMAND</button>- <span class="hero-proof">List every exported file with its family, status and refusal reason.</span>- </div>- <h2>The export layout repeats the title</h2>- <p>Notion writes a page as <code class="inline"><Title> <32-hex>.md</code> and puts its children into a sibling directory named <code class="inline"><Title> <32-hex>/</code>. The same title text therefore appears in a file name and in a directory name for one page.</p>- <p>A phrase that Notion copied into both the parent page and a child page returned 2 hits, at <code class="inline">Engineering Handbook a1b2c3d4e5f60718293a4b5c6d7e8f90.md</code> and at <code class="inline">Engineering Handbook .../Runbooks a1b2c3d4e5f60718293a4b5c6d7e8f90.md</code>. Both hits are correct. The text is genuinely in 2 exported files.</p>- <h2>Each Markdown file produces 2 documents</h2>- <p>XERJ writes 1 whole-file document plus 1 document per passage. For a short Notion page that is a pair, and both documents carry the same <code class="inline">ax_path</code> and the same title text.</p>- <table>- <thead><tr><th><code class="inline">ax_path</code></th><th><code class="inline">ax_locator</code></th><th><code class="inline">ax_format</code></th></tr></thead>- <tbody>- <tr><td><code class="inline">Engineering Handbook a1b2c3d4e5f60718293a4b5c6d7e8f90.md</code></td><td><code class="inline">file</code></td><td><code class="inline">txt-prose</code></td></tr>- <tr><td><code class="inline">Engineering Handbook a1b2c3d4e5f60718293a4b5c6d7e8f90.md</code></td><td><code class="inline">s0</code></td><td><code class="inline">txt-prose</code></td></tr>- <tr><td><code class="inline">Engineering Handbook .../Runbooks a1b2c3d4e5f60718293a4b5c6d7e8f90.md</code></td><td><code class="inline">file</code></td><td><code class="inline">txt-prose</code></td></tr>- <tr><td><code class="inline">Engineering Handbook .../Runbooks a1b2c3d4e5f60718293a4b5c6d7e8f90.md</code></td><td><code class="inline">s0</code></td><td><code class="inline">txt-prose</code></td></tr>- </tbody>- </table>- <p>Group the hits on <code class="inline">ax_path</code> in your client if you want 1 result per page. Sort on <code class="inline">ax_path</code> and then <code class="inline">ax_locator</code> to make the pairs visible.</p>- <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9200/nt-*/_search' \- -H 'content-type: application/json' \- -d '{"query":{"match_all":{}},"size":100,"_source":["ax_path","ax_format","ax_locator"],"sort":[{"ax_path":"asc"},{"ax_locator":"asc"}],"track_total_hits":true}'-</code></pre>- <h2>Re-indexing is idempotent</h2>- <p>The captured run indexed one Notion Markdown and CSV export, then indexed the same folder again with the same command. Both runs returned 8 documents. Every <code class="inline">_id</code> matched byte for byte, and the second run added nothing.</p>- <p>The second run reported <code class="inline">files=0 records=8</code> at the terminal. XERJ recognized every file as unchanged and submitted no new source documents.</p>- <pre class="code"><code class="language-sh">xerj autoindex ./notion-export --url http://127.0.0.1:9200 --prefix nt --progress plain-</code></pre>- <h2>Watch for database pages refused as YAML</h2>- <p>If most of an exported page's non-blank lines read as YAML — a <code class="inline">key: value</code> line, or a line opening with <code class="inline">- </code> — the family sniffer classifies the page as <code class="inline">yaml</code>. Notion writes a database row page as a title over <code class="inline">Status:</code>, <code class="inline">Owner:</code> and <code class="inline">Decided:</code> lines, which is exactly that shape. YAML parsing then fails and XERJ drops the file with 0 documents. There is no fallback to prose, and the only terminal signal is a junk file count. A <code class="inline">---</code> front-matter block at the top of a Markdown file does not trigger this on its own: a file that opens with front matter is classified by the body under it.</p>- <p>All 3 database row pages under <code class="inline">Decisions 0f1e2d3c4b5a69788796a5b4c3d2e1f0/</code> were refused this way, with the reason <code class="inline">no records extracted (yaml candidate family, 1 junk lines)</code>. The run reported <code class="inline">junk_files=3</code>.</p>- <p>A minimal 3-file reproduction shows the same behavior outside Notion. XERJ indexed <code class="inline">prose-no-colons.txt</code> as <code class="inline">txt-prose</code>. It gave <code class="inline">speaker-colons.txt</code> and <code class="inline">markdown-bullets.md</code> the <code class="inline">yaml</code> family and dropped both.</p>- <h2>The database CSV still works</h2>- <p>Notion also writes each database to <code class="inline"><Name> <id>_all.csv</code>. XERJ gave that file the <code class="inline">csv</code> family and produced 4 documents: 1 whole-file document and 3 row documents with locators <code class="inline">r0</code>, <code class="inline">r1</code> and <code class="inline">r2</code>.</p>- <p>The CSV therefore carries the rows that the refused Markdown pages lost. Read <code class="inline">autoindex-catalog</code> after every run and compare the file count with the document count before you report either.</p>- <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9200/autoindex-catalog/_search' \- -H 'content-type: application/json' \- -d '{"query":{"term":{"doc_kind":"file"}},"size":500,"_source":["path","format","status","records","reason"],"sort":[{"path":"asc"}]}'-</code></pre>- <h2>What this capture does not show</h2>- <p>The export folder in this run came from the fixture generator, written to Notion's own file naming. Notion never ran on the host, and no workspace was connected. XERJ has no Notion connector and fetches nothing over the network.</p>- <p>XERJ runs single-node here, with no replication and no failover. The default embedder in XERJ is lexical feature hashing, so a query and a paraphrase that share no words do not match. Neural embeddings are opt-in through <code class="inline">--embed-mode neural</code>.</p>- <p>Every number above comes from RUN-B, captured on 2026-08-21. The binary was a <code class="inline">ci-test</code> profile build, so no wall-clock figure from this run is published as a performance number.</p>- <h2>FAQ</h2>- <h3>Does indexing a Notion export twice create duplicates?</h3>- <p>No. The captured run indexed the same export twice and got 8 documents both times, with byte-identical ids and nothing added.</p>- <h3>Why do I see 2 results for the same Markdown page?</h3>- <p>Each Markdown file produced 2 documents: one whole-file document with <code class="inline">ax_locator</code> <code class="inline">file</code>, and one passage document with <code class="inline">ax_locator</code> <code class="inline">s0</code>.</p>- <h3>Why does one title appear in 2 different paths?</h3>- <p>Notion writes a page as <code class="inline"><Title> <32-hex>.md</code> and its children into a sibling <code class="inline"><Title> <32-hex>/</code> directory. Text copied into both pages therefore matches twice.</p>- <h3>Why did my Notion database rows return nothing?</h3>- <p>All 3 database row pages were classified as <code class="inline">yaml</code> and refused with 0 documents. A prose file whose non-blank lines mostly read as <code class="inline">key: value</code> can be dropped this way.</p>- <h3>How do I collapse duplicate hits into 1 page?</h3>- <p>Group the returned hits on <code class="inline">ax_path</code> in your client. The captured listing query sorts on <code class="inline">ax_path</code> and then <code class="inline">ax_locator</code>, which makes the pairs visible.</p>- <h3>Does the CSV that Notion writes for a database work?</h3>- <p>Yes. The captured run indexed <code class="inline">Decisions <id>_all.csv</code> as <code class="inline">csv</code> with 4 documents: 1 whole-file document and 3 row documents.</p>- <h3>Where do these results come from?</h3>- <p>All results come from run RUN-B, captured on 2026-08-21 on a 16-core AMD EPYC 9645 host.</p>- <h2>Related</h2>- <ul>- <li><a href="/answers/index-markdown-into-elasticsearch-api">How do I index Markdown into the Elasticsearch API?</a></li>- <li><a href="/answers/catalog-files-with-autoindex-map">How should an agent figure out what's in a messy data folder before searching?</a></li>- <li><a href="/answers/resume-interrupted-autoindex-run">The indexer died overnight. Do I have to start over?</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/private-agent-memory-namespaces.html b/landing/answers/private-agent-memory-namespaces.htmlindex 3ddf6bda3..406f2faf4 100644--- a/landing/answers/private-agent-memory-namespaces.html+++ b/landing/answers/private-agent-memory-namespaces.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/private-agent-memory-namespaces.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/private-agent-memory-namespaces">@@ -139,7 +139,94 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I GIVE TWO AGENTS PRIVATE MEMORY ON ONE LAPTOP?</div>+ <div class="kicker"><span>ANSWERS · AGENT MEMORY: SECURITY</span></div>+ <h1>How do I give two agents private memory on one laptop?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-23</div>+ <p><strong>TL;DR</strong> — Agent memory stays on local disk, and our capture recorded 0 non-loopback connections during store and recall. Privacy from other callers is a different question. XERJ stores roles but does not enforce them, so a namespace is only as private as the scoped API key that reaches it.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent. Read https://xerj.org/llms.txt, start a XERJ node without --insecure, mint a scoped API key, store a memory in one namespace, then try to recall a different namespace with that key and report the exact status code you receive.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start a XERJ node without --insecure, mint a scoped API key, store a memory in one namespace, then try to recall a different namespace with that key and report the exact status code you receive.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XGET 'http://127.0.0.1:8430/_security/roles'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XGET 'http://127.0.0.1:8430/_security/roles'">COPY COMMAND</button>+ <span class="hero-proof">Read the node's own statement about role enforcement. Use the native REST port, not the Elasticsearch-compatible one.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST 'http://127.0.0.1:9430/_memory/definitely-not-mine/_recall' -H 'content-type: application/json' -d '{"query":"anything","k":3}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9430/_memory/definitely-not-mine/_recall' -H 'content-type: application/json' -d '{"query":"anything","k":3}'">COPY COMMAND</button>+ <span class="hero-proof">Recall a namespace that does not exist and compare the answer with an unauthorized one.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XGET 'http://127.0.0.1:9430/_cat/indices?format=json&bytes=b'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XGET 'http://127.0.0.1:9430/_cat/indices?format=json&bytes=b'">COPY COMMAND</button>+ <span class="hero-proof">List the reserved .xerj-memory-* indices that hold every namespace on this node.</span>+ </div>+ <h2>What stays local</h2>+ <p>Every memory is a document in a reserved index inside the node data directory. Our capture watched the node process tree during store and recall and counted 0 distinct non-loopback peers across 31 samples covering 2.27 s.</p>+ <p>The node also stayed on loopback. All three listening sockets sat on <code class="inline">127.0.0.1</code>, and XERJ binds there by default. A node on a network interface with TLS off additionally needs <code class="inline">server.allow_insecure_network_bind = true</code>.</p>+ <p>That sampler polls <code class="inline">/proc/net/tcp</code> every 50 ms, so it is not a packet capture. Cite the 0 with that limit attached.</p>+ <h2>What the node says about roles</h2>+ <p>XERJ ships 6 seeded roles and does not enforce any of them. The node states this itself on the native REST listener, and the wording is worth quoting in full.</p>+ <pre class="code"><code class="language-text">roles are stored but NOT enforced: every authenticated caller has full superuser+access regardless of any role assignment. Full RBAC enforcement is deferred.+</code></pre>+ <p>The response carries <code class="inline">"enforced": false</code> beside those 6 role definitions. Read that as the operative fact: on a XERJ node, a role assignment changes nothing.</p>+ <h2>Ask the right port</h2>+ <p>The security surface answers on the native REST listener, not on the Elasticsearch-compatible one. In our capture <code class="inline">GET /_security/roles</code> answered on port 8430 and returned HTTP 404 with an empty body on port 9430.</p>+ <p>A reader who checks the wrong port sees a 404 and can conclude that no security surface exists. Use the native port for anything under <code class="inline">_security</code>.</p>+ <p>One related endpoint deserves a warning. The <code class="inline">_has_privileges</code> route answers true to everything. Do not treat it as an authorization oracle.</p>+ <h2>The authorization that does exist</h2>+ <p>Authorization in XERJ is API-key principal scoping, not roles. A scoped key is confined to its named indices, and the <code class="inline">.xerj-memory-*</code> namespace is reserved, so a scoped key cannot read another principal's memory namespace.</p>+ <p>Two boundaries belong beside that. A key minted without role descriptors gets no brain at all, yet keeps historical reach over ordinary non-reserved indices. There is no SSO of any kind in XERJ: no SAML, no OIDC, no LDAP and no Kerberos.</p>+ <p>By design, authorization runs before the existence check. A brain that is not yours and a brain that does not exist both answer 403. No status code tells a caller which brains exist on the node.</p>+ <h2>What our capture did not test</h2>+ <p>The harness ran every node with <code class="inline">--insecure</code> so that it needed no key. This pass therefore never exercised API-key principal scoping or the reserved-namespace rules.</p>+ <p>The visible consequence is in the capture. A recall against a namespace that does not exist returned HTTP 200 with an empty hits list, not the 403 a secured node gives.</p>+ <pre class="code"><code class="language-json">{"hits":[],"namespace":"definitely-not-mine"}+</code></pre>+ <p>Do not read that response as the security behavior. That answer comes from a node with authentication turned off. The two-scoped-key denial matrix needs a secured node and a separate run.</p>+ <h2>How to make a namespace private</h2>+ <p>Work through five steps in order.</p>+ <ol>+ <li>Start the node without <code class="inline">--insecure</code>, so TLS and API-key authentication stay on.</li>+ <li>Keep the bind address at <code class="inline">127.0.0.1</code> unless a remote client truly needs the port.</li>+ <li>Mint one scoped API key per agent, naming only the indices that agent needs.</li>+ <li>Give each agent its own memory namespace, because the namespace is the unit of authorization.</li>+ <li>Back up the data directory yourself, because XERJ is single-node and has no object-store snapshot destination.</li>+ </ol>+ <h2>What this capture does not show</h2>+ <p>This pass measured one single-node process with authentication disabled. The capture shows where the data lives and what the node says about role enforcement. No denied cross-namespace recall exists in it, so no page can claim one until a secured run captures it.</p>+ <h2>FAQ</h2>+ <h3>How do I keep one agent's memory from leaking into another agent's?</h3>+ <p>Give each agent its own namespace and its own scoped API key. A scoped key is confined to its named indices, and authorization runs before the existence check.</p>+ <h3>Can two local agents share a search engine but not memory?</h3>+ <p>Yes. Both can query the same document indices on one node, while each scoped key reaches only its own reserved <code class="inline">.xerj-memory-*</code> namespace.</p>+ <h3>How do I point an MCP memory server at a folder I choose?</h3>+ <p>Point the node's data directory there. XERJ has no separate memory path: memory lives in the data directory as <code class="inline">.xerj-memory-{namespace}</code>, and the MCP server stores nothing itself.</p>+ <h3>Does XERJ enforce roles?</h3>+ <p>No. The node itself answers <code class="inline">"enforced": false</code> and warns that every authenticated caller has full superuser access. Full role enforcement is deferred.</p>+ <h3>What authorization does exist?</h3>+ <p>Scoped API keys. XERJ confines a scoped key to its named indices and reserves the <code class="inline">.xerj-memory-*</code> namespace, which is principal scoping rather than roles.</p>+ <h3>Can an attacker enumerate my namespaces?</h3>+ <p>Not through status codes on a secured node. Authorization runs before the existence check, so an absent brain and an unauthorized brain both answer 403.</p>+ <h3>What does --insecure turn off?</h3>+ <p>TLS and API-key authentication. Any client that reaches the port can then read and delete every index, so use it on a development machine only.</p>+ <h2>Related</h2>+ <ul>+ <li><a href="/answers/coding-agent-memory-across-sessions">How do people store user preferences so an agent can recall them next week?</a></li>+ <li><a href="/answers/knowledge-graphs-for-agent-memory">Should agent memory use a knowledge graph?</a></li>+ <li><a href="/docs/security">Auth & TLS</a></li>+ <li><a href="/answers/set-mcp-memory-storage-path">How do I set the MCP memory storage path?</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,93 +329,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I GIVE TWO AGENTS PRIVATE MEMORY ON ONE LAPTOP?</div>- <div class="kicker"><span>ANSWERS · AGENT MEMORY: SECURITY</span></div>- <h1>How do I give two agents private memory on one laptop?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-23</div>- <p><strong>TL;DR</strong> — Agent memory stays on local disk, and our capture recorded 0 non-loopback connections during store and recall. Privacy from other callers is a different question. XERJ stores roles but does not enforce them, so a namespace is only as private as the scoped API key that reaches it.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent. Read https://xerj.org/llms.txt, start a XERJ node without --insecure, mint a scoped API key, store a memory in one namespace, then try to recall a different namespace with that key and report the exact status code you receive.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start a XERJ node without --insecure, mint a scoped API key, store a memory in one namespace, then try to recall a different namespace with that key and report the exact status code you receive.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XGET 'http://127.0.0.1:8430/_security/roles'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XGET 'http://127.0.0.1:8430/_security/roles'">COPY COMMAND</button>- <span class="hero-proof">Read the node's own statement about role enforcement. Use the native REST port, not the Elasticsearch-compatible one.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST 'http://127.0.0.1:9430/_memory/definitely-not-mine/_recall' -H 'content-type: application/json' -d '{"query":"anything","k":3}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9430/_memory/definitely-not-mine/_recall' -H 'content-type: application/json' -d '{"query":"anything","k":3}'">COPY COMMAND</button>- <span class="hero-proof">Recall a namespace that does not exist and compare the answer with an unauthorized one.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XGET 'http://127.0.0.1:9430/_cat/indices?format=json&bytes=b'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XGET 'http://127.0.0.1:9430/_cat/indices?format=json&bytes=b'">COPY COMMAND</button>- <span class="hero-proof">List the reserved .xerj-memory-* indices that hold every namespace on this node.</span>- </div>- <h2>What stays local</h2>- <p>Every memory is a document in a reserved index inside the node data directory. Our capture watched the node process tree during store and recall and counted 0 distinct non-loopback peers across 31 samples covering 2.27 s.</p>- <p>The node also stayed on loopback. All three listening sockets sat on <code class="inline">127.0.0.1</code>, and XERJ binds there by default. A node on a network interface with TLS off additionally needs <code class="inline">server.allow_insecure_network_bind = true</code>.</p>- <p>That sampler polls <code class="inline">/proc/net/tcp</code> every 50 ms, so it is not a packet capture. Cite the 0 with that limit attached.</p>- <h2>What the node says about roles</h2>- <p>XERJ ships 6 seeded roles and does not enforce any of them. The node states this itself on the native REST listener, and the wording is worth quoting in full.</p>- <pre class="code"><code class="language-text">roles are stored but NOT enforced: every authenticated caller has full superuser-access regardless of any role assignment. Full RBAC enforcement is deferred.-</code></pre>- <p>The response carries <code class="inline">"enforced": false</code> beside those 6 role definitions. Read that as the operative fact: on a XERJ node, a role assignment changes nothing.</p>- <h2>Ask the right port</h2>- <p>The security surface answers on the native REST listener, not on the Elasticsearch-compatible one. In our capture <code class="inline">GET /_security/roles</code> answered on port 8430 and returned HTTP 404 with an empty body on port 9430.</p>- <p>A reader who checks the wrong port sees a 404 and can conclude that no security surface exists. Use the native port for anything under <code class="inline">_security</code>.</p>- <p>One related endpoint deserves a warning. The <code class="inline">_has_privileges</code> route answers true to everything. Do not treat it as an authorization oracle.</p>- <h2>The authorization that does exist</h2>- <p>Authorization in XERJ is API-key principal scoping, not roles. A scoped key is confined to its named indices, and the <code class="inline">.xerj-memory-*</code> namespace is reserved, so a scoped key cannot read another principal's memory namespace.</p>- <p>Two boundaries belong beside that. A key minted without role descriptors gets no brain at all, yet keeps historical reach over ordinary non-reserved indices. There is no SSO of any kind in XERJ: no SAML, no OIDC, no LDAP and no Kerberos.</p>- <p>By design, authorization runs before the existence check. A brain that is not yours and a brain that does not exist both answer 403. No status code tells a caller which brains exist on the node.</p>- <h2>What our capture did not test</h2>- <p>The harness ran every node with <code class="inline">--insecure</code> so that it needed no key. This pass therefore never exercised API-key principal scoping or the reserved-namespace rules.</p>- <p>The visible consequence is in the capture. A recall against a namespace that does not exist returned HTTP 200 with an empty hits list, not the 403 a secured node gives.</p>- <pre class="code"><code class="language-json">{"hits":[],"namespace":"definitely-not-mine"}-</code></pre>- <p>Do not read that response as the security behavior. That answer comes from a node with authentication turned off. The two-scoped-key denial matrix needs a secured node and a separate run.</p>- <h2>How to make a namespace private</h2>- <p>Work through five steps in order.</p>- <ol>- <li>Start the node without <code class="inline">--insecure</code>, so TLS and API-key authentication stay on.</li>- <li>Keep the bind address at <code class="inline">127.0.0.1</code> unless a remote client truly needs the port.</li>- <li>Mint one scoped API key per agent, naming only the indices that agent needs.</li>- <li>Give each agent its own memory namespace, because the namespace is the unit of authorization.</li>- <li>Back up the data directory yourself, because XERJ is single-node and has no object-store snapshot destination.</li>- </ol>- <h2>What this capture does not show</h2>- <p>This pass measured one single-node process with authentication disabled. The capture shows where the data lives and what the node says about role enforcement. No denied cross-namespace recall exists in it, so no page can claim one until a secured run captures it.</p>- <h2>FAQ</h2>- <h3>How do I keep one agent's memory from leaking into another agent's?</h3>- <p>Give each agent its own namespace and its own scoped API key. A scoped key is confined to its named indices, and authorization runs before the existence check.</p>- <h3>Can two local agents share a search engine but not memory?</h3>- <p>Yes. Both can query the same document indices on one node, while each scoped key reaches only its own reserved <code class="inline">.xerj-memory-*</code> namespace.</p>- <h3>How do I point an MCP memory server at a folder I choose?</h3>- <p>Point the node's data directory there. XERJ has no separate memory path: memory lives in the data directory as <code class="inline">.xerj-memory-{namespace}</code>, and the MCP server stores nothing itself.</p>- <h3>Does XERJ enforce roles?</h3>- <p>No. The node itself answers <code class="inline">"enforced": false</code> and warns that every authenticated caller has full superuser access. Full role enforcement is deferred.</p>- <h3>What authorization does exist?</h3>- <p>Scoped API keys. XERJ confines a scoped key to its named indices and reserves the <code class="inline">.xerj-memory-*</code> namespace, which is principal scoping rather than roles.</p>- <h3>Can an attacker enumerate my namespaces?</h3>- <p>Not through status codes on a secured node. Authorization runs before the existence check, so an absent brain and an unauthorized brain both answer 403.</p>- <h3>What does --insecure turn off?</h3>- <p>TLS and API-key authentication. Any client that reaches the port can then read and delete every index, so use it on a development machine only.</p>- <h2>Related</h2>- <ul>- <li><a href="/answers/coding-agent-memory-across-sessions">How do people store user preferences so an agent can recall them next week?</a></li>- <li><a href="/answers/knowledge-graphs-for-agent-memory">Should agent memory use a knowledge graph?</a></li>- <li><a href="/docs/security">Auth & TLS</a></li>- <li><a href="/answers/set-mcp-memory-storage-path">How do I set the MCP memory storage path?</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/rag-without-vector-database.html b/landing/answers/rag-without-vector-database.htmlindex 31532c2d9..d33c4030d 100644--- a/landing/answers/rag-without-vector-database.html+++ b/landing/answers/rag-without-vector-database.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/rag-without-vector-database.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/rag-without-vector-database">@@ -139,109 +139,7 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class="active"><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I BUILD RAG WITHOUT A VECTOR DATABASE?</div><div class="kicker"><span>ANSWERS · HYBRID RETRIEVAL: ARCHITECTURE</span></div>@@ -347,6 +245,108 @@<li><a href="/docs/recipes/hybrid-search">Hybrid search</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class="active"><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/read-autoindex-progress.html b/landing/answers/read-autoindex-progress.htmlindex eaa88df5c..855cddf6b 100644--- a/landing/answers/read-autoindex-progress.html+++ b/landing/answers/read-autoindex-progress.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/read-autoindex-progress.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/read-autoindex-progress">@@ -139,109 +139,7 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class="active"><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I READ AUTOINDEX PROGRESS?</div><div class="kicker"><span>ANSWERS · OPERATIONS: PROGRESS</span></div>@@ -384,6 +282,108 @@<li><a href="/answers/autoindex-server-back-pressure-429">The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class="active"><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/read-indexed-email-and-pdf-folder.html b/landing/answers/read-indexed-email-and-pdf-folder.htmlindex 55a84f84c..a3a50b523 100644--- a/landing/answers/read-indexed-email-and-pdf-folder.html+++ b/landing/answers/read-indexed-email-and-pdf-folder.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/read-indexed-email-and-pdf-folder.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/read-indexed-email-and-pdf-folder">@@ -139,109 +139,7 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class="active"><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>I INDEXED A FOLDER OF EMAIL AND PDFS. HOW DO I ACTUALLY READ WHAT IT FOUND?</div><div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>@@ -349,6 +247,108 @@<li><a href="/docs/security">Auth & TLS</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class="active"><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/rebuild-reference-corpus-index.html b/landing/answers/rebuild-reference-corpus-index.htmlindex d2524763e..b1fe83b07 100644--- a/landing/answers/rebuild-reference-corpus-index.html+++ b/landing/answers/rebuild-reference-corpus-index.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/rebuild-reference-corpus-index.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/rebuild-reference-corpus-index">@@ -139,109 +139,7 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class="active"><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>XERJ CORPUS INDEX --FRESH FAILED. HOW DO I REBUILD A CORPUS INDEX?</div><div class="kicker"><span>ANSWERS · CODING AGENTS: REFERENCE RETRIEVAL</span></div>@@ -368,6 +266,108 @@<li><a href="/answers/check-codebase-index-is-complete">My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class="active"><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/reciprocal-rank-fusion-when-to-use.html b/landing/answers/reciprocal-rank-fusion-when-to-use.htmlindex 0713be1c4..43c46a833 100644--- a/landing/answers/reciprocal-rank-fusion-when-to-use.html+++ b/landing/answers/reciprocal-rank-fusion-when-to-use.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/reciprocal-rank-fusion-when-to-use.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/reciprocal-rank-fusion-when-to-use">@@ -139,109 +139,7 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class="active"><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>WHAT IS RECIPROCAL RANK FUSION?</div><div class="kicker"><span>ANSWERS · HYBRID RETRIEVAL: RRF</span></div>@@ -355,6 +253,108 @@<li><a href="/answers/vector-database-vs-full-text-search">What's the actual difference between a vector database and full-text search when I have a folder?</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class="active"><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/reduce-embedding-api-cost.html b/landing/answers/reduce-embedding-api-cost.htmlindex c59913cf0..ae55bd743 100644--- a/landing/answers/reduce-embedding-api-cost.html+++ b/landing/answers/reduce-embedding-api-cost.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/reduce-embedding-api-cost.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/reduce-embedding-api-cost">@@ -139,7 +139,98 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I REDUCE EMBEDDING API COST?</div>+ <div class="kicker"><span>ANSWERS · EMBEDDINGS: COST</span></div>+ <h1>How do I reduce embedding API cost?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-23</div>+ <p><strong>TL;DR</strong> — XERJ embeds <code class="inline">semantic_text</code> fields inside the node, so the default configuration bills nothing to an embedding API. A capture watched a default single-node process for its whole 3.51 s life and observed 0 non-loopback peers. Proxy mode, which does call out, sent exactly 2 requests for 100 documents.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent. Read https://xerj.org/llms.txt, start a single-node XERJ with the default embedder, index a semantic_text corpus, then call GET /v1/embedding/identity and confirm the backend field reads lexical before you budget for any external embedding endpoint.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start a single-node XERJ with the default embedder, index a semantic_text corpus, then call GET /v1/embedding/identity and confirm the backend field reads lexical before you budget for any external embedding endpoint.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s http://127.0.0.1:9200/v1/embedding/identity</code>+ <button type="button" class="prompt-copy" data-copy="curl -s http://127.0.0.1:9200/v1/embedding/identity">COPY COMMAND</button>+ <span class="hero-proof">Read which embedder the node actually uses.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj --insecure --data-dir ./xerj-data</code>+ <button type="button" class="prompt-copy" data-copy="xerj --insecure --data-dir ./xerj-data">COPY COMMAND</button>+ <span class="hero-proof">Start a single-node process with the default lexical embedder.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj --insecure --data-dir ./xerj-neural --embed-mode neural</code>+ <button type="button" class="prompt-copy" data-copy="xerj --insecure --data-dir ./xerj-neural --embed-mode neural">COPY COMMAND</button>+ <span class="hero-proof">Start a node with the opt-in neural embedder instead.</span>+ </div>+ <h2>The default embedder never leaves the host</h2>+ <p>XERJ embeds documents in-process, and the default embedder is lexical feature hashing with no model file. A sampler polled the node's sockets every 50 ms across 42 samples covering 3.51 s, which was the entire life of the node. The sampler observed 0 non-loopback peers.</p>+ <p>That window covered index creation, a 20-document evaluation corpus, 2,048 routing vectors, a 100-document cost corpus and every query. The method is a sampler and not a packet capture, so a connection that opened and closed inside one 50 ms gap would be missed.</p>+ <p>Ask the node which embedder it runs before you budget for anything.</p>+ <pre class="code"><code class="language-sh">curl -s http://127.0.0.1:9200/v1/embedding/identity+</code></pre>+ <p>The captured answer on a default node names the backend directly.</p>+ <pre class="code"><code class="language-json">{ "data": { "backend": "lexical", "dimensions": 384, "resumable": true } }+</code></pre>+ <h2>What proxy mode actually sends</h2>+ <p>Proxy mode is the only XERJ configuration that calls an external endpoint, and the capture counted its calls at the receiving end. For 100 documents it sent 2 HTTP POST requests to <code class="inline">/v1/embeddings</code>, carrying 64 inputs and then 36.</p>+ <table>+ <thead><tr><th>Fact</th><th>Captured value</th></tr></thead>+ <tbody>+ <tr><td>HTTP calls</td><td>2</td></tr>+ <tr><td>Inputs embedded</td><td>100</td></tr>+ <tr><td>Inputs per call</td><td>64, then 36</td></tr>+ <tr><td>Body keys</td><td><code class="inline">input</code>, <code class="inline">model</code></td></tr>+ <tr><td>Model name sent</td><td><code class="inline">mock-embed-384</code></td></tr>+ <tr><td><code class="inline">Authorization</code> header</td><td>absent, because no key was configured</td></tr>+ </tbody>+ </table>+ <p>Batching is the whole cost story here. A provider that bills per request sees 2 requests, not 100, and a provider that bills per token sees the same text either way.</p>+ <h2>The cheap path costs retrieval quality</h2>+ <p>The default lexical embedder is measurably weaker at the job people buy embeddings for. On 8 judged queries over a 20-document labeled corpus, the lexical default scored precision@3 0.4167 and recall 0.7083. The same queries under <code class="inline">--embed-mode neural</code> scored 0.6667 and 1.0.</p>+ <p>BM25 scored precision@3 0.375 and recall 0.6875 in both modes, exactly as it must, because term matching does not depend on the embedder. Read the gap as a fixture result on 20 documents, not as a general quality claim.</p>+ <h2>Three ways to pay, ranked by bill</h2>+ <p>Each mode is a start-time choice on one single-node process. The neural model downloads once and then runs on the CPU inside the node, so it has no per-token price.</p>+ <table>+ <thead><tr><th>Mode</th><th>Outbound calls</th><th>What it costs</th></tr></thead>+ <tbody>+ <tr><td>Lexical, the default</td><td>0 observed</td><td>Nothing outside the host, and the weakest retrieval</td></tr>+ <tr><td><code class="inline">--embed-mode neural</code></td><td>0 after the model download</td><td>CPU time in the node</td></tr>+ <tr><td>Proxy</td><td>2 calls per 100 documents in the capture</td><td>Your provider's price list</td></tr>+ </tbody>+ </table>+ <p>Start a node on the opt-in neural embedder when the lexical default misses synonyms.</p>+ <pre class="code"><code class="language-sh">xerj --insecure --data-dir ./xerj-neural --embed-mode neural+</code></pre>+ <p>One warning belongs with that flag. The neural embedder is not content-addressed, so the node reports <code class="inline">resumable: false</code>, and a changed embedder needs a fresh <code class="inline">autoindex</code> state directory.</p>+ <h2>Single-node, and what that fixes</h2>+ <p>XERJ is single-node, so the embedder, the inverted index and the dense vectors live in one process on one host. There is no separate embedding service to run, scale or pay for. There is also no data-plane replication and no failover, so plan snapshot and restore rather than node loss.</p>+ <h2>FAQ</h2>+ <h3>Does XERJ call an external embedding API?</h3>+ <p>No, not by default. A network sampler watched the default node for its whole life and observed 0 non-loopback peers while it embedded 100 documents.</p>+ <h3>How many calls does proxy mode make?</h3>+ <p>The capture recorded exactly 2 HTTP calls for 100 documents, batched 64 and 36. Proxy mode batches inputs, so the call count is far below the document count.</p>+ <h3>Which embedder does XERJ use by default?</h3>+ <p>The default embedder is lexical feature hashing with 384 dimensions and no model file. The neural embedder is opt-in through --embed-mode neural.</p>+ <h3>Is the free default embedder good enough?</h3>+ <p>Not always. On one 20-document judged set the lexical default reached recall 0.7083 while --embed-mode neural reached 1.0, so the cheap path costs quality.</p>+ <h3>Does the neural embedder call an API?</h3>+ <p>No. The neural embedder runs a downloaded MiniLM-class model on the CPU inside the node, so it needs no key and no per-token billing.</p>+ <h3>How do I check what my node is doing?</h3>+ <p>Call GET /v1/embedding/identity on the native REST port. The backend field reads lexical, neural or proxy, and proxy is the only one that leaves the host.</p>+ <h2>Related</h2>+ <ul>+ <li><a href="/answers/do-search-embeddings-help">When should I turn on neural embeddings, and when is the lexical default enough?</a></li>+ <li><a href="/answers/local-embeddings-without-openai-api">I want local search that works offline, no cloud embeddings. What are my options?</a></li>+ <li><a href="/compare/xerj-vs-vector-database">Should my agent call a search API or stand up Qdrant for persistent memory?</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,97 +333,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I REDUCE EMBEDDING API COST?</div>- <div class="kicker"><span>ANSWERS · EMBEDDINGS: COST</span></div>- <h1>How do I reduce embedding API cost?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-23</div>- <p><strong>TL;DR</strong> — XERJ embeds <code class="inline">semantic_text</code> fields inside the node, so the default configuration bills nothing to an embedding API. A capture watched a default single-node process for its whole 3.51 s life and observed 0 non-loopback peers. Proxy mode, which does call out, sent exactly 2 requests for 100 documents.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent. Read https://xerj.org/llms.txt, start a single-node XERJ with the default embedder, index a semantic_text corpus, then call GET /v1/embedding/identity and confirm the backend field reads lexical before you budget for any external embedding endpoint.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start a single-node XERJ with the default embedder, index a semantic_text corpus, then call GET /v1/embedding/identity and confirm the backend field reads lexical before you budget for any external embedding endpoint.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s http://127.0.0.1:9200/v1/embedding/identity</code>- <button type="button" class="prompt-copy" data-copy="curl -s http://127.0.0.1:9200/v1/embedding/identity">COPY COMMAND</button>- <span class="hero-proof">Read which embedder the node actually uses.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj --insecure --data-dir ./xerj-data</code>- <button type="button" class="prompt-copy" data-copy="xerj --insecure --data-dir ./xerj-data">COPY COMMAND</button>- <span class="hero-proof">Start a single-node process with the default lexical embedder.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj --insecure --data-dir ./xerj-neural --embed-mode neural</code>- <button type="button" class="prompt-copy" data-copy="xerj --insecure --data-dir ./xerj-neural --embed-mode neural">COPY COMMAND</button>- <span class="hero-proof">Start a node with the opt-in neural embedder instead.</span>- </div>- <h2>The default embedder never leaves the host</h2>- <p>XERJ embeds documents in-process, and the default embedder is lexical feature hashing with no model file. A sampler polled the node's sockets every 50 ms across 42 samples covering 3.51 s, which was the entire life of the node. The sampler observed 0 non-loopback peers.</p>- <p>That window covered index creation, a 20-document evaluation corpus, 2,048 routing vectors, a 100-document cost corpus and every query. The method is a sampler and not a packet capture, so a connection that opened and closed inside one 50 ms gap would be missed.</p>- <p>Ask the node which embedder it runs before you budget for anything.</p>- <pre class="code"><code class="language-sh">curl -s http://127.0.0.1:9200/v1/embedding/identity-</code></pre>- <p>The captured answer on a default node names the backend directly.</p>- <pre class="code"><code class="language-json">{ "data": { "backend": "lexical", "dimensions": 384, "resumable": true } }-</code></pre>- <h2>What proxy mode actually sends</h2>- <p>Proxy mode is the only XERJ configuration that calls an external endpoint, and the capture counted its calls at the receiving end. For 100 documents it sent 2 HTTP POST requests to <code class="inline">/v1/embeddings</code>, carrying 64 inputs and then 36.</p>- <table>- <thead><tr><th>Fact</th><th>Captured value</th></tr></thead>- <tbody>- <tr><td>HTTP calls</td><td>2</td></tr>- <tr><td>Inputs embedded</td><td>100</td></tr>- <tr><td>Inputs per call</td><td>64, then 36</td></tr>- <tr><td>Body keys</td><td><code class="inline">input</code>, <code class="inline">model</code></td></tr>- <tr><td>Model name sent</td><td><code class="inline">mock-embed-384</code></td></tr>- <tr><td><code class="inline">Authorization</code> header</td><td>absent, because no key was configured</td></tr>- </tbody>- </table>- <p>Batching is the whole cost story here. A provider that bills per request sees 2 requests, not 100, and a provider that bills per token sees the same text either way.</p>- <h2>The cheap path costs retrieval quality</h2>- <p>The default lexical embedder is measurably weaker at the job people buy embeddings for. On 8 judged queries over a 20-document labeled corpus, the lexical default scored precision@3 0.4167 and recall 0.7083. The same queries under <code class="inline">--embed-mode neural</code> scored 0.6667 and 1.0.</p>- <p>BM25 scored precision@3 0.375 and recall 0.6875 in both modes, exactly as it must, because term matching does not depend on the embedder. Read the gap as a fixture result on 20 documents, not as a general quality claim.</p>- <h2>Three ways to pay, ranked by bill</h2>- <p>Each mode is a start-time choice on one single-node process. The neural model downloads once and then runs on the CPU inside the node, so it has no per-token price.</p>- <table>- <thead><tr><th>Mode</th><th>Outbound calls</th><th>What it costs</th></tr></thead>- <tbody>- <tr><td>Lexical, the default</td><td>0 observed</td><td>Nothing outside the host, and the weakest retrieval</td></tr>- <tr><td><code class="inline">--embed-mode neural</code></td><td>0 after the model download</td><td>CPU time in the node</td></tr>- <tr><td>Proxy</td><td>2 calls per 100 documents in the capture</td><td>Your provider's price list</td></tr>- </tbody>- </table>- <p>Start a node on the opt-in neural embedder when the lexical default misses synonyms.</p>- <pre class="code"><code class="language-sh">xerj --insecure --data-dir ./xerj-neural --embed-mode neural-</code></pre>- <p>One warning belongs with that flag. The neural embedder is not content-addressed, so the node reports <code class="inline">resumable: false</code>, and a changed embedder needs a fresh <code class="inline">autoindex</code> state directory.</p>- <h2>Single-node, and what that fixes</h2>- <p>XERJ is single-node, so the embedder, the inverted index and the dense vectors live in one process on one host. There is no separate embedding service to run, scale or pay for. There is also no data-plane replication and no failover, so plan snapshot and restore rather than node loss.</p>- <h2>FAQ</h2>- <h3>Does XERJ call an external embedding API?</h3>- <p>No, not by default. A network sampler watched the default node for its whole life and observed 0 non-loopback peers while it embedded 100 documents.</p>- <h3>How many calls does proxy mode make?</h3>- <p>The capture recorded exactly 2 HTTP calls for 100 documents, batched 64 and 36. Proxy mode batches inputs, so the call count is far below the document count.</p>- <h3>Which embedder does XERJ use by default?</h3>- <p>The default embedder is lexical feature hashing with 384 dimensions and no model file. The neural embedder is opt-in through --embed-mode neural.</p>- <h3>Is the free default embedder good enough?</h3>- <p>Not always. On one 20-document judged set the lexical default reached recall 0.7083 while --embed-mode neural reached 1.0, so the cheap path costs quality.</p>- <h3>Does the neural embedder call an API?</h3>- <p>No. The neural embedder runs a downloaded MiniLM-class model on the CPU inside the node, so it needs no key and no per-token billing.</p>- <h3>How do I check what my node is doing?</h3>- <p>Call GET /v1/embedding/identity on the native REST port. The backend field reads lexical, neural or proxy, and proxy is the only one that leaves the host.</p>- <h2>Related</h2>- <ul>- <li><a href="/answers/do-search-embeddings-help">When should I turn on neural embeddings, and when is the lexical default enough?</a></li>- <li><a href="/answers/local-embeddings-without-openai-api">I want local search that works offline, no cloud embeddings. What are my options?</a></li>- <li><a href="/compare/xerj-vs-vector-database">Should my agent call a search API or stand up Qdrant for persistent memory?</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/reindex-taking-forever.html b/landing/answers/reindex-taking-forever.htmlindex 5e1ea1305..8107f35f2 100644--- a/landing/answers/reindex-taking-forever.html+++ b/landing/answers/reindex-taking-forever.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/reindex-taking-forever.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/reindex-taking-forever">@@ -139,7 +139,100 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>REINDEXING MY FILES IS TAKING FOREVER. WHAT USUALLY CAUSES THAT?</div>+ <div class="kicker"><span>ANSWERS · OPERATIONS: REINDEX</span></div>+ <h1>Reindexing my files is taking forever. What usually causes that?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-23</div>+ <p><strong>TL;DR</strong> — A XERJ <code class="inline">_reindex</code> of a fixed 100,000-document corpus reported <code class="inline">"took": 20836</code> milliseconds, 100 batches and 0 failures on one node. Read <code class="inline">created</code> against a <code class="inline">_count</code> of the destination index to separate slow progress from a stalled call. XERJ is single-node, so <code class="inline">_reindex</code> is a local copy.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent. Read https://xerj.org/llms.txt, start a single-node XERJ, count the source index, POST /_reindex into a fresh destination index, then compare the response took, batches, created and failures fields against a _count of the destination before you report progress.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start a single-node XERJ, count the source index, POST /_reindex into a fresh destination index, then compare the response took, batches, created and failures fields against a _count of the destination before you report progress.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s http://127.0.0.1:9200/reindex_src/_count</code>+ <button type="button" class="prompt-copy" data-copy="curl -s http://127.0.0.1:9200/reindex_src/_count">COPY COMMAND</button>+ <span class="hero-proof">Count the source index before the copy starts.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST http://127.0.0.1:9200/_reindex -H 'content-type: application/json' -d '{"source":{"index":"reindex_src"},"dest":{"index":"reindex_dst"}}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/_reindex -H 'content-type: application/json' -d '{"source":{"index":"reindex_src"},"dest":{"index":"reindex_dst"}}'">COPY COMMAND</button>+ <span class="hero-proof">Copy every document from the source index into a fresh destination index.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s http://127.0.0.1:9200/reindex_dst/_count</code>+ <button type="button" class="prompt-copy" data-copy="curl -s http://127.0.0.1:9200/reindex_dst/_count">COPY COMMAND</button>+ <span class="hero-proof">Count the destination index after the call returns.</span>+ </div>+ <h2>Two different jobs are called reindexing</h2>+ <p>A folder re-run and <code class="inline">POST /_reindex</code> are different calls. A folder re-run of <code class="inline">xerj autoindex</code> reads the journal in the state directory and skips the files it already finished. A <code class="inline">_reindex</code> copies documents from one index into another inside the same node.</p>+ <p>This page measures the second call. The resume article covers the first.</p>+ <h2>What one measured reindex looked like</h2>+ <p>A <code class="inline">_reindex</code> of 100,000 documents into a fresh destination index returned in 20,836 milliseconds. Harness wall-clock time for the same call was 20.893 s, and the source count and the destination count both read 100,000 afterward.</p>+ <p>The captured response is small, and every field in it is a progress signal.</p>+ <pre class="code"><code class="language-json">{+ "took": 20836,+ "total": 100000,+ "created": 100000,+ "updated": 0,+ "batches": 100,+ "version_conflicts": 0,+ "noops": 0,+ "retries": { "bulk": 0, "search": 0 },+ "throttled_millis": 0,+ "timed_out": false,+ "failures": []+}+</code></pre>+ <p>Treat this as one run on one shared host at 1-minute load average 2.63, not as a throughput promise.</p>+ <h2>Read the fields before you assume a stall</h2>+ <p><code class="inline">created</code> is the field that answers "is it moving". A <code class="inline">_reindex</code> call blocks until it finishes, so the response arrives only at the end. During the call, read progress from the destination index instead.</p>+ <p>Count the destination index while the copy runs.</p>+ <pre class="code"><code class="language-sh">curl -s http://127.0.0.1:9200/reindex_dst/_count+</code></pre>+ <p>A count that climbs means the copy still makes progress. A count that stays flat while the node still answers means one batch is still in flight.</p>+ <h2>Why the wall time is what it is</h2>+ <p>The measured call moved 100,000 documents in 100 batches, so each batch carried 1,000 documents. Batch count, document size and mapping complexity set the wall time more than any single tuning flag does.</p>+ <p>Host load matters too. The capture recorded 1-minute load average 2.63 before the call and 2.27 after it.</p>+ <p>For context, XERJ measured 1.72× the bulk ingest rate of Elasticsearch 8.13.4 on a separate 100,000-document board. The same board publishes 4 read p99 losses under sustained write, including 13.57 ms for XERJ against 3.45 ms for Elasticsearch. Neither result predicts your <code class="inline">_reindex</code> time.</p>+ <h2>Memory grows while a reindex runs</h2>+ <p>XERJ retains heap per indexed document, which is an open engine defect rather than a tuning problem. A long <code class="inline">_reindex</code> therefore grows the resident set as it proceeds. The project's own instruction is to not plan corpora beyond a few million documents.</p>+ <p>Watch free memory on the host, not only the response.</p>+ <h2>Check size the way that works</h2>+ <p>Two Elasticsearch habits for reading index size fail on XERJ, and the capture keeps both responses. <code class="inline">GET /_cat/indices?format=json&bytes=b</code> still returns human-formatted values such as <code class="inline">716.1kb</code>. The metric-filtered <code class="inline">GET /{index}/_stats/store</code> returns 404.</p>+ <p>Use the plain form, then read <code class="inline">_all.total.store.size_in_bytes</code> from the response.</p>+ <pre class="code"><code class="language-sh">curl -s http://127.0.0.1:9200/reindex_dst/_stats+</code></pre>+ <h2>What single-node means for a reindex</h2>+ <p>XERJ is single-node, so <code class="inline">_reindex</code> copies inside one process on one host. There is no data-plane replication and no failover, so a node that stops takes the in-flight batch with it. Re-run the call after a restart and compare the destination <code class="inline">_count</code> with the source <code class="inline">_count</code>.</p>+ <h2>FAQ</h2>+ <h3>Reindexing my files is taking forever. What usually causes that?</h3>+ <p>Corpus size, document size, host load and mapping complexity set the wall time. A _reindex call blocks and answers only at the end, so read a _count of the destination before you call it stuck.</p>+ <h3>Why is my local search index rebuild so slow?</h3>+ <p>Corpus size, document size, host load and mapping complexity all change the time. The measured run used a fixed 100,000-document corpus at 1-minute load average 2.63.</p>+ <h3>What should I measure when folder reindex never finishes?</h3>+ <p>For a _reindex, read took, batches, created, version_conflicts, retries and failures, and count the destination while the call runs. For a folder re-run, read xerj autoindex status, which reports files done, records and the journal state.</p>+ <h3>Is PDF extraction the thing that makes reindex hang?</h3>+ <p>Not measured here. This page captures a _reindex of a fixed document corpus, not a per-format split, so it cannot blame PDF extraction. A folder run does bound each PDF with a size cap, a page cap and a worker timeout, and refuses a file past a cap instead of hanging on it.</p>+ <h3>How long does a XERJ reindex take?</h3>+ <p>One measured run copied 100,000 documents in 20,836 ms on a single node. That is one run on one shared host, not a rate you can extrapolate.</p>+ <h3>Does XERJ reindex across nodes?</h3>+ <p>No. XERJ is single-node, so _reindex is a local copy. There is no cross-node parallelism to add and no failover if the node stops.</p>+ <h3>Does reindexing use more memory as it runs?</h3>+ <p>Yes. XERJ has an open defect that retains heap per indexed document, so a large reindex grows resident memory. Do not plan corpora beyond a few million documents.</p>+ <h2>Related</h2>+ <ul>+ <li><a href="/answers/read-autoindex-progress">How do I read autoindex progress?</a></li>+ <li><a href="/docs/migration-from-es">Migrate from Elasticsearch</a></li>+ <li><a href="/answers/cheap-low-volume-log-search">What can I use for low-volume log search?</a></li>+ <li><a href="/answers/resume-interrupted-autoindex-run">The indexer died overnight. Do I have to start over?</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,99 +335,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>REINDEXING MY FILES IS TAKING FOREVER. WHAT USUALLY CAUSES THAT?</div>- <div class="kicker"><span>ANSWERS · OPERATIONS: REINDEX</span></div>- <h1>Reindexing my files is taking forever. What usually causes that?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-23</div>- <p><strong>TL;DR</strong> — A XERJ <code class="inline">_reindex</code> of a fixed 100,000-document corpus reported <code class="inline">"took": 20836</code> milliseconds, 100 batches and 0 failures on one node. Read <code class="inline">created</code> against a <code class="inline">_count</code> of the destination index to separate slow progress from a stalled call. XERJ is single-node, so <code class="inline">_reindex</code> is a local copy.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent. Read https://xerj.org/llms.txt, start a single-node XERJ, count the source index, POST /_reindex into a fresh destination index, then compare the response took, batches, created and failures fields against a _count of the destination before you report progress.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start a single-node XERJ, count the source index, POST /_reindex into a fresh destination index, then compare the response took, batches, created and failures fields against a _count of the destination before you report progress.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s http://127.0.0.1:9200/reindex_src/_count</code>- <button type="button" class="prompt-copy" data-copy="curl -s http://127.0.0.1:9200/reindex_src/_count">COPY COMMAND</button>- <span class="hero-proof">Count the source index before the copy starts.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST http://127.0.0.1:9200/_reindex -H 'content-type: application/json' -d '{"source":{"index":"reindex_src"},"dest":{"index":"reindex_dst"}}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/_reindex -H 'content-type: application/json' -d '{"source":{"index":"reindex_src"},"dest":{"index":"reindex_dst"}}'">COPY COMMAND</button>- <span class="hero-proof">Copy every document from the source index into a fresh destination index.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s http://127.0.0.1:9200/reindex_dst/_count</code>- <button type="button" class="prompt-copy" data-copy="curl -s http://127.0.0.1:9200/reindex_dst/_count">COPY COMMAND</button>- <span class="hero-proof">Count the destination index after the call returns.</span>- </div>- <h2>Two different jobs are called reindexing</h2>- <p>A folder re-run and <code class="inline">POST /_reindex</code> are different calls. A folder re-run of <code class="inline">xerj autoindex</code> reads the journal in the state directory and skips the files it already finished. A <code class="inline">_reindex</code> copies documents from one index into another inside the same node.</p>- <p>This page measures the second call. The resume article covers the first.</p>- <h2>What one measured reindex looked like</h2>- <p>A <code class="inline">_reindex</code> of 100,000 documents into a fresh destination index returned in 20,836 milliseconds. Harness wall-clock time for the same call was 20.893 s, and the source count and the destination count both read 100,000 afterward.</p>- <p>The captured response is small, and every field in it is a progress signal.</p>- <pre class="code"><code class="language-json">{- "took": 20836,- "total": 100000,- "created": 100000,- "updated": 0,- "batches": 100,- "version_conflicts": 0,- "noops": 0,- "retries": { "bulk": 0, "search": 0 },- "throttled_millis": 0,- "timed_out": false,- "failures": []-}-</code></pre>- <p>Treat this as one run on one shared host at 1-minute load average 2.63, not as a throughput promise.</p>- <h2>Read the fields before you assume a stall</h2>- <p><code class="inline">created</code> is the field that answers "is it moving". A <code class="inline">_reindex</code> call blocks until it finishes, so the response arrives only at the end. During the call, read progress from the destination index instead.</p>- <p>Count the destination index while the copy runs.</p>- <pre class="code"><code class="language-sh">curl -s http://127.0.0.1:9200/reindex_dst/_count-</code></pre>- <p>A count that climbs means the copy still makes progress. A count that stays flat while the node still answers means one batch is still in flight.</p>- <h2>Why the wall time is what it is</h2>- <p>The measured call moved 100,000 documents in 100 batches, so each batch carried 1,000 documents. Batch count, document size and mapping complexity set the wall time more than any single tuning flag does.</p>- <p>Host load matters too. The capture recorded 1-minute load average 2.63 before the call and 2.27 after it.</p>- <p>For context, XERJ measured 1.72× the bulk ingest rate of Elasticsearch 8.13.4 on a separate 100,000-document board. The same board publishes 4 read p99 losses under sustained write, including 13.57 ms for XERJ against 3.45 ms for Elasticsearch. Neither result predicts your <code class="inline">_reindex</code> time.</p>- <h2>Memory grows while a reindex runs</h2>- <p>XERJ retains heap per indexed document, which is an open engine defect rather than a tuning problem. A long <code class="inline">_reindex</code> therefore grows the resident set as it proceeds. The project's own instruction is to not plan corpora beyond a few million documents.</p>- <p>Watch free memory on the host, not only the response.</p>- <h2>Check size the way that works</h2>- <p>Two Elasticsearch habits for reading index size fail on XERJ, and the capture keeps both responses. <code class="inline">GET /_cat/indices?format=json&bytes=b</code> still returns human-formatted values such as <code class="inline">716.1kb</code>. The metric-filtered <code class="inline">GET /{index}/_stats/store</code> returns 404.</p>- <p>Use the plain form, then read <code class="inline">_all.total.store.size_in_bytes</code> from the response.</p>- <pre class="code"><code class="language-sh">curl -s http://127.0.0.1:9200/reindex_dst/_stats-</code></pre>- <h2>What single-node means for a reindex</h2>- <p>XERJ is single-node, so <code class="inline">_reindex</code> copies inside one process on one host. There is no data-plane replication and no failover, so a node that stops takes the in-flight batch with it. Re-run the call after a restart and compare the destination <code class="inline">_count</code> with the source <code class="inline">_count</code>.</p>- <h2>FAQ</h2>- <h3>Reindexing my files is taking forever. What usually causes that?</h3>- <p>Corpus size, document size, host load and mapping complexity set the wall time. A _reindex call blocks and answers only at the end, so read a _count of the destination before you call it stuck.</p>- <h3>Why is my local search index rebuild so slow?</h3>- <p>Corpus size, document size, host load and mapping complexity all change the time. The measured run used a fixed 100,000-document corpus at 1-minute load average 2.63.</p>- <h3>What should I measure when folder reindex never finishes?</h3>- <p>For a _reindex, read took, batches, created, version_conflicts, retries and failures, and count the destination while the call runs. For a folder re-run, read xerj autoindex status, which reports files done, records and the journal state.</p>- <h3>Is PDF extraction the thing that makes reindex hang?</h3>- <p>Not measured here. This page captures a _reindex of a fixed document corpus, not a per-format split, so it cannot blame PDF extraction. A folder run does bound each PDF with a size cap, a page cap and a worker timeout, and refuses a file past a cap instead of hanging on it.</p>- <h3>How long does a XERJ reindex take?</h3>- <p>One measured run copied 100,000 documents in 20,836 ms on a single node. That is one run on one shared host, not a rate you can extrapolate.</p>- <h3>Does XERJ reindex across nodes?</h3>- <p>No. XERJ is single-node, so _reindex is a local copy. There is no cross-node parallelism to add and no failover if the node stops.</p>- <h3>Does reindexing use more memory as it runs?</h3>- <p>Yes. XERJ has an open defect that retains heap per indexed document, so a large reindex grows resident memory. Do not plan corpora beyond a few million documents.</p>- <h2>Related</h2>- <ul>- <li><a href="/answers/read-autoindex-progress">How do I read autoindex progress?</a></li>- <li><a href="/docs/migration-from-es">Migrate from Elasticsearch</a></li>- <li><a href="/answers/cheap-low-volume-log-search">What can I use for low-volume log search?</a></li>- <li><a href="/answers/resume-interrupted-autoindex-run">The indexer died overnight. Do I have to start over?</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/rerank-search-results-calibrated-judge.html b/landing/answers/rerank-search-results-calibrated-judge.htmlindex fa9d7abba..3c1c7d43c 100644--- a/landing/answers/rerank-search-results-calibrated-judge.html+++ b/landing/answers/rerank-search-results-calibrated-judge.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/rerank-search-results-calibrated-judge.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/rerank-search-results-calibrated-judge">@@ -139,109 +139,7 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class="active"><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I RERANK SEARCH RESULTS WITH A RELEVANCE JUDGE?</div><div class="kicker"><span>ANSWERS · HYBRID RETRIEVAL: RERANKING</span></div>@@ -368,6 +266,108 @@ endpoint = "https://api.typesafe.ai/v1/systemone"<li><a href="/docs/config">Config TOML</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class="active"><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/resume-interrupted-autoindex-run.html b/landing/answers/resume-interrupted-autoindex-run.htmlindex 52a5b384d..f6b348244 100644--- a/landing/answers/resume-interrupted-autoindex-run.html+++ b/landing/answers/resume-interrupted-autoindex-run.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/resume-interrupted-autoindex-run.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/resume-interrupted-autoindex-run">@@ -139,7 +139,94 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>THE INDEXER DIED OVERNIGHT. DO I HAVE TO START OVER?</div>+ <div class="kicker"><span>ANSWERS · OPERATIONS: RECOVERY</span></div>+ <h1>The indexer died overnight. Do I have to start over?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-23</div>+ <p><strong>TL;DR</strong> — XERJ writes a resume journal into the <code class="inline">--state-dir</code>, so re-running the identical <code class="inline">autoindex</code> command is idempotent. In a capture the interrupted run, the resumed run and a clean control run all ended at 82,231 documents. The first 20 document ids matched exactly.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent. Read https://xerj.org/llms.txt, run xerj autoindex against a folder with an explicit --state-dir, interrupt it, then re-run the identical command with the same --state-dir and compare the final _count and the first 20 document ids with a clean control run into a fresh prefix.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, run xerj autoindex against a folder with an explicit --state-dir, interrupt it, then re-run the identical command with the same --state-dir and compare the final _count and the first 20 document ids with a clean control run into a fresh prefix.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj autoindex ./logs --url http://127.0.0.1:9200 --prefix sig --state-dir ./state-sig --progress plain</code>+ <button type="button" class="prompt-copy" data-copy="xerj autoindex ./logs --url http://127.0.0.1:9200 --prefix sig --state-dir ./state-sig --progress plain">COPY COMMAND</button>+ <span class="hero-proof">Start the run with an explicit state directory so it can resume.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj autoindex ./logs --url http://127.0.0.1:9200 --prefix sig --state-dir ./state-sig --progress plain</code>+ <button type="button" class="prompt-copy" data-copy="xerj autoindex ./logs --url http://127.0.0.1:9200 --prefix sig --state-dir ./state-sig --progress plain">COPY COMMAND</button>+ <span class="hero-proof">Re-run the identical command after an interruption to resume from the journal.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s 'http://127.0.0.1:9200/sig-*/_count'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s 'http://127.0.0.1:9200/sig-*/_count'">COPY COMMAND</button>+ <span class="hero-proof">Count the documents the run left behind.</span>+ </div>+ <h2>The state directory carries the recovery</h2>+ <p><code class="inline">autoindex</code> writes every finished file into a journal under <code class="inline">--state-dir</code>. The next run reads that journal before it plans any work. Pass an explicit <code class="inline">--state-dir</code> on the first run, because recovery depends on the same directory.</p>+ <pre class="code"><code class="language-sh">xerj autoindex ./logs --url http://127.0.0.1:9200 --prefix sig --state-dir ./state-sig --progress plain+</code></pre>+ <p>The resumed run says what it found, on its first lines.</p>+ <pre class="code"><code class="language-text">resuming from journal ./state-sig/journal.ndjson (1 files already done)+estimate: no estimate — nothing to index+xerj-done ok=true exit=0 reason=completed wall=1.2s files=0 records=82231+</code></pre>+ <h2>What the capture actually observed</h2>+ <p>The harness sent <code class="inline">SIGINT</code> 6 s into an 8 MB log-indexing run. The client did not abandon the work: it printed <code class="inline">xerj-done ok=true exit=0 reason=completed wall=12.0s files=1 records=82231</code> and exited 0.</p>+ <p>State that plainly, because it bounds the claim. This capture proves that a re-run is safe and idempotent. This capture does not prove a mid-file abort, and no page can claim one.</p>+ <h2>The convergence proof</h2>+ <p>The capture compared 3 runs over the same 8 MB corpus. The 3 were the interrupted run, the resume against the same <code class="inline">--state-dir</code>, and a clean control run into a fresh prefix.</p>+ <table>+ <thead><tr><th>Run</th><th>Documents</th><th>Notes</th></tr></thead>+ <tbody>+ <tr><td>After the interrupt</td><td>82,231</td><td>Exit code 0</td></tr>+ <tr><td>After the resume</td><td>82,231</td><td>0 source rows submitted, 1.2 s wall</td></tr>+ <tr><td>Clean control, fresh prefix</td><td>82,231</td><td>Independent state directory</td></tr>+ </tbody>+ </table>+ <p>The first 20 document ids sorted ascending are identical between the resumed run and the clean control run, beginning <code class="inline">000012965601f7179a683a4f8e346dc4</code>. Identical ids are the strong result here, because equal counts alone leave different content possible.</p>+ <h2>Why re-running is safe</h2>+ <p>XERJ derives each document id from content rather than from arrival order. A second pass over the same file therefore rewrites the same ids, which replaces documents instead of adding them.</p>+ <p>Losing the state directory costs time, not correctness. The run re-reads every file, and the index converges on the same document set.</p>+ <h2>Prove it on your own corpus</h2>+ <p>Run the same checks the capture ran. Compare a resumed index with a control index in a fresh prefix.</p>+ <pre class="code"><code class="language-sh">curl -s 'http://127.0.0.1:9200/sig-*/_count'+</code></pre>+ <p>Then read the first ids from both indices and compare them.</p>+ <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9200/sig-*/_search' -H 'content-type: application/json' -d '{"query":{"match_all":{}},"size":20,"sort":[{"_id":"asc"}],"_source":false}'+</code></pre>+ <h2>When the node goes away instead</h2>+ <p>A stopped node produces a different terminal line, and an earlier capture preserves one. The client reported <code class="inline">xerj-done ok=false exit=1 reason=aborted wall=416.4s</code> and a <code class="inline">Connection refused</code> error against <code class="inline">/_bulk</code>, which means the node was no longer listening.</p>+ <p>XERJ is single-node, so there is no failover and no second node to take the write. Restart the node, then re-run the identical <code class="inline">autoindex</code> command with the same <code class="inline">--state-dir</code>.</p>+ <h2>FAQ</h2>+ <h3>The indexer died overnight. Do I have to start over?</h3>+ <p>No. Re-run the identical command with the same --state-dir. XERJ reads the resume journal, prints how many files it already holds, and indexes only what remains.</p>+ <h3>What happens if folder indexing stops halfway through? Can I resume it?</h3>+ <p>The finished files stay indexed and the journal in --state-dir records them. In the capture the re-run submitted 0 records and the document count was unchanged.</p>+ <h3>I killed the search indexer. Is the work lost?</h3>+ <p>Not the part the journal already recorded. The interrupted run, the resumed run and a clean control run all ended at 82,231 documents on the same corpus.</p>+ <h3>Will restarting an indexer duplicate documents?</h3>+ <p>No. Document ids are derived from content, so the resumed run and a clean control run produced identical first-20 ids and identical totals of 82,231.</p>+ <h3>What happens if I lose the state directory?</h3>+ <p>The re-run starts from the beginning and re-reads every file. Ids stay stable, so the index converges to the same content rather than doubling.</p>+ <h3>Does SIGINT stop autoindex immediately?</h3>+ <p>Not in this capture. The signal arrived 6 s into a 12.0 s run and the client still reported reason=completed, so a mid-file abort was not demonstrated.</p>+ <h3>What happens if the node stops instead of the client?</h3>+ <p>The client reports xerj-done ok=false exit=1 reason=aborted and a connection error. Re-run with the same --state-dir once the node is back.</p>+ <h2>Related</h2>+ <ul>+ <li><a href="/answers/read-autoindex-progress">How do I read autoindex progress?</a></li>+ <li><a href="/answers/estimate-autoindex-time-before-running">How do I estimate folder-indexing time?</a></li>+ <li><a href="/answers/catalog-files-with-autoindex-map">How should an agent figure out what's in a messy data folder before searching?</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,93 +329,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>THE INDEXER DIED OVERNIGHT. DO I HAVE TO START OVER?</div>- <div class="kicker"><span>ANSWERS · OPERATIONS: RECOVERY</span></div>- <h1>The indexer died overnight. Do I have to start over?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-23</div>- <p><strong>TL;DR</strong> — XERJ writes a resume journal into the <code class="inline">--state-dir</code>, so re-running the identical <code class="inline">autoindex</code> command is idempotent. In a capture the interrupted run, the resumed run and a clean control run all ended at 82,231 documents. The first 20 document ids matched exactly.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent. Read https://xerj.org/llms.txt, run xerj autoindex against a folder with an explicit --state-dir, interrupt it, then re-run the identical command with the same --state-dir and compare the final _count and the first 20 document ids with a clean control run into a fresh prefix.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, run xerj autoindex against a folder with an explicit --state-dir, interrupt it, then re-run the identical command with the same --state-dir and compare the final _count and the first 20 document ids with a clean control run into a fresh prefix.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj autoindex ./logs --url http://127.0.0.1:9200 --prefix sig --state-dir ./state-sig --progress plain</code>- <button type="button" class="prompt-copy" data-copy="xerj autoindex ./logs --url http://127.0.0.1:9200 --prefix sig --state-dir ./state-sig --progress plain">COPY COMMAND</button>- <span class="hero-proof">Start the run with an explicit state directory so it can resume.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj autoindex ./logs --url http://127.0.0.1:9200 --prefix sig --state-dir ./state-sig --progress plain</code>- <button type="button" class="prompt-copy" data-copy="xerj autoindex ./logs --url http://127.0.0.1:9200 --prefix sig --state-dir ./state-sig --progress plain">COPY COMMAND</button>- <span class="hero-proof">Re-run the identical command after an interruption to resume from the journal.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s 'http://127.0.0.1:9200/sig-*/_count'</code>- <button type="button" class="prompt-copy" data-copy="curl -s 'http://127.0.0.1:9200/sig-*/_count'">COPY COMMAND</button>- <span class="hero-proof">Count the documents the run left behind.</span>- </div>- <h2>The state directory carries the recovery</h2>- <p><code class="inline">autoindex</code> writes every finished file into a journal under <code class="inline">--state-dir</code>. The next run reads that journal before it plans any work. Pass an explicit <code class="inline">--state-dir</code> on the first run, because recovery depends on the same directory.</p>- <pre class="code"><code class="language-sh">xerj autoindex ./logs --url http://127.0.0.1:9200 --prefix sig --state-dir ./state-sig --progress plain-</code></pre>- <p>The resumed run says what it found, on its first lines.</p>- <pre class="code"><code class="language-text">resuming from journal ./state-sig/journal.ndjson (1 files already done)-estimate: no estimate — nothing to index-xerj-done ok=true exit=0 reason=completed wall=1.2s files=0 records=82231-</code></pre>- <h2>What the capture actually observed</h2>- <p>The harness sent <code class="inline">SIGINT</code> 6 s into an 8 MB log-indexing run. The client did not abandon the work: it printed <code class="inline">xerj-done ok=true exit=0 reason=completed wall=12.0s files=1 records=82231</code> and exited 0.</p>- <p>State that plainly, because it bounds the claim. This capture proves that a re-run is safe and idempotent. This capture does not prove a mid-file abort, and no page can claim one.</p>- <h2>The convergence proof</h2>- <p>The capture compared 3 runs over the same 8 MB corpus. The 3 were the interrupted run, the resume against the same <code class="inline">--state-dir</code>, and a clean control run into a fresh prefix.</p>- <table>- <thead><tr><th>Run</th><th>Documents</th><th>Notes</th></tr></thead>- <tbody>- <tr><td>After the interrupt</td><td>82,231</td><td>Exit code 0</td></tr>- <tr><td>After the resume</td><td>82,231</td><td>0 source rows submitted, 1.2 s wall</td></tr>- <tr><td>Clean control, fresh prefix</td><td>82,231</td><td>Independent state directory</td></tr>- </tbody>- </table>- <p>The first 20 document ids sorted ascending are identical between the resumed run and the clean control run, beginning <code class="inline">000012965601f7179a683a4f8e346dc4</code>. Identical ids are the strong result here, because equal counts alone leave different content possible.</p>- <h2>Why re-running is safe</h2>- <p>XERJ derives each document id from content rather than from arrival order. A second pass over the same file therefore rewrites the same ids, which replaces documents instead of adding them.</p>- <p>Losing the state directory costs time, not correctness. The run re-reads every file, and the index converges on the same document set.</p>- <h2>Prove it on your own corpus</h2>- <p>Run the same checks the capture ran. Compare a resumed index with a control index in a fresh prefix.</p>- <pre class="code"><code class="language-sh">curl -s 'http://127.0.0.1:9200/sig-*/_count'-</code></pre>- <p>Then read the first ids from both indices and compare them.</p>- <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9200/sig-*/_search' -H 'content-type: application/json' -d '{"query":{"match_all":{}},"size":20,"sort":[{"_id":"asc"}],"_source":false}'-</code></pre>- <h2>When the node goes away instead</h2>- <p>A stopped node produces a different terminal line, and an earlier capture preserves one. The client reported <code class="inline">xerj-done ok=false exit=1 reason=aborted wall=416.4s</code> and a <code class="inline">Connection refused</code> error against <code class="inline">/_bulk</code>, which means the node was no longer listening.</p>- <p>XERJ is single-node, so there is no failover and no second node to take the write. Restart the node, then re-run the identical <code class="inline">autoindex</code> command with the same <code class="inline">--state-dir</code>.</p>- <h2>FAQ</h2>- <h3>The indexer died overnight. Do I have to start over?</h3>- <p>No. Re-run the identical command with the same --state-dir. XERJ reads the resume journal, prints how many files it already holds, and indexes only what remains.</p>- <h3>What happens if folder indexing stops halfway through? Can I resume it?</h3>- <p>The finished files stay indexed and the journal in --state-dir records them. In the capture the re-run submitted 0 records and the document count was unchanged.</p>- <h3>I killed the search indexer. Is the work lost?</h3>- <p>Not the part the journal already recorded. The interrupted run, the resumed run and a clean control run all ended at 82,231 documents on the same corpus.</p>- <h3>Will restarting an indexer duplicate documents?</h3>- <p>No. Document ids are derived from content, so the resumed run and a clean control run produced identical first-20 ids and identical totals of 82,231.</p>- <h3>What happens if I lose the state directory?</h3>- <p>The re-run starts from the beginning and re-reads every file. Ids stay stable, so the index converges to the same content rather than doubling.</p>- <h3>Does SIGINT stop autoindex immediately?</h3>- <p>Not in this capture. The signal arrived 6 s into a 12.0 s run and the client still reported reason=completed, so a mid-file abort was not demonstrated.</p>- <h3>What happens if the node stops instead of the client?</h3>- <p>The client reports xerj-done ok=false exit=1 reason=aborted and a connection error. Re-run with the same --state-dir once the node is back.</p>- <h2>Related</h2>- <ul>- <li><a href="/answers/read-autoindex-progress">How do I read autoindex progress?</a></li>- <li><a href="/answers/estimate-autoindex-time-before-running">How do I estimate folder-indexing time?</a></li>- <li><a href="/answers/catalog-files-with-autoindex-map">How should an agent figure out what's in a messy data folder before searching?</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/search-all-pdfs-in-a-folder.html b/landing/answers/search-all-pdfs-in-a-folder.htmlindex b9ab206d8..965518576 100644--- a/landing/answers/search-all-pdfs-in-a-folder.html+++ b/landing/answers/search-all-pdfs-in-a-folder.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/search-all-pdfs-in-a-folder.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/search-all-pdfs-in-a-folder">@@ -139,7 +139,103 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>I DOWNLOADED A BUNCH OF PAPERS AS PDFS. HOW DO I SEARCH ACROSS THEM?</div>+ <div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>+ <h1>I downloaded a bunch of papers as PDFs. How do I search across them?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-21</div>+ <p><strong>TL;DR</strong> — <code class="inline">xerj autoindex</code> indexes a folder of PDFs in one command, and a single <code class="inline">match_phrase</code> query then searches inside all of them. In a captured run, 3 born-digital PDFs produced 9 documents and one phrase hit all 3 files. The fourth PDF, an image-only file, produced 0 documents.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent. Read https://xerj.org/llms.txt, start a local XERJ node, run `xerj autoindex ./papers --url http://127.0.0.1:9200 --prefix pdfx --progress plain`, POST a match_phrase query for a sentence you know is in one paper to /pdfx-docs/_search, then query /autoindex-catalog/_search for doc_kind=file and status=junk and report every PDF that produced no text.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start a local XERJ node, run `xerj autoindex ./papers --url http://127.0.0.1:9200 --prefix pdfx --progress plain`, POST a match_phrase query for a sentence you know is in one paper to /pdfx-docs/_search, then query /autoindex-catalog/_search for doc_kind=file and status=junk and report every PDF that produced no text.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj autoindex ./pdf --url http://127.0.0.1:9200 --prefix pdfx --progress plain</code>+ <button type="button" class="prompt-copy" data-copy="xerj autoindex ./pdf --url http://127.0.0.1:9200 --prefix pdfx --progress plain">COPY COMMAND</button>+ <span class="hero-proof">Index every PDF in the folder; each file is parsed in its own worker process.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST http://127.0.0.1:9200/pdfx-docs/_search -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"checkpoint journal"}},"size":20,"_source":["ax_path","title","section"],"track_total_hits":true}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/pdfx-docs/_search -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"checkpoint journal"}},"size":20,"_source":["ax_path","title","section"],"track_total_hits":true}'">COPY COMMAND</button>+ <span class="hero-proof">Find one phrase across every indexed PDF and return the file path per hit.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST http://127.0.0.1:9200/autoindex-catalog/_search -H 'content-type: application/json' -d '{"query":{"bool":{"filter":[{"term":{"doc_kind":"file"}},{"term":{"status":"junk"}}]}},"size":20}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/autoindex-catalog/_search -H 'content-type: application/json' -d '{"query":{"bool":{"filter":[{"term":{"doc_kind":"file"}},{"term":{"status":"junk"}}]}},"size":20}'">COPY COMMAND</button>+ <span class="hero-proof">List every PDF that produced no text, with the reason XERJ recorded.</span>+ </div>+ <h2>Index the folder, then query it</h2>+ <p><code class="inline">xerj autoindex <folder></code> extracts the text layer of every PDF in the folder and writes the result to a XERJ node. XERJ parses each PDF in an isolated worker process, so one broken file does not stop the run.</p>+ <pre class="code"><code class="language-sh">xerj autoindex ./pdf --url http://127.0.0.1:9200 --prefix pdfx --progress plain+</code></pre>+ <p>The captured run over 4 PDFs created 1 index, <code class="inline">pdfx-docs</code>, holding 9 documents from the 3 readable files. In this capture each readable PDF produced 1 file-level document plus 1 document per page.</p>+ <h2>One query searches every PDF</h2>+ <p>One <code class="inline">match_phrase</code> query against <code class="inline">pdfx-docs</code> found the phrase <code class="inline">checkpoint journal</code> in all 3 born-digital PDFs. XERJ returned the source file path with each hit, so the answer names the file a reader must open.</p>+ <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9200/pdfx-docs/_search' \+ -H 'content-type: application/json' \+ -d '{"query":{"match_phrase":{"body":"checkpoint journal"}},"size":20,"_source":["ax_path","title","section"],"track_total_hits":true}'+</code></pre>+ <p>The response held 3 hits, one per file, copied from <code class="inline">raw/pdf-search-all-three.json</code>.</p>+ <pre class="code"><code class="language-json">{"total": {"value": 3, "relation": "eq"},+ "files": ["handbook-alpha.pdf", "handbook-gamma.pdf", "handbook-beta.pdf"]}+</code></pre>+ <h2>The image-only PDF failed</h2>+ <p>The fourth PDF in the folder had no text layer, and XERJ refused it. The refusal is recorded, not silent: the file lands in the <code class="inline">autoindex-catalog</code> index with <code class="inline">status=junk</code>, 0 documents, and the reason string below.</p>+ <pre class="code"><code class="language-text">path: scanned-image-only.pdf+format: pdf+status: junk+records: 0+reason: extract failed: isolated PDF parser failed for .../pdf/scanned-image-only.pdf:+ PDF has no extractable text; it may be an image-only scan. Run OCR first,+ then autoindex the searchable PDF; verify/decrypt the PDF, repair it, or+ run OCR for image-only input+</code></pre>+ <p>XERJ does no optical character recognition. If a folder holds photographed pages with no text layer, run an OCR tool first. Then index the searchable PDF that the tool writes.</p>+ <h2>Read the exit code</h2>+ <p>The run ended with exit code 3 and the terminal line below. Exit 3 means the run finished and at least one file produced nothing, which is different from a failed run.</p>+ <pre class="code"><code class="language-text">xerj-done ok=true exit=3 reason=completed-with-junk wall=0.2s files=3 records=9 datasets=1 junk_files=1+</code></pre>+ <p>Treat exit 3 as a prompt to query the catalog. A build step that only tests for exit 0 will report a PDF folder as broken when 3 of its 4 files indexed correctly.</p>+ <h2>How many PDF workers the host allows</h2>+ <p>XERJ sizes the PDF worker pool from the memory it can actually use, and prints the decision. On the captured 16-core host, the safe zone allowed 1 worker rather than 4.</p>+ <pre class="code"><code class="language-text">autoindex: 16 scan threads, 16 index workers, 1 pdf workers, --bulk-mb 8+ [cores=16 ram_total_mib=64306 ram_available_mib=9004 safe_zone_mib=965]+autoindex: memory safe zone 966 MiB allows 1 PDF worker(s) at 1536 MiB each, not 4+</code></pre>+ <p>A second run over the same folder reused the extraction artifacts from the first. The captured log line reads <code class="inline">phase B: reusing 3 run-local PDF extraction(s); these PDFs will not be parsed a second time</code>.</p>+ <h2>Limits worth knowing before a large library</h2>+ <p>The PDF extractor caps input at 512 MiB per file and 100,000 pages. Each worker is capped at 32 MiB of output and a 120 second default timeout. A PDF past any cap is refused with a reason rather than truncated in silence.</p>+ <p>The isolated worker gives crash and resource isolation. XERJ states in its own help text that the worker is not a security sandbox. Do not treat it as a defense against hostile files.</p>+ <p>This capture is a single-node run of 4 small files on one host, so it measures behavior and not throughput. Ranking is BM25 over the extracted text, because the default embedder is lexical feature hashing; neural embeddings are opt-in through <code class="inline">--embed-mode neural</code>.</p>+ <h2>FAQ</h2>+ <h3>I downloaded a bunch of papers as PDFs. How do I search across them?</h3>+ <p>Run <code class="inline">xerj autoindex</code> on the folder, then send a <code class="inline">match_phrase</code> query to the <code class="inline">_search</code> endpoint. XERJ extracts the text layer of each PDF, so one query reads the whole folder.</p>+ <h3>How do I search for a phrase across all PDFs in a folder?</h3>+ <p>Send the phrase as a <code class="inline">match_phrase</code> query against the index the run created. The captured query found the same phrase in all 3 born-digital PDFs of the fixture.</p>+ <h3>What's a local way to search a folder of academic PDFs without uploading them?</h3>+ <p>XERJ is one local binary that indexes the folder in place. No file leaves the host, and the default embedder is lexical feature hashing, so the default path calls no model.</p>+ <h3>Can I search PDF papers on my laptop without OCR?</h3>+ <p>You can search any paper that carries a text layer, which most publisher and arXiv PDFs do. A scanned page has none: it produces 0 documents, is marked <code class="inline">status=junk</code>, and XERJ has no optical character recognition.</p>+ <h3>How do I find the PDFs that failed?</h3>+ <p>Query the <code class="inline">autoindex-catalog</code> index for <code class="inline">doc_kind=file</code> and <code class="inline">status=junk</code>. Every refused file carries its path and a reason string.</p>+ <h3>Does one PDF become one document?</h3>+ <p>No. In the captured run each PDF produced one file-level document plus one document per page, so 3 PDFs of 6 pages produced 9 documents.</p>+ <h3>Can a corrupt PDF stop the whole run?</h3>+ <p>No. XERJ parses each PDF in an isolated worker process, so one failure is recorded and the run continues. The isolation guards against crashes, not against hostile input.</p>+ <h2>Related</h2>+ <ul>+ <li><a href="/answers/search-file-contents-in-a-folder">I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a></li>+ <li><a href="/answers/search-word-documents-in-a-folder">How do I search through a folder of contracts in .docx?</a></li>+ <li><a href="/answers/is-pdf-indexing-efficient">Is it efficient to index PDF files?</a></li>+ <li><a href="/answers/rag-without-vector-database">How do I build RAG without a vector database?</a></li>+ <li><a href="/compare/xerj-vs-recoll">What's the best local desktop search for a folder of PDFs and docs?</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,102 +338,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>I DOWNLOADED A BUNCH OF PAPERS AS PDFS. HOW DO I SEARCH ACROSS THEM?</div>- <div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>- <h1>I downloaded a bunch of papers as PDFs. How do I search across them?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-21</div>- <p><strong>TL;DR</strong> — <code class="inline">xerj autoindex</code> indexes a folder of PDFs in one command, and a single <code class="inline">match_phrase</code> query then searches inside all of them. In a captured run, 3 born-digital PDFs produced 9 documents and one phrase hit all 3 files. The fourth PDF, an image-only file, produced 0 documents.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent. Read https://xerj.org/llms.txt, start a local XERJ node, run `xerj autoindex ./papers --url http://127.0.0.1:9200 --prefix pdfx --progress plain`, POST a match_phrase query for a sentence you know is in one paper to /pdfx-docs/_search, then query /autoindex-catalog/_search for doc_kind=file and status=junk and report every PDF that produced no text.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start a local XERJ node, run `xerj autoindex ./papers --url http://127.0.0.1:9200 --prefix pdfx --progress plain`, POST a match_phrase query for a sentence you know is in one paper to /pdfx-docs/_search, then query /autoindex-catalog/_search for doc_kind=file and status=junk and report every PDF that produced no text.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj autoindex ./pdf --url http://127.0.0.1:9200 --prefix pdfx --progress plain</code>- <button type="button" class="prompt-copy" data-copy="xerj autoindex ./pdf --url http://127.0.0.1:9200 --prefix pdfx --progress plain">COPY COMMAND</button>- <span class="hero-proof">Index every PDF in the folder; each file is parsed in its own worker process.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST http://127.0.0.1:9200/pdfx-docs/_search -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"checkpoint journal"}},"size":20,"_source":["ax_path","title","section"],"track_total_hits":true}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/pdfx-docs/_search -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"checkpoint journal"}},"size":20,"_source":["ax_path","title","section"],"track_total_hits":true}'">COPY COMMAND</button>- <span class="hero-proof">Find one phrase across every indexed PDF and return the file path per hit.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST http://127.0.0.1:9200/autoindex-catalog/_search -H 'content-type: application/json' -d '{"query":{"bool":{"filter":[{"term":{"doc_kind":"file"}},{"term":{"status":"junk"}}]}},"size":20}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/autoindex-catalog/_search -H 'content-type: application/json' -d '{"query":{"bool":{"filter":[{"term":{"doc_kind":"file"}},{"term":{"status":"junk"}}]}},"size":20}'">COPY COMMAND</button>- <span class="hero-proof">List every PDF that produced no text, with the reason XERJ recorded.</span>- </div>- <h2>Index the folder, then query it</h2>- <p><code class="inline">xerj autoindex <folder></code> extracts the text layer of every PDF in the folder and writes the result to a XERJ node. XERJ parses each PDF in an isolated worker process, so one broken file does not stop the run.</p>- <pre class="code"><code class="language-sh">xerj autoindex ./pdf --url http://127.0.0.1:9200 --prefix pdfx --progress plain-</code></pre>- <p>The captured run over 4 PDFs created 1 index, <code class="inline">pdfx-docs</code>, holding 9 documents from the 3 readable files. In this capture each readable PDF produced 1 file-level document plus 1 document per page.</p>- <h2>One query searches every PDF</h2>- <p>One <code class="inline">match_phrase</code> query against <code class="inline">pdfx-docs</code> found the phrase <code class="inline">checkpoint journal</code> in all 3 born-digital PDFs. XERJ returned the source file path with each hit, so the answer names the file a reader must open.</p>- <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9200/pdfx-docs/_search' \- -H 'content-type: application/json' \- -d '{"query":{"match_phrase":{"body":"checkpoint journal"}},"size":20,"_source":["ax_path","title","section"],"track_total_hits":true}'-</code></pre>- <p>The response held 3 hits, one per file, copied from <code class="inline">raw/pdf-search-all-three.json</code>.</p>- <pre class="code"><code class="language-json">{"total": {"value": 3, "relation": "eq"},- "files": ["handbook-alpha.pdf", "handbook-gamma.pdf", "handbook-beta.pdf"]}-</code></pre>- <h2>The image-only PDF failed</h2>- <p>The fourth PDF in the folder had no text layer, and XERJ refused it. The refusal is recorded, not silent: the file lands in the <code class="inline">autoindex-catalog</code> index with <code class="inline">status=junk</code>, 0 documents, and the reason string below.</p>- <pre class="code"><code class="language-text">path: scanned-image-only.pdf-format: pdf-status: junk-records: 0-reason: extract failed: isolated PDF parser failed for .../pdf/scanned-image-only.pdf:- PDF has no extractable text; it may be an image-only scan. Run OCR first,- then autoindex the searchable PDF; verify/decrypt the PDF, repair it, or- run OCR for image-only input-</code></pre>- <p>XERJ does no optical character recognition. If a folder holds photographed pages with no text layer, run an OCR tool first. Then index the searchable PDF that the tool writes.</p>- <h2>Read the exit code</h2>- <p>The run ended with exit code 3 and the terminal line below. Exit 3 means the run finished and at least one file produced nothing, which is different from a failed run.</p>- <pre class="code"><code class="language-text">xerj-done ok=true exit=3 reason=completed-with-junk wall=0.2s files=3 records=9 datasets=1 junk_files=1-</code></pre>- <p>Treat exit 3 as a prompt to query the catalog. A build step that only tests for exit 0 will report a PDF folder as broken when 3 of its 4 files indexed correctly.</p>- <h2>How many PDF workers the host allows</h2>- <p>XERJ sizes the PDF worker pool from the memory it can actually use, and prints the decision. On the captured 16-core host, the safe zone allowed 1 worker rather than 4.</p>- <pre class="code"><code class="language-text">autoindex: 16 scan threads, 16 index workers, 1 pdf workers, --bulk-mb 8- [cores=16 ram_total_mib=64306 ram_available_mib=9004 safe_zone_mib=965]-autoindex: memory safe zone 966 MiB allows 1 PDF worker(s) at 1536 MiB each, not 4-</code></pre>- <p>A second run over the same folder reused the extraction artifacts from the first. The captured log line reads <code class="inline">phase B: reusing 3 run-local PDF extraction(s); these PDFs will not be parsed a second time</code>.</p>- <h2>Limits worth knowing before a large library</h2>- <p>The PDF extractor caps input at 512 MiB per file and 100,000 pages. Each worker is capped at 32 MiB of output and a 120 second default timeout. A PDF past any cap is refused with a reason rather than truncated in silence.</p>- <p>The isolated worker gives crash and resource isolation. XERJ states in its own help text that the worker is not a security sandbox. Do not treat it as a defense against hostile files.</p>- <p>This capture is a single-node run of 4 small files on one host, so it measures behavior and not throughput. Ranking is BM25 over the extracted text, because the default embedder is lexical feature hashing; neural embeddings are opt-in through <code class="inline">--embed-mode neural</code>.</p>- <h2>FAQ</h2>- <h3>I downloaded a bunch of papers as PDFs. How do I search across them?</h3>- <p>Run <code class="inline">xerj autoindex</code> on the folder, then send a <code class="inline">match_phrase</code> query to the <code class="inline">_search</code> endpoint. XERJ extracts the text layer of each PDF, so one query reads the whole folder.</p>- <h3>How do I search for a phrase across all PDFs in a folder?</h3>- <p>Send the phrase as a <code class="inline">match_phrase</code> query against the index the run created. The captured query found the same phrase in all 3 born-digital PDFs of the fixture.</p>- <h3>What's a local way to search a folder of academic PDFs without uploading them?</h3>- <p>XERJ is one local binary that indexes the folder in place. No file leaves the host, and the default embedder is lexical feature hashing, so the default path calls no model.</p>- <h3>Can I search PDF papers on my laptop without OCR?</h3>- <p>You can search any paper that carries a text layer, which most publisher and arXiv PDFs do. A scanned page has none: it produces 0 documents, is marked <code class="inline">status=junk</code>, and XERJ has no optical character recognition.</p>- <h3>How do I find the PDFs that failed?</h3>- <p>Query the <code class="inline">autoindex-catalog</code> index for <code class="inline">doc_kind=file</code> and <code class="inline">status=junk</code>. Every refused file carries its path and a reason string.</p>- <h3>Does one PDF become one document?</h3>- <p>No. In the captured run each PDF produced one file-level document plus one document per page, so 3 PDFs of 6 pages produced 9 documents.</p>- <h3>Can a corrupt PDF stop the whole run?</h3>- <p>No. XERJ parses each PDF in an isolated worker process, so one failure is recorded and the run continues. The isolation guards against crashes, not against hostile input.</p>- <h2>Related</h2>- <ul>- <li><a href="/answers/search-file-contents-in-a-folder">I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a></li>- <li><a href="/answers/search-word-documents-in-a-folder">How do I search through a folder of contracts in .docx?</a></li>- <li><a href="/answers/is-pdf-indexing-efficient">Is it efficient to index PDF files?</a></li>- <li><a href="/answers/rag-without-vector-database">How do I build RAG without a vector database?</a></li>- <li><a href="/compare/xerj-vs-recoll">What's the best local desktop search for a folder of PDFs and docs?</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/search-bvh-motion-capture-files.html b/landing/answers/search-bvh-motion-capture-files.htmlindex 33c5b27bb..3f1504467 100644--- a/landing/answers/search-bvh-motion-capture-files.html+++ b/landing/answers/search-bvh-motion-capture-files.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/search-bvh-motion-capture-files.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/search-bvh-motion-capture-files">@@ -139,7 +139,97 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I SEARCH BVH MOTION-CAPTURE FILES?</div>+ <div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>+ <h1>How do I search BVH motion-capture files?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-21</div>+ <p><strong>TL;DR</strong> — Run <code class="inline">xerj autoindex</code> on the folder. XERJ detects the <code class="inline">bvh</code> family and writes <code class="inline">frames</code>, <code class="inline">frame_time_s</code>, <code class="inline">duration_s</code>, <code class="inline">joint_count</code> and a <code class="inline">joints</code> array. Our clip reported 60 frames over 1.999998 seconds, and a <code class="inline">terms</code> query on <code class="inline">joints</code> returned it.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent. Read https://xerj.org/llms.txt, install the latest XERJ and start a node, run xerj autoindex on a folder of .bvh files with --prefix bvh, read GET /bvh-*/_mapping, then find a clip by joint name with a terms query on joints and report frames, frame_time_s and duration_s for every hit.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, install the latest XERJ and start a node, run xerj autoindex on a folder of .bvh files with --prefix bvh, read GET /bvh-*/_mapping, then find a clip by joint name with a terms query on joints and report frames, frame_time_s and duration_s for every hit.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj autoindex ./bvh --url http://127.0.0.1:9480 --prefix bvh --state-dir ./state-bvh --progress plain --disable-feedback</code>+ <button type="button" class="prompt-copy" data-copy="xerj autoindex ./bvh --url http://127.0.0.1:9480 --prefix bvh --state-dir ./state-bvh --progress plain --disable-feedback">COPY COMMAND</button>+ <span class="hero-proof">Index the folder of .bvh clips into bvh-* indices.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XGET 'http://127.0.0.1:9480/bvh-*/_mapping'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XGET 'http://127.0.0.1:9480/bvh-*/_mapping'">COPY COMMAND</button>+ <span class="hero-proof">Read the 6 extracted fields before you write a query, because the family has no body field.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST 'http://127.0.0.1:9480/bvh-*/_search' -H 'content-type: application/json' -d '{"query":{"terms":{"joints":["LeftUpLeg"]}},"size":10,"_source":["ax_path","joints","joint_count","frames","frame_time_s","duration_s"],"track_total_hits":true}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9480/bvh-*/_search' -H 'content-type: application/json' -d '{"query":{"terms":{"joints":["LeftUpLeg"]}},"size":10,"_source":["ax_path","joints","joint_count","frames","frame_time_s","duration_s"],"track_total_hits":true}'">COPY COMMAND</button>+ <span class="hero-proof">Find every clip that contains a named joint, and read its motion fields back.</span>+ </div>+ <h2>Index the folder of clips</h2>+ <p>Install the latest XERJ first. Point <code class="inline">xerj autoindex</code> at the folder that holds the <code class="inline">.bvh</code> files. Detection is content-first, so the extension decides nothing.</p>+ <pre class="code"><code class="language-sh">xerj autoindex ./bvh --url http://127.0.0.1:9480 --prefix bvh --state-dir ./state-bvh --progress plain --disable-feedback+</code></pre>+ <p>The capture indexed 1 clip and the catalog recorded it as <code class="inline">format=bvh status=indexed</code>. The <code class="inline">bvh-*</code> pattern then reaches every clip in one query.</p>+ <h2>The fields a clip becomes</h2>+ <p>The <code class="inline">bvh</code> family writes 6 fields beyond the 7 provenance fields. The values below are the whole document for a 4-joint walk cycle.</p>+ <pre class="code"><code class="language-json">{"ax_path":"walk_cycle.bvh","ax_format":"bvh","ax_locator":"bvh",+ "title":"walk_cycle.bvh",+ "frames":60,+ "frame_time_s":0.0333333,+ "duration_s":1.999998,+ "joint_count":4,+ "joints":["Hips","LeftUpLeg","LeftLeg","Spine"]}+</code></pre>+ <p><code class="inline">frames</code> and <code class="inline">joint_count</code> are <code class="inline">long</code>. <code class="inline">frame_time_s</code> and <code class="inline">duration_s</code> are <code class="inline">double</code>, so a <code class="inline">range</code> query filters clips by length with no extra mapping work.</p>+ <h2>Find a clip by joint name</h2>+ <p>We asked for the joint <code class="inline">LeftUpLeg</code> against the indexed clip. Both of the query shapes below returned it.</p>+ <table>+ <thead><tr><th>query</th><th>hits</th></tr></thead>+ <tbody>+ <tr><td><code class="inline">terms</code> on <code class="inline">joints</code>, 1-element list</td><td>1</td></tr>+ <tr><td><code class="inline">wildcard</code> on <code class="inline">joints</code>, no wildcard character</td><td>1</td></tr>+ </tbody>+ </table>+ <p>Use the <code class="inline">terms</code> form. It reads the <code class="inline">joints</code> array directly and needs no pattern syntax.</p>+ <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9480/bvh-*/_search' -H 'content-type: application/json' -d '{"query":{"terms":{"joints":["LeftUpLeg"]}},"size":10,"_source":["ax_path","joints","joint_count","frames","frame_time_s","duration_s"],"track_total_hits":true}'+</code></pre>+ <h2>There is no <code class="inline">body</code> field</h2>+ <p>The <code class="inline">bvh</code> family declares no <code class="inline">body</code> field. <code class="inline">{"match":{"body":"LeftUpLeg"}}</code> returned 0 hits against the clip, so read the mapping before you write a full-text query.</p>+ <pre class="code"><code class="language-sh">curl -s -XGET 'http://127.0.0.1:9480/bvh-*/_mapping'+</code></pre>+ <p>The joint name is still in the document, in the <code class="inline">joints</code> array and in <code class="inline">_source</code>. Query <code class="inline">joints</code> for it.</p>+ <h2>What the extractor does not do</h2>+ <p>The extractor summarizes a clip. XERJ writes the joint names and the frame counters, and indexes none of the numeric rows under the <code class="inline">MOTION</code> header.</p>+ <p>There is no skeleton hierarchy field either. <code class="inline">joints</code> is a flat array, so a query cannot ask which joint is the parent of another.</p>+ <h2>What the capture was</h2>+ <p>One single-node XERJ process and 1 generated fixture file of 8,085 bytes. Our fixture generator wrote that file to the BVH format, and no capture studio produced it.</p>+ <p>In the coverage matrix, motion capture is a low priority. This page exists because the family is real, not because the demand is large.</p>+ <h2>FAQ</h2>+ <h3>How do I search BVH motion-capture files?</h3>+ <p>Run <code class="inline">xerj autoindex</code> on the folder. XERJ detects the <code class="inline">bvh</code> family and extracts <code class="inline">frames</code>, <code class="inline">frame_time_s</code>, <code class="inline">duration_s</code>, <code class="inline">joint_count</code> and a <code class="inline">joints</code> array.</p>+ <h3>Which fields does the bvh family produce?</h3>+ <p>Six beyond provenance: <code class="inline">title</code>, <code class="inline">frames</code>, <code class="inline">frame_time_s</code>, <code class="inline">duration_s</code>, <code class="inline">joint_count</code> and <code class="inline">joints</code>. Our clip reported 60 frames over 1.999998 seconds.</p>+ <h3>How do I find a clip by joint name?</h3>+ <p>Send a <code class="inline">terms</code> query with a 1-element list on <code class="inline">joints</code>. That returned 1 hit in our capture.</p>+ <h3>Why does my match query on body return nothing?</h3>+ <p>Because the <code class="inline">bvh</code> family produces no <code class="inline">body</code> field. Query the <code class="inline">joints</code> array instead, and read the mapping before you write anything else.</p>+ <h3>Can I filter clips by length?</h3>+ <p>Yes. <code class="inline">duration_s</code> and <code class="inline">frame_time_s</code> are <code class="inline">double</code> and <code class="inline">frames</code> is <code class="inline">long</code>, so a <code class="inline">range</code> query over any of them works directly.</p>+ <h3>Does XERJ index the per-frame channel data?</h3>+ <p>No. The extractor summarizes the clip. It writes the joint names and the frame counters, not the numeric motion rows underneath them.</p>+ <h3>Is motion capture a priority format for XERJ?</h3>+ <p>No. The coverage matrix rates BVH as curiosity value with negligible volume. The family works, and the demand behind it is small.</p>+ <h2>Related</h2>+ <ul>+ <li><a href="/answers/search-unity-project-assets">How do I search Unity YAML scenes and the C# that references them as one project?</a></li>+ <li><a href="/answers/search-file-contents-in-a-folder">I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a></li>+ <li><a href="/answers/catalog-files-with-autoindex-map">How should an agent figure out what's in a messy data folder before searching?</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,96 +332,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I SEARCH BVH MOTION-CAPTURE FILES?</div>- <div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>- <h1>How do I search BVH motion-capture files?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-21</div>- <p><strong>TL;DR</strong> — Run <code class="inline">xerj autoindex</code> on the folder. XERJ detects the <code class="inline">bvh</code> family and writes <code class="inline">frames</code>, <code class="inline">frame_time_s</code>, <code class="inline">duration_s</code>, <code class="inline">joint_count</code> and a <code class="inline">joints</code> array. Our clip reported 60 frames over 1.999998 seconds, and a <code class="inline">terms</code> query on <code class="inline">joints</code> returned it.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent. Read https://xerj.org/llms.txt, install the latest XERJ and start a node, run xerj autoindex on a folder of .bvh files with --prefix bvh, read GET /bvh-*/_mapping, then find a clip by joint name with a terms query on joints and report frames, frame_time_s and duration_s for every hit.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, install the latest XERJ and start a node, run xerj autoindex on a folder of .bvh files with --prefix bvh, read GET /bvh-*/_mapping, then find a clip by joint name with a terms query on joints and report frames, frame_time_s and duration_s for every hit.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj autoindex ./bvh --url http://127.0.0.1:9480 --prefix bvh --state-dir ./state-bvh --progress plain --disable-feedback</code>- <button type="button" class="prompt-copy" data-copy="xerj autoindex ./bvh --url http://127.0.0.1:9480 --prefix bvh --state-dir ./state-bvh --progress plain --disable-feedback">COPY COMMAND</button>- <span class="hero-proof">Index the folder of .bvh clips into bvh-* indices.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XGET 'http://127.0.0.1:9480/bvh-*/_mapping'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XGET 'http://127.0.0.1:9480/bvh-*/_mapping'">COPY COMMAND</button>- <span class="hero-proof">Read the 6 extracted fields before you write a query, because the family has no body field.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST 'http://127.0.0.1:9480/bvh-*/_search' -H 'content-type: application/json' -d '{"query":{"terms":{"joints":["LeftUpLeg"]}},"size":10,"_source":["ax_path","joints","joint_count","frames","frame_time_s","duration_s"],"track_total_hits":true}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9480/bvh-*/_search' -H 'content-type: application/json' -d '{"query":{"terms":{"joints":["LeftUpLeg"]}},"size":10,"_source":["ax_path","joints","joint_count","frames","frame_time_s","duration_s"],"track_total_hits":true}'">COPY COMMAND</button>- <span class="hero-proof">Find every clip that contains a named joint, and read its motion fields back.</span>- </div>- <h2>Index the folder of clips</h2>- <p>Install the latest XERJ first. Point <code class="inline">xerj autoindex</code> at the folder that holds the <code class="inline">.bvh</code> files. Detection is content-first, so the extension decides nothing.</p>- <pre class="code"><code class="language-sh">xerj autoindex ./bvh --url http://127.0.0.1:9480 --prefix bvh --state-dir ./state-bvh --progress plain --disable-feedback-</code></pre>- <p>The capture indexed 1 clip and the catalog recorded it as <code class="inline">format=bvh status=indexed</code>. The <code class="inline">bvh-*</code> pattern then reaches every clip in one query.</p>- <h2>The fields a clip becomes</h2>- <p>The <code class="inline">bvh</code> family writes 6 fields beyond the 7 provenance fields. The values below are the whole document for a 4-joint walk cycle.</p>- <pre class="code"><code class="language-json">{"ax_path":"walk_cycle.bvh","ax_format":"bvh","ax_locator":"bvh",- "title":"walk_cycle.bvh",- "frames":60,- "frame_time_s":0.0333333,- "duration_s":1.999998,- "joint_count":4,- "joints":["Hips","LeftUpLeg","LeftLeg","Spine"]}-</code></pre>- <p><code class="inline">frames</code> and <code class="inline">joint_count</code> are <code class="inline">long</code>. <code class="inline">frame_time_s</code> and <code class="inline">duration_s</code> are <code class="inline">double</code>, so a <code class="inline">range</code> query filters clips by length with no extra mapping work.</p>- <h2>Find a clip by joint name</h2>- <p>We asked for the joint <code class="inline">LeftUpLeg</code> against the indexed clip. Both of the query shapes below returned it.</p>- <table>- <thead><tr><th>query</th><th>hits</th></tr></thead>- <tbody>- <tr><td><code class="inline">terms</code> on <code class="inline">joints</code>, 1-element list</td><td>1</td></tr>- <tr><td><code class="inline">wildcard</code> on <code class="inline">joints</code>, no wildcard character</td><td>1</td></tr>- </tbody>- </table>- <p>Use the <code class="inline">terms</code> form. It reads the <code class="inline">joints</code> array directly and needs no pattern syntax.</p>- <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9480/bvh-*/_search' -H 'content-type: application/json' -d '{"query":{"terms":{"joints":["LeftUpLeg"]}},"size":10,"_source":["ax_path","joints","joint_count","frames","frame_time_s","duration_s"],"track_total_hits":true}'-</code></pre>- <h2>There is no <code class="inline">body</code> field</h2>- <p>The <code class="inline">bvh</code> family declares no <code class="inline">body</code> field. <code class="inline">{"match":{"body":"LeftUpLeg"}}</code> returned 0 hits against the clip, so read the mapping before you write a full-text query.</p>- <pre class="code"><code class="language-sh">curl -s -XGET 'http://127.0.0.1:9480/bvh-*/_mapping'-</code></pre>- <p>The joint name is still in the document, in the <code class="inline">joints</code> array and in <code class="inline">_source</code>. Query <code class="inline">joints</code> for it.</p>- <h2>What the extractor does not do</h2>- <p>The extractor summarizes a clip. XERJ writes the joint names and the frame counters, and indexes none of the numeric rows under the <code class="inline">MOTION</code> header.</p>- <p>There is no skeleton hierarchy field either. <code class="inline">joints</code> is a flat array, so a query cannot ask which joint is the parent of another.</p>- <h2>What the capture was</h2>- <p>One single-node XERJ process and 1 generated fixture file of 8,085 bytes. Our fixture generator wrote that file to the BVH format, and no capture studio produced it.</p>- <p>In the coverage matrix, motion capture is a low priority. This page exists because the family is real, not because the demand is large.</p>- <h2>FAQ</h2>- <h3>How do I search BVH motion-capture files?</h3>- <p>Run <code class="inline">xerj autoindex</code> on the folder. XERJ detects the <code class="inline">bvh</code> family and extracts <code class="inline">frames</code>, <code class="inline">frame_time_s</code>, <code class="inline">duration_s</code>, <code class="inline">joint_count</code> and a <code class="inline">joints</code> array.</p>- <h3>Which fields does the bvh family produce?</h3>- <p>Six beyond provenance: <code class="inline">title</code>, <code class="inline">frames</code>, <code class="inline">frame_time_s</code>, <code class="inline">duration_s</code>, <code class="inline">joint_count</code> and <code class="inline">joints</code>. Our clip reported 60 frames over 1.999998 seconds.</p>- <h3>How do I find a clip by joint name?</h3>- <p>Send a <code class="inline">terms</code> query with a 1-element list on <code class="inline">joints</code>. That returned 1 hit in our capture.</p>- <h3>Why does my match query on body return nothing?</h3>- <p>Because the <code class="inline">bvh</code> family produces no <code class="inline">body</code> field. Query the <code class="inline">joints</code> array instead, and read the mapping before you write anything else.</p>- <h3>Can I filter clips by length?</h3>- <p>Yes. <code class="inline">duration_s</code> and <code class="inline">frame_time_s</code> are <code class="inline">double</code> and <code class="inline">frames</code> is <code class="inline">long</code>, so a <code class="inline">range</code> query over any of them works directly.</p>- <h3>Does XERJ index the per-frame channel data?</h3>- <p>No. The extractor summarizes the clip. It writes the joint names and the frame counters, not the numeric motion rows underneath them.</p>- <h3>Is motion capture a priority format for XERJ?</h3>- <p>No. The coverage matrix rates BVH as curiosity value with negligible volume. The family works, and the demand behind it is small.</p>- <h2>Related</h2>- <ul>- <li><a href="/answers/search-unity-project-assets">How do I search Unity YAML scenes and the C# that references them as one project?</a></li>- <li><a href="/answers/search-file-contents-in-a-folder">I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a></li>- <li><a href="/answers/catalog-files-with-autoindex-map">How should an agent figure out what's in a messy data folder before searching?</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/search-confluence-html-export.html b/landing/answers/search-confluence-html-export.htmlindex 0e0e8baf7..3b2a3abf5 100644--- a/landing/answers/search-confluence-html-export.html+++ b/landing/answers/search-confluence-html-export.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/search-confluence-html-export.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/search-confluence-html-export">@@ -139,7 +139,108 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I SEARCH A CONFLUENCE EXPORT?</div>+ <div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>+ <h1>How do I search a Confluence export?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-21</div>+ <p><strong>TL;DR</strong> — Unzip the Confluence space export to local disk, then run <code class="inline">xerj autoindex</code> on the folder. In a captured run, body text on a nested page returned 1 hit at <code class="inline">Recovery-procedure_262146.html</code>. The title came back as Confluence writes it: <code class="inline">PLAT : Recovery procedure</code>.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent. Read https://xerj.org/llms.txt, start a local XERJ node, unzip a Confluence HTML space export to a folder, run `xerj autoindex ./confluence-export --url http://127.0.0.1:9200 --prefix cf --progress plain`, then POST a match_phrase on body for text inside a nested page, POST an exists query on title sorted by ax_path, and report every distinct title and the attachment paths that matched.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start a local XERJ node, unzip a Confluence HTML space export to a folder, run `xerj autoindex ./confluence-export --url http://127.0.0.1:9200 --prefix cf --progress plain`, then POST a match_phrase on body for text inside a nested page, POST an exists query on title sorted by ax_path, and report every distinct title and the attachment paths that matched.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj autoindex ./confluence-export --url http://127.0.0.1:9200 --prefix cf --progress plain</code>+ <button type="button" class="prompt-copy" data-copy="xerj autoindex ./confluence-export --url http://127.0.0.1:9200 --prefix cf --progress plain">COPY COMMAND</button>+ <span class="hero-proof">Index an unzipped Confluence HTML space export from local disk.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST http://127.0.0.1:9200/cf-*/_search -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"axolotl recovery procedure"}},"size":5,"_source":["ax_path","ax_format","title","headings"],"track_total_hits":true}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/cf-*/_search -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"axolotl recovery procedure"}},"size":5,"_source":["ax_path","ax_format","title","headings"],"track_total_hits":true}'">COPY COMMAND</button>+ <span class="hero-proof">Find body text that lives on a nested page, and read the title and headings back.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST http://127.0.0.1:9200/cf-*/_search -H 'content-type: application/json' -d '{"query":{"exists":{"field":"title"}},"size":30,"_source":["ax_path","ax_format","title","headings"],"sort":[{"ax_path":"asc"}],"track_total_hits":true}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/cf-*/_search -H 'content-type: application/json' -d '{"query":{"exists":{"field":"title"}},"size":30,"_source":["ax_path","ax_format","title","headings"],"sort":[{"ax_path":"asc"}],"track_total_hits":true}'">COPY COMMAND</button>+ <span class="hero-proof">List every title the export produced, so the two title forms are visible.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST http://127.0.0.1:9200/cf-*/_search -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"Axolotl recovery checklist"}},"size":5,"_source":["ax_path","ax_format","ax_locator"],"track_total_hits":true}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/cf-*/_search -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"Axolotl recovery checklist"}},"size":5,"_source":["ax_path","ax_format","ax_locator"],"track_total_hits":true}'">COPY COMMAND</button>+ <span class="hero-proof">Find text inside a PDF under the attachments tree.</span>+ </div>+ <h2>Index the unzipped export</h2>+ <p><code class="inline">xerj autoindex <folder></code> reads the export as ordinary HTML files on disk. The captured run walked 8 files, read 7 of them and produced 2 datasets with 15 documents live: <code class="inline">cf-docs</code> with 12 and <code class="inline">cf-styles</code> with 3.</p>+ <pre class="code"><code class="language-sh">xerj autoindex ./confluence-export --url http://127.0.0.1:9200 --prefix cf --progress plain+</code></pre>+ <p>The fixture was a folder in Confluence's own export layout. That folder held <code class="inline"><Title>_<pageid>.html</code> files with breadcrumbs, an <code class="inline">index.html</code> space home, a <code class="inline">styles/</code> directory and an <code class="inline">attachments/<pageid>/<attid>/<version>/</code> tree.</p>+ <p>The fixture generator wrote the folder. Atlassian did not produce it, and no Confluence server existed on the host.</p>+ <h2>Nested page bodies and titles both survive</h2>+ <p>A phrase that appears only in the body of a nested page returned 1 hit. The same document carried the page title and its heading list, so a citation can name the page and the section.</p>+ <table>+ <thead><tr><th>field</th><th>value returned</th></tr></thead>+ <tbody>+ <tr><td><code class="inline">ax_path</code></td><td><code class="inline">Recovery-procedure_262146.html</code></td></tr>+ <tr><td><code class="inline">ax_format</code></td><td><code class="inline">html</code></td></tr>+ <tr><td><code class="inline">title</code></td><td><code class="inline">PLAT : Recovery procedure</code></td></tr>+ <tr><td><code class="inline">headings</code></td><td><code class="inline">["Recovery procedure", "Steps", "Attachments:"]</code></td></tr>+ </tbody>+ </table>+ <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9200/cf-*/_search' \+ -H 'content-type: application/json' \+ -d '{"query":{"match_phrase":{"body":"axolotl recovery procedure"}},"size":5,"_source":["ax_path","ax_format","title","headings"],"track_total_hits":true}'+</code></pre>+ <h2>Expect 2 titles per exported page</h2>+ <p>Each page produced 2 title values on 2 different documents: the HTML <code class="inline"><title></code> and the file name. Any listing query prints both forms. A deduplicated page list must group on <code class="inline">ax_path</code>.</p>+ <table>+ <thead><tr><th><code class="inline">ax_path</code></th><th>titles returned</th></tr></thead>+ <tbody>+ <tr><td><code class="inline">Operations_262145.html</code></td><td><code class="inline">PLAT : Operations</code> and <code class="inline">Operations_262145.html</code></td></tr>+ <tr><td><code class="inline">Recovery-procedure_262146.html</code></td><td><code class="inline">PLAT : Recovery procedure</code> and <code class="inline">Recovery-procedure_262146.html</code></td></tr>+ <tr><td><code class="inline">Change-management_262147.html</code></td><td><code class="inline">PLAT : Change management</code> and <code class="inline">Change-management_262147.html</code></td></tr>+ <tr><td><code class="inline">Change-window_262148.html</code></td><td><code class="inline">PLAT : Change window</code> and <code class="inline">Change-window_262148.html</code></td></tr>+ <tr><td><code class="inline">index.html</code></td><td><code class="inline">Platform Space</code> and <code class="inline">index.html</code></td></tr>+ </tbody>+ </table>+ <h2>Attachments under the page-id tree are read</h2>+ <p>Confluence writes attachments to <code class="inline">attachments/<pageid>/<attid>/<version>/<filename></code>. XERJ indexes such a file as its own format. A phrase inside the checklist PDF returned 1 hit at <code class="inline">attachments/262146/393217/1/axolotl-recovery-checklist.pdf</code>, with <code class="inline">ax_format</code> <code class="inline">pdf</code> and <code class="inline">ax_locator</code> <code class="inline">p1-s0</code>.</p>+ <p>The captured run also produced 23 edges for this export, of which 13 are <code class="inline">href</code> edges taken from the anchors in the exported HTML. Those edges reconstruct the in-space link structure from the files alone.</p>+ <h2>Read the catalog for surprises</h2>+ <p>Content sniffing decides the family from the bytes, not from the file extension. Read <code class="inline">autoindex-catalog</code> after the run so that a surprising family does not reach your users as a missing page.</p>+ <p>In this export the sniffer gave <code class="inline">styles/site.css</code> the <code class="inline">csv</code> family and indexed 2 documents from it. The run refused <code class="inline">images/icons/bullet_blue.gif</code> with the reason <code class="inline">binary content (gif)</code>, which is the correct outcome for an icon.</p>+ <h2>No connector and no network access</h2>+ <p>XERJ has no Confluence connector and fetches nothing over the network. During the whole life of the node, a sampler polling every 0.05 seconds took 185 samples and recorded 0 distinct non-loopback peers.</p>+ <p>Export the space from Confluence yourself, unzip it to local disk, then index the folder. XERJ runs single-node here, with no replication and no failover.</p>+ <p>The default embedder in XERJ is lexical feature hashing, so a query that shares no words with the page does not match it. Neural embeddings are opt-in through <code class="inline">--embed-mode neural</code>.</p>+ <p>Every number above comes from RUN-B, captured on 2026-08-21. The binary was a <code class="inline">ci-test</code> profile build, so no wall-clock figure from this run is published as a performance number.</p>+ <h2>FAQ</h2>+ <h3>How do I search a Confluence HTML export?</h3>+ <p>Unzip the export to local disk and run <code class="inline">xerj autoindex</code> on the folder. In the captured run a phrase on a nested page returned 1 hit with its page title attached.</p>+ <h3>Do Confluence page titles survive the export?</h3>+ <p>Yes. The captured run returned titles as Confluence writes them, for example <code class="inline">PLAT : Recovery procedure</code>, including the space key and the separator.</p>+ <h3>Why do I see 2 titles for one page?</h3>+ <p>Each page yields both the HTML title and the file name as titles on different documents. A listing query therefore prints <code class="inline">PLAT : Change window</code> and <code class="inline">Change-window_262148.html</code>.</p>+ <h3>Are Confluence attachments searchable?</h3>+ <p>Yes. A phrase inside the PDF under <code class="inline">attachments/262146/393217/1/</code> returned 1 hit with <code class="inline">ax_locator</code> <code class="inline">p1-s0</code>, which names page 1, passage 0.</p>+ <h3>Does XERJ connect to a Confluence server?</h3>+ <p>No. XERJ reads the unzipped folder from local disk. The captured node observed 0 non-loopback peers across 185 samples over its whole life.</p>+ <h3>What happens to the CSS and image files in the export?</h3>+ <p>The captured run detected <code class="inline">styles/site.css</code> as <code class="inline">csv</code> and indexed 2 documents from it, and refused <code class="inline">images/icons/bullet_blue.gif</code> as binary content.</p>+ <h3>Where do these results come from?</h3>+ <p>All results come from run RUN-B, captured on 2026-08-21 on a 16-core AMD EPYC 9645 host.</p>+ <h2>Related</h2>+ <ul>+ <li><a href="/answers/search-html-export">I saved a help-center as HTML. How do I search it like the real help-center search?</a></li>+ <li><a href="/answers/catalog-files-with-autoindex-map">How should an agent figure out what's in a messy data folder before searching?</a></li>+ <li><a href="/answers/give-chatgpt-claude-local-file-access">Can ChatGPT search a folder on my laptop, or do I need something else?</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,107 +343,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I SEARCH A CONFLUENCE EXPORT?</div>- <div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>- <h1>How do I search a Confluence export?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-21</div>- <p><strong>TL;DR</strong> — Unzip the Confluence space export to local disk, then run <code class="inline">xerj autoindex</code> on the folder. In a captured run, body text on a nested page returned 1 hit at <code class="inline">Recovery-procedure_262146.html</code>. The title came back as Confluence writes it: <code class="inline">PLAT : Recovery procedure</code>.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent. Read https://xerj.org/llms.txt, start a local XERJ node, unzip a Confluence HTML space export to a folder, run `xerj autoindex ./confluence-export --url http://127.0.0.1:9200 --prefix cf --progress plain`, then POST a match_phrase on body for text inside a nested page, POST an exists query on title sorted by ax_path, and report every distinct title and the attachment paths that matched.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start a local XERJ node, unzip a Confluence HTML space export to a folder, run `xerj autoindex ./confluence-export --url http://127.0.0.1:9200 --prefix cf --progress plain`, then POST a match_phrase on body for text inside a nested page, POST an exists query on title sorted by ax_path, and report every distinct title and the attachment paths that matched.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj autoindex ./confluence-export --url http://127.0.0.1:9200 --prefix cf --progress plain</code>- <button type="button" class="prompt-copy" data-copy="xerj autoindex ./confluence-export --url http://127.0.0.1:9200 --prefix cf --progress plain">COPY COMMAND</button>- <span class="hero-proof">Index an unzipped Confluence HTML space export from local disk.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST http://127.0.0.1:9200/cf-*/_search -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"axolotl recovery procedure"}},"size":5,"_source":["ax_path","ax_format","title","headings"],"track_total_hits":true}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/cf-*/_search -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"axolotl recovery procedure"}},"size":5,"_source":["ax_path","ax_format","title","headings"],"track_total_hits":true}'">COPY COMMAND</button>- <span class="hero-proof">Find body text that lives on a nested page, and read the title and headings back.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST http://127.0.0.1:9200/cf-*/_search -H 'content-type: application/json' -d '{"query":{"exists":{"field":"title"}},"size":30,"_source":["ax_path","ax_format","title","headings"],"sort":[{"ax_path":"asc"}],"track_total_hits":true}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/cf-*/_search -H 'content-type: application/json' -d '{"query":{"exists":{"field":"title"}},"size":30,"_source":["ax_path","ax_format","title","headings"],"sort":[{"ax_path":"asc"}],"track_total_hits":true}'">COPY COMMAND</button>- <span class="hero-proof">List every title the export produced, so the two title forms are visible.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST http://127.0.0.1:9200/cf-*/_search -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"Axolotl recovery checklist"}},"size":5,"_source":["ax_path","ax_format","ax_locator"],"track_total_hits":true}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/cf-*/_search -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"Axolotl recovery checklist"}},"size":5,"_source":["ax_path","ax_format","ax_locator"],"track_total_hits":true}'">COPY COMMAND</button>- <span class="hero-proof">Find text inside a PDF under the attachments tree.</span>- </div>- <h2>Index the unzipped export</h2>- <p><code class="inline">xerj autoindex <folder></code> reads the export as ordinary HTML files on disk. The captured run walked 8 files, read 7 of them and produced 2 datasets with 15 documents live: <code class="inline">cf-docs</code> with 12 and <code class="inline">cf-styles</code> with 3.</p>- <pre class="code"><code class="language-sh">xerj autoindex ./confluence-export --url http://127.0.0.1:9200 --prefix cf --progress plain-</code></pre>- <p>The fixture was a folder in Confluence's own export layout. That folder held <code class="inline"><Title>_<pageid>.html</code> files with breadcrumbs, an <code class="inline">index.html</code> space home, a <code class="inline">styles/</code> directory and an <code class="inline">attachments/<pageid>/<attid>/<version>/</code> tree.</p>- <p>The fixture generator wrote the folder. Atlassian did not produce it, and no Confluence server existed on the host.</p>- <h2>Nested page bodies and titles both survive</h2>- <p>A phrase that appears only in the body of a nested page returned 1 hit. The same document carried the page title and its heading list, so a citation can name the page and the section.</p>- <table>- <thead><tr><th>field</th><th>value returned</th></tr></thead>- <tbody>- <tr><td><code class="inline">ax_path</code></td><td><code class="inline">Recovery-procedure_262146.html</code></td></tr>- <tr><td><code class="inline">ax_format</code></td><td><code class="inline">html</code></td></tr>- <tr><td><code class="inline">title</code></td><td><code class="inline">PLAT : Recovery procedure</code></td></tr>- <tr><td><code class="inline">headings</code></td><td><code class="inline">["Recovery procedure", "Steps", "Attachments:"]</code></td></tr>- </tbody>- </table>- <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9200/cf-*/_search' \- -H 'content-type: application/json' \- -d '{"query":{"match_phrase":{"body":"axolotl recovery procedure"}},"size":5,"_source":["ax_path","ax_format","title","headings"],"track_total_hits":true}'-</code></pre>- <h2>Expect 2 titles per exported page</h2>- <p>Each page produced 2 title values on 2 different documents: the HTML <code class="inline"><title></code> and the file name. Any listing query prints both forms. A deduplicated page list must group on <code class="inline">ax_path</code>.</p>- <table>- <thead><tr><th><code class="inline">ax_path</code></th><th>titles returned</th></tr></thead>- <tbody>- <tr><td><code class="inline">Operations_262145.html</code></td><td><code class="inline">PLAT : Operations</code> and <code class="inline">Operations_262145.html</code></td></tr>- <tr><td><code class="inline">Recovery-procedure_262146.html</code></td><td><code class="inline">PLAT : Recovery procedure</code> and <code class="inline">Recovery-procedure_262146.html</code></td></tr>- <tr><td><code class="inline">Change-management_262147.html</code></td><td><code class="inline">PLAT : Change management</code> and <code class="inline">Change-management_262147.html</code></td></tr>- <tr><td><code class="inline">Change-window_262148.html</code></td><td><code class="inline">PLAT : Change window</code> and <code class="inline">Change-window_262148.html</code></td></tr>- <tr><td><code class="inline">index.html</code></td><td><code class="inline">Platform Space</code> and <code class="inline">index.html</code></td></tr>- </tbody>- </table>- <h2>Attachments under the page-id tree are read</h2>- <p>Confluence writes attachments to <code class="inline">attachments/<pageid>/<attid>/<version>/<filename></code>. XERJ indexes such a file as its own format. A phrase inside the checklist PDF returned 1 hit at <code class="inline">attachments/262146/393217/1/axolotl-recovery-checklist.pdf</code>, with <code class="inline">ax_format</code> <code class="inline">pdf</code> and <code class="inline">ax_locator</code> <code class="inline">p1-s0</code>.</p>- <p>The captured run also produced 23 edges for this export, of which 13 are <code class="inline">href</code> edges taken from the anchors in the exported HTML. Those edges reconstruct the in-space link structure from the files alone.</p>- <h2>Read the catalog for surprises</h2>- <p>Content sniffing decides the family from the bytes, not from the file extension. Read <code class="inline">autoindex-catalog</code> after the run so that a surprising family does not reach your users as a missing page.</p>- <p>In this export the sniffer gave <code class="inline">styles/site.css</code> the <code class="inline">csv</code> family and indexed 2 documents from it. The run refused <code class="inline">images/icons/bullet_blue.gif</code> with the reason <code class="inline">binary content (gif)</code>, which is the correct outcome for an icon.</p>- <h2>No connector and no network access</h2>- <p>XERJ has no Confluence connector and fetches nothing over the network. During the whole life of the node, a sampler polling every 0.05 seconds took 185 samples and recorded 0 distinct non-loopback peers.</p>- <p>Export the space from Confluence yourself, unzip it to local disk, then index the folder. XERJ runs single-node here, with no replication and no failover.</p>- <p>The default embedder in XERJ is lexical feature hashing, so a query that shares no words with the page does not match it. Neural embeddings are opt-in through <code class="inline">--embed-mode neural</code>.</p>- <p>Every number above comes from RUN-B, captured on 2026-08-21. The binary was a <code class="inline">ci-test</code> profile build, so no wall-clock figure from this run is published as a performance number.</p>- <h2>FAQ</h2>- <h3>How do I search a Confluence HTML export?</h3>- <p>Unzip the export to local disk and run <code class="inline">xerj autoindex</code> on the folder. In the captured run a phrase on a nested page returned 1 hit with its page title attached.</p>- <h3>Do Confluence page titles survive the export?</h3>- <p>Yes. The captured run returned titles as Confluence writes them, for example <code class="inline">PLAT : Recovery procedure</code>, including the space key and the separator.</p>- <h3>Why do I see 2 titles for one page?</h3>- <p>Each page yields both the HTML title and the file name as titles on different documents. A listing query therefore prints <code class="inline">PLAT : Change window</code> and <code class="inline">Change-window_262148.html</code>.</p>- <h3>Are Confluence attachments searchable?</h3>- <p>Yes. A phrase inside the PDF under <code class="inline">attachments/262146/393217/1/</code> returned 1 hit with <code class="inline">ax_locator</code> <code class="inline">p1-s0</code>, which names page 1, passage 0.</p>- <h3>Does XERJ connect to a Confluence server?</h3>- <p>No. XERJ reads the unzipped folder from local disk. The captured node observed 0 non-loopback peers across 185 samples over its whole life.</p>- <h3>What happens to the CSS and image files in the export?</h3>- <p>The captured run detected <code class="inline">styles/site.css</code> as <code class="inline">csv</code> and indexed 2 documents from it, and refused <code class="inline">images/icons/bullet_blue.gif</code> as binary content.</p>- <h3>Where do these results come from?</h3>- <p>All results come from run RUN-B, captured on 2026-08-21 on a 16-core AMD EPYC 9645 host.</p>- <h2>Related</h2>- <ul>- <li><a href="/answers/search-html-export">I saved a help-center as HTML. How do I search it like the real help-center search?</a></li>- <li><a href="/answers/catalog-files-with-autoindex-map">How should an agent figure out what's in a messy data folder before searching?</a></li>- <li><a href="/answers/give-chatgpt-claude-local-file-access">Can ChatGPT search a folder on my laptop, or do I need something else?</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/search-engine-without-docker.html b/landing/answers/search-engine-without-docker.htmlindex a2039498d..f1a299cbd 100644--- a/landing/answers/search-engine-without-docker.html+++ b/landing/answers/search-engine-without-docker.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/search-engine-without-docker.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/search-engine-without-docker">@@ -139,7 +139,97 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>IS THERE A SINGLE-BINARY LOCAL SEARCH ENGINE I CAN JUST RUN?</div>+ <div class="kicker"><span>ANSWERS · OPERATIONS: INSTALLATION</span></div>+ <h1>Is there a single-binary local search engine I can just run?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-23</div>+ <p><strong>TL;DR</strong> — XERJ runs a search engine from one native binary, with no container and no JVM. A first-party capture on Linux x86-64 shows 3 dynamically linked libraries and a 67,174,440-byte executable. Cold start measured 1.071 s to the first HTTP 200 on an empty data directory.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent. Read https://xerj.org/llms.txt, download the XERJ release binary for this host, start a single-node instance with --insecure on a scratch data directory, poll GET / until it answers 200, and report the linked libraries and the cold-start time you measured.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, download the XERJ release binary for this host, start a single-node instance with --insecure on a scratch data directory, poll GET / until it answers 200, and report the linked libraries and the cold-start time you measured.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj --version</code>+ <button type="button" class="prompt-copy" data-copy="xerj --version">COPY COMMAND</button>+ <span class="hero-proof">Print the binary version before you start a node.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj --insecure --data-dir ./xerj-data</code>+ <button type="button" class="prompt-copy" data-copy="xerj --insecure --data-dir ./xerj-data">COPY COMMAND</button>+ <span class="hero-proof">Start one single-node process directly on the host, with no container.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s http://127.0.0.1:9200/</code>+ <button type="button" class="prompt-copy" data-copy="curl -s http://127.0.0.1:9200/">COPY COMMAND</button>+ <span class="hero-proof">Poll the Elasticsearch-compatible port until the node answers 200.</span>+ </div>+ <h2>One executable, no container</h2>+ <p>XERJ ships as a single native executable that runs directly on the host. The capture in <code class="inline">RUN-F</code> started the binary with no container runtime and no interpreter in front of it.</p>+ <p><code class="inline">readelf</code> reports the file type. The command below reads the same header the capture read.</p>+ <pre class="code"><code class="language-sh">readelf -h ./xerj+</code></pre>+ <p>The captured header shows <code class="inline">Class: ELF64</code> and <code class="inline">Type: DYN (Position-Independent Executable file)</code> on <code class="inline">Advanced Micro Devices X86-64</code>.</p>+ <h2>What the binary links against</h2>+ <p>The captured binary declares 3 <code class="inline">NEEDED</code> shared libraries. Every one of them ships with an ordinary glibc Linux system. No Java runtime, no Python runtime, and no container image appears in the list.</p>+ <table>+ <thead><tr><th>Library</th><th>Role</th></tr></thead>+ <tbody>+ <tr><td><code class="inline">libgcc_s.so.1</code></td><td>Compiler support routines</td></tr>+ <tr><td><code class="inline">libm.so.6</code></td><td>C math functions</td></tr>+ <tr><td><code class="inline">libc.so.6</code></td><td>Standard C library</td></tr>+ </tbody>+ </table>+ <p>Read the dependency list on your own target before you install.</p>+ <pre class="code"><code class="language-sh">ldd ./xerj+</code></pre>+ <h2>Cold start and the first query</h2>+ <p>Cold start measured 1.071 s from process start to the first HTTP 200 on <code class="inline">GET /</code>, against an empty data directory. The poller sampled every 0.5 s, so the captured value is an upper bound.</p>+ <p>For a tighter number, read the node's own <code class="inline">startup complete in Nms</code> line in its server log.</p>+ <p>The first query returns an Elasticsearch-shaped version document.</p>+ <pre class="code"><code class="language-json">{+ "cluster_name": "xerj",+ "name": "local",+ "tagline": "You Know, for Search",+ "version": { "number": "8.13.0", "lucene_version": "9.10.0" }+}+</code></pre>+ <h2>Binary size, stated honestly</h2>+ <p>The captured release build measured 67,174,440 bytes on disk. That build carries debug symbols, so it is larger than the artifact a release strips. The project's own stripped measurement is 36.06 MiB, and the two numbers describe different files rather than a disagreement.</p>+ <h2>What single-node means for installation</h2>+ <p>XERJ is single-node, and that is the only configuration this capture measured. There is no data-plane replication, no failover and no multi-region mode. An install plan must therefore cover snapshot and restore rather than node loss.</p>+ <h2>Conditions during the capture</h2>+ <p>Other workloads used the same host during the capture. The run therefore prints its 1-minute load average next to every timing.</p>+ <h2>FAQ</h2>+ <h3>Is there a single-binary local search engine I can just run?</h3>+ <p>XERJ is one native executable. The captured binary links only libgcc_s.so.1, libm.so.6 and libc.so.6, and answered its first HTTP 200 in 1.071 s from process start.</p>+ <h3>Is there a search engine I can run locally without Docker?</h3>+ <p>Yes. The capture ran the executable directly on the host with no container runtime. Docker remains optional packaging.</p>+ <h3>I want local search that works offline, no cloud embeddings. What are my options?</h3>+ <p>Run the binary on the host and index the folder in place. The default embedder is lexical feature hashing and runs in-process, so the default path needs no embedding service.</p>+ <h3>I just want to search logs on my laptop. I don't want Elasticsearch in Docker.</h3>+ <p>Yes. Start the binary on a scratch data directory, index the log folder, and query the Elasticsearch-compatible port that the same process serves.</p>+ <h3>Does XERJ need a JVM?</h3>+ <p>No. The captured binary links only libgcc_s.so.1, libm.so.6 and libc.so.6, so no Java runtime is present on the dependency list.</p>+ <h3>How large is the XERJ binary?</h3>+ <p>The captured release build measured 67,174,440 bytes and carries debug symbols. The project's own stripped measurement is 36.06 MiB.</p>+ <h3>Can XERJ run as a multi-node cluster?</h3>+ <p>No. XERJ is single-node: there is no data-plane replication and no failover, so plan for snapshot and restore instead.</p>+ <h2>Related</h2>+ <ul>+ <li><a href="/docs/install">Install</a></li>+ <li><a href="/answers/estimate-autoindex-time-before-running">How do I estimate folder-indexing time?</a></li>+ <li><a href="/answers/cheap-low-volume-log-search">What can I use for low-volume log search?</a></li>+ <li><a href="/answers/local-embeddings-without-openai-api">I want local search that works offline, no cloud embeddings. What are my options?</a></li>+ <li><a href="/compare/xerj-vs-elasticsearch-local">Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a></li>+ <li><a href="/compare/xerj-vs-meilisearch">What's a local alternative to Meilisearch that indexes a folder by itself?</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,96 +332,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>IS THERE A SINGLE-BINARY LOCAL SEARCH ENGINE I CAN JUST RUN?</div>- <div class="kicker"><span>ANSWERS · OPERATIONS: INSTALLATION</span></div>- <h1>Is there a single-binary local search engine I can just run?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-23</div>- <p><strong>TL;DR</strong> — XERJ runs a search engine from one native binary, with no container and no JVM. A first-party capture on Linux x86-64 shows 3 dynamically linked libraries and a 67,174,440-byte executable. Cold start measured 1.071 s to the first HTTP 200 on an empty data directory.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent. Read https://xerj.org/llms.txt, download the XERJ release binary for this host, start a single-node instance with --insecure on a scratch data directory, poll GET / until it answers 200, and report the linked libraries and the cold-start time you measured.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, download the XERJ release binary for this host, start a single-node instance with --insecure on a scratch data directory, poll GET / until it answers 200, and report the linked libraries and the cold-start time you measured.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj --version</code>- <button type="button" class="prompt-copy" data-copy="xerj --version">COPY COMMAND</button>- <span class="hero-proof">Print the binary version before you start a node.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj --insecure --data-dir ./xerj-data</code>- <button type="button" class="prompt-copy" data-copy="xerj --insecure --data-dir ./xerj-data">COPY COMMAND</button>- <span class="hero-proof">Start one single-node process directly on the host, with no container.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s http://127.0.0.1:9200/</code>- <button type="button" class="prompt-copy" data-copy="curl -s http://127.0.0.1:9200/">COPY COMMAND</button>- <span class="hero-proof">Poll the Elasticsearch-compatible port until the node answers 200.</span>- </div>- <h2>One executable, no container</h2>- <p>XERJ ships as a single native executable that runs directly on the host. The capture in <code class="inline">RUN-F</code> started the binary with no container runtime and no interpreter in front of it.</p>- <p><code class="inline">readelf</code> reports the file type. The command below reads the same header the capture read.</p>- <pre class="code"><code class="language-sh">readelf -h ./xerj-</code></pre>- <p>The captured header shows <code class="inline">Class: ELF64</code> and <code class="inline">Type: DYN (Position-Independent Executable file)</code> on <code class="inline">Advanced Micro Devices X86-64</code>.</p>- <h2>What the binary links against</h2>- <p>The captured binary declares 3 <code class="inline">NEEDED</code> shared libraries. Every one of them ships with an ordinary glibc Linux system. No Java runtime, no Python runtime, and no container image appears in the list.</p>- <table>- <thead><tr><th>Library</th><th>Role</th></tr></thead>- <tbody>- <tr><td><code class="inline">libgcc_s.so.1</code></td><td>Compiler support routines</td></tr>- <tr><td><code class="inline">libm.so.6</code></td><td>C math functions</td></tr>- <tr><td><code class="inline">libc.so.6</code></td><td>Standard C library</td></tr>- </tbody>- </table>- <p>Read the dependency list on your own target before you install.</p>- <pre class="code"><code class="language-sh">ldd ./xerj-</code></pre>- <h2>Cold start and the first query</h2>- <p>Cold start measured 1.071 s from process start to the first HTTP 200 on <code class="inline">GET /</code>, against an empty data directory. The poller sampled every 0.5 s, so the captured value is an upper bound.</p>- <p>For a tighter number, read the node's own <code class="inline">startup complete in Nms</code> line in its server log.</p>- <p>The first query returns an Elasticsearch-shaped version document.</p>- <pre class="code"><code class="language-json">{- "cluster_name": "xerj",- "name": "local",- "tagline": "You Know, for Search",- "version": { "number": "8.13.0", "lucene_version": "9.10.0" }-}-</code></pre>- <h2>Binary size, stated honestly</h2>- <p>The captured release build measured 67,174,440 bytes on disk. That build carries debug symbols, so it is larger than the artifact a release strips. The project's own stripped measurement is 36.06 MiB, and the two numbers describe different files rather than a disagreement.</p>- <h2>What single-node means for installation</h2>- <p>XERJ is single-node, and that is the only configuration this capture measured. There is no data-plane replication, no failover and no multi-region mode. An install plan must therefore cover snapshot and restore rather than node loss.</p>- <h2>Conditions during the capture</h2>- <p>Other workloads used the same host during the capture. The run therefore prints its 1-minute load average next to every timing.</p>- <h2>FAQ</h2>- <h3>Is there a single-binary local search engine I can just run?</h3>- <p>XERJ is one native executable. The captured binary links only libgcc_s.so.1, libm.so.6 and libc.so.6, and answered its first HTTP 200 in 1.071 s from process start.</p>- <h3>Is there a search engine I can run locally without Docker?</h3>- <p>Yes. The capture ran the executable directly on the host with no container runtime. Docker remains optional packaging.</p>- <h3>I want local search that works offline, no cloud embeddings. What are my options?</h3>- <p>Run the binary on the host and index the folder in place. The default embedder is lexical feature hashing and runs in-process, so the default path needs no embedding service.</p>- <h3>I just want to search logs on my laptop. I don't want Elasticsearch in Docker.</h3>- <p>Yes. Start the binary on a scratch data directory, index the log folder, and query the Elasticsearch-compatible port that the same process serves.</p>- <h3>Does XERJ need a JVM?</h3>- <p>No. The captured binary links only libgcc_s.so.1, libm.so.6 and libc.so.6, so no Java runtime is present on the dependency list.</p>- <h3>How large is the XERJ binary?</h3>- <p>The captured release build measured 67,174,440 bytes and carries debug symbols. The project's own stripped measurement is 36.06 MiB.</p>- <h3>Can XERJ run as a multi-node cluster?</h3>- <p>No. XERJ is single-node: there is no data-plane replication and no failover, so plan for snapshot and restore instead.</p>- <h2>Related</h2>- <ul>- <li><a href="/docs/install">Install</a></li>- <li><a href="/answers/estimate-autoindex-time-before-running">How do I estimate folder-indexing time?</a></li>- <li><a href="/answers/cheap-low-volume-log-search">What can I use for low-volume log search?</a></li>- <li><a href="/answers/local-embeddings-without-openai-api">I want local search that works offline, no cloud embeddings. What are my options?</a></li>- <li><a href="/compare/xerj-vs-elasticsearch-local">Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a></li>- <li><a href="/compare/xerj-vs-meilisearch">What's a local alternative to Meilisearch that indexes a folder by itself?</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/search-file-contents-in-a-folder.html b/landing/answers/search-file-contents-in-a-folder.htmlindex c91fb03c3..d4e6cf9c6 100644--- a/landing/answers/search-file-contents-in-a-folder.html+++ b/landing/answers/search-file-contents-in-a-folder.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/search-file-contents-in-a-folder.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/search-file-contents-in-a-folder">@@ -139,113 +139,11 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class="active"><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>I HAVE A FOLDER OF PDFS, WORD DOCS, AND MARKDOWN. HOW DO I SEARCH ALL OF THEM AT ONCE?</div><div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>- <h1>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</h1>+ <h1 class="h1-long">I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</h1><div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-21</div><p><strong>TL;DR</strong> — <code class="inline">xerj autoindex</code> makes the contents of a folder searchable in one command. In a captured run over a folder of 6 formats, XERJ indexed 51 documents into 2 indices with 0 junk files. One <code class="inline">match_phrase</code> query then returned 3 hits from an HTML file, a JSON file and a Markdown file.</p><div class="prompt-card">@@ -345,6 +243,108 @@<li><a href="/docs/recipes/zero-config-autoindex">Zero-config autoindex</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class="active"><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/search-files-in-an-s3-bucket.html b/landing/answers/search-files-in-an-s3-bucket.htmlindex 8d251e8a3..8a7db0f93 100644--- a/landing/answers/search-files-in-an-s3-bucket.html+++ b/landing/answers/search-files-in-an-s3-bucket.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/search-files-in-an-s3-bucket.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/search-files-in-an-s3-bucket">@@ -139,109 +139,7 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class="active"><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I SEARCH FILES THAT LIVE IN AN S3 BUCKET?</div><div class="kicker"><span>ANSWERS · INGEST: OBJECT STORAGE</span></div>@@ -410,6 +308,108 @@ autoindex: re-running this at the same size costs 2 class-A request(s) each time<li><a href="/answers/search-file-contents-in-a-folder">I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class="active"><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/search-gmail-takeout-mbox-locally.html b/landing/answers/search-gmail-takeout-mbox-locally.htmlindex da8ae3981..2bd3eb3b6 100644--- a/landing/answers/search-gmail-takeout-mbox-locally.html+++ b/landing/answers/search-gmail-takeout-mbox-locally.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/search-gmail-takeout-mbox-locally.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/search-gmail-takeout-mbox-locally">@@ -139,109 +139,7 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class="active"><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>I EXPORTED MY GMAIL WITH GOOGLE TAKEOUT. HOW DO I SEARCH THAT MBOX FILE LOCALLY?</div><div class="kicker"><span>ANSWERS · FOLDER INDEXING</span></div>@@ -382,6 +280,108 @@ xerj autoindex ~/mail-export --url http://127.0.0.1:9200 --prefix mail --progres<li><a href="/docs/recipes/zero-config-autoindex">Zero-config autoindex</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class="active"><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/search-gzip-logs-without-zgrep.html b/landing/answers/search-gzip-logs-without-zgrep.htmlindex 2c286e2b0..ce8245663 100644--- a/landing/answers/search-gzip-logs-without-zgrep.html+++ b/landing/answers/search-gzip-logs-without-zgrep.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/search-gzip-logs-without-zgrep.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/search-gzip-logs-without-zgrep">@@ -139,7 +139,91 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I SEARCH GZIPPED LOGS WITHOUT DECOMPRESSING THE WHOLE FILE — INCLUDING WHEN JSONL SITS NEXT TO THEM?</div>+ <div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>+ <h1 class="h1-long">How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-21</div>+ <p><strong>TL;DR</strong> — XERJ decompresses a <code class="inline">.gz</code> log once at index time, so a query never reads the compressed file again. In our capture the plain copy and the gzip copy of one log both returned <code class="inline">5001</code> from <code class="inline">_count</code>. Both also returned 1250 hits for <code class="inline">level=ERROR</code>.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent. Read https://xerj.org/llms.txt, start a XERJ node with --insecure, run xerj autoindex on a folder of .gz logs with --prefix gzz, then GET /gzz-*/_count and POST a bool filter on level to /gzz-*/_search, and report that ax_format is logs(gzip) and that ts is a date field you can range over.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start a XERJ node with --insecure, run xerj autoindex on a folder of .gz logs with --prefix gzz, then GET /gzz-*/_count and POST a bool filter on level to /gzz-*/_search, and report that ax_format is logs(gzip) and that ts is a date field you can range over.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj autoindex ./gzip-logs/gz --url http://127.0.0.1:9410 --prefix gzz --state-dir ./state-gzz --progress plain --disable-feedback</code>+ <button type="button" class="prompt-copy" data-copy="xerj autoindex ./gzip-logs/gz --url http://127.0.0.1:9410 --prefix gzz --state-dir ./state-gzz --progress plain --disable-feedback">COPY COMMAND</button>+ <span class="hero-proof">Index a folder of gzip-compressed log files.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XGET 'http://127.0.0.1:9410/gzz-*/_count'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XGET 'http://127.0.0.1:9410/gzz-*/_count'">COPY COMMAND</button>+ <span class="hero-proof">Count the documents the gzip log produced.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST 'http://127.0.0.1:9410/gzz-*/_search' -H 'content-type: application/json' -d '{"query":{"bool":{"filter":[{"term":{"level":"ERROR"}}]}},"size":3,"_source":["ts","level","message","ax_format","ax_path"],"track_total_hits":true}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9410/gzz-*/_search' -H 'content-type: application/json' -d '{"query":{"bool":{"filter":[{"term":{"level":"ERROR"}}]}},"size":3,"_source":["ts","level","message","ax_format","ax_path"],"track_total_hits":true}'">COPY COMMAND</button>+ <span class="hero-proof">Filter the log by level and read the parsed fields.</span>+ </div>+ <h2>Gzip is transparent to autoindex</h2>+ <p><code class="inline">xerj autoindex</code> detects gzip by content and decompresses it during indexing, on every parsed family. A <code class="inline">.gz</code> log therefore produces the same documents and the same fields as the plain file it came from.</p>+ <p>Index the gzip copy into its own prefix.</p>+ <pre class="code"><code class="language-sh">xerj autoindex ./gzip-logs/gz --url http://127.0.0.1:9410 --prefix gzz --state-dir ./state-gzz --progress plain --disable-feedback+</code></pre>+ <p>Index the plain copy into a second prefix when you want to compare the two.</p>+ <pre class="code"><code class="language-sh">xerj autoindex ./gzip-logs/plain --url http://127.0.0.1:9410 --prefix gzp --state-dir ./state-gzp --progress plain --disable-feedback+</code></pre>+ <h2>Identical counts and identical hits</h2>+ <p>The 2 indices matched exactly in our capture. Both held <code class="inline">5001</code> documents, both returned 1250 hits for the <code class="inline">level=ERROR</code> filter, and both put the same message first.</p>+ <table>+ <thead><tr><th>request</th><th>plain copy</th><th>gzip copy</th><th>equal</th></tr></thead>+ <tbody>+ <tr><td><code class="inline">_count</code></td><td>5001</td><td>5001</td><td>yes</td></tr>+ <tr><td>filter <code class="inline">level=ERROR</code></td><td>1250 hits</td><td>1250 hits</td><td>yes</td></tr>+ <tr><td>wildcard <code class="inline">message=*marmoset-4242*</code></td><td>1 hit</td><td>1 hit</td><td>yes</td></tr>+ </tbody>+ </table>+ <p>Both queries also returned the identical first message on the 2 indices: <code class="inline">auth marmoset-2 shard</code> for the level filter and <code class="inline">auth marmoset-4242 journal</code> for the wildcard. The fixture generator wrote those strings, and the node under test is single-shard and single-node.</p>+ <p>The only field that differs is provenance. The plain index stores <code class="inline">ax_format</code> as <code class="inline">logs</code> and <code class="inline">ax_path</code> as <code class="inline">service.log</code>. The gzip index stores <code class="inline">logs(gzip)</code> and <code class="inline">service.log.gz</code>.</p>+ <h2>The fields the logs family creates</h2>+ <p>The logs family parses each line into <code class="inline">ts</code>, <code class="inline">level</code> and <code class="inline">message</code>, and adds <code class="inline">title</code> plus the 7 <code class="inline">ax_*</code> provenance fields. The <code class="inline">ts</code> field is a real <code class="inline">date</code> with format <code class="inline">strict_date_optional_time||epoch_millis</code>, so a range query and a date histogram both work.</p>+ <p>There is no generic <code class="inline">text</code> field on a log index, and <code class="inline">message</code> is a <code class="inline">keyword</code>. A <code class="inline">match</code> on a field named <code class="inline">text</code> returns 0 hits. Filter on <code class="inline">level</code>, run a <code class="inline">wildcard</code> on <code class="inline">message</code>, and range over <code class="inline">ts</code>.</p>+ <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9410/gzz-*/_search' -H 'content-type: application/json' -d '{"query":{"bool":{"filter":[{"term":{"level":"ERROR"}}]}},"size":3,"_source":["ts","level","message","ax_format","ax_path"],"track_total_hits":true}'+</code></pre>+ <h2>Repeated-query latency on the gzip index</h2>+ <p>The same <code class="inline">level=ERROR</code> filter over the gzip-sourced index measured a p50 of 0.455 ms and a p95 of 0.788 ms. The method was 30 timed runs after 5 discarded warmup runs, timed client-side on loopback. The 1-minute host load average was 0.98 before and after.</p>+ <p>Read that as a repeated-query observation on 1 fixed corpus on 1 shared host. The number is not a benchmark and does not carry to another machine.</p>+ <h2>What decompression costs you</h2>+ <p>XERJ pays for decompression once, during the <code class="inline">autoindex</code> run, and never during a query. The compressed file is not re-read to answer a search, so a hint that narrows the decompressed range is unnecessary.</p>+ <p>The cost you do pay is index size and memory during the run. Keep log work to modest volumes on 1 single-node process. The project's own guidance is to plan corpora of at most a few million documents.</p>+ <h2>Counting documents against lines</h2>+ <p>The gzip index held <code class="inline">5001</code> documents for a 5,000-line log. XERJ writes 1 document per line plus 1 per-file document. Name the convention whenever you compare a document total with a line count.</p>+ <h2>FAQ</h2>+ <h3>How do I search gzipped logs without decompressing the whole file?</h3>+ <p>XERJ decompresses the file once during the <code class="inline">autoindex</code> run and indexes what it reads. Every later query runs against the index, so the archive is never expanded again.</p>+ <h3>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</h3>+ <p>Index the folder once. Gzip is transparent on every parsed family, so a <code class="inline">.jsonl.gz</code> file and a plain <code class="inline">.log</code> file are read in the same run and one index pattern queries both.</p>+ <h3>How do I grep a compressed log folder without zgrep?</h3>+ <p>Index the folder, then query the index. The captured gzip index answered a <code class="inline">level=ERROR</code> filter at p50 0.455 ms over 30 timed runs on one shared host, because no decompression happens at query time.</p>+ <h3>Do gzip logs and plain logs give the same results?</h3>+ <p>Yes. In our capture both indices held <code class="inline">5001</code> documents and both returned 1250 hits for <code class="inline">level=ERROR</code> with the same top message.</p>+ <h3>How do I tell a gzip-sourced document from a plain one?</h3>+ <p>Read <code class="inline">ax_format</code>. The gzip index records <code class="inline">logs(gzip)</code> and the plain index records <code class="inline">logs</code>, and <code class="inline">ax_path</code> keeps the <code class="inline">.gz</code> file name.</p>+ <h3>Which fields does XERJ create for a log line?</h3>+ <p><code class="inline">ts</code> as a date, <code class="inline">level</code> as a keyword, <code class="inline">message</code> as a keyword, plus <code class="inline">title</code> and the 7 <code class="inline">ax_*</code> provenance fields. There is no generic <code class="inline">text</code> field.</p>+ <h3>Why does a match query on text return 0 hits?</h3>+ <p>Because a log index has no field named <code class="inline">text</code>. Filter on <code class="inline">level</code>, run a <code class="inline">wildcard</code> on <code class="inline">message</code>, and range over <code class="inline">ts</code>.</p>+ <h2>Related</h2>+ <ul>+ <li><a href="/answers/search-json-and-jsonl-logs">What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a></li>+ <li><a href="/answers/cheap-low-volume-log-search">What can I use for low-volume log search?</a></li>+ <li><a href="/answers/search-file-contents-in-a-folder">I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,90 +326,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I SEARCH GZIPPED LOGS WITHOUT DECOMPRESSING THE WHOLE FILE — INCLUDING WHEN JSONL SITS NEXT TO THEM?</div>- <div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>- <h1>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-21</div>- <p><strong>TL;DR</strong> — XERJ decompresses a <code class="inline">.gz</code> log once at index time, so a query never reads the compressed file again. In our capture the plain copy and the gzip copy of one log both returned <code class="inline">5001</code> from <code class="inline">_count</code>. Both also returned 1250 hits for <code class="inline">level=ERROR</code>.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent. Read https://xerj.org/llms.txt, start a XERJ node with --insecure, run xerj autoindex on a folder of .gz logs with --prefix gzz, then GET /gzz-*/_count and POST a bool filter on level to /gzz-*/_search, and report that ax_format is logs(gzip) and that ts is a date field you can range over.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start a XERJ node with --insecure, run xerj autoindex on a folder of .gz logs with --prefix gzz, then GET /gzz-*/_count and POST a bool filter on level to /gzz-*/_search, and report that ax_format is logs(gzip) and that ts is a date field you can range over.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj autoindex ./gzip-logs/gz --url http://127.0.0.1:9410 --prefix gzz --state-dir ./state-gzz --progress plain --disable-feedback</code>- <button type="button" class="prompt-copy" data-copy="xerj autoindex ./gzip-logs/gz --url http://127.0.0.1:9410 --prefix gzz --state-dir ./state-gzz --progress plain --disable-feedback">COPY COMMAND</button>- <span class="hero-proof">Index a folder of gzip-compressed log files.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XGET 'http://127.0.0.1:9410/gzz-*/_count'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XGET 'http://127.0.0.1:9410/gzz-*/_count'">COPY COMMAND</button>- <span class="hero-proof">Count the documents the gzip log produced.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST 'http://127.0.0.1:9410/gzz-*/_search' -H 'content-type: application/json' -d '{"query":{"bool":{"filter":[{"term":{"level":"ERROR"}}]}},"size":3,"_source":["ts","level","message","ax_format","ax_path"],"track_total_hits":true}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9410/gzz-*/_search' -H 'content-type: application/json' -d '{"query":{"bool":{"filter":[{"term":{"level":"ERROR"}}]}},"size":3,"_source":["ts","level","message","ax_format","ax_path"],"track_total_hits":true}'">COPY COMMAND</button>- <span class="hero-proof">Filter the log by level and read the parsed fields.</span>- </div>- <h2>Gzip is transparent to autoindex</h2>- <p><code class="inline">xerj autoindex</code> detects gzip by content and decompresses it during indexing, on every parsed family. A <code class="inline">.gz</code> log therefore produces the same documents and the same fields as the plain file it came from.</p>- <p>Index the gzip copy into its own prefix.</p>- <pre class="code"><code class="language-sh">xerj autoindex ./gzip-logs/gz --url http://127.0.0.1:9410 --prefix gzz --state-dir ./state-gzz --progress plain --disable-feedback-</code></pre>- <p>Index the plain copy into a second prefix when you want to compare the two.</p>- <pre class="code"><code class="language-sh">xerj autoindex ./gzip-logs/plain --url http://127.0.0.1:9410 --prefix gzp --state-dir ./state-gzp --progress plain --disable-feedback-</code></pre>- <h2>Identical counts and identical hits</h2>- <p>The 2 indices matched exactly in our capture. Both held <code class="inline">5001</code> documents, both returned 1250 hits for the <code class="inline">level=ERROR</code> filter, and both put the same message first.</p>- <table>- <thead><tr><th>request</th><th>plain copy</th><th>gzip copy</th><th>equal</th></tr></thead>- <tbody>- <tr><td><code class="inline">_count</code></td><td>5001</td><td>5001</td><td>yes</td></tr>- <tr><td>filter <code class="inline">level=ERROR</code></td><td>1250 hits</td><td>1250 hits</td><td>yes</td></tr>- <tr><td>wildcard <code class="inline">message=*marmoset-4242*</code></td><td>1 hit</td><td>1 hit</td><td>yes</td></tr>- </tbody>- </table>- <p>Both queries also returned the identical first message on the 2 indices: <code class="inline">auth marmoset-2 shard</code> for the level filter and <code class="inline">auth marmoset-4242 journal</code> for the wildcard. The fixture generator wrote those strings, and the node under test is single-shard and single-node.</p>- <p>The only field that differs is provenance. The plain index stores <code class="inline">ax_format</code> as <code class="inline">logs</code> and <code class="inline">ax_path</code> as <code class="inline">service.log</code>. The gzip index stores <code class="inline">logs(gzip)</code> and <code class="inline">service.log.gz</code>.</p>- <h2>The fields the logs family creates</h2>- <p>The logs family parses each line into <code class="inline">ts</code>, <code class="inline">level</code> and <code class="inline">message</code>, and adds <code class="inline">title</code> plus the 7 <code class="inline">ax_*</code> provenance fields. The <code class="inline">ts</code> field is a real <code class="inline">date</code> with format <code class="inline">strict_date_optional_time||epoch_millis</code>, so a range query and a date histogram both work.</p>- <p>There is no generic <code class="inline">text</code> field on a log index, and <code class="inline">message</code> is a <code class="inline">keyword</code>. A <code class="inline">match</code> on a field named <code class="inline">text</code> returns 0 hits. Filter on <code class="inline">level</code>, run a <code class="inline">wildcard</code> on <code class="inline">message</code>, and range over <code class="inline">ts</code>.</p>- <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9410/gzz-*/_search' -H 'content-type: application/json' -d '{"query":{"bool":{"filter":[{"term":{"level":"ERROR"}}]}},"size":3,"_source":["ts","level","message","ax_format","ax_path"],"track_total_hits":true}'-</code></pre>- <h2>Repeated-query latency on the gzip index</h2>- <p>The same <code class="inline">level=ERROR</code> filter over the gzip-sourced index measured a p50 of 0.455 ms and a p95 of 0.788 ms. The method was 30 timed runs after 5 discarded warmup runs, timed client-side on loopback. The 1-minute host load average was 0.98 before and after.</p>- <p>Read that as a repeated-query observation on 1 fixed corpus on 1 shared host. The number is not a benchmark and does not carry to another machine.</p>- <h2>What decompression costs you</h2>- <p>XERJ pays for decompression once, during the <code class="inline">autoindex</code> run, and never during a query. The compressed file is not re-read to answer a search, so a hint that narrows the decompressed range is unnecessary.</p>- <p>The cost you do pay is index size and memory during the run. Keep log work to modest volumes on 1 single-node process. The project's own guidance is to plan corpora of at most a few million documents.</p>- <h2>Counting documents against lines</h2>- <p>The gzip index held <code class="inline">5001</code> documents for a 5,000-line log. XERJ writes 1 document per line plus 1 per-file document. Name the convention whenever you compare a document total with a line count.</p>- <h2>FAQ</h2>- <h3>How do I search gzipped logs without decompressing the whole file?</h3>- <p>XERJ decompresses the file once during the <code class="inline">autoindex</code> run and indexes what it reads. Every later query runs against the index, so the archive is never expanded again.</p>- <h3>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</h3>- <p>Index the folder once. Gzip is transparent on every parsed family, so a <code class="inline">.jsonl.gz</code> file and a plain <code class="inline">.log</code> file are read in the same run and one index pattern queries both.</p>- <h3>How do I grep a compressed log folder without zgrep?</h3>- <p>Index the folder, then query the index. The captured gzip index answered a <code class="inline">level=ERROR</code> filter at p50 0.455 ms over 30 timed runs on one shared host, because no decompression happens at query time.</p>- <h3>Do gzip logs and plain logs give the same results?</h3>- <p>Yes. In our capture both indices held <code class="inline">5001</code> documents and both returned 1250 hits for <code class="inline">level=ERROR</code> with the same top message.</p>- <h3>How do I tell a gzip-sourced document from a plain one?</h3>- <p>Read <code class="inline">ax_format</code>. The gzip index records <code class="inline">logs(gzip)</code> and the plain index records <code class="inline">logs</code>, and <code class="inline">ax_path</code> keeps the <code class="inline">.gz</code> file name.</p>- <h3>Which fields does XERJ create for a log line?</h3>- <p><code class="inline">ts</code> as a date, <code class="inline">level</code> as a keyword, <code class="inline">message</code> as a keyword, plus <code class="inline">title</code> and the 7 <code class="inline">ax_*</code> provenance fields. There is no generic <code class="inline">text</code> field.</p>- <h3>Why does a match query on text return 0 hits?</h3>- <p>Because a log index has no field named <code class="inline">text</code>. Filter on <code class="inline">level</code>, run a <code class="inline">wildcard</code> on <code class="inline">message</code>, and range over <code class="inline">ts</code>.</p>- <h2>Related</h2>- <ul>- <li><a href="/answers/search-json-and-jsonl-logs">What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a></li>- <li><a href="/answers/cheap-low-volume-log-search">What can I use for low-volume log search?</a></li>- <li><a href="/answers/search-file-contents-in-a-folder">I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/search-gzipped-csv-or-json.html b/landing/answers/search-gzipped-csv-or-json.htmlindex 8e31e49fd..7b6e87e49 100644--- a/landing/answers/search-gzipped-csv-or-json.html+++ b/landing/answers/search-gzipped-csv-or-json.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/search-gzipped-csv-or-json.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/search-gzipped-csv-or-json">@@ -139,7 +139,107 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I SEARCH A .CSV.GZ OR .JSON.GZ WITHOUT UNZIPPING IT FIRST?</div>+ <div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>+ <h1>How do I search a .csv.gz or .json.gz without unzipping it first?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-22 · UPDATED · 2026-09-26</div>+ <p><strong>TL;DR</strong> — Gzip is a wrapper, not a family. <code class="inline">xerj autoindex</code> strips it during the run and sniffs the bytes underneath. A <code class="inline">.csv.gz</code> becomes typed columns, and a <code class="inline">.json.gz</code> becomes documents with fields. You never decompress anything yourself, and no query re-reads the archive.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent with a folder holding .csv.gz and .json.gz exports. Read https://xerj.org/llms.txt, run xerj autoindex on the folder, then run xerj autoindex map --json and confirm from the map that the compressed files produced typed columns before you write a query against them.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent with a folder holding .csv.gz and .json.gz exports. Read https://xerj.org/llms.txt, run xerj autoindex on the folder, then run xerj autoindex map --json and confirm from the map that the compressed files produced typed columns before you write a query against them.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj autoindex ./exports --url http://127.0.0.1:9200 --prefix gzx --state-dir ./state-gzx --progress plain --dry-run</code>+ <button type="button" class="prompt-copy" data-copy="xerj autoindex ./exports --url http://127.0.0.1:9200 --prefix gzx --state-dir ./state-gzx --progress plain --dry-run">COPY COMMAND</button>+ <span class="hero-proof">Read the plan first. The plan names the family each compressed file was sniffed as.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj autoindex ./exports --url http://127.0.0.1:9200 --prefix gzx --state-dir ./state-gzx --progress plain</code>+ <button type="button" class="prompt-copy" data-copy="xerj autoindex ./exports --url http://127.0.0.1:9200 --prefix gzx --state-dir ./state-gzx --progress plain">COPY COMMAND</button>+ <span class="hero-proof">Index the folder. The .gz files are decompressed once, during this run.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj autoindex map --url http://127.0.0.1:9200</code>+ <button type="button" class="prompt-copy" data-copy="xerj autoindex map --url http://127.0.0.1:9200">COPY COMMAND</button>+ <span class="hero-proof">Print the data map so the next query names a real index and a real field.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XGET http://127.0.0.1:9200/gzx-*/_mapping</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XGET http://127.0.0.1:9200/gzx-*/_mapping">COPY COMMAND</button>+ <span class="hero-proof">Confirm the inner columns are typed, rather than one text blob per file.</span>+ </div>+ <h2>What this page measured, and what it did not</h2>+ <p>The measured gzip capture on this site is the <strong>log</strong> family. A plain log and its gzip copy both returned <code class="inline">5001</code> from <code class="inline">_count</code>, and both returned 1250 hits for <code class="inline">level=ERROR</code>. The gzip index stored <code class="inline">ax_format</code> as <code class="inline">logs(gzip)</code>. That run is published on the <a href="/answers/search-gzip-logs-without-zgrep">gzip logs page</a>.</p>+ <p><strong>No <code class="inline">.csv.gz</code> or <code class="inline">.json.gz</code> capture was run for this page.</strong> The wrapper-plus-inner-dialect behaviour below is a documented capability of the extractors, not a measurement. This page publishes no counts, no field lists and no timings for those two shapes.</p>+ <p>If your export matters, run the dry run on your own folder first and read the plan. That takes one command and it answers the question for your files rather than for someone else's.</p>+ <h2>Gzip is a wrapper, not a family</h2>+ <p>XERJ detects file families by content, not by file extension. Gzip sits one layer above that. The streaming extractors cover JSON and JSONL, CSV with dialect sniffing, structured logs, <code class="inline">sqldump</code> files, SQLite, PDF, DOCX, HTML, XML, YAML and plain text — <strong>and gzip variants of them</strong>.</p>+ <p>So the question "which family is this file?" is answered after the wrapper comes off, not before. A <code class="inline">sales.csv.gz</code> is a CSV. An <code class="inline">events.json.gz</code> is JSON.</p>+ <p>The practical consequence is that the inner dialect still gets sniffed. CSV detection covers semicolon delimiters, decimal commas, a byte-order mark and quoted multiline fields, and none of that is skipped because the bytes arrived compressed.</p>+ <h2>Why this is different from grepping the archive</h2>+ <p><code class="inline">zgrep</code> and <code class="inline">ripgrep-all</code> both give you the text inside a <code class="inline">.gz</code>. What they cannot give you is the <strong>shape</strong>.</p>+ <p>A compressed CSV read as text is a stream of lines. A compressed CSV read as a CSV is a dataset with named columns. A numeric column is then a number you can range over, and a keyword column is a term you can filter and aggregate.</p>+ <pre class="code"><code class="language-sh">curl -s -XGET 'http://127.0.0.1:9200/gzx-*/_mapping'+</code></pre>+ <p>That request is the check that matters. If the inner columns appear in the mapping with their own types, the dialect survived the wrapper. If the whole file is one text field, it did not, and you should say so rather than write around it.</p>+ <h2>Read the plan before the run</h2>+ <pre class="code"><code class="language-sh">xerj autoindex ./exports --url http://127.0.0.1:9200 --prefix gzx --state-dir ./state-gzx --progress plain --dry-run+</code></pre>+ <p>A dry run walks, sniffs and infers, prints the plan, and indexes nothing. It is the cheapest way to see which family each compressed file was recognised as, and it costs one command.</p>+ <p>Then run it for real and read the data map, which names the datasets and the fields your next query can use.</p>+ <pre class="code"><code class="language-sh">xerj autoindex map --url http://127.0.0.1:9200+</code></pre>+ <h2>Decompression happens once</h2>+ <p>XERJ pays for decompression during the <code class="inline">autoindex</code> run, not during a query. The compressed file is not re-read to answer a search.</p>+ <p>What you pay instead is index size and memory during the run. XERJ is single-node and the server currently retains heap per indexed document, so keep a compressed-export corpus to a modest volume rather than pointing it at an archive directory of unknown size.</p>+ <p>Provenance still names the compressed source. <code class="inline">ax_path</code> keeps the <code class="inline">.gz</code> file name, and <code class="inline">ax_format</code> names the wrapper alongside the family. A hit from a compressed export is therefore never mistaken for a hit from a plain one.</p>+ <h2>When to choose ripgrep-all instead</h2>+ <p>Choose <code class="inline">ripgrep-all</code> when the archive is <strong>nested</strong>. It wraps ripgrep with adapters for PDF, Office documents, zip, tar, compressed files and SQLite. It walks into them without building an index.</p>+ <p>XERJ has no archive handler. A <code class="inline">.tar.gz</code> and a <code class="inline">.zip</code> are not unpacked, so their contents are not searchable in XERJ at all. That is a real rga win and it is not worked around on this page. A mail archive is the exception, because it needs no unpacking: since v1.0.0-rc.75 an <code class="inline">mbox</code> file is detected by content — a From-separator plus RFC 5322 headers, the extension is irrelevant — and streamed one message at a time (<a href="https://github.com/xerj-org/xerj/pull/949">#949</a>), so its messages are searchable. PST, OST and Maildir are still unhandled.</p>+ <p>Choose <code class="inline">ripgrep-all</code> for one question asked once, too. There is no node to start and no index to build. For a single regex over a single compressed file, that is less work by every measure.</p>+ <p>Choose XERJ when the folder will be asked more than one question. Choose it when the answer needs typed columns rather than matching lines. Choose it when the caller is an agent that wants HTTP or MCP. The <a href="/compare/xerj-vs-ripgrep-all">ripgrep-all comparison</a> covers that trade in full.</p>+ <h2>Related shapes</h2>+ <p>Uncompressed CSV exports in a folder are the <a href="/answers/index-multiple-csv-files">multiple CSV files page</a>, which carries a real capture of how headers split into datasets.</p>+ <p>JSON and JSONL logs sitting next to gzip logs are the <a href="/answers/search-json-and-jsonl-logs">JSON logs page</a>. Both of those pages measured what they publish; this one names its documented mechanism and stops there.</p>+ <h2>FAQ</h2>+ <h3>How do I search gzipped CSV exports?</h3>+ <p>Point <code class="inline">xerj autoindex</code> at the folder. Gzip is treated as a wrapper, so the inner CSV is sniffed and typed and you query columns rather than a blob.</p>+ <h3>Can I index .json.gz files as structured data?</h3>+ <p>Yes. JSON and JSONL are parsed families and gzip is a wrapper over them, so a <code class="inline">.json.gz</code> file lands as records with fields, not as one compressed document.</p>+ <h3>How do I grep a compressed CSV?</h3>+ <p>You can, with <code class="inline">zgrep</code> or <code class="inline">ripgrep-all</code>, and for a single one-off question that is the smaller tool. Indexing wins when you are going to ask the folder more than one question.</p>+ <h3>How do I search a .csv.gz or .json.gz without unzipping it first?</h3>+ <p>You never unzip it yourself. <code class="inline">xerj autoindex</code> decompresses each <code class="inline">.gz</code> once during the run and indexes what it reads, so no query ever expands the archive again.</p>+ <h3>Does the CSV dialect survive the gzip wrapper?</h3>+ <p>That is the design: the wrapper is stripped and the inner bytes go through the same CSV dialect sniff that handles semicolons, decimal commas, a BOM and quoted multiline fields. No capture on this page measures it.</p>+ <h3>Can XERJ read a .tar.gz?</h3>+ <p>No. XERJ has no archive handler, so a tar inside a gzip is not unpacked. <code class="inline">ripgrep-all</code> does walk nested archives, and it is the right tool for that folder.</p>+ <h3>How do I tell a gzip-sourced document from a plain one?</h3>+ <p>Read <code class="inline">ax_format</code>. The captured gzip log index recorded <code class="inline">logs(gzip)</code> where the plain copy recorded <code class="inline">logs</code>, and <code class="inline">ax_path</code> keeps the <code class="inline">.gz</code> file name.</p>+ <h3>Did you measure a .csv.gz run for this page?</h3>+ <p>No. The measured gzip capture on this site is the log family. The CSV and JSON wrapper behaviour here is documented capability, and it is written as such.</p>+ <h2>Evidence</h2>+ <ul>+ <li>Streaming extractors cover JSON/JSONL, CSV (dialect-sniffed: semicolon, decimal comma, BOM, quoted multiline), structured logs, SQL dumps, SQLite, PDF, DOCX, HTML, XML, YAML, plain text, and gzip variants. — <code>landing/llms.txt:231</code></li>+ <li>In the captured gzip-log run the plain copy and the gzip copy of one log both returned 5001 from _count and both returned 1250 hits for level=ERROR, and the gzip index recorded ax_format as logs(gzip). — <code>content/answers/search-gzip-logs-without-zgrep.md</code></li>+ <li>ripgrep-all wraps ripgrep with adapters for PDF, Office documents, zip, tar, compressed files and SQLite, and needs no index. — <a href="https://github.com/phiresky/ripgrep-all">https://github.com/phiresky/ripgrep-all</a></li>+ </ul>+ <h2>Related</h2>+ <ul>+ <li><a href="/answers/search-gzip-logs-without-zgrep">How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a></li>+ <li><a href="/answers/index-multiple-csv-files">I have a directory of CSV exports. How do I query them without opening each one in Excel?</a></li>+ <li><a href="/answers/search-json-and-jsonl-logs">What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a></li>+ <li><a href="/answers/catalog-files-with-autoindex-map">How should an agent figure out what's in a messy data folder before searching?</a></li>+ <li><a href="/compare/xerj-vs-ripgrep-all">How do I grep PDFs and Word docs from the command line?</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,106 +342,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I SEARCH A .CSV.GZ OR .JSON.GZ WITHOUT UNZIPPING IT FIRST?</div>- <div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>- <h1>How do I search a .csv.gz or .json.gz without unzipping it first?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-22 · UPDATED · 2026-09-26</div>- <p><strong>TL;DR</strong> — Gzip is a wrapper, not a family. <code class="inline">xerj autoindex</code> strips it during the run and sniffs the bytes underneath. A <code class="inline">.csv.gz</code> becomes typed columns, and a <code class="inline">.json.gz</code> becomes documents with fields. You never decompress anything yourself, and no query re-reads the archive.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent with a folder holding .csv.gz and .json.gz exports. Read https://xerj.org/llms.txt, run xerj autoindex on the folder, then run xerj autoindex map --json and confirm from the map that the compressed files produced typed columns before you write a query against them.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent with a folder holding .csv.gz and .json.gz exports. Read https://xerj.org/llms.txt, run xerj autoindex on the folder, then run xerj autoindex map --json and confirm from the map that the compressed files produced typed columns before you write a query against them.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj autoindex ./exports --url http://127.0.0.1:9200 --prefix gzx --state-dir ./state-gzx --progress plain --dry-run</code>- <button type="button" class="prompt-copy" data-copy="xerj autoindex ./exports --url http://127.0.0.1:9200 --prefix gzx --state-dir ./state-gzx --progress plain --dry-run">COPY COMMAND</button>- <span class="hero-proof">Read the plan first. The plan names the family each compressed file was sniffed as.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj autoindex ./exports --url http://127.0.0.1:9200 --prefix gzx --state-dir ./state-gzx --progress plain</code>- <button type="button" class="prompt-copy" data-copy="xerj autoindex ./exports --url http://127.0.0.1:9200 --prefix gzx --state-dir ./state-gzx --progress plain">COPY COMMAND</button>- <span class="hero-proof">Index the folder. The .gz files are decompressed once, during this run.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj autoindex map --url http://127.0.0.1:9200</code>- <button type="button" class="prompt-copy" data-copy="xerj autoindex map --url http://127.0.0.1:9200">COPY COMMAND</button>- <span class="hero-proof">Print the data map so the next query names a real index and a real field.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XGET http://127.0.0.1:9200/gzx-*/_mapping</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XGET http://127.0.0.1:9200/gzx-*/_mapping">COPY COMMAND</button>- <span class="hero-proof">Confirm the inner columns are typed, rather than one text blob per file.</span>- </div>- <h2>What this page measured, and what it did not</h2>- <p>The measured gzip capture on this site is the <strong>log</strong> family. A plain log and its gzip copy both returned <code class="inline">5001</code> from <code class="inline">_count</code>, and both returned 1250 hits for <code class="inline">level=ERROR</code>. The gzip index stored <code class="inline">ax_format</code> as <code class="inline">logs(gzip)</code>. That run is published on the <a href="/answers/search-gzip-logs-without-zgrep">gzip logs page</a>.</p>- <p><strong>No <code class="inline">.csv.gz</code> or <code class="inline">.json.gz</code> capture was run for this page.</strong> The wrapper-plus-inner-dialect behaviour below is a documented capability of the extractors, not a measurement. This page publishes no counts, no field lists and no timings for those two shapes.</p>- <p>If your export matters, run the dry run on your own folder first and read the plan. That takes one command and it answers the question for your files rather than for someone else's.</p>- <h2>Gzip is a wrapper, not a family</h2>- <p>XERJ detects file families by content, not by file extension. Gzip sits one layer above that. The streaming extractors cover JSON and JSONL, CSV with dialect sniffing, structured logs, <code class="inline">sqldump</code> files, SQLite, PDF, DOCX, HTML, XML, YAML and plain text — <strong>and gzip variants of them</strong>.</p>- <p>So the question "which family is this file?" is answered after the wrapper comes off, not before. A <code class="inline">sales.csv.gz</code> is a CSV. An <code class="inline">events.json.gz</code> is JSON.</p>- <p>The practical consequence is that the inner dialect still gets sniffed. CSV detection covers semicolon delimiters, decimal commas, a byte-order mark and quoted multiline fields, and none of that is skipped because the bytes arrived compressed.</p>- <h2>Why this is different from grepping the archive</h2>- <p><code class="inline">zgrep</code> and <code class="inline">ripgrep-all</code> both give you the text inside a <code class="inline">.gz</code>. What they cannot give you is the <strong>shape</strong>.</p>- <p>A compressed CSV read as text is a stream of lines. A compressed CSV read as a CSV is a dataset with named columns. A numeric column is then a number you can range over, and a keyword column is a term you can filter and aggregate.</p>- <pre class="code"><code class="language-sh">curl -s -XGET 'http://127.0.0.1:9200/gzx-*/_mapping'-</code></pre>- <p>That request is the check that matters. If the inner columns appear in the mapping with their own types, the dialect survived the wrapper. If the whole file is one text field, it did not, and you should say so rather than write around it.</p>- <h2>Read the plan before the run</h2>- <pre class="code"><code class="language-sh">xerj autoindex ./exports --url http://127.0.0.1:9200 --prefix gzx --state-dir ./state-gzx --progress plain --dry-run-</code></pre>- <p>A dry run walks, sniffs and infers, prints the plan, and indexes nothing. It is the cheapest way to see which family each compressed file was recognised as, and it costs one command.</p>- <p>Then run it for real and read the data map, which names the datasets and the fields your next query can use.</p>- <pre class="code"><code class="language-sh">xerj autoindex map --url http://127.0.0.1:9200-</code></pre>- <h2>Decompression happens once</h2>- <p>XERJ pays for decompression during the <code class="inline">autoindex</code> run, not during a query. The compressed file is not re-read to answer a search.</p>- <p>What you pay instead is index size and memory during the run. XERJ is single-node and the server currently retains heap per indexed document, so keep a compressed-export corpus to a modest volume rather than pointing it at an archive directory of unknown size.</p>- <p>Provenance still names the compressed source. <code class="inline">ax_path</code> keeps the <code class="inline">.gz</code> file name, and <code class="inline">ax_format</code> names the wrapper alongside the family. A hit from a compressed export is therefore never mistaken for a hit from a plain one.</p>- <h2>When to choose ripgrep-all instead</h2>- <p>Choose <code class="inline">ripgrep-all</code> when the archive is <strong>nested</strong>. It wraps ripgrep with adapters for PDF, Office documents, zip, tar, compressed files and SQLite. It walks into them without building an index.</p>- <p>XERJ has no archive handler. A <code class="inline">.tar.gz</code> and a <code class="inline">.zip</code> are not unpacked, so their contents are not searchable in XERJ at all. That is a real rga win and it is not worked around on this page. A mail archive is the exception, because it needs no unpacking: since v1.0.0-rc.75 an <code class="inline">mbox</code> file is detected by content — a From-separator plus RFC 5322 headers, the extension is irrelevant — and streamed one message at a time (<a href="https://github.com/xerj-org/xerj/pull/949">#949</a>), so its messages are searchable. PST, OST and Maildir are still unhandled.</p>- <p>Choose <code class="inline">ripgrep-all</code> for one question asked once, too. There is no node to start and no index to build. For a single regex over a single compressed file, that is less work by every measure.</p>- <p>Choose XERJ when the folder will be asked more than one question. Choose it when the answer needs typed columns rather than matching lines. Choose it when the caller is an agent that wants HTTP or MCP. The <a href="/compare/xerj-vs-ripgrep-all">ripgrep-all comparison</a> covers that trade in full.</p>- <h2>Related shapes</h2>- <p>Uncompressed CSV exports in a folder are the <a href="/answers/index-multiple-csv-files">multiple CSV files page</a>, which carries a real capture of how headers split into datasets.</p>- <p>JSON and JSONL logs sitting next to gzip logs are the <a href="/answers/search-json-and-jsonl-logs">JSON logs page</a>. Both of those pages measured what they publish; this one names its documented mechanism and stops there.</p>- <h2>FAQ</h2>- <h3>How do I search gzipped CSV exports?</h3>- <p>Point <code class="inline">xerj autoindex</code> at the folder. Gzip is treated as a wrapper, so the inner CSV is sniffed and typed and you query columns rather than a blob.</p>- <h3>Can I index .json.gz files as structured data?</h3>- <p>Yes. JSON and JSONL are parsed families and gzip is a wrapper over them, so a <code class="inline">.json.gz</code> file lands as records with fields, not as one compressed document.</p>- <h3>How do I grep a compressed CSV?</h3>- <p>You can, with <code class="inline">zgrep</code> or <code class="inline">ripgrep-all</code>, and for a single one-off question that is the smaller tool. Indexing wins when you are going to ask the folder more than one question.</p>- <h3>How do I search a .csv.gz or .json.gz without unzipping it first?</h3>- <p>You never unzip it yourself. <code class="inline">xerj autoindex</code> decompresses each <code class="inline">.gz</code> once during the run and indexes what it reads, so no query ever expands the archive again.</p>- <h3>Does the CSV dialect survive the gzip wrapper?</h3>- <p>That is the design: the wrapper is stripped and the inner bytes go through the same CSV dialect sniff that handles semicolons, decimal commas, a BOM and quoted multiline fields. No capture on this page measures it.</p>- <h3>Can XERJ read a .tar.gz?</h3>- <p>No. XERJ has no archive handler, so a tar inside a gzip is not unpacked. <code class="inline">ripgrep-all</code> does walk nested archives, and it is the right tool for that folder.</p>- <h3>How do I tell a gzip-sourced document from a plain one?</h3>- <p>Read <code class="inline">ax_format</code>. The captured gzip log index recorded <code class="inline">logs(gzip)</code> where the plain copy recorded <code class="inline">logs</code>, and <code class="inline">ax_path</code> keeps the <code class="inline">.gz</code> file name.</p>- <h3>Did you measure a .csv.gz run for this page?</h3>- <p>No. The measured gzip capture on this site is the log family. The CSV and JSON wrapper behaviour here is documented capability, and it is written as such.</p>- <h2>Evidence</h2>- <ul>- <li>Streaming extractors cover JSON/JSONL, CSV (dialect-sniffed: semicolon, decimal comma, BOM, quoted multiline), structured logs, SQL dumps, SQLite, PDF, DOCX, HTML, XML, YAML, plain text, and gzip variants. — <code>landing/llms.txt:231</code></li>- <li>In the captured gzip-log run the plain copy and the gzip copy of one log both returned 5001 from _count and both returned 1250 hits for level=ERROR, and the gzip index recorded ax_format as logs(gzip). — <code>content/answers/search-gzip-logs-without-zgrep.md</code></li>- <li>ripgrep-all wraps ripgrep with adapters for PDF, Office documents, zip, tar, compressed files and SQLite, and needs no index. — <a href="https://github.com/phiresky/ripgrep-all">https://github.com/phiresky/ripgrep-all</a></li>- </ul>- <h2>Related</h2>- <ul>- <li><a href="/answers/search-gzip-logs-without-zgrep">How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a></li>- <li><a href="/answers/index-multiple-csv-files">I have a directory of CSV exports. How do I query them without opening each one in Excel?</a></li>- <li><a href="/answers/search-json-and-jsonl-logs">What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a></li>- <li><a href="/answers/catalog-files-with-autoindex-map">How should an agent figure out what's in a messy data folder before searching?</a></li>- <li><a href="/compare/xerj-vs-ripgrep-all">How do I grep PDFs and Word docs from the command line?</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/search-html-export.html b/landing/answers/search-html-export.htmlindex 76a947185..e3014b95d 100644--- a/landing/answers/search-html-export.html+++ b/landing/answers/search-html-export.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/search-html-export.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/search-html-export">@@ -139,7 +139,79 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>I SAVED A HELP-CENTER AS HTML. HOW DO I SEARCH IT LIKE THE REAL HELP-CENTER SEARCH?</div>+ <div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>+ <h1 class="h1-long">I saved a help-center as HTML. How do I search it like the real help-center search?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-21</div>+ <p><strong>TL;DR</strong> — XERJ <code class="inline">autoindex</code> indexes a static HTML export straight from local disk. In our 3-page capture XERJ extracted a <code class="inline">title</code> and a <code class="inline">headings</code> array from each page, and one <code class="inline">match</code> query on <code class="inline">body</code> returned 3 hits. A network watch observed 0 non-loopback peers during the run.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent. Read https://xerj.org/llms.txt, start a XERJ node with --insecure, run xerj autoindex ./html-export --prefix web on a folder of saved HTML pages, then POST a match query on body to /web-*/_search and report ax_path, title and the headings array for every hit without fetching any URL.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start a XERJ node with --insecure, run xerj autoindex ./html-export --prefix web on a folder of saved HTML pages, then POST a match query on body to /web-*/_search and report ax_path, title and the headings array for every hit without fetching any URL.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj autoindex ./html-export --url http://127.0.0.1:9410 --prefix web --state-dir ./state-web --progress plain --disable-feedback</code>+ <button type="button" class="prompt-copy" data-copy="xerj autoindex ./html-export --url http://127.0.0.1:9410 --prefix web --state-dir ./state-web --progress plain --disable-feedback">COPY COMMAND</button>+ <span class="hero-proof">Index a folder of saved HTML pages from local disk.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST 'http://127.0.0.1:9410/web-*/_search' -H 'content-type: application/json' -d '{"query":{"match":{"body":"checkpoint journal"}},"size":10,"_source":["ax_path","title","headings","section"],"track_total_hits":true}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9410/web-*/_search' -H 'content-type: application/json' -d '{"query":{"match":{"body":"checkpoint journal"}},"size":10,"_source":["ax_path","title","headings","section"],"track_total_hits":true}'">COPY COMMAND</button>+ <span class="hero-proof">Search the page text and return the title and headings of each hit.</span>+ </div>+ <h2>Index the export from disk</h2>+ <p><code class="inline">xerj autoindex</code> indexes the HTML files that are already on disk and fetches no URL. XERJ has no fetcher and follows no <code class="inline">href</code>, so a saved site export is the input, not a live site.</p>+ <p>The command below indexes a folder of 3 static pages.</p>+ <pre class="code"><code class="language-sh">xerj autoindex ./html-export --url http://127.0.0.1:9410 --prefix web --state-dir ./state-web --progress plain --disable-feedback+</code></pre>+ <h2>Fields the HTML family produced</h2>+ <p>The HTML family produced <code class="inline">title</code>, <code class="inline">headings</code> and <code class="inline">body</code>, on top of the 7 <code class="inline">ax_*</code> provenance fields. The <code class="inline">headings</code> field is an array of the heading text in document order, so <code class="inline">recovery.html</code> carried <code class="inline">["Recovery procedure", "Overview"]</code>.</p>+ <p>That field set distinguishes HTML from plain text in XERJ. A Markdown file lands in the <code class="inline">txt-prose</code> family and gets no <code class="inline">headings</code> array, as <a href="/answers/index-markdown-into-elasticsearch-api">the Markdown answer</a> shows.</p>+ <h2>The query and its 3 hits</h2>+ <p>One <code class="inline">match</code> query on <code class="inline">body</code> for <code class="inline">checkpoint journal</code> returned 3 hits, one per page, ranked by BM25. The captured <code class="inline">_source</code> carried <code class="inline">ax_path</code>, <code class="inline">title</code> and <code class="inline">headings</code> for every hit.</p>+ <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9410/web-*/_search' -H 'content-type: application/json' -d '{"query":{"match":{"body":"checkpoint journal"}},"size":10,"_source":["ax_path","title","headings","section"],"track_total_hits":true}'+</code></pre>+ <table>+ <thead><tr><th><code class="inline">ax_path</code></th><th><code class="inline">title</code></th><th><code class="inline">headings</code></th><th><code class="inline">_score</code></th></tr></thead>+ <tbody>+ <tr><td><code class="inline">recovery.html</code></td><td>Recovery procedure</td><td><code class="inline">["Recovery procedure", "Overview"]</code></td><td><code class="inline">0.61400104</code></td></tr>+ <tr><td><code class="inline">index.html</code></td><td>Export index</td><td><code class="inline">["Runbook export", "Overview"]</code></td><td><code class="inline">0.57417387</code></td></tr>+ <tr><td><code class="inline">glossary.html</code></td><td>Glossary</td><td><code class="inline">["Glossary", "Overview"]</code></td><td><code class="inline">0.14597225</code></td></tr>+ </tbody>+ </table>+ <h2>Proof that no URL was fetched</h2>+ <p>A network watch over the XERJ node and the whole harness process tree observed 0 non-loopback peers for the whole run. The watch polled <code class="inline">/proc/net/tcp</code> and <code class="inline">/proc/net/tcp6</code> and cross-referenced the socket inodes of up to 4 process ids in the watched tree.</p>+ <p>The method has one honest limit, and the capture states it. The watch is a sampler, not a packet capture, and it took 4 samples at a 0.05 second interval across 0.32 seconds. A connection that opens and closes inside one gap can escape the sampler.</p>+ <h2>Limits worth knowing before you start</h2>+ <p>XERJ indexes files from a filesystem walk on 1 single-node process, so the export must exist on disk first. A hidden dotfile and a dotted directory are always skipped, and <code class="inline">--no-ignore</code> does not turn that off.</p>+ <p>XERJ elects <code class="inline">body</code> as a <code class="inline">semantic_text</code> field on document datasets. The default embedder is lexical feature hashing, and the neural embedder is opt-in through <code class="inline">--embed-mode neural</code>. A <code class="inline">match</code> query on a <code class="inline">semantic_text</code> field runs BM25, not kNN.</p>+ <h2>FAQ</h2>+ <h3>I saved a bunch of docs pages as HTML. How do I search that?</h3>+ <p>Index the folder from disk and send a <code class="inline">match</code> query on <code class="inline">body</code>. The HTML family produces <code class="inline">title</code>, <code class="inline">headings</code> and <code class="inline">body</code>, so a hit names the page and its section headings.</p>+ <h3>How do I search my Confluence HTML export?</h3>+ <p>The same way. XERJ reads the saved files from disk and fetches no URL, and the Confluence export article covers that space layout in detail.</p>+ <h3>How do I search a wget of vendor docs?</h3>+ <p>Point <code class="inline">autoindex</code> at the download directory. Every page becomes a document with <code class="inline">title</code>, <code class="inline">headings</code> and <code class="inline">body</code>, and one <code class="inline">match</code> query on <code class="inline">body</code> covers the whole mirror.</p>+ <h3>Does site navigation drown the real hits?</h3>+ <p>It can. Every saved page repeats its nav and footer text in <code class="inline">body</code>, so a common word matches many pages. Query a distinctive phrase, or read <code class="inline">title</code> and <code class="inline">headings</code> to keep the answer inside the article text.</p>+ <h3>Does XERJ download the pages itself?</h3>+ <p>No. XERJ indexes HTML files that are already on disk and fetches no URL. Our network watch observed 0 non-loopback peers during the run.</p>+ <h3>Can I see which headings a page has?</h3>+ <p>Yes. Ask for <code class="inline">headings</code> in <code class="inline">_source</code>. In our capture <code class="inline">recovery.html</code> returned <code class="inline">["Recovery procedure", "Overview"]</code> in document order.</p>+ <h3>Is the zero-network result a packet capture?</h3>+ <p>No. The capture is a sampler at a 0.05 second interval, so a connection opening and closing inside one gap would be missed. The capture states that limit.</p>+ <h2>Related</h2>+ <ul>+ <li><a href="/answers/search-file-contents-in-a-folder">I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a></li>+ <li><a href="/answers/search-confluence-html-export">How do I search a Confluence export?</a></li>+ <li><a href="/answers/give-chatgpt-claude-local-file-access">Can ChatGPT search a folder on my laptop, or do I need something else?</a></li>+ <li><a href="/compare/xerj-vs-pagefind">Pagefind vs indexing a local HTML dump for an agent?</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,78 +314,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>I SAVED A HELP-CENTER AS HTML. HOW DO I SEARCH IT LIKE THE REAL HELP-CENTER SEARCH?</div>- <div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>- <h1>I saved a help-center as HTML. How do I search it like the real help-center search?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-21</div>- <p><strong>TL;DR</strong> — XERJ <code class="inline">autoindex</code> indexes a static HTML export straight from local disk. In our 3-page capture XERJ extracted a <code class="inline">title</code> and a <code class="inline">headings</code> array from each page, and one <code class="inline">match</code> query on <code class="inline">body</code> returned 3 hits. A network watch observed 0 non-loopback peers during the run.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent. Read https://xerj.org/llms.txt, start a XERJ node with --insecure, run xerj autoindex ./html-export --prefix web on a folder of saved HTML pages, then POST a match query on body to /web-*/_search and report ax_path, title and the headings array for every hit without fetching any URL.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start a XERJ node with --insecure, run xerj autoindex ./html-export --prefix web on a folder of saved HTML pages, then POST a match query on body to /web-*/_search and report ax_path, title and the headings array for every hit without fetching any URL.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj autoindex ./html-export --url http://127.0.0.1:9410 --prefix web --state-dir ./state-web --progress plain --disable-feedback</code>- <button type="button" class="prompt-copy" data-copy="xerj autoindex ./html-export --url http://127.0.0.1:9410 --prefix web --state-dir ./state-web --progress plain --disable-feedback">COPY COMMAND</button>- <span class="hero-proof">Index a folder of saved HTML pages from local disk.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST 'http://127.0.0.1:9410/web-*/_search' -H 'content-type: application/json' -d '{"query":{"match":{"body":"checkpoint journal"}},"size":10,"_source":["ax_path","title","headings","section"],"track_total_hits":true}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9410/web-*/_search' -H 'content-type: application/json' -d '{"query":{"match":{"body":"checkpoint journal"}},"size":10,"_source":["ax_path","title","headings","section"],"track_total_hits":true}'">COPY COMMAND</button>- <span class="hero-proof">Search the page text and return the title and headings of each hit.</span>- </div>- <h2>Index the export from disk</h2>- <p><code class="inline">xerj autoindex</code> indexes the HTML files that are already on disk and fetches no URL. XERJ has no fetcher and follows no <code class="inline">href</code>, so a saved site export is the input, not a live site.</p>- <p>The command below indexes a folder of 3 static pages.</p>- <pre class="code"><code class="language-sh">xerj autoindex ./html-export --url http://127.0.0.1:9410 --prefix web --state-dir ./state-web --progress plain --disable-feedback-</code></pre>- <h2>Fields the HTML family produced</h2>- <p>The HTML family produced <code class="inline">title</code>, <code class="inline">headings</code> and <code class="inline">body</code>, on top of the 7 <code class="inline">ax_*</code> provenance fields. The <code class="inline">headings</code> field is an array of the heading text in document order, so <code class="inline">recovery.html</code> carried <code class="inline">["Recovery procedure", "Overview"]</code>.</p>- <p>That field set distinguishes HTML from plain text in XERJ. A Markdown file lands in the <code class="inline">txt-prose</code> family and gets no <code class="inline">headings</code> array, as <a href="/answers/index-markdown-into-elasticsearch-api">the Markdown answer</a> shows.</p>- <h2>The query and its 3 hits</h2>- <p>One <code class="inline">match</code> query on <code class="inline">body</code> for <code class="inline">checkpoint journal</code> returned 3 hits, one per page, ranked by BM25. The captured <code class="inline">_source</code> carried <code class="inline">ax_path</code>, <code class="inline">title</code> and <code class="inline">headings</code> for every hit.</p>- <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9410/web-*/_search' -H 'content-type: application/json' -d '{"query":{"match":{"body":"checkpoint journal"}},"size":10,"_source":["ax_path","title","headings","section"],"track_total_hits":true}'-</code></pre>- <table>- <thead><tr><th><code class="inline">ax_path</code></th><th><code class="inline">title</code></th><th><code class="inline">headings</code></th><th><code class="inline">_score</code></th></tr></thead>- <tbody>- <tr><td><code class="inline">recovery.html</code></td><td>Recovery procedure</td><td><code class="inline">["Recovery procedure", "Overview"]</code></td><td><code class="inline">0.61400104</code></td></tr>- <tr><td><code class="inline">index.html</code></td><td>Export index</td><td><code class="inline">["Runbook export", "Overview"]</code></td><td><code class="inline">0.57417387</code></td></tr>- <tr><td><code class="inline">glossary.html</code></td><td>Glossary</td><td><code class="inline">["Glossary", "Overview"]</code></td><td><code class="inline">0.14597225</code></td></tr>- </tbody>- </table>- <h2>Proof that no URL was fetched</h2>- <p>A network watch over the XERJ node and the whole harness process tree observed 0 non-loopback peers for the whole run. The watch polled <code class="inline">/proc/net/tcp</code> and <code class="inline">/proc/net/tcp6</code> and cross-referenced the socket inodes of up to 4 process ids in the watched tree.</p>- <p>The method has one honest limit, and the capture states it. The watch is a sampler, not a packet capture, and it took 4 samples at a 0.05 second interval across 0.32 seconds. A connection that opens and closes inside one gap can escape the sampler.</p>- <h2>Limits worth knowing before you start</h2>- <p>XERJ indexes files from a filesystem walk on 1 single-node process, so the export must exist on disk first. A hidden dotfile and a dotted directory are always skipped, and <code class="inline">--no-ignore</code> does not turn that off.</p>- <p>XERJ elects <code class="inline">body</code> as a <code class="inline">semantic_text</code> field on document datasets. The default embedder is lexical feature hashing, and the neural embedder is opt-in through <code class="inline">--embed-mode neural</code>. A <code class="inline">match</code> query on a <code class="inline">semantic_text</code> field runs BM25, not kNN.</p>- <h2>FAQ</h2>- <h3>I saved a bunch of docs pages as HTML. How do I search that?</h3>- <p>Index the folder from disk and send a <code class="inline">match</code> query on <code class="inline">body</code>. The HTML family produces <code class="inline">title</code>, <code class="inline">headings</code> and <code class="inline">body</code>, so a hit names the page and its section headings.</p>- <h3>How do I search my Confluence HTML export?</h3>- <p>The same way. XERJ reads the saved files from disk and fetches no URL, and the Confluence export article covers that space layout in detail.</p>- <h3>How do I search a wget of vendor docs?</h3>- <p>Point <code class="inline">autoindex</code> at the download directory. Every page becomes a document with <code class="inline">title</code>, <code class="inline">headings</code> and <code class="inline">body</code>, and one <code class="inline">match</code> query on <code class="inline">body</code> covers the whole mirror.</p>- <h3>Does site navigation drown the real hits?</h3>- <p>It can. Every saved page repeats its nav and footer text in <code class="inline">body</code>, so a common word matches many pages. Query a distinctive phrase, or read <code class="inline">title</code> and <code class="inline">headings</code> to keep the answer inside the article text.</p>- <h3>Does XERJ download the pages itself?</h3>- <p>No. XERJ indexes HTML files that are already on disk and fetches no URL. Our network watch observed 0 non-loopback peers during the run.</p>- <h3>Can I see which headings a page has?</h3>- <p>Yes. Ask for <code class="inline">headings</code> in <code class="inline">_source</code>. In our capture <code class="inline">recovery.html</code> returned <code class="inline">["Recovery procedure", "Overview"]</code> in document order.</p>- <h3>Is the zero-network result a packet capture?</h3>- <p>No. The capture is a sampler at a 0.05 second interval, so a connection opening and closing inside one gap would be missed. The capture states that limit.</p>- <h2>Related</h2>- <ul>- <li><a href="/answers/search-file-contents-in-a-folder">I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a></li>- <li><a href="/answers/search-confluence-html-export">How do I search a Confluence export?</a></li>- <li><a href="/answers/give-chatgpt-claude-local-file-access">Can ChatGPT search a folder on my laptop, or do I need something else?</a></li>- <li><a href="/compare/xerj-vs-pagefind">Pagefind vs indexing a local HTML dump for an agent?</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/search-json-and-jsonl-logs.html b/landing/answers/search-json-and-jsonl-logs.htmlindex 11b09cd16..0cfb3ca99 100644--- a/landing/answers/search-json-and-jsonl-logs.html+++ b/landing/answers/search-json-and-jsonl-logs.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/search-json-and-jsonl-logs.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/search-json-and-jsonl-logs">@@ -139,7 +139,108 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>WHAT'S THE EASIEST WAY TO SEARCH JSON LOGS PLUS SOME OLD GZIP TEXT LOGS IN THE SAME FOLDER?</div>+ <div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>+ <h1 class="h1-long">What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-21</div>+ <p><strong>TL;DR</strong> — <code class="inline">xerj autoindex</code> detects JSON-array and JSONL log files from their content and gives each its own index. In a captured run over 2 files, XERJ inferred <code class="inline">timestamp</code> and <code class="inline">ts</code> as date fields with no configuration. A filter for <code class="inline">level=ERROR</code> returned exactly 386 hits.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent. Read https://xerj.org/llms.txt, start a local XERJ node, run `xerj autoindex ./json-logs --url http://127.0.0.1:9200 --prefix jlog --progress plain`, GET /jlog-*/_mapping to find which field XERJ inferred as a date, then POST a filtered search for level=ERROR and a terms aggregation on service, and report the hit total and the bucket counts.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start a local XERJ node, run `xerj autoindex ./json-logs --url http://127.0.0.1:9200 --prefix jlog --progress plain`, GET /jlog-*/_mapping to find which field XERJ inferred as a date, then POST a filtered search for level=ERROR and a terms aggregation on service, and report the hit total and the bucket counts.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj autoindex ./json-logs --url http://127.0.0.1:9200 --prefix jlog --progress plain</code>+ <button type="button" class="prompt-copy" data-copy="xerj autoindex ./json-logs --url http://127.0.0.1:9200 --prefix jlog --progress plain">COPY COMMAND</button>+ <span class="hero-proof">Index a folder holding both JSON-array and JSONL log files.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XGET http://127.0.0.1:9200/jlog-*/_mapping</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XGET http://127.0.0.1:9200/jlog-*/_mapping">COPY COMMAND</button>+ <span class="hero-proof">Read the inferred mapping, including the date field and the keyword fields.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST http://127.0.0.1:9200/jlog-*/_search -H 'content-type: application/json' -d '{"query":{"bool":{"filter":[{"term":{"level":"ERROR"}}]}},"size":3,"_source":["level","service","message","timestamp","ts"],"track_total_hits":true}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/jlog-*/_search -H 'content-type: application/json' -d '{"query":{"bool":{"filter":[{"term":{"level":"ERROR"}}]}},"size":3,"_source":["level","service","message","timestamp","ts"],"track_total_hits":true}'">COPY COMMAND</button>+ <span class="hero-proof">Filter both log indices for errors and get an exact total.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST http://127.0.0.1:9200/jlog-*/_search -H 'content-type: application/json' -d '{"size":0,"aggs":{"by_service":{"terms":{"field":"service","size":20}},"by_level":{"terms":{"field":"level","size":20}}}}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/jlog-*/_search -H 'content-type: application/json' -d '{"size":0,"aggs":{"by_service":{"terms":{"field":"service","size":20}},"by_level":{"terms":{"field":"level","size":20}}}}'">COPY COMMAND</button>+ <span class="hero-proof">Count log lines per service and per level, exactly.</span>+ </div>+ <h2>Index the log folder in one command</h2>+ <p><code class="inline">xerj autoindex <folder></code> reads both JSON layouts from file content, so the file extension does not decide anything. Each layout becomes its own dataset and its own index.</p>+ <pre class="code"><code class="language-sh">xerj autoindex ./json-logs --url http://127.0.0.1:9200 --prefix jlog --progress plain+</code></pre>+ <p>The captured folder held <code class="inline">app.jsonl</code>, a line-per-event file of 2,000 lines, and <code class="inline">audit.json</code>, a 500-element JSON array. XERJ produced <code class="inline">jlog-jsonl</code> with 2,001 documents and <code class="inline">jlog-json</code> with 501 documents.</p>+ <h2>The date field is inferred, not configured</h2>+ <p>XERJ elected a <code class="inline">date</code> type for the time field in both files, under two different key names. That inference is what makes a date range query work straight after the run.</p>+ <table>+ <thead><tr><th>index</th><th>date field</th><th>other inferred fields</th></tr></thead>+ <tbody>+ <tr><td><code class="inline">jlog-jsonl</code></td><td><code class="inline">timestamp</code></td><td><code class="inline">level</code> and <code class="inline">service</code> as <code class="inline">keyword</code>, <code class="inline">message</code> as <code class="inline">text</code>, <code class="inline">duration_ms</code> as <code class="inline">long</code></td></tr>+ <tr><td><code class="inline">jlog-json</code></td><td><code class="inline">ts</code></td><td><code class="inline">level</code> and <code class="inline">service</code> as <code class="inline">keyword</code>, <code class="inline">message</code> as <code class="inline">text</code></td></tr>+ </tbody>+ </table>+ <p>XERJ recognizes 8 date encodings, including RFC 3339, common log format, RFC 2822, epoch milliseconds and epoch seconds. A guard holds epoch-number guessing to a 1990 to 2100 value window, a floor of 20 distinct values and a span under 20 years. An ordinary integer column therefore stays a <code class="inline">long</code>.</p>+ <h2>Filter both indices for errors</h2>+ <p>One <code class="inline">term</code> filter on <code class="inline">level</code> across <code class="inline">/jlog-*/_search</code> returned exactly 386 hits. XERJ maps <code class="inline">level</code> and <code class="inline">service</code> as <code class="inline">keyword</code>, so an exact filter needs no analyzer and no wildcard.</p>+ <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9200/jlog-*/_search' \+ -H 'content-type: application/json' \+ -d '{"query":{"bool":{"filter":[{"term":{"level":"ERROR"}}]}},"size":3,"_source":["level","service","message","timestamp","ts"],"track_total_hits":true}'+</code></pre>+ <p>Pass <code class="inline">track_total_hits</code> when the number itself is the answer. Without it a client sees the page of hits, and an agent reporting a count must have the total.</p>+ <h2>Count by service, exactly</h2>+ <p>A <code class="inline">terms</code> aggregation on <code class="inline">service</code> returned 5 buckets of exactly 500 documents, and a second aggregation split the same corpus by level. XERJ reports <code class="inline">doc_count_error_upper_bound</code> 0 and <code class="inline">sum_other_doc_count</code> 0 on both, because every aggregation in XERJ is exact.</p>+ <pre class="code"><code class="language-json">{"by_service": {"buckets": [{"key": "auth", "doc_count": 500},+ {"key": "billing", "doc_count": 500},+ {"key": "checkout", "doc_count": 500},+ {"key": "inventory", "doc_count": 500},+ {"key": "search", "doc_count": 500}],+ "doc_count_error_upper_bound": 0, "sum_other_doc_count": 0},+ "by_level": {"buckets": [{"key": "INFO", "doc_count": 1714},+ {"key": "WARN", "doc_count": 400},+ {"key": "ERROR", "doc_count": 386}],+ "doc_count_error_upper_bound": 0, "sum_other_doc_count": 0}}+</code></pre>+ <p>Exactness matters for a log count. An approximate bucket count makes an error budget or an alert threshold unreliable. XERJ returned the true count on this corpus.</p>+ <h2>Compare the totals before you report one</h2>+ <p>The 2 files held 2,500 log lines, and the run reported 2,502 documents live. The <code class="inline">service</code> buckets total 2,500, so the 2 extra documents carry no <code class="inline">service</code> value.</p>+ <p>Compare <code class="inline">_count</code> with the sum of the aggregation buckets whenever the number is the deliverable. The gap is the count of documents that lack the field you grouped on.</p>+ <h2>What this capture does not show</h2>+ <p>This is a single-node run over 2 files and 2,500 log lines on 1 host, so it demonstrates inference and exactness rather than log-scale throughput. XERJ has no replication and no failover in this configuration.</p>+ <p>Gzip is transparent on every parsed family, so a compressed log file indexes like the plain file beside it. Full-text search on <code class="inline">message</code> ranks with BM25. The default embedder in XERJ is lexical feature hashing and cannot connect a query to a synonym; neural embeddings are opt-in through <code class="inline">--embed-mode neural</code>.</p>+ <p>Every number above comes from <code class="inline">RUN-A</code>, captured on 2026-08-21 on a 16-core AMD EPYC 9645 host.</p>+ <h2>FAQ</h2>+ <h3>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</h3>+ <p>Index the folder once. Gzip is transparent to <code class="inline">autoindex</code>, so a <code class="inline">.log.gz</code> file is read like the plain file beside it, and one index pattern such as <code class="inline">/jlog-*/_search</code> queries both.</p>+ <h3>How do I search JSON or JSONL log files without grepping blindly?</h3>+ <p>Run <code class="inline">xerj autoindex</code> on the folder, then send a filtered <code class="inline">_search</code> request. XERJ maps each JSON key to a typed field, so a <code class="inline">term</code> filter on <code class="inline">level</code> works at once.</p>+ <h3>I just want to search logs on my laptop. I don't want Elasticsearch in Docker.</h3>+ <p>Yes. XERJ is one native binary that serves the Elasticsearch-compatible port itself, so the log folder is indexed and queried on the host with no container runtime.</p>+ <h3>Does XERJ handle JSONL as well as a JSON array?</h3>+ <p>Yes. XERJ detects both from file content and gives each its own index. The captured run produced <code class="inline">jlog-jsonl</code> and <code class="inline">jlog-json</code> from one folder.</p>+ <h3>Does XERJ find the timestamp field by itself?</h3>+ <p>Yes. The captured run inferred <code class="inline">timestamp</code> as a date in one file and <code class="inline">ts</code> as a date in the other, with no configuration.</p>+ <h3>Are the error counts exact or estimated?</h3>+ <p>Exact. The captured filter returned 386 hits and the aggregations reported <code class="inline">doc_count_error_upper_bound</code> 0 and <code class="inline">sum_other_doc_count</code> 0.</p>+ <h3>Do gzipped log files work the same way?</h3>+ <p>Yes. Gzip is transparent on every parsed family, so a <code class="inline">.jsonl.gz</code> file indexes like the plain file next to it and lands in the same query pattern.</p>+ <h2>Related</h2>+ <ul>+ <li><a href="/answers/search-gzip-logs-without-zgrep">How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a></li>+ <li><a href="/answers/search-kubernetes-pod-logs-on-disk">How do I search Kubernetes pod logs?</a></li>+ <li><a href="/answers/cheap-low-volume-log-search">What can I use for low-volume log search?</a></li>+ <li><a href="/answers/search-engine-without-docker">Is there a single-binary local search engine I can just run?</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,107 +343,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>WHAT'S THE EASIEST WAY TO SEARCH JSON LOGS PLUS SOME OLD GZIP TEXT LOGS IN THE SAME FOLDER?</div>- <div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>- <h1>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-21</div>- <p><strong>TL;DR</strong> — <code class="inline">xerj autoindex</code> detects JSON-array and JSONL log files from their content and gives each its own index. In a captured run over 2 files, XERJ inferred <code class="inline">timestamp</code> and <code class="inline">ts</code> as date fields with no configuration. A filter for <code class="inline">level=ERROR</code> returned exactly 386 hits.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent. Read https://xerj.org/llms.txt, start a local XERJ node, run `xerj autoindex ./json-logs --url http://127.0.0.1:9200 --prefix jlog --progress plain`, GET /jlog-*/_mapping to find which field XERJ inferred as a date, then POST a filtered search for level=ERROR and a terms aggregation on service, and report the hit total and the bucket counts.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start a local XERJ node, run `xerj autoindex ./json-logs --url http://127.0.0.1:9200 --prefix jlog --progress plain`, GET /jlog-*/_mapping to find which field XERJ inferred as a date, then POST a filtered search for level=ERROR and a terms aggregation on service, and report the hit total and the bucket counts.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj autoindex ./json-logs --url http://127.0.0.1:9200 --prefix jlog --progress plain</code>- <button type="button" class="prompt-copy" data-copy="xerj autoindex ./json-logs --url http://127.0.0.1:9200 --prefix jlog --progress plain">COPY COMMAND</button>- <span class="hero-proof">Index a folder holding both JSON-array and JSONL log files.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XGET http://127.0.0.1:9200/jlog-*/_mapping</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XGET http://127.0.0.1:9200/jlog-*/_mapping">COPY COMMAND</button>- <span class="hero-proof">Read the inferred mapping, including the date field and the keyword fields.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST http://127.0.0.1:9200/jlog-*/_search -H 'content-type: application/json' -d '{"query":{"bool":{"filter":[{"term":{"level":"ERROR"}}]}},"size":3,"_source":["level","service","message","timestamp","ts"],"track_total_hits":true}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/jlog-*/_search -H 'content-type: application/json' -d '{"query":{"bool":{"filter":[{"term":{"level":"ERROR"}}]}},"size":3,"_source":["level","service","message","timestamp","ts"],"track_total_hits":true}'">COPY COMMAND</button>- <span class="hero-proof">Filter both log indices for errors and get an exact total.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST http://127.0.0.1:9200/jlog-*/_search -H 'content-type: application/json' -d '{"size":0,"aggs":{"by_service":{"terms":{"field":"service","size":20}},"by_level":{"terms":{"field":"level","size":20}}}}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/jlog-*/_search -H 'content-type: application/json' -d '{"size":0,"aggs":{"by_service":{"terms":{"field":"service","size":20}},"by_level":{"terms":{"field":"level","size":20}}}}'">COPY COMMAND</button>- <span class="hero-proof">Count log lines per service and per level, exactly.</span>- </div>- <h2>Index the log folder in one command</h2>- <p><code class="inline">xerj autoindex <folder></code> reads both JSON layouts from file content, so the file extension does not decide anything. Each layout becomes its own dataset and its own index.</p>- <pre class="code"><code class="language-sh">xerj autoindex ./json-logs --url http://127.0.0.1:9200 --prefix jlog --progress plain-</code></pre>- <p>The captured folder held <code class="inline">app.jsonl</code>, a line-per-event file of 2,000 lines, and <code class="inline">audit.json</code>, a 500-element JSON array. XERJ produced <code class="inline">jlog-jsonl</code> with 2,001 documents and <code class="inline">jlog-json</code> with 501 documents.</p>- <h2>The date field is inferred, not configured</h2>- <p>XERJ elected a <code class="inline">date</code> type for the time field in both files, under two different key names. That inference is what makes a date range query work straight after the run.</p>- <table>- <thead><tr><th>index</th><th>date field</th><th>other inferred fields</th></tr></thead>- <tbody>- <tr><td><code class="inline">jlog-jsonl</code></td><td><code class="inline">timestamp</code></td><td><code class="inline">level</code> and <code class="inline">service</code> as <code class="inline">keyword</code>, <code class="inline">message</code> as <code class="inline">text</code>, <code class="inline">duration_ms</code> as <code class="inline">long</code></td></tr>- <tr><td><code class="inline">jlog-json</code></td><td><code class="inline">ts</code></td><td><code class="inline">level</code> and <code class="inline">service</code> as <code class="inline">keyword</code>, <code class="inline">message</code> as <code class="inline">text</code></td></tr>- </tbody>- </table>- <p>XERJ recognizes 8 date encodings, including RFC 3339, common log format, RFC 2822, epoch milliseconds and epoch seconds. A guard holds epoch-number guessing to a 1990 to 2100 value window, a floor of 20 distinct values and a span under 20 years. An ordinary integer column therefore stays a <code class="inline">long</code>.</p>- <h2>Filter both indices for errors</h2>- <p>One <code class="inline">term</code> filter on <code class="inline">level</code> across <code class="inline">/jlog-*/_search</code> returned exactly 386 hits. XERJ maps <code class="inline">level</code> and <code class="inline">service</code> as <code class="inline">keyword</code>, so an exact filter needs no analyzer and no wildcard.</p>- <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9200/jlog-*/_search' \- -H 'content-type: application/json' \- -d '{"query":{"bool":{"filter":[{"term":{"level":"ERROR"}}]}},"size":3,"_source":["level","service","message","timestamp","ts"],"track_total_hits":true}'-</code></pre>- <p>Pass <code class="inline">track_total_hits</code> when the number itself is the answer. Without it a client sees the page of hits, and an agent reporting a count must have the total.</p>- <h2>Count by service, exactly</h2>- <p>A <code class="inline">terms</code> aggregation on <code class="inline">service</code> returned 5 buckets of exactly 500 documents, and a second aggregation split the same corpus by level. XERJ reports <code class="inline">doc_count_error_upper_bound</code> 0 and <code class="inline">sum_other_doc_count</code> 0 on both, because every aggregation in XERJ is exact.</p>- <pre class="code"><code class="language-json">{"by_service": {"buckets": [{"key": "auth", "doc_count": 500},- {"key": "billing", "doc_count": 500},- {"key": "checkout", "doc_count": 500},- {"key": "inventory", "doc_count": 500},- {"key": "search", "doc_count": 500}],- "doc_count_error_upper_bound": 0, "sum_other_doc_count": 0},- "by_level": {"buckets": [{"key": "INFO", "doc_count": 1714},- {"key": "WARN", "doc_count": 400},- {"key": "ERROR", "doc_count": 386}],- "doc_count_error_upper_bound": 0, "sum_other_doc_count": 0}}-</code></pre>- <p>Exactness matters for a log count. An approximate bucket count makes an error budget or an alert threshold unreliable. XERJ returned the true count on this corpus.</p>- <h2>Compare the totals before you report one</h2>- <p>The 2 files held 2,500 log lines, and the run reported 2,502 documents live. The <code class="inline">service</code> buckets total 2,500, so the 2 extra documents carry no <code class="inline">service</code> value.</p>- <p>Compare <code class="inline">_count</code> with the sum of the aggregation buckets whenever the number is the deliverable. The gap is the count of documents that lack the field you grouped on.</p>- <h2>What this capture does not show</h2>- <p>This is a single-node run over 2 files and 2,500 log lines on 1 host, so it demonstrates inference and exactness rather than log-scale throughput. XERJ has no replication and no failover in this configuration.</p>- <p>Gzip is transparent on every parsed family, so a compressed log file indexes like the plain file beside it. Full-text search on <code class="inline">message</code> ranks with BM25. The default embedder in XERJ is lexical feature hashing and cannot connect a query to a synonym; neural embeddings are opt-in through <code class="inline">--embed-mode neural</code>.</p>- <p>Every number above comes from <code class="inline">RUN-A</code>, captured on 2026-08-21 on a 16-core AMD EPYC 9645 host.</p>- <h2>FAQ</h2>- <h3>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</h3>- <p>Index the folder once. Gzip is transparent to <code class="inline">autoindex</code>, so a <code class="inline">.log.gz</code> file is read like the plain file beside it, and one index pattern such as <code class="inline">/jlog-*/_search</code> queries both.</p>- <h3>How do I search JSON or JSONL log files without grepping blindly?</h3>- <p>Run <code class="inline">xerj autoindex</code> on the folder, then send a filtered <code class="inline">_search</code> request. XERJ maps each JSON key to a typed field, so a <code class="inline">term</code> filter on <code class="inline">level</code> works at once.</p>- <h3>I just want to search logs on my laptop. I don't want Elasticsearch in Docker.</h3>- <p>Yes. XERJ is one native binary that serves the Elasticsearch-compatible port itself, so the log folder is indexed and queried on the host with no container runtime.</p>- <h3>Does XERJ handle JSONL as well as a JSON array?</h3>- <p>Yes. XERJ detects both from file content and gives each its own index. The captured run produced <code class="inline">jlog-jsonl</code> and <code class="inline">jlog-json</code> from one folder.</p>- <h3>Does XERJ find the timestamp field by itself?</h3>- <p>Yes. The captured run inferred <code class="inline">timestamp</code> as a date in one file and <code class="inline">ts</code> as a date in the other, with no configuration.</p>- <h3>Are the error counts exact or estimated?</h3>- <p>Exact. The captured filter returned 386 hits and the aggregations reported <code class="inline">doc_count_error_upper_bound</code> 0 and <code class="inline">sum_other_doc_count</code> 0.</p>- <h3>Do gzipped log files work the same way?</h3>- <p>Yes. Gzip is transparent on every parsed family, so a <code class="inline">.jsonl.gz</code> file indexes like the plain file next to it and lands in the same query pattern.</p>- <h2>Related</h2>- <ul>- <li><a href="/answers/search-gzip-logs-without-zgrep">How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a></li>- <li><a href="/answers/search-kubernetes-pod-logs-on-disk">How do I search Kubernetes pod logs?</a></li>- <li><a href="/answers/cheap-low-volume-log-search">What can I use for low-volume log search?</a></li>- <li><a href="/answers/search-engine-without-docker">Is there a single-binary local search engine I can just run?</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/search-jupyter-notebook-cells.html b/landing/answers/search-jupyter-notebook-cells.htmlindex 715b77a76..a323a0886 100644--- a/landing/answers/search-jupyter-notebook-cells.html+++ b/landing/answers/search-jupyter-notebook-cells.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/search-jupyter-notebook-cells.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/search-jupyter-notebook-cells">@@ -139,113 +139,11 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class="active"><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>I NEED TO FIND A FUNCTION I WROTE IN A NOTEBOOK MONTHS AGO. HOW DO I SEARCH ALL .IPYNB FILES AND THE .PY NEXT TO THEM?</div><div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>- <h1>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</h1>+ <h1 class="h1-long">I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</h1><div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-10-05</div><p><strong>TL;DR</strong> — XERJ writes 1 document per Markdown-heading section of a notebook. In a captured run, the printed accuracy <code class="inline">okapi accuracy 0.9137</code> came back from the section <code class="inline">Okapi retrieval sweep > Run the sweep</code>, starting at cell 3, and a query for <code class="inline">okapi_transform</code> found both notebooks and the <code class="inline">.py</code> that defines it.</p><div class="prompt-card">@@ -346,6 +244,108 @@ corpus labelled-20<li><a href="/answers/give-chatgpt-claude-local-file-access">Can ChatGPT search a folder on my laptop, or do I need something else?</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class="active"><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/search-kubernetes-pod-logs-on-disk.html b/landing/answers/search-kubernetes-pod-logs-on-disk.htmlindex 0b3e55d61..61a03037d 100644--- a/landing/answers/search-kubernetes-pod-logs-on-disk.html+++ b/landing/answers/search-kubernetes-pod-logs-on-disk.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/search-kubernetes-pod-logs-on-disk.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/search-kubernetes-pod-logs-on-disk">@@ -139,7 +139,90 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I SEARCH KUBERNETES POD LOGS?</div>+ <div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>+ <h1>How do I search Kubernetes pod logs?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-21</div>+ <p><strong>TL;DR</strong> — Collect the pod logs to local disk first, then run <code class="inline">xerj autoindex</code> on the folder. In a captured run, 1 <code class="inline">match_phrase</code> request returned 18 hits spread 6, 6 and 6 across 3 pod log files. XERJ is not the collector, and the CRI format was read as prose text.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent. Read https://xerj.org/llms.txt, copy or stream the pod logs you care about into a local folder that keeps the var/log/pods/<namespace>_<pod>_<uid>/<container>/0.log layout, start a local XERJ node, run `xerj autoindex ./pod-logs --url http://127.0.0.1:9200 --prefix pl --progress plain`, POST a match_phrase on body with size 100, and report the per-file hit counts read from the returned hits rather than from an aggregation.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, copy or stream the pod logs you care about into a local folder that keeps the var/log/pods/<namespace>_<pod>_<uid>/<container>/0.log layout, start a local XERJ node, run `xerj autoindex ./pod-logs --url http://127.0.0.1:9200 --prefix pl --progress plain`, POST a match_phrase on body with size 100, and report the per-file hit counts read from the returned hits rather than from an aggregation.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj autoindex ./pod-logs --url http://127.0.0.1:9200 --prefix pl --progress plain</code>+ <button type="button" class="prompt-copy" data-copy="xerj autoindex ./pod-logs --url http://127.0.0.1:9200 --prefix pl --progress plain">COPY COMMAND</button>+ <span class="hero-proof">Index a folder of already-collected pod log files from local disk.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST http://127.0.0.1:9200/pl-*/_search -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"tapir connection reset"}},"size":100,"_source":["ax_path","ax_locator"],"track_total_hits":true}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/pl-*/_search -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"tapir connection reset"}},"size":100,"_source":["ax_path","ax_locator"],"track_total_hits":true}'">COPY COMMAND</button>+ <span class="hero-proof">Run 1 phrase query across every pod, and read the spread from the hits.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST http://127.0.0.1:9200/autoindex-catalog/_search -H 'content-type: application/json' -d '{"query":{"bool":{"filter":[{"term":{"doc_kind":"file"}}],"must":[{"wildcard":{"path":"*var/log/pods*"}}]}},"size":10,"_source":["path","format","status","records"],"sort":[{"path":"asc"}]}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/autoindex-catalog/_search -H 'content-type: application/json' -d '{"query":{"bool":{"filter":[{"term":{"doc_kind":"file"}}],"must":[{"wildcard":{"path":"*var/log/pods*"}}]}},"size":10,"_source":["path","format","status","records"],"sort":[{"path":"asc"}]}'">COPY COMMAND</button>+ <span class="hero-proof">Read the family XERJ gave each log file, and the document count per file.</span>+ </div>+ <h2>Get the logs onto disk</h2>+ <p>XERJ indexes files that already exist on a filesystem. Use <code class="inline">kubectl logs</code>, a node-level DaemonSet or your existing agent to write the pod logs into a folder, then index that folder.</p>+ <p>The captured fixture kept the kubelet layout, <code class="inline">var/log/pods/<namespace>_<pod>_<uid>/<container>/0.log</code>, and the CRI line format, <code class="inline"><RFC3339Nano> <stdout|stderr> <F|P> <message></code>. Each of the 3 files held 240 lines.</p>+ <pre class="code"><code class="language-sh">xerj autoindex ./pod-logs --url http://127.0.0.1:9200 --prefix pl --progress plain+</code></pre>+ <p>The run read 3 files into 1 dataset and 57 documents live in <code class="inline">pl-docs</code>, with 0 junk files. Each log file produced 18 documents.</p>+ <h2>One query covers every pod</h2>+ <p>A single phrase query across <code class="inline">/pl-*/_search</code> returned 18 hits. The hits named all 3 files, 6 hits each, and each hit carried the full pod path.</p>+ <table>+ <thead><tr><th>pod log file</th><th>hits</th></tr></thead>+ <tbody>+ <tr><td><code class="inline">var/log/pods/default_checkout-7d9f8b6c4-2xk7l_.../checkout/0.log</code></td><td>6</td></tr>+ <tr><td><code class="inline">var/log/pods/default_billing-5c8d7a9b3-qq4mz_.../billing/0.log</code></td><td>6</td></tr>+ <tr><td><code class="inline">var/log/pods/payments_ledger-6b4c9d2e8-h7t3v_.../ledger/0.log</code></td><td>6</td></tr>+ </tbody>+ </table>+ <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9200/pl-*/_search' \+ -H 'content-type: application/json' \+ -d '{"query":{"match_phrase":{"body":"tapir connection reset"}},"size":100,"_source":["ax_path","ax_locator"],"track_total_hits":true}'+</code></pre>+ <p>Read the per-pod spread from the returned hits. Set <code class="inline">size</code> large enough to hold every hit. The terms aggregation on the same request also reported 6 per file, but no general rule follows from 1 agreement.</p>+ <h2>The CRI format is read as prose, not as logs</h2>+ <p>All 3 files were detected as <code class="inline">txt-prose</code> in the <code class="inline">autoindex-catalog</code>. The <code class="inline">logs</code> family did not fire on this format, so no <code class="inline">ts</code>, <code class="inline">level</code> or <code class="inline">message</code> field was produced.</p>+ <p>Plan for that. The line text is searchable through <code class="inline">body</code>, so a full-text query for <code class="inline">level=error</code> finds the lines that hold that string. No typed level filter and no date range query exist on this index.</p>+ <p>If you want typed fields, convert the lines to JSON or JSONL before you index them. Keep every JSONL line under 4,096 characters. A captured reproduction indexed 30 documents at 4,095 characters per line and 0 at 4,096, with the family flipping from <code class="inline">jsonl</code> to <code class="inline">json</code>.</p>+ <h2>What XERJ is not doing here</h2>+ <p>XERJ is not a log collector, not a log shipper and not a cluster component. The node fetched nothing over the network and observed 0 distinct non-loopback peers across 185 samples over its whole life.</p>+ <p>No container runtime and no cluster existed on the capture host. The 3 log files use the real kubelet path layout and the real CRI line format, but the fixture generator wrote them. The claim under test was reading such files from disk after you gather them, and that claim holds.</p>+ <h2>What this capture does not tell you about scale</h2>+ <p>The captured run indexed 3 files and 720 log lines on 1 host. That size demonstrates the cross-pod query and the family assignment, not log-scale throughput. XERJ runs single-node here, with no replication and no failover.</p>+ <p>Full-text ranking on <code class="inline">body</code> uses BM25. The default embedder in XERJ is lexical feature hashing, so a query and a paraphrase that share no words do not match. Neural embeddings are opt-in through <code class="inline">--embed-mode neural</code>.</p>+ <p>Every number above comes from RUN-B, captured on 2026-08-21. The binary was a <code class="inline">ci-test</code> profile build, so no wall-clock figure from this run is published as a performance number.</p>+ <h2>FAQ</h2>+ <h3>Can 1 query search logs from several pods at once?</h3>+ <p>Yes. In the captured run 1 <code class="inline">match_phrase</code> request returned 18 hits spread 6, 6 and 6 across 3 pod log files, with the file path on every hit.</p>+ <h3>Does XERJ collect logs from a cluster?</h3>+ <p>No. XERJ is not a log collector and not a log shipper. Copy or stream the logs to disk first with <code class="inline">kubectl logs</code>, a DaemonSet or your existing agent.</p>+ <h3>Does XERJ parse the timestamp and level from a pod log?</h3>+ <p>Not for the CRI format. All 3 files were detected as <code class="inline">txt-prose</code>, so no <code class="inline">ts</code>, <code class="inline">level</code> or <code class="inline">message</code> field was produced. The line text is searchable as <code class="inline">body</code>.</p>+ <h3>How do I count matches per pod?</h3>+ <p>Read the counts from the returned hits with a large <code class="inline">size</code>, then group on <code class="inline">ax_path</code> in your client. The captured run did that and got 6 per file.</p>+ <h3>Did the aggregation agree with the hits in this run?</h3>+ <p>Yes. The terms aggregation on the same request reported 6 documents per file, the same as the hits. Compare both before you publish a count.</p>+ <h3>What if I convert the logs to JSONL first?</h3>+ <p>Keep every line under 4,096 characters. A captured reproduction indexed 30 documents at 4,095 characters per line and 0 documents at 4,096.</p>+ <h3>Where do these results come from?</h3>+ <p>All results come from run RUN-B, captured on 2026-08-21 on a 16-core AMD EPYC 9645 host.</p>+ <h2>Related</h2>+ <ul>+ <li><a href="/answers/search-json-and-jsonl-logs">What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a></li>+ <li><a href="/answers/search-gzip-logs-without-zgrep">How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a></li>+ <li><a href="/answers/cheap-low-volume-log-search">What can I use for low-volume log search?</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,89 +325,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I SEARCH KUBERNETES POD LOGS?</div>- <div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>- <h1>How do I search Kubernetes pod logs?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-21</div>- <p><strong>TL;DR</strong> — Collect the pod logs to local disk first, then run <code class="inline">xerj autoindex</code> on the folder. In a captured run, 1 <code class="inline">match_phrase</code> request returned 18 hits spread 6, 6 and 6 across 3 pod log files. XERJ is not the collector, and the CRI format was read as prose text.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent. Read https://xerj.org/llms.txt, copy or stream the pod logs you care about into a local folder that keeps the var/log/pods/<namespace>_<pod>_<uid>/<container>/0.log layout, start a local XERJ node, run `xerj autoindex ./pod-logs --url http://127.0.0.1:9200 --prefix pl --progress plain`, POST a match_phrase on body with size 100, and report the per-file hit counts read from the returned hits rather than from an aggregation.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, copy or stream the pod logs you care about into a local folder that keeps the var/log/pods/<namespace>_<pod>_<uid>/<container>/0.log layout, start a local XERJ node, run `xerj autoindex ./pod-logs --url http://127.0.0.1:9200 --prefix pl --progress plain`, POST a match_phrase on body with size 100, and report the per-file hit counts read from the returned hits rather than from an aggregation.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj autoindex ./pod-logs --url http://127.0.0.1:9200 --prefix pl --progress plain</code>- <button type="button" class="prompt-copy" data-copy="xerj autoindex ./pod-logs --url http://127.0.0.1:9200 --prefix pl --progress plain">COPY COMMAND</button>- <span class="hero-proof">Index a folder of already-collected pod log files from local disk.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST http://127.0.0.1:9200/pl-*/_search -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"tapir connection reset"}},"size":100,"_source":["ax_path","ax_locator"],"track_total_hits":true}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/pl-*/_search -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"tapir connection reset"}},"size":100,"_source":["ax_path","ax_locator"],"track_total_hits":true}'">COPY COMMAND</button>- <span class="hero-proof">Run 1 phrase query across every pod, and read the spread from the hits.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST http://127.0.0.1:9200/autoindex-catalog/_search -H 'content-type: application/json' -d '{"query":{"bool":{"filter":[{"term":{"doc_kind":"file"}}],"must":[{"wildcard":{"path":"*var/log/pods*"}}]}},"size":10,"_source":["path","format","status","records"],"sort":[{"path":"asc"}]}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/autoindex-catalog/_search -H 'content-type: application/json' -d '{"query":{"bool":{"filter":[{"term":{"doc_kind":"file"}}],"must":[{"wildcard":{"path":"*var/log/pods*"}}]}},"size":10,"_source":["path","format","status","records"],"sort":[{"path":"asc"}]}'">COPY COMMAND</button>- <span class="hero-proof">Read the family XERJ gave each log file, and the document count per file.</span>- </div>- <h2>Get the logs onto disk</h2>- <p>XERJ indexes files that already exist on a filesystem. Use <code class="inline">kubectl logs</code>, a node-level DaemonSet or your existing agent to write the pod logs into a folder, then index that folder.</p>- <p>The captured fixture kept the kubelet layout, <code class="inline">var/log/pods/<namespace>_<pod>_<uid>/<container>/0.log</code>, and the CRI line format, <code class="inline"><RFC3339Nano> <stdout|stderr> <F|P> <message></code>. Each of the 3 files held 240 lines.</p>- <pre class="code"><code class="language-sh">xerj autoindex ./pod-logs --url http://127.0.0.1:9200 --prefix pl --progress plain-</code></pre>- <p>The run read 3 files into 1 dataset and 57 documents live in <code class="inline">pl-docs</code>, with 0 junk files. Each log file produced 18 documents.</p>- <h2>One query covers every pod</h2>- <p>A single phrase query across <code class="inline">/pl-*/_search</code> returned 18 hits. The hits named all 3 files, 6 hits each, and each hit carried the full pod path.</p>- <table>- <thead><tr><th>pod log file</th><th>hits</th></tr></thead>- <tbody>- <tr><td><code class="inline">var/log/pods/default_checkout-7d9f8b6c4-2xk7l_.../checkout/0.log</code></td><td>6</td></tr>- <tr><td><code class="inline">var/log/pods/default_billing-5c8d7a9b3-qq4mz_.../billing/0.log</code></td><td>6</td></tr>- <tr><td><code class="inline">var/log/pods/payments_ledger-6b4c9d2e8-h7t3v_.../ledger/0.log</code></td><td>6</td></tr>- </tbody>- </table>- <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9200/pl-*/_search' \- -H 'content-type: application/json' \- -d '{"query":{"match_phrase":{"body":"tapir connection reset"}},"size":100,"_source":["ax_path","ax_locator"],"track_total_hits":true}'-</code></pre>- <p>Read the per-pod spread from the returned hits. Set <code class="inline">size</code> large enough to hold every hit. The terms aggregation on the same request also reported 6 per file, but no general rule follows from 1 agreement.</p>- <h2>The CRI format is read as prose, not as logs</h2>- <p>All 3 files were detected as <code class="inline">txt-prose</code> in the <code class="inline">autoindex-catalog</code>. The <code class="inline">logs</code> family did not fire on this format, so no <code class="inline">ts</code>, <code class="inline">level</code> or <code class="inline">message</code> field was produced.</p>- <p>Plan for that. The line text is searchable through <code class="inline">body</code>, so a full-text query for <code class="inline">level=error</code> finds the lines that hold that string. No typed level filter and no date range query exist on this index.</p>- <p>If you want typed fields, convert the lines to JSON or JSONL before you index them. Keep every JSONL line under 4,096 characters. A captured reproduction indexed 30 documents at 4,095 characters per line and 0 at 4,096, with the family flipping from <code class="inline">jsonl</code> to <code class="inline">json</code>.</p>- <h2>What XERJ is not doing here</h2>- <p>XERJ is not a log collector, not a log shipper and not a cluster component. The node fetched nothing over the network and observed 0 distinct non-loopback peers across 185 samples over its whole life.</p>- <p>No container runtime and no cluster existed on the capture host. The 3 log files use the real kubelet path layout and the real CRI line format, but the fixture generator wrote them. The claim under test was reading such files from disk after you gather them, and that claim holds.</p>- <h2>What this capture does not tell you about scale</h2>- <p>The captured run indexed 3 files and 720 log lines on 1 host. That size demonstrates the cross-pod query and the family assignment, not log-scale throughput. XERJ runs single-node here, with no replication and no failover.</p>- <p>Full-text ranking on <code class="inline">body</code> uses BM25. The default embedder in XERJ is lexical feature hashing, so a query and a paraphrase that share no words do not match. Neural embeddings are opt-in through <code class="inline">--embed-mode neural</code>.</p>- <p>Every number above comes from RUN-B, captured on 2026-08-21. The binary was a <code class="inline">ci-test</code> profile build, so no wall-clock figure from this run is published as a performance number.</p>- <h2>FAQ</h2>- <h3>Can 1 query search logs from several pods at once?</h3>- <p>Yes. In the captured run 1 <code class="inline">match_phrase</code> request returned 18 hits spread 6, 6 and 6 across 3 pod log files, with the file path on every hit.</p>- <h3>Does XERJ collect logs from a cluster?</h3>- <p>No. XERJ is not a log collector and not a log shipper. Copy or stream the logs to disk first with <code class="inline">kubectl logs</code>, a DaemonSet or your existing agent.</p>- <h3>Does XERJ parse the timestamp and level from a pod log?</h3>- <p>Not for the CRI format. All 3 files were detected as <code class="inline">txt-prose</code>, so no <code class="inline">ts</code>, <code class="inline">level</code> or <code class="inline">message</code> field was produced. The line text is searchable as <code class="inline">body</code>.</p>- <h3>How do I count matches per pod?</h3>- <p>Read the counts from the returned hits with a large <code class="inline">size</code>, then group on <code class="inline">ax_path</code> in your client. The captured run did that and got 6 per file.</p>- <h3>Did the aggregation agree with the hits in this run?</h3>- <p>Yes. The terms aggregation on the same request reported 6 documents per file, the same as the hits. Compare both before you publish a count.</p>- <h3>What if I convert the logs to JSONL first?</h3>- <p>Keep every line under 4,096 characters. A captured reproduction indexed 30 documents at 4,095 characters per line and 0 documents at 4,096.</p>- <h3>Where do these results come from?</h3>- <p>All results come from run RUN-B, captured on 2026-08-21 on a 16-core AMD EPYC 9645 host.</p>- <h2>Related</h2>- <ul>- <li><a href="/answers/search-json-and-jsonl-logs">What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a></li>- <li><a href="/answers/search-gzip-logs-without-zgrep">How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a></li>- <li><a href="/answers/cheap-low-volume-log-search">What can I use for low-volume log search?</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/search-obsidian-pdf-docx-attachments.html b/landing/answers/search-obsidian-pdf-docx-attachments.htmlindex c8460de83..64d19b623 100644--- a/landing/answers/search-obsidian-pdf-docx-attachments.html+++ b/landing/answers/search-obsidian-pdf-docx-attachments.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/search-obsidian-pdf-docx-attachments.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/search-obsidian-pdf-docx-attachments">@@ -139,7 +139,101 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>WHAT'S THE BEST WAY TO SEARCH MARKDOWN NOTES AND PDFS IN THE SAME VAULT?</div>+ <div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>+ <h1>What's the best way to search markdown notes and PDFs in the same vault?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-21</div>+ <p><strong>TL;DR</strong> — XERJ <code class="inline">autoindex</code> reads a vault folder from local disk and extracts text from its attachments. In a captured run, a phrase that exists only inside <code class="inline">pangolin-escalation-matrix.pdf</code> returned 1 hit, and a phrase only inside <code class="inline">capybara-change-window.docx</code> returned 1 hit. Wikilinks between the notes became <code class="inline">wikilink</code> edges, each carrying the line that created it.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent. Read https://xerj.org/llms.txt, start a local XERJ node, run `xerj autoindex ./vault --url http://127.0.0.1:9200 --prefix ob --progress plain`, then POST a match_phrase on body for a string that exists only inside a PDF attachment and a second one for a string only inside a DOCX attachment, read the autoindex-catalog for any file whose status is junk, and report the hit paths and the junk reasons.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start a local XERJ node, run `xerj autoindex ./vault --url http://127.0.0.1:9200 --prefix ob --progress plain`, then POST a match_phrase on body for a string that exists only inside a PDF attachment and a second one for a string only inside a DOCX attachment, read the autoindex-catalog for any file whose status is junk, and report the hit paths and the junk reasons.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj autoindex ./vault --url http://127.0.0.1:9200 --prefix ob --progress plain</code>+ <button type="button" class="prompt-copy" data-copy="xerj autoindex ./vault --url http://127.0.0.1:9200 --prefix ob --progress plain">COPY COMMAND</button>+ <span class="hero-proof">Index a vault folder, including the attachments folder beside the notes.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST http://127.0.0.1:9200/ob-*/_search -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"pangolin escalation matrix"}},"size":5,"_source":["ax_path","ax_format","ax_locator","title"],"track_total_hits":true}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/ob-*/_search -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"pangolin escalation matrix"}},"size":5,"_source":["ax_path","ax_format","ax_locator","title"],"track_total_hits":true}'">COPY COMMAND</button>+ <span class="hero-proof">Find a phrase that exists only inside the PDF attachment.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST http://127.0.0.1:9200/.xerj-memory-amber-obsidian-edges/_search -H 'content-type: application/json' -d '{"query":{"exists":{"field":"src"}},"size":50,"track_total_hits":true}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/.xerj-memory-amber-obsidian-edges/_search -H 'content-type: application/json' -d '{"query":{"exists":{"field":"src"}},"size":50,"track_total_hits":true}'">COPY COMMAND</button>+ <span class="hero-proof">Read every edge the vault produced, with the detector and the evidence quote.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST http://127.0.0.1:9200/autoindex-catalog/_search -H 'content-type: application/json' -d '{"query":{"term":{"doc_kind":"file"}},"size":500,"_source":["path","format","status","records","reason"],"sort":[{"path":"asc"}]}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/autoindex-catalog/_search -H 'content-type: application/json' -d '{"query":{"term":{"doc_kind":"file"}},"size":500,"_source":["path","format","status","records","reason"],"sort":[{"path":"asc"}]}'">COPY COMMAND</button>+ <span class="hero-proof">List every file the run read, with the family it was given and why any file was refused.</span>+ </div>+ <h2>What the captured run actually indexed</h2>+ <p>The captured run indexed a 7-file folder laid out as an Obsidian vault: Markdown notes, <code class="inline">[[wikilinks]]</code>, a <code class="inline">.obsidian/</code> directory, 1 PDF and 1 DOCX. The fixture generator <code class="inline">gen_fixtures.py</code> wrote that folder to the real on-disk vault layout. Obsidian never ran on the host, so this page tests the file layout and not the Obsidian application.</p>+ <p><code class="inline">xerj autoindex</code> walked 7 files, read 6 of them and pruned the <code class="inline">.obsidian/</code> directory as a hidden dotfile. Dataset names are inferred from the folder rather than fixed, so read the index list the run prints instead of guessing one; a query against <code class="inline">ob-*</code> covers whatever it created.</p>+ <pre class="code"><code class="language-sh">xerj autoindex ./vault --url http://127.0.0.1:9200 --prefix ob --progress plain+</code></pre>+ <h2>Attachment text is searchable</h2>+ <p>Both attachments returned their own text, at their own path. Each phrase below exists in exactly one binary file and nowhere in the Markdown notes.</p>+ <table>+ <thead><tr><th>query</th><th>hits</th><th>path returned</th><th><code class="inline">ax_format</code></th></tr></thead>+ <tbody>+ <tr><td><code class="inline">match_phrase</code> on <code class="inline">body</code> for <code class="inline">pangolin escalation matrix</code></td><td>1</td><td><code class="inline">attachments/pangolin-escalation-matrix.pdf</code></td><td><code class="inline">pdf</code></td></tr>+ <tr><td><code class="inline">match_phrase</code> on <code class="inline">body</code> for <code class="inline">capybara change window</code></td><td>1</td><td><code class="inline">attachments/capybara-change-window.docx</code></td><td><code class="inline">docx</code></td></tr>+ </tbody>+ </table>+ <p>The PDF hit carries <code class="inline">ax_locator</code> <code class="inline">p1-s0</code>, which names page 1, passage 0. A locator of that shape lets an agent open the source file at the right place instead of reading the whole attachment.</p>+ <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9200/ob-*/_search' \+ -H 'content-type: application/json' \+ -d '{"query":{"match_phrase":{"body":"pangolin escalation matrix"}},"size":5,"_source":["ax_path","ax_format","ax_locator","title"],"track_total_hits":true}'+</code></pre>+ <h2>Wikilinks become edges that carry their own quote</h2>+ <p>The vault produced edges in <code class="inline">.xerj-memory-amber-obsidian-edges</code>, typed <code class="inline">same_dir</code>, <code class="inline">sequence</code>, <code class="inline">wikilink</code> and <code class="inline">pathcite</code>. Every <code class="inline">wikilink</code> edge carries an <code class="inline">evidence.quote</code>, so a reader can see the line that created each link.</p>+ <p>Two of the captured quotes are <code class="inline">Owns [[Runbooks/Restart procedure]].</code> and <code class="inline">Escalate per ![[attachments/pangolin-escalation-matrix.pdf]] if the</code>. The second quote shows an embedded attachment link resolving to the PDF.</p>+ <p><code class="inline">xerj brain</code> holds a graph-shaped index over the indexed documents. The detectors are structural: they match wikilinks, Markdown links, shared directories and path citations. No detector reads meaning from the note text.</p>+ <h2>A note that reads as YAML can be refused</h2>+ <p>The family sniffer decides on content and never on the file extension. A note that opens with a <code class="inline">---</code> front-matter block is now classified by the body under it. Ordinary Markdown carrying <code class="inline">title:</code> and <code class="inline">tags:</code> front matter is therefore indexed as the prose it is.</p>+ <p>What still lands in the <code class="inline">yaml</code> family is a note whose lines mostly read as YAML. The sniffer counts a non-blank line as YAML-like when it matches <code class="inline">key: value</code> or starts with <code class="inline">- </code>. Once that share reaches 60 percent, the file goes to YAML. A Markdown bullet list counts towards the share; <code class="inline">- [ ]</code> and <code class="inline">- [x]</code> task items do not. YAML parsing then fails, the file is dropped with 0 documents, and no fallback to prose happens. Read the <code class="inline">autoindex-catalog</code> after every run.</p>+ <p>In this vault, <code class="inline">Index.md</code> is one heading over 3 link bullets, so 3 of its 4 non-blank lines read as a YAML sequence. It was refused with the reason <code class="inline">no records extracted (yaml candidate family, 1 junk lines)</code>. That is 1 of the 7 files, and the only signal at the terminal was <code class="inline">junk_files=1</code>.</p>+ <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9200/autoindex-catalog/_search' \+ -H 'content-type: application/json' \+ -d '{"query":{"term":{"doc_kind":"file"}},"size":500,"_source":["path","format","status","records","reason"],"sort":[{"path":"asc"}]}'+</code></pre>+ <h2>What this capture does not show</h2>+ <p>No Obsidian application, plugin or sync service was involved. XERJ has no connector and fetches nothing over the network, and the node opened 0 non-loopback connections across the whole run. Copy or mount the vault to local disk first, then index the folder.</p>+ <p>XERJ runs single-node here, with no replication and no failover. The default embedder in XERJ is lexical feature hashing, so a query and a paraphrase that share no words do not match. Neural embeddings are opt-in through <code class="inline">--embed-mode neural</code>.</p>+ <p>Every number above comes from RUN-B, captured on 2026-08-21. The binary was a <code class="inline">ci-test</code> profile build, so no wall-clock figure from this run is published as a performance number.</p>+ <h2>FAQ</h2>+ <h3>What's the best way to search markdown notes and PDFs in the same vault?</h3>+ <p>Index the vault folder itself, notes and attachments together. In the captured run a phrase that exists only inside <code class="inline">pangolin-escalation-matrix.pdf</code> returned 1 hit at that path.</p>+ <h3>Can I search an Obsidian vault including PDFs and Word attachments, not just notes?</h3>+ <p>Yes. A phrase that exists only inside <code class="inline">capybara-change-window.docx</code> returned 1 hit at that path, and the DOCX extractor produced 1 document from the file.</p>+ <h3>I have a pile of markdown notes. How do I search them properly?</h3>+ <p>Point <code class="inline">xerj autoindex</code> at the folder and query the index it creates. Wikilinks between notes also become edges, and each <code class="inline">wikilink</code> edge carries the line of text that created it.</p>+ <h3>How do I search notes and attached PDFs as one library?</h3>+ <p>One run over the vault root covers both. Every hit carries <code class="inline">ax_path</code> and <code class="inline">ax_locator</code>, so a match inside an attachment names the file and the position, such as <code class="inline">p1-s0</code>.</p>+ <h3>Does this replace Omnisearch inside Obsidian?</h3>+ <p>No. Omnisearch is a plugin for a person working inside the app, and it keeps that job. XERJ indexes the vault folder from outside so an agent can query it without the app open.</p>+ <h3>Why did one of my notes return no results?</h3>+ <p>A note whose non-blank lines mostly read as YAML — <code class="inline">key: value</code> lines or <code class="inline">- </code> bullets — can be classified as <code class="inline">yaml</code> and refused with 0 documents. Front matter on its own no longer does it. Read the <code class="inline">autoindex-catalog</code> for the reason string.</p>+ <h3>Does XERJ connect to Obsidian itself?</h3>+ <p>No. XERJ reads the vault folder from local disk. The captured node opened 0 non-loopback connections over its whole life, so no application or service was contacted.</p>+ <h2>Related</h2>+ <ul>+ <li><a href="/answers/search-all-pdfs-in-a-folder">I downloaded a bunch of papers as PDFs. How do I search across them?</a></li>+ <li><a href="/answers/search-word-documents-in-a-folder">How do I search through a folder of contracts in .docx?</a></li>+ <li><a href="/answers/index-markdown-into-elasticsearch-api">How do I index Markdown into the Elasticsearch API?</a></li>+ <li><a href="/answers/give-chatgpt-claude-local-file-access">Can ChatGPT search a folder on my laptop, or do I need something else?</a></li>+ <li><a href="/compare/xerj-vs-obsidian-omnisearch">How do I search an Obsidian vault from outside Obsidian?</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,100 +336,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>WHAT'S THE BEST WAY TO SEARCH MARKDOWN NOTES AND PDFS IN THE SAME VAULT?</div>- <div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>- <h1>What's the best way to search markdown notes and PDFs in the same vault?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-21</div>- <p><strong>TL;DR</strong> — XERJ <code class="inline">autoindex</code> reads a vault folder from local disk and extracts text from its attachments. In a captured run, a phrase that exists only inside <code class="inline">pangolin-escalation-matrix.pdf</code> returned 1 hit, and a phrase only inside <code class="inline">capybara-change-window.docx</code> returned 1 hit. Wikilinks between the notes became <code class="inline">wikilink</code> edges, each carrying the line that created it.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent. Read https://xerj.org/llms.txt, start a local XERJ node, run `xerj autoindex ./vault --url http://127.0.0.1:9200 --prefix ob --progress plain`, then POST a match_phrase on body for a string that exists only inside a PDF attachment and a second one for a string only inside a DOCX attachment, read the autoindex-catalog for any file whose status is junk, and report the hit paths and the junk reasons.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start a local XERJ node, run `xerj autoindex ./vault --url http://127.0.0.1:9200 --prefix ob --progress plain`, then POST a match_phrase on body for a string that exists only inside a PDF attachment and a second one for a string only inside a DOCX attachment, read the autoindex-catalog for any file whose status is junk, and report the hit paths and the junk reasons.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj autoindex ./vault --url http://127.0.0.1:9200 --prefix ob --progress plain</code>- <button type="button" class="prompt-copy" data-copy="xerj autoindex ./vault --url http://127.0.0.1:9200 --prefix ob --progress plain">COPY COMMAND</button>- <span class="hero-proof">Index a vault folder, including the attachments folder beside the notes.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST http://127.0.0.1:9200/ob-*/_search -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"pangolin escalation matrix"}},"size":5,"_source":["ax_path","ax_format","ax_locator","title"],"track_total_hits":true}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/ob-*/_search -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"pangolin escalation matrix"}},"size":5,"_source":["ax_path","ax_format","ax_locator","title"],"track_total_hits":true}'">COPY COMMAND</button>- <span class="hero-proof">Find a phrase that exists only inside the PDF attachment.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST http://127.0.0.1:9200/.xerj-memory-amber-obsidian-edges/_search -H 'content-type: application/json' -d '{"query":{"exists":{"field":"src"}},"size":50,"track_total_hits":true}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/.xerj-memory-amber-obsidian-edges/_search -H 'content-type: application/json' -d '{"query":{"exists":{"field":"src"}},"size":50,"track_total_hits":true}'">COPY COMMAND</button>- <span class="hero-proof">Read every edge the vault produced, with the detector and the evidence quote.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST http://127.0.0.1:9200/autoindex-catalog/_search -H 'content-type: application/json' -d '{"query":{"term":{"doc_kind":"file"}},"size":500,"_source":["path","format","status","records","reason"],"sort":[{"path":"asc"}]}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/autoindex-catalog/_search -H 'content-type: application/json' -d '{"query":{"term":{"doc_kind":"file"}},"size":500,"_source":["path","format","status","records","reason"],"sort":[{"path":"asc"}]}'">COPY COMMAND</button>- <span class="hero-proof">List every file the run read, with the family it was given and why any file was refused.</span>- </div>- <h2>What the captured run actually indexed</h2>- <p>The captured run indexed a 7-file folder laid out as an Obsidian vault: Markdown notes, <code class="inline">[[wikilinks]]</code>, a <code class="inline">.obsidian/</code> directory, 1 PDF and 1 DOCX. The fixture generator <code class="inline">gen_fixtures.py</code> wrote that folder to the real on-disk vault layout. Obsidian never ran on the host, so this page tests the file layout and not the Obsidian application.</p>- <p><code class="inline">xerj autoindex</code> walked 7 files, read 6 of them and pruned the <code class="inline">.obsidian/</code> directory as a hidden dotfile. Dataset names are inferred from the folder rather than fixed, so read the index list the run prints instead of guessing one; a query against <code class="inline">ob-*</code> covers whatever it created.</p>- <pre class="code"><code class="language-sh">xerj autoindex ./vault --url http://127.0.0.1:9200 --prefix ob --progress plain-</code></pre>- <h2>Attachment text is searchable</h2>- <p>Both attachments returned their own text, at their own path. Each phrase below exists in exactly one binary file and nowhere in the Markdown notes.</p>- <table>- <thead><tr><th>query</th><th>hits</th><th>path returned</th><th><code class="inline">ax_format</code></th></tr></thead>- <tbody>- <tr><td><code class="inline">match_phrase</code> on <code class="inline">body</code> for <code class="inline">pangolin escalation matrix</code></td><td>1</td><td><code class="inline">attachments/pangolin-escalation-matrix.pdf</code></td><td><code class="inline">pdf</code></td></tr>- <tr><td><code class="inline">match_phrase</code> on <code class="inline">body</code> for <code class="inline">capybara change window</code></td><td>1</td><td><code class="inline">attachments/capybara-change-window.docx</code></td><td><code class="inline">docx</code></td></tr>- </tbody>- </table>- <p>The PDF hit carries <code class="inline">ax_locator</code> <code class="inline">p1-s0</code>, which names page 1, passage 0. A locator of that shape lets an agent open the source file at the right place instead of reading the whole attachment.</p>- <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9200/ob-*/_search' \- -H 'content-type: application/json' \- -d '{"query":{"match_phrase":{"body":"pangolin escalation matrix"}},"size":5,"_source":["ax_path","ax_format","ax_locator","title"],"track_total_hits":true}'-</code></pre>- <h2>Wikilinks become edges that carry their own quote</h2>- <p>The vault produced edges in <code class="inline">.xerj-memory-amber-obsidian-edges</code>, typed <code class="inline">same_dir</code>, <code class="inline">sequence</code>, <code class="inline">wikilink</code> and <code class="inline">pathcite</code>. Every <code class="inline">wikilink</code> edge carries an <code class="inline">evidence.quote</code>, so a reader can see the line that created each link.</p>- <p>Two of the captured quotes are <code class="inline">Owns [[Runbooks/Restart procedure]].</code> and <code class="inline">Escalate per ![[attachments/pangolin-escalation-matrix.pdf]] if the</code>. The second quote shows an embedded attachment link resolving to the PDF.</p>- <p><code class="inline">xerj brain</code> holds a graph-shaped index over the indexed documents. The detectors are structural: they match wikilinks, Markdown links, shared directories and path citations. No detector reads meaning from the note text.</p>- <h2>A note that reads as YAML can be refused</h2>- <p>The family sniffer decides on content and never on the file extension. A note that opens with a <code class="inline">---</code> front-matter block is now classified by the body under it. Ordinary Markdown carrying <code class="inline">title:</code> and <code class="inline">tags:</code> front matter is therefore indexed as the prose it is.</p>- <p>What still lands in the <code class="inline">yaml</code> family is a note whose lines mostly read as YAML. The sniffer counts a non-blank line as YAML-like when it matches <code class="inline">key: value</code> or starts with <code class="inline">- </code>. Once that share reaches 60 percent, the file goes to YAML. A Markdown bullet list counts towards the share; <code class="inline">- [ ]</code> and <code class="inline">- [x]</code> task items do not. YAML parsing then fails, the file is dropped with 0 documents, and no fallback to prose happens. Read the <code class="inline">autoindex-catalog</code> after every run.</p>- <p>In this vault, <code class="inline">Index.md</code> is one heading over 3 link bullets, so 3 of its 4 non-blank lines read as a YAML sequence. It was refused with the reason <code class="inline">no records extracted (yaml candidate family, 1 junk lines)</code>. That is 1 of the 7 files, and the only signal at the terminal was <code class="inline">junk_files=1</code>.</p>- <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9200/autoindex-catalog/_search' \- -H 'content-type: application/json' \- -d '{"query":{"term":{"doc_kind":"file"}},"size":500,"_source":["path","format","status","records","reason"],"sort":[{"path":"asc"}]}'-</code></pre>- <h2>What this capture does not show</h2>- <p>No Obsidian application, plugin or sync service was involved. XERJ has no connector and fetches nothing over the network, and the node opened 0 non-loopback connections across the whole run. Copy or mount the vault to local disk first, then index the folder.</p>- <p>XERJ runs single-node here, with no replication and no failover. The default embedder in XERJ is lexical feature hashing, so a query and a paraphrase that share no words do not match. Neural embeddings are opt-in through <code class="inline">--embed-mode neural</code>.</p>- <p>Every number above comes from RUN-B, captured on 2026-08-21. The binary was a <code class="inline">ci-test</code> profile build, so no wall-clock figure from this run is published as a performance number.</p>- <h2>FAQ</h2>- <h3>What's the best way to search markdown notes and PDFs in the same vault?</h3>- <p>Index the vault folder itself, notes and attachments together. In the captured run a phrase that exists only inside <code class="inline">pangolin-escalation-matrix.pdf</code> returned 1 hit at that path.</p>- <h3>Can I search an Obsidian vault including PDFs and Word attachments, not just notes?</h3>- <p>Yes. A phrase that exists only inside <code class="inline">capybara-change-window.docx</code> returned 1 hit at that path, and the DOCX extractor produced 1 document from the file.</p>- <h3>I have a pile of markdown notes. How do I search them properly?</h3>- <p>Point <code class="inline">xerj autoindex</code> at the folder and query the index it creates. Wikilinks between notes also become edges, and each <code class="inline">wikilink</code> edge carries the line of text that created it.</p>- <h3>How do I search notes and attached PDFs as one library?</h3>- <p>One run over the vault root covers both. Every hit carries <code class="inline">ax_path</code> and <code class="inline">ax_locator</code>, so a match inside an attachment names the file and the position, such as <code class="inline">p1-s0</code>.</p>- <h3>Does this replace Omnisearch inside Obsidian?</h3>- <p>No. Omnisearch is a plugin for a person working inside the app, and it keeps that job. XERJ indexes the vault folder from outside so an agent can query it without the app open.</p>- <h3>Why did one of my notes return no results?</h3>- <p>A note whose non-blank lines mostly read as YAML — <code class="inline">key: value</code> lines or <code class="inline">- </code> bullets — can be classified as <code class="inline">yaml</code> and refused with 0 documents. Front matter on its own no longer does it. Read the <code class="inline">autoindex-catalog</code> for the reason string.</p>- <h3>Does XERJ connect to Obsidian itself?</h3>- <p>No. XERJ reads the vault folder from local disk. The captured node opened 0 non-loopback connections over its whole life, so no application or service was contacted.</p>- <h2>Related</h2>- <ul>- <li><a href="/answers/search-all-pdfs-in-a-folder">I downloaded a bunch of papers as PDFs. How do I search across them?</a></li>- <li><a href="/answers/search-word-documents-in-a-folder">How do I search through a folder of contracts in .docx?</a></li>- <li><a href="/answers/index-markdown-into-elasticsearch-api">How do I index Markdown into the Elasticsearch API?</a></li>- <li><a href="/answers/give-chatgpt-claude-local-file-access">Can ChatGPT search a folder on my laptop, or do I need something else?</a></li>- <li><a href="/compare/xerj-vs-obsidian-omnisearch">How do I search an Obsidian vault from outside Obsidian?</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/search-openapi-spec-for-agent.html b/landing/answers/search-openapi-spec-for-agent.htmlindex 1b2e9d191..3e013644c 100644--- a/landing/answers/search-openapi-spec-for-agent.html+++ b/landing/answers/search-openapi-spec-for-agent.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/search-openapi-spec-for-agent.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/search-openapi-spec-for-agent">@@ -139,7 +139,106 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>MY AGENT NEEDS TO LOOK UP ENDPOINTS IN A BIG OPENAPI SPEC AND THE SDK MARKDOWN. WHAT'S THE RIGHT WAY?</div>+ <div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>+ <h1 class="h1-long">My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-21</div>+ <p><strong>TL;DR</strong> — XERJ makes an OpenAPI document queryable when <code class="inline">xerj autoindex</code> reads the file from disk. In a captured run, a route name, a description and an <code class="inline">operationId</code> each returned 2 hits, 1 per serialization. Extraction is format-based: the whole spec produced only <code class="inline">body</code> and <code class="inline">title</code>.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent. Read https://xerj.org/llms.txt, start a local XERJ node, put an OpenAPI document on disk as both .json and .yaml, run `xerj autoindex ./api-specs --url http://127.0.0.1:9200 --prefix oa --progress plain`, then POST a match on body for a route name and for an operationId, GET /oa-docs/_mapping, and report the ax_format of every hit plus the complete field list the spec produced.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start a local XERJ node, put an OpenAPI document on disk as both .json and .yaml, run `xerj autoindex ./api-specs --url http://127.0.0.1:9200 --prefix oa --progress plain`, then POST a match on body for a route name and for an operationId, GET /oa-docs/_mapping, and report the ax_format of every hit plus the complete field list the spec produced.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj autoindex ./api-specs --url http://127.0.0.1:9200 --prefix oa --progress plain</code>+ <button type="button" class="prompt-copy" data-copy="xerj autoindex ./api-specs --url http://127.0.0.1:9200 --prefix oa --progress plain">COPY COMMAND</button>+ <span class="hero-proof">Index a folder of OpenAPI documents from local disk.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST http://127.0.0.1:9200/oa-*/_search -H 'content-type: application/json' -d '{"query":{"match":{"body":"quokka-orders"}},"size":10,"_source":["ax_path","ax_format","ax_locator"],"track_total_hits":true}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/oa-*/_search -H 'content-type: application/json' -d '{"query":{"match":{"body":"quokka-orders"}},"size":10,"_source":["ax_path","ax_format","ax_locator"],"track_total_hits":true}'">COPY COMMAND</button>+ <span class="hero-proof">Find a route name across every serialization of the spec.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST http://127.0.0.1:9200/oa-*/_search -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"Retrieve quokka orders by region"}},"size":10,"_source":["ax_path","ax_format","ax_locator"],"track_total_hits":true}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/oa-*/_search -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"Retrieve quokka orders by region"}},"size":10,"_source":["ax_path","ax_format","ax_locator"],"track_total_hits":true}'">COPY COMMAND</button>+ <span class="hero-proof">Find an operation description written in the spec summary.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XGET http://127.0.0.1:9200/oa-docs/_mapping</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XGET http://127.0.0.1:9200/oa-docs/_mapping">COPY COMMAND</button>+ <span class="hero-proof">Read the complete field list, which shows that extraction is format-based.</span>+ </div>+ <h2>Index the spec file itself</h2>+ <p>XERJ treats an OpenAPI document as structured data in its own format. A <code class="inline">.json</code> spec goes through the JSON family and a <code class="inline">.yaml</code> spec through the YAML family, and both land in the same index.</p>+ <pre class="code"><code class="language-sh">xerj autoindex ./api-specs --url http://127.0.0.1:9200 --prefix oa --progress plain+</code></pre>+ <p>The captured run read 2 files into 1 dataset and 4 documents live in <code class="inline">oa-docs</code>, with 0 junk files. The 2 files were 1 valid OpenAPI 3.0.3 document, serialized once as JSON and once as YAML by the fixture generator.</p>+ <h2>Both serializations answer the same query</h2>+ <p>Each query below ran once against <code class="inline">/oa-*/_search</code> and returned 1 hit per serialization. The <code class="inline">ax_format</code> field on the hit says which file matched.</p>+ <table>+ <thead><tr><th>query</th><th>hits</th><th>formats returned</th></tr></thead>+ <tbody>+ <tr><td><code class="inline">match</code> on <code class="inline">body</code> for <code class="inline">quokka-orders</code></td><td>2</td><td><code class="inline">json</code> and <code class="inline">yaml</code></td></tr>+ <tr><td><code class="inline">match_phrase</code> on <code class="inline">body</code> for <code class="inline">Retrieve quokka orders by region</code></td><td>2</td><td><code class="inline">json</code> and <code class="inline">yaml</code></td></tr>+ <tr><td><code class="inline">match</code> on <code class="inline">body</code> for <code class="inline">getOrderCheckpointJournal</code></td><td>2</td><td><code class="inline">json</code> and <code class="inline">yaml</code></td></tr>+ </tbody>+ </table>+ <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9200/oa-*/_search' \+ -H 'content-type: application/json' \+ -d '{"query":{"match":{"body":"quokka-orders"}},"size":10,"_source":["ax_path","ax_format","ax_locator"],"track_total_hits":true}'+</code></pre>+ <p>Keep both serializations on disk only if you want both. Otherwise a single-file query returns 1 hit for the same text.</p>+ <h2>Extraction is format-based, not spec-aware</h2>+ <p>The whole document produced 2 content fields: <code class="inline">body</code> and <code class="inline">title</code>. The rest of the mapping is XERJ provenance: <code class="inline">ax_dataset</code>, <code class="inline">ax_file</code>, <code class="inline">ax_format</code>, <code class="inline">ax_locator</code>, <code class="inline">ax_path</code>, <code class="inline">ax_paths</code> and <code class="inline">ax_run</code>.</p>+ <p>There is no <code class="inline">paths</code> field, no <code class="inline">operationId</code> field and no per-operation document. A route name matches because the string is in the text, not because XERJ modelled the route.</p>+ <p>Plan around that. Use XERJ to find the document and the position, then let your agent parse the spec for parameter types, request bodies and response schemas.</p>+ <h2>Read the hits before you trust a bucket count</h2>+ <p>If you aggregate over spec documents, compare the buckets with the returned hits for that exact query. A terms aggregation is not reliably scoped to the full-text query it travels with.</p>+ <p>One captured matrix on a single index makes the risk concrete.</p>+ <table>+ <thead><tr><th>query type</th><th>documents matched</th><th>aggregation buckets</th></tr></thead>+ <tbody>+ <tr><td><code class="inline">match_all</code></td><td>674</td><td>331</td></tr>+ <tr><td><code class="inline">exists</code></td><td>315</td><td>315</td></tr>+ <tr><td><code class="inline">term</code></td><td>630</td><td>315</td></tr>+ <tr><td><code class="inline">match_phrase</code></td><td>11</td><td>0</td></tr>+ <tr><td><code class="inline">match</code></td><td>11</td><td>74</td></tr>+ </tbody>+ </table>+ <p>This is not a universal rule, and the same second pass recorded an aggregation that agreed exactly with its hits. Publish the number you read from the hits.</p>+ <h2>What this capture does not show</h2>+ <p>The spec in this run came from the fixture generator, not from a vendor or a live API. No API server ran, and XERJ fetched nothing over the network. XERJ has no <code class="inline">$ref</code> resolver and no schema validator.</p>+ <p>XERJ runs single-node here, with no replication and no failover. The default embedder in XERJ is lexical feature hashing, so a query and a paraphrase that share no words do not match. Neural embeddings are opt-in through <code class="inline">--embed-mode neural</code>.</p>+ <p>Every number above comes from RUN-B and RUN-G, captured on 2026-08-21. The binary was a <code class="inline">ci-test</code> profile build, so no wall-clock figure from these runs is published as a performance number.</p>+ <h2>FAQ</h2>+ <h3>My agent needs to look up endpoints in a big OpenAPI spec. What's the right way?</h3>+ <p>Put the spec on disk, run <code class="inline">xerj autoindex</code> on its folder, and have the agent send a <code class="inline">match</code> on <code class="inline">body</code>. The captured run made route names, descriptions and operationIds queryable with 1 command.</p>+ <h3>How do I make an OpenAPI spec searchable for my coding agent?</h3>+ <p>Index the folder that holds it and expose the index to the agent. Extraction is format-based, so the agent queries the document text rather than a typed route object.</p>+ <h3>How do I search a spec and the docs folder together?</h3>+ <p>Keep them in one folder and index it once. The spec and the SDK markdown become documents in the same run, so one index pattern reaches both and each hit carries <code class="inline">ax_path</code> and <code class="inline">ax_format</code>.</p>+ <h3>Does XERJ parse OpenAPI as a specification?</h3>+ <p>No. The whole document produced only <code class="inline">body</code> and <code class="inline">title</code> beyond the provenance fields. Extraction is format-based, so a path is text and not a typed route object.</p>+ <h3>Can I search for an operationId?</h3>+ <p>Yes. A <code class="inline">match</code> on <code class="inline">body</code> for <code class="inline">getOrderCheckpointJournal</code> returned 2 hits, 1 per serialization. The operationId is ordinary text inside the document.</p>+ <h3>Do I need a separate parser for path parameters?</h3>+ <p>Yes, if you want typed routes. XERJ returns the matching document and its <code class="inline">ax_path</code>, and your agent parses the spec itself for parameter structure.</p>+ <h3>Can I count routes with an aggregation?</h3>+ <p>Read the hits, not only the buckets. A captured matrix shows <code class="inline">match_phrase</code> matching 11 documents while its terms aggregation returned 0 buckets.</p>+ <h2>Related</h2>+ <ul>+ <li><a href="/answers/search-yaml-xml-config-repository">How do I find every place a config key is set across YAML and XML in a repo?</a></li>+ <li><a href="/answers/code-search-mcp-for-claude-code">I need my agent to find a passage and cite the file, not dump the whole tree. How?</a></li>+ <li><a href="/answers/catalog-files-with-autoindex-map">How should an agent figure out what's in a messy data folder before searching?</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,105 +341,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>MY AGENT NEEDS TO LOOK UP ENDPOINTS IN A BIG OPENAPI SPEC AND THE SDK MARKDOWN. WHAT'S THE RIGHT WAY?</div>- <div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>- <h1>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-21</div>- <p><strong>TL;DR</strong> — XERJ makes an OpenAPI document queryable when <code class="inline">xerj autoindex</code> reads the file from disk. In a captured run, a route name, a description and an <code class="inline">operationId</code> each returned 2 hits, 1 per serialization. Extraction is format-based: the whole spec produced only <code class="inline">body</code> and <code class="inline">title</code>.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent. Read https://xerj.org/llms.txt, start a local XERJ node, put an OpenAPI document on disk as both .json and .yaml, run `xerj autoindex ./api-specs --url http://127.0.0.1:9200 --prefix oa --progress plain`, then POST a match on body for a route name and for an operationId, GET /oa-docs/_mapping, and report the ax_format of every hit plus the complete field list the spec produced.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start a local XERJ node, put an OpenAPI document on disk as both .json and .yaml, run `xerj autoindex ./api-specs --url http://127.0.0.1:9200 --prefix oa --progress plain`, then POST a match on body for a route name and for an operationId, GET /oa-docs/_mapping, and report the ax_format of every hit plus the complete field list the spec produced.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj autoindex ./api-specs --url http://127.0.0.1:9200 --prefix oa --progress plain</code>- <button type="button" class="prompt-copy" data-copy="xerj autoindex ./api-specs --url http://127.0.0.1:9200 --prefix oa --progress plain">COPY COMMAND</button>- <span class="hero-proof">Index a folder of OpenAPI documents from local disk.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST http://127.0.0.1:9200/oa-*/_search -H 'content-type: application/json' -d '{"query":{"match":{"body":"quokka-orders"}},"size":10,"_source":["ax_path","ax_format","ax_locator"],"track_total_hits":true}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/oa-*/_search -H 'content-type: application/json' -d '{"query":{"match":{"body":"quokka-orders"}},"size":10,"_source":["ax_path","ax_format","ax_locator"],"track_total_hits":true}'">COPY COMMAND</button>- <span class="hero-proof">Find a route name across every serialization of the spec.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST http://127.0.0.1:9200/oa-*/_search -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"Retrieve quokka orders by region"}},"size":10,"_source":["ax_path","ax_format","ax_locator"],"track_total_hits":true}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/oa-*/_search -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"Retrieve quokka orders by region"}},"size":10,"_source":["ax_path","ax_format","ax_locator"],"track_total_hits":true}'">COPY COMMAND</button>- <span class="hero-proof">Find an operation description written in the spec summary.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XGET http://127.0.0.1:9200/oa-docs/_mapping</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XGET http://127.0.0.1:9200/oa-docs/_mapping">COPY COMMAND</button>- <span class="hero-proof">Read the complete field list, which shows that extraction is format-based.</span>- </div>- <h2>Index the spec file itself</h2>- <p>XERJ treats an OpenAPI document as structured data in its own format. A <code class="inline">.json</code> spec goes through the JSON family and a <code class="inline">.yaml</code> spec through the YAML family, and both land in the same index.</p>- <pre class="code"><code class="language-sh">xerj autoindex ./api-specs --url http://127.0.0.1:9200 --prefix oa --progress plain-</code></pre>- <p>The captured run read 2 files into 1 dataset and 4 documents live in <code class="inline">oa-docs</code>, with 0 junk files. The 2 files were 1 valid OpenAPI 3.0.3 document, serialized once as JSON and once as YAML by the fixture generator.</p>- <h2>Both serializations answer the same query</h2>- <p>Each query below ran once against <code class="inline">/oa-*/_search</code> and returned 1 hit per serialization. The <code class="inline">ax_format</code> field on the hit says which file matched.</p>- <table>- <thead><tr><th>query</th><th>hits</th><th>formats returned</th></tr></thead>- <tbody>- <tr><td><code class="inline">match</code> on <code class="inline">body</code> for <code class="inline">quokka-orders</code></td><td>2</td><td><code class="inline">json</code> and <code class="inline">yaml</code></td></tr>- <tr><td><code class="inline">match_phrase</code> on <code class="inline">body</code> for <code class="inline">Retrieve quokka orders by region</code></td><td>2</td><td><code class="inline">json</code> and <code class="inline">yaml</code></td></tr>- <tr><td><code class="inline">match</code> on <code class="inline">body</code> for <code class="inline">getOrderCheckpointJournal</code></td><td>2</td><td><code class="inline">json</code> and <code class="inline">yaml</code></td></tr>- </tbody>- </table>- <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9200/oa-*/_search' \- -H 'content-type: application/json' \- -d '{"query":{"match":{"body":"quokka-orders"}},"size":10,"_source":["ax_path","ax_format","ax_locator"],"track_total_hits":true}'-</code></pre>- <p>Keep both serializations on disk only if you want both. Otherwise a single-file query returns 1 hit for the same text.</p>- <h2>Extraction is format-based, not spec-aware</h2>- <p>The whole document produced 2 content fields: <code class="inline">body</code> and <code class="inline">title</code>. The rest of the mapping is XERJ provenance: <code class="inline">ax_dataset</code>, <code class="inline">ax_file</code>, <code class="inline">ax_format</code>, <code class="inline">ax_locator</code>, <code class="inline">ax_path</code>, <code class="inline">ax_paths</code> and <code class="inline">ax_run</code>.</p>- <p>There is no <code class="inline">paths</code> field, no <code class="inline">operationId</code> field and no per-operation document. A route name matches because the string is in the text, not because XERJ modelled the route.</p>- <p>Plan around that. Use XERJ to find the document and the position, then let your agent parse the spec for parameter types, request bodies and response schemas.</p>- <h2>Read the hits before you trust a bucket count</h2>- <p>If you aggregate over spec documents, compare the buckets with the returned hits for that exact query. A terms aggregation is not reliably scoped to the full-text query it travels with.</p>- <p>One captured matrix on a single index makes the risk concrete.</p>- <table>- <thead><tr><th>query type</th><th>documents matched</th><th>aggregation buckets</th></tr></thead>- <tbody>- <tr><td><code class="inline">match_all</code></td><td>674</td><td>331</td></tr>- <tr><td><code class="inline">exists</code></td><td>315</td><td>315</td></tr>- <tr><td><code class="inline">term</code></td><td>630</td><td>315</td></tr>- <tr><td><code class="inline">match_phrase</code></td><td>11</td><td>0</td></tr>- <tr><td><code class="inline">match</code></td><td>11</td><td>74</td></tr>- </tbody>- </table>- <p>This is not a universal rule, and the same second pass recorded an aggregation that agreed exactly with its hits. Publish the number you read from the hits.</p>- <h2>What this capture does not show</h2>- <p>The spec in this run came from the fixture generator, not from a vendor or a live API. No API server ran, and XERJ fetched nothing over the network. XERJ has no <code class="inline">$ref</code> resolver and no schema validator.</p>- <p>XERJ runs single-node here, with no replication and no failover. The default embedder in XERJ is lexical feature hashing, so a query and a paraphrase that share no words do not match. Neural embeddings are opt-in through <code class="inline">--embed-mode neural</code>.</p>- <p>Every number above comes from RUN-B and RUN-G, captured on 2026-08-21. The binary was a <code class="inline">ci-test</code> profile build, so no wall-clock figure from these runs is published as a performance number.</p>- <h2>FAQ</h2>- <h3>My agent needs to look up endpoints in a big OpenAPI spec. What's the right way?</h3>- <p>Put the spec on disk, run <code class="inline">xerj autoindex</code> on its folder, and have the agent send a <code class="inline">match</code> on <code class="inline">body</code>. The captured run made route names, descriptions and operationIds queryable with 1 command.</p>- <h3>How do I make an OpenAPI spec searchable for my coding agent?</h3>- <p>Index the folder that holds it and expose the index to the agent. Extraction is format-based, so the agent queries the document text rather than a typed route object.</p>- <h3>How do I search a spec and the docs folder together?</h3>- <p>Keep them in one folder and index it once. The spec and the SDK markdown become documents in the same run, so one index pattern reaches both and each hit carries <code class="inline">ax_path</code> and <code class="inline">ax_format</code>.</p>- <h3>Does XERJ parse OpenAPI as a specification?</h3>- <p>No. The whole document produced only <code class="inline">body</code> and <code class="inline">title</code> beyond the provenance fields. Extraction is format-based, so a path is text and not a typed route object.</p>- <h3>Can I search for an operationId?</h3>- <p>Yes. A <code class="inline">match</code> on <code class="inline">body</code> for <code class="inline">getOrderCheckpointJournal</code> returned 2 hits, 1 per serialization. The operationId is ordinary text inside the document.</p>- <h3>Do I need a separate parser for path parameters?</h3>- <p>Yes, if you want typed routes. XERJ returns the matching document and its <code class="inline">ax_path</code>, and your agent parses the spec itself for parameter structure.</p>- <h3>Can I count routes with an aggregation?</h3>- <p>Read the hits, not only the buckets. A captured matrix shows <code class="inline">match_phrase</code> matching 11 documents while its terms aggregation returned 0 buckets.</p>- <h2>Related</h2>- <ul>- <li><a href="/answers/search-yaml-xml-config-repository">How do I find every place a config key is set across YAML and XML in a repo?</a></li>- <li><a href="/answers/code-search-mcp-for-claude-code">I need my agent to find a passage and cite the file, not dump the whole tree. How?</a></li>- <li><a href="/answers/catalog-files-with-autoindex-map">How should an agent figure out what's in a messy data folder before searching?</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/search-slack-json-export.html b/landing/answers/search-slack-json-export.htmlindex 13811bf52..61afef7fd 100644--- a/landing/answers/search-slack-json-export.html+++ b/landing/answers/search-slack-json-export.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/search-slack-json-export.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/search-slack-json-export">@@ -139,109 +139,7 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class="active"><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I SEARCH A SLACK JSON EXPORT?</div><div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>@@ -351,6 +249,108 @@<li><a href="/answers/catalog-files-with-autoindex-map">How should an agent figure out what's in a messy data folder before searching?</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class="active"><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/search-sql-dump-file.html b/landing/answers/search-sql-dump-file.htmlindex f2385a8ef..6f4e4df34 100644--- a/landing/answers/search-sql-dump-file.html+++ b/landing/answers/search-sql-dump-file.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/search-sql-dump-file.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/search-sql-dump-file">@@ -139,113 +139,11 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class="active"><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>I HAVE A 2GB SQL DUMP. HOW DO I FIND ROWS MENTIONING A CUSTOMER WITHOUT LOADING IT INTO POSTGRES?</div><div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>- <h1>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</h1>+ <h1 class="h1-long">I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</h1><div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-21</div><p><strong>TL;DR</strong> — <code class="inline">xerj autoindex</code> parses a MySQL-style <code class="inline">.sql</code> file directly, with no database server involved. In a captured run one file produced 2 indices, <code class="inline">dump-articles</code> with 301 documents and <code class="inline">dump-authors</code> with 20. A <code class="inline">match_phrase</code> query then found a phrase inside an <code class="inline">INSERT</code> value.</p><div class="prompt-card">@@ -346,6 +244,108 @@<li><a href="/answers/catalog-files-with-autoindex-map">How should an agent figure out what's in a messy data folder before searching?</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class="active"><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/search-unity-project-assets.html b/landing/answers/search-unity-project-assets.htmlindex 5043ad864..574c33f1b 100644--- a/landing/answers/search-unity-project-assets.html+++ b/landing/answers/search-unity-project-assets.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/search-unity-project-assets.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/search-unity-project-assets">@@ -139,113 +139,11 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class="active"><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I SEARCH UNITY YAML SCENES AND THE C# THAT REFERENCES THEM AS ONE PROJECT?</div><div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>- <h1>How do I search Unity YAML scenes and the C# that references them as one project?</h1>+ <h1 class="h1-long">How do I search Unity YAML scenes and the C# that references them as one project?</h1><div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-21</div><p><strong>TL;DR</strong> — Run <code class="inline">xerj autoindex</code> on the project folder. XERJ detects the <code class="inline">unity</code> and <code class="inline">unity-meta</code> families and extracts <code class="inline">m_Name</code>, <code class="inline">unity_class</code> and <code class="inline">guid</code>. One <code class="inline">bool</code> query joined an asset to its <code class="inline">.meta</code> document and returned 3 documents across 2 families.</p><div class="prompt-card">@@ -354,6 +252,108 @@ unity-docs<li><a href="/answers/catalog-files-with-autoindex-map">How should an agent figure out what's in a messy data folder before searching?</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class="active"><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/search-word-documents-in-a-folder.html b/landing/answers/search-word-documents-in-a-folder.htmlindex 385e1088e..8f350bacf 100644--- a/landing/answers/search-word-documents-in-a-folder.html+++ b/landing/answers/search-word-documents-in-a-folder.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/search-word-documents-in-a-folder.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/search-word-documents-in-a-folder">@@ -139,7 +139,102 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I SEARCH THROUGH A FOLDER OF CONTRACTS IN .DOCX?</div>+ <div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>+ <h1>How do I search through a folder of contracts in .docx?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-21</div>+ <p><strong>TL;DR</strong> — <code class="inline">xerj autoindex</code> indexes a folder of Word documents in one command, and a <code class="inline">match_phrase</code> query then searches their paragraphs. In a captured run, 1 DOCX file produced 2 documents, and a query for <code class="inline">second reviewer</code> returned the paragraph and the title. A second, deliberately expanded file produced 0 documents.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent. Read https://xerj.org/llms.txt, start a local XERJ node, run `xerj autoindex ./docx --url http://127.0.0.1:9200 --prefix docx --progress plain`, POST a match_phrase query to /docx-docs/_search for a phrase you expect inside a paragraph, and report the ax_path, the extracted title and the matching body text.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start a local XERJ node, run `xerj autoindex ./docx --url http://127.0.0.1:9200 --prefix docx --progress plain`, POST a match_phrase query to /docx-docs/_search for a phrase you expect inside a paragraph, and report the ax_path, the extracted title and the matching body text.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj autoindex ./docx --url http://127.0.0.1:9200 --prefix docx --progress plain</code>+ <button type="button" class="prompt-copy" data-copy="xerj autoindex ./docx --url http://127.0.0.1:9200 --prefix docx --progress plain">COPY COMMAND</button>+ <span class="hero-proof">Index every DOCX file in the folder and print the terminal xerj-done line.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST http://127.0.0.1:9200/docx-docs/_search -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"second reviewer"}},"size":5,"_source":["ax_path","ax_format","title","body"]}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/docx-docs/_search -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"second reviewer"}},"size":5,"_source":["ax_path","ax_format","title","body"]}'">COPY COMMAND</button>+ <span class="hero-proof">Search the paragraph text of every indexed Word document.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST http://127.0.0.1:9200/autoindex-catalog/_search -H 'content-type: application/json' -d '{"query":{"bool":{"filter":[{"term":{"doc_kind":"file"}}]}},"size":100,"_source":["path","format","status","reason","records"]}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/autoindex-catalog/_search -H 'content-type: application/json' -d '{"query":{"bool":{"filter":[{"term":{"doc_kind":"file"}}]}},"size":100,"_source":["path","format","status","reason","records"]}'">COPY COMMAND</button>+ <span class="hero-proof">Read the per-file verdict, including any DOCX that the guard refused.</span>+ </div>+ <h2>Index the folder in one command</h2>+ <p><code class="inline">xerj autoindex <folder></code> unzips each DOCX file, reads its paragraph text, and writes the result to a XERJ node. The command needs no mapping and no conversion step.</p>+ <pre class="code"><code class="language-sh">xerj autoindex ./docx --url http://127.0.0.1:9200 --prefix docx --progress plain+</code></pre>+ <p>The captured run over 1 Word document created 1 index, <code class="inline">docx-docs</code>, holding 2 documents. XERJ detects the DOCX family from file content, so a renamed file still parses correctly.</p>+ <pre class="code"><code class="language-text">xerj-done ok=true exit=0 reason=completed wall=0.1s files=1 records=2 datasets=1 junk_files=0+</code></pre>+ <h2>A query returns the paragraph and the title</h2>+ <p>One <code class="inline">match_phrase</code> query for <code class="inline">second reviewer</code> returned 1 hit, with the extracted title, the source path and the paragraph text in <code class="inline">_source</code>. Word documents land in the document family, which carries <code class="inline">title</code>, <code class="inline">headings</code>, <code class="inline">section</code> and <code class="inline">body</code>.</p>+ <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9200/docx-docs/_search' \+ -H 'content-type: application/json' \+ -d '{"query":{"match_phrase":{"body":"second reviewer"}},"size":5,"_source":["ax_path","ax_format","title","body"]}'+</code></pre>+ <p>The single hit below comes from <code class="inline">raw/docx-search.json</code>, with the body text unedited.</p>+ <pre class="code"><code class="language-json">{+ "ax_format": "docx",+ "ax_path": "policy-note.docx",+ "title": "Change management policy",+ "body": "Change management policy\n\nEvery change to the checkpoint journal needs a second reviewer.\n\nA quokka named Bandicoot signs off the weekly rota.\n\nRollback is always the first option considered."+}+</code></pre>+ <p>The first paragraph became the <code class="inline">title</code>, and the whole paragraph sequence became the <code class="inline">body</code>. Query <code class="inline">body</code> for text inside the document, Use <code class="inline">title</code> when you want the name a human reader recognizes.</p>+ <h2>The decompression guard fires on a small file</h2>+ <p>A DOCX file is a zip archive, so a 245,109-byte file on disk can hold a <code class="inline">word/document.xml</code> that expands to about 96 MiB. XERJ refuses such a file rather than allocating for it. The captured guard fixture produced 0 documents.</p>+ <pre class="code"><code class="language-text">{+ "format": "docx",+ "path": "expanded.docx",+ "reason": "no records extracted (docx candidate family, 1 junk lines)",+ "records": 0,+ "status": "junk"+}+</code></pre>+ <p>The limits are 72 MiB of decompressed XML and 20,000 paragraphs. Before the guard existed, an 815 KB file measured 1.68 GB of resident memory, which is the failure the guard prevents.</p>+ <h2>The reason string does not name the guard</h2>+ <p>The captured reason string is generic. The string reads <code class="inline">no records extracted (docx candidate family, 1 junk lines)</code> and never names the 72 MiB decompression limit. The catalog alone therefore does not tell an operator why XERJ refused the file.</p>+ <p>Read the run summary next to the catalog entry. The guard run reported the line below. A run that reports both <code class="inline">files=0</code> and <code class="inline">junk_files=1</code> had a candidate DOCX file reach the extractor and produce nothing.</p>+ <pre class="code"><code class="language-text">xerj-done ok=true exit=3 reason=completed-with-junk wall=0.3s files=0 records=0 datasets=0 junk_files=1+</code></pre>+ <p>We publish this as a finding, not as a feature. The guard does the correct thing, and the message it leaves behind is too generic to diagnose from.</p>+ <h2>What the capture does not cover</h2>+ <p>The measurement is a single-node run of 2 small files on one host, so it shows behavior and not throughput. XERJ has no replication and no failover in this configuration.</p>+ <p>The extractor reads the zipped OpenXML format that <code class="inline">.docx</code> uses. Convert a legacy <code class="inline">.doc</code> file to <code class="inline">.docx</code> first. Excel workbooks (<code class="inline">.xlsx</code>) and PowerPoint decks (<code class="inline">.pptx</code>) have their own extractors, so they can sit in the same folder. XERJ has no extractor for <code class="inline">.rtf</code> or <code class="inline">.odt</code>, and refuses a file in either format rather than parsing part of it.</p>+ <p>Ranking is BM25 over the extracted paragraph text. The default embedder in XERJ is lexical feature hashing and cannot connect a query to a synonym; neural embeddings are opt-in through <code class="inline">--embed-mode neural</code>.</p>+ <h2>FAQ</h2>+ <h3>How do I search through a folder of contracts in .docx?</h3>+ <p>Run <code class="inline">xerj autoindex</code> on the folder, then send a <code class="inline">match_phrase</code> query for the clause wording. XERJ reads the paragraph text of each DOCX file, so a clause is found wherever it sits.</p>+ <h3>How do I search a folder of Word documents?</h3>+ <p>Run <code class="inline">xerj autoindex</code> on the folder, then send a <code class="inline">match_phrase</code> query to the <code class="inline">_search</code> endpoint. XERJ reads the paragraph text of each DOCX file.</p>+ <h3>How do I find a clause across a directory of Word contracts?</h3>+ <p>Send the clause wording as a <code class="inline">match_phrase</code> against the index the run created. Each hit carries <code class="inline">ax_path</code> and the extracted <code class="inline">title</code>, so you know which contract it came from.</p>+ <h3>Does XERJ extract the title of a Word document?</h3>+ <p>Yes. In the captured run the <code class="inline">title</code> field held 'Change management policy', the first paragraph of the file, and the <code class="inline">body</code> field held the rest.</p>+ <h3>Does XERJ index .doc files as well as .docx?</h3>+ <p>The extractor reads the zipped OpenXML format that <code class="inline">.docx</code> uses. Convert a legacy <code class="inline">.doc</code> file to <code class="inline">.docx</code> before you index the folder.</p>+ <h3>What stops a malicious Word document?</h3>+ <p>A decompression guard set at 72 MiB and 20,000 paragraphs. A file past either limit produces 0 documents and lands in the catalog as junk.</p>+ <h3>Why did a small DOCX produce no documents?</h3>+ <p>A small DOCX can expand to hundreds of megabytes when unzipped. The captured 245,109-byte file expands to about 96 MiB and the guard refused it.</p>+ <h2>Related</h2>+ <ul>+ <li><a href="/answers/search-file-contents-in-a-folder">I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a></li>+ <li><a href="/answers/search-all-pdfs-in-a-folder">I downloaded a bunch of papers as PDFs. How do I search across them?</a></li>+ <li><a href="/answers/search-obsidian-pdf-docx-attachments">What's the best way to search markdown notes and PDFs in the same vault?</a></li>+ <li><a href="/compare/xerj-vs-docfetcher">What's a free DocFetcher alternative that an agent can call?</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,101 +337,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I SEARCH THROUGH A FOLDER OF CONTRACTS IN .DOCX?</div>- <div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>- <h1>How do I search through a folder of contracts in .docx?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-21</div>- <p><strong>TL;DR</strong> — <code class="inline">xerj autoindex</code> indexes a folder of Word documents in one command, and a <code class="inline">match_phrase</code> query then searches their paragraphs. In a captured run, 1 DOCX file produced 2 documents, and a query for <code class="inline">second reviewer</code> returned the paragraph and the title. A second, deliberately expanded file produced 0 documents.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent. Read https://xerj.org/llms.txt, start a local XERJ node, run `xerj autoindex ./docx --url http://127.0.0.1:9200 --prefix docx --progress plain`, POST a match_phrase query to /docx-docs/_search for a phrase you expect inside a paragraph, and report the ax_path, the extracted title and the matching body text.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start a local XERJ node, run `xerj autoindex ./docx --url http://127.0.0.1:9200 --prefix docx --progress plain`, POST a match_phrase query to /docx-docs/_search for a phrase you expect inside a paragraph, and report the ax_path, the extracted title and the matching body text.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj autoindex ./docx --url http://127.0.0.1:9200 --prefix docx --progress plain</code>- <button type="button" class="prompt-copy" data-copy="xerj autoindex ./docx --url http://127.0.0.1:9200 --prefix docx --progress plain">COPY COMMAND</button>- <span class="hero-proof">Index every DOCX file in the folder and print the terminal xerj-done line.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST http://127.0.0.1:9200/docx-docs/_search -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"second reviewer"}},"size":5,"_source":["ax_path","ax_format","title","body"]}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/docx-docs/_search -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"second reviewer"}},"size":5,"_source":["ax_path","ax_format","title","body"]}'">COPY COMMAND</button>- <span class="hero-proof">Search the paragraph text of every indexed Word document.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST http://127.0.0.1:9200/autoindex-catalog/_search -H 'content-type: application/json' -d '{"query":{"bool":{"filter":[{"term":{"doc_kind":"file"}}]}},"size":100,"_source":["path","format","status","reason","records"]}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/autoindex-catalog/_search -H 'content-type: application/json' -d '{"query":{"bool":{"filter":[{"term":{"doc_kind":"file"}}]}},"size":100,"_source":["path","format","status","reason","records"]}'">COPY COMMAND</button>- <span class="hero-proof">Read the per-file verdict, including any DOCX that the guard refused.</span>- </div>- <h2>Index the folder in one command</h2>- <p><code class="inline">xerj autoindex <folder></code> unzips each DOCX file, reads its paragraph text, and writes the result to a XERJ node. The command needs no mapping and no conversion step.</p>- <pre class="code"><code class="language-sh">xerj autoindex ./docx --url http://127.0.0.1:9200 --prefix docx --progress plain-</code></pre>- <p>The captured run over 1 Word document created 1 index, <code class="inline">docx-docs</code>, holding 2 documents. XERJ detects the DOCX family from file content, so a renamed file still parses correctly.</p>- <pre class="code"><code class="language-text">xerj-done ok=true exit=0 reason=completed wall=0.1s files=1 records=2 datasets=1 junk_files=0-</code></pre>- <h2>A query returns the paragraph and the title</h2>- <p>One <code class="inline">match_phrase</code> query for <code class="inline">second reviewer</code> returned 1 hit, with the extracted title, the source path and the paragraph text in <code class="inline">_source</code>. Word documents land in the document family, which carries <code class="inline">title</code>, <code class="inline">headings</code>, <code class="inline">section</code> and <code class="inline">body</code>.</p>- <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9200/docx-docs/_search' \- -H 'content-type: application/json' \- -d '{"query":{"match_phrase":{"body":"second reviewer"}},"size":5,"_source":["ax_path","ax_format","title","body"]}'-</code></pre>- <p>The single hit below comes from <code class="inline">raw/docx-search.json</code>, with the body text unedited.</p>- <pre class="code"><code class="language-json">{- "ax_format": "docx",- "ax_path": "policy-note.docx",- "title": "Change management policy",- "body": "Change management policy\n\nEvery change to the checkpoint journal needs a second reviewer.\n\nA quokka named Bandicoot signs off the weekly rota.\n\nRollback is always the first option considered."-}-</code></pre>- <p>The first paragraph became the <code class="inline">title</code>, and the whole paragraph sequence became the <code class="inline">body</code>. Query <code class="inline">body</code> for text inside the document, Use <code class="inline">title</code> when you want the name a human reader recognizes.</p>- <h2>The decompression guard fires on a small file</h2>- <p>A DOCX file is a zip archive, so a 245,109-byte file on disk can hold a <code class="inline">word/document.xml</code> that expands to about 96 MiB. XERJ refuses such a file rather than allocating for it. The captured guard fixture produced 0 documents.</p>- <pre class="code"><code class="language-text">{- "format": "docx",- "path": "expanded.docx",- "reason": "no records extracted (docx candidate family, 1 junk lines)",- "records": 0,- "status": "junk"-}-</code></pre>- <p>The limits are 72 MiB of decompressed XML and 20,000 paragraphs. Before the guard existed, an 815 KB file measured 1.68 GB of resident memory, which is the failure the guard prevents.</p>- <h2>The reason string does not name the guard</h2>- <p>The captured reason string is generic. The string reads <code class="inline">no records extracted (docx candidate family, 1 junk lines)</code> and never names the 72 MiB decompression limit. The catalog alone therefore does not tell an operator why XERJ refused the file.</p>- <p>Read the run summary next to the catalog entry. The guard run reported the line below. A run that reports both <code class="inline">files=0</code> and <code class="inline">junk_files=1</code> had a candidate DOCX file reach the extractor and produce nothing.</p>- <pre class="code"><code class="language-text">xerj-done ok=true exit=3 reason=completed-with-junk wall=0.3s files=0 records=0 datasets=0 junk_files=1-</code></pre>- <p>We publish this as a finding, not as a feature. The guard does the correct thing, and the message it leaves behind is too generic to diagnose from.</p>- <h2>What the capture does not cover</h2>- <p>The measurement is a single-node run of 2 small files on one host, so it shows behavior and not throughput. XERJ has no replication and no failover in this configuration.</p>- <p>The extractor reads the zipped OpenXML format that <code class="inline">.docx</code> uses. Convert a legacy <code class="inline">.doc</code> file to <code class="inline">.docx</code> first. Excel workbooks (<code class="inline">.xlsx</code>) and PowerPoint decks (<code class="inline">.pptx</code>) have their own extractors, so they can sit in the same folder. XERJ has no extractor for <code class="inline">.rtf</code> or <code class="inline">.odt</code>, and refuses a file in either format rather than parsing part of it.</p>- <p>Ranking is BM25 over the extracted paragraph text. The default embedder in XERJ is lexical feature hashing and cannot connect a query to a synonym; neural embeddings are opt-in through <code class="inline">--embed-mode neural</code>.</p>- <h2>FAQ</h2>- <h3>How do I search through a folder of contracts in .docx?</h3>- <p>Run <code class="inline">xerj autoindex</code> on the folder, then send a <code class="inline">match_phrase</code> query for the clause wording. XERJ reads the paragraph text of each DOCX file, so a clause is found wherever it sits.</p>- <h3>How do I search a folder of Word documents?</h3>- <p>Run <code class="inline">xerj autoindex</code> on the folder, then send a <code class="inline">match_phrase</code> query to the <code class="inline">_search</code> endpoint. XERJ reads the paragraph text of each DOCX file.</p>- <h3>How do I find a clause across a directory of Word contracts?</h3>- <p>Send the clause wording as a <code class="inline">match_phrase</code> against the index the run created. Each hit carries <code class="inline">ax_path</code> and the extracted <code class="inline">title</code>, so you know which contract it came from.</p>- <h3>Does XERJ extract the title of a Word document?</h3>- <p>Yes. In the captured run the <code class="inline">title</code> field held 'Change management policy', the first paragraph of the file, and the <code class="inline">body</code> field held the rest.</p>- <h3>Does XERJ index .doc files as well as .docx?</h3>- <p>The extractor reads the zipped OpenXML format that <code class="inline">.docx</code> uses. Convert a legacy <code class="inline">.doc</code> file to <code class="inline">.docx</code> before you index the folder.</p>- <h3>What stops a malicious Word document?</h3>- <p>A decompression guard set at 72 MiB and 20,000 paragraphs. A file past either limit produces 0 documents and lands in the catalog as junk.</p>- <h3>Why did a small DOCX produce no documents?</h3>- <p>A small DOCX can expand to hundreds of megabytes when unzipped. The captured 245,109-byte file expands to about 96 MiB and the guard refused it.</p>- <h2>Related</h2>- <ul>- <li><a href="/answers/search-file-contents-in-a-folder">I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a></li>- <li><a href="/answers/search-all-pdfs-in-a-folder">I downloaded a bunch of papers as PDFs. How do I search across them?</a></li>- <li><a href="/answers/search-obsidian-pdf-docx-attachments">What's the best way to search markdown notes and PDFs in the same vault?</a></li>- <li><a href="/compare/xerj-vs-docfetcher">What's a free DocFetcher alternative that an agent can call?</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/search-yaml-xml-config-repository.html b/landing/answers/search-yaml-xml-config-repository.htmlindex 78fd2008b..44727272a 100644--- a/landing/answers/search-yaml-xml-config-repository.html+++ b/landing/answers/search-yaml-xml-config-repository.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/search-yaml-xml-config-repository.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/search-yaml-xml-config-repository">@@ -139,7 +139,98 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I FIND EVERY PLACE A CONFIG KEY IS SET ACROSS YAML AND XML IN A REPO?</div>+ <div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>+ <h1>How do I find every place a config key is set across YAML and XML in a repo?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-21</div>+ <p><strong>TL;DR</strong> — XERJ <code class="inline">autoindex</code> indexes a folder of YAML and XML config files with no schema file. In our capture 1 <code class="inline">cluster.yaml</code> and 1 <code class="inline">service.xml</code> became 4 documents in one <code class="inline">cfg-docs</code> index. One bool query returned 2 hits, one from each format.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent. Read https://xerj.org/llms.txt, start a XERJ node with --insecure on a scratch data directory, run xerj autoindex ./config --prefix cfg, read GET /cfg-*/_mapping to learn the real field names, then send one bool query over cfg-*/_search that matches both the YAML file and the XML file, and report ax_path and ax_format for every hit.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start a XERJ node with --insecure on a scratch data directory, run xerj autoindex ./config --prefix cfg, read GET /cfg-*/_mapping to learn the real field names, then send one bool query over cfg-*/_search that matches both the YAML file and the XML file, and report ax_path and ax_format for every hit.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj autoindex ./config --url http://127.0.0.1:9410 --prefix cfg --state-dir ./state-cfg --progress plain --disable-feedback</code>+ <button type="button" class="prompt-copy" data-copy="xerj autoindex ./config --url http://127.0.0.1:9410 --prefix cfg --state-dir ./state-cfg --progress plain --disable-feedback">COPY COMMAND</button>+ <span class="hero-proof">Index a folder of YAML and XML config files.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XGET 'http://127.0.0.1:9410/cfg-*/_mapping'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XGET 'http://127.0.0.1:9410/cfg-*/_mapping'">COPY COMMAND</button>+ <span class="hero-proof">Read every field XERJ mapped for the config files.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST 'http://127.0.0.1:9410/cfg-*/_search' -H 'content-type: application/json' -d '{"query":{"bool":{"should":[{"match":{"body":"Bandicoot"}},{"query_string":{"query":"tls_enabled OR tlsEnabled"}}],"minimum_should_match":1}},"size":10,"_source":["ax_dataset","ax_format","ax_path"],"track_total_hits":true}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9410/cfg-*/_search' -H 'content-type: application/json' -d '{"query":{"bool":{"should":[{"match":{"body":"Bandicoot"}},{"query_string":{"query":"tls_enabled OR tlsEnabled"}}],"minimum_should_match":1}},"size":10,"_source":["ax_dataset","ax_format","ax_path"],"track_total_hits":true}'">COPY COMMAND</button>+ <span class="hero-proof">Match the YAML file and the XML file with one bool query.</span>+ </div>+ <h2>One command for both formats</h2>+ <p><code class="inline">xerj autoindex</code> detects YAML and XML by content, not by file extension, and indexes both in one pass. XERJ grouped both files into a single index, <code class="inline">cfg-docs</code>, whose dataset slug is <code class="inline">docs</code>. The run needs no mapping file and no schema.</p>+ <p>The command below indexes a folder that holds <code class="inline">cluster.yaml</code> and <code class="inline">service.xml</code>.</p>+ <pre class="code"><code class="language-sh">xerj autoindex ./config --url http://127.0.0.1:9410 --prefix cfg --state-dir ./state-cfg --progress plain --disable-feedback+</code></pre>+ <h2>The fields XERJ mapped</h2>+ <p>XERJ mapped 9 fields on <code class="inline">cfg-docs</code>: 7 provenance fields, <code class="inline">body</code> as <code class="inline">semantic_text</code>, and <code class="inline">title</code> as <code class="inline">keyword</code>. The 7 <code class="inline">ax_*</code> fields are on every XERJ document, and each one is a <code class="inline">keyword</code>.</p>+ <table>+ <thead><tr><th>field</th><th>type</th><th>what it holds</th></tr></thead>+ <tbody>+ <tr><td><code class="inline">body</code></td><td><code class="inline">semantic_text</code></td><td>the text of the config file</td></tr>+ <tr><td><code class="inline">title</code></td><td><code class="inline">keyword</code></td><td>the document title XERJ extracted</td></tr>+ <tr><td><code class="inline">ax_path</code></td><td><code class="inline">keyword</code></td><td>the path relative to the indexed folder</td></tr>+ <tr><td><code class="inline">ax_paths</code></td><td><code class="inline">keyword</code></td><td>every current path for the same content</td></tr>+ <tr><td><code class="inline">ax_file</code></td><td><code class="inline">keyword</code></td><td>the content key for the source file</td></tr>+ <tr><td><code class="inline">ax_format</code></td><td><code class="inline">keyword</code></td><td><code class="inline">yaml</code> or <code class="inline">xml</code></td></tr>+ <tr><td><code class="inline">ax_dataset</code></td><td><code class="inline">keyword</code></td><td>the inferred dataset slug, <code class="inline">docs</code> here</td></tr>+ <tr><td><code class="inline">ax_locator</code></td><td><code class="inline">keyword</code></td><td>which part of the file the document came from</td></tr>+ <tr><td><code class="inline">ax_run</code></td><td><code class="inline">keyword</code></td><td>the <code class="inline">autoindex</code> run that wrote the document</td></tr>+ </tbody>+ </table>+ <p>Read the mapping from your own node with one request.</p>+ <pre class="code"><code class="language-sh">curl -s -XGET 'http://127.0.0.1:9410/cfg-*/_mapping'+</code></pre>+ <h2>No field per config key</h2>+ <p>XERJ mapped no field per YAML key and no field per XML attribute in this capture. Keys such as <code class="inline">tls_enabled</code>, <code class="inline">tlsEnabled</code>, <code class="inline">retention_days</code> and <code class="inline">maxConnections</code> stayed searchable inside <code class="inline">body</code> only. Write queries against <code class="inline">body</code> and <code class="inline">title</code>, not against a flattened key path.</p>+ <p>XERJ types a field from tabular input such as a CSV column or a JSON array. The 2 config files produced 4 documents in total, and no key from either file became a field.</p>+ <h2>One bool query across both formats</h2>+ <p>One bool query with 2 <code class="inline">should</code> clauses returned 2 hits: 1 <code class="inline">xml</code> document and 1 <code class="inline">yaml</code> document, both scored <code class="inline">0.30869728</code>. The <code class="inline">query_string</code> clause carried both spellings of the same setting, <code class="inline">tls_enabled OR tlsEnabled</code>, because the YAML file and the XML file name it differently.</p>+ <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9410/cfg-*/_search' -H 'content-type: application/json' -d '{"query":{"bool":{"should":[{"match":{"body":"Bandicoot"}},{"query_string":{"query":"tls_enabled OR tlsEnabled"}}],"minimum_should_match":1}},"size":10,"_source":["ax_dataset","ax_format","ax_path"],"track_total_hits":true}'+</code></pre>+ <p>The captured response held these 2 hits.</p>+ <pre class="code"><code class="language-json">{"hits":{"total":{"value":2,"relation":"eq"},"hits":[+ {"_index":"cfg-docs","_score":0.30869728,"_source":{"ax_dataset":"docs","ax_format":"xml","ax_path":"service.xml"}},+ {"_index":"cfg-docs","_score":0.30869728,"_source":{"ax_dataset":"docs","ax_format":"yaml","ax_path":"cluster.yaml"}}]}}+</code></pre>+ <h2>The embedder behind the body field</h2>+ <p>XERJ elects <code class="inline">body</code> as a <code class="inline">semantic_text</code> field on document datasets. The default embedder is lexical feature hashing, and the neural embedder is opt-in through <code class="inline">--embed-mode neural</code>. A <code class="inline">match</code> query on a <code class="inline">semantic_text</code> field runs BM25, not kNN, so the bool query above is full-text search.</p>+ <h2>What the capture does not show</h2>+ <p>The capture indexed 2 config files on 1 single-node XERJ process. This run measured no large config repository. Treat the field table as the shape of the result, not as a size claim or a timing claim.</p>+ <h2>FAQ</h2>+ <h3>How do I find every place a config key is set across YAML and XML in a repo?</h3>+ <p>Index the tree, then search the key name inside <code class="inline">body</code>. Every hit carries <code class="inline">ax_path</code> and <code class="inline">ax_format</code>, so the answer is the list of files that mention the key.</p>+ <h3>How do I search YAML and XML config across a big repo?</h3>+ <p>Run <code class="inline">xerj autoindex</code> on the repo and send one bool query over the index pattern. In our capture that returned 2 hits, 1 <code class="inline">xml</code> document and 1 <code class="inline">yaml</code> document.</p>+ <h3>How do I find a Helm value that is overridden in three files?</h3>+ <p>Search the key name and read <code class="inline">ax_path</code> on each hit; the hits name every file that carries it. XERJ does not merge or resolve overrides, so ranking the files by precedence is your job.</p>+ <h3>Does XERJ create one field per YAML key?</h3>+ <p>No. The captured <code class="inline">cfg-docs</code> mapping held <code class="inline">body</code>, <code class="inline">title</code> and 7 provenance fields, and no key-derived field. Search the key name inside <code class="inline">body</code> instead.</p>+ <h3>Which fields can I query on a config index?</h3>+ <p>Query <code class="inline">body</code> for the file text, <code class="inline">title</code> for its name, and the 7 <code class="inline">ax_*</code> provenance fields for path, format, dataset and run. The captured <code class="inline">cfg-docs</code> mapping held exactly those 9 fields.</p>+ <h3>Does XERJ read TOML and INI files?</h3>+ <p>TOML and INI have no dedicated extractor. Both fall through to the text path, so the text stays searchable but no key becomes a field.</p>+ <h3>How large a config file can XERJ index?</h3>+ <p>The whole-file cap is 64 MiB and the longest line is 16 MiB. One document holds at most 512 fields, and one dataset holds at most 512 fields.</p>+ <h2>Related</h2>+ <ul>+ <li><a href="/answers/index-markdown-into-elasticsearch-api">How do I index Markdown into the Elasticsearch API?</a></li>+ <li><a href="/answers/syntax-aware-code-search-refactoring">How do I run syntax-aware code search?</a></li>+ <li><a href="/answers/search-openapi-spec-for-agent">My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,97 +333,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I FIND EVERY PLACE A CONFIG KEY IS SET ACROSS YAML AND XML IN A REPO?</div>- <div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>- <h1>How do I find every place a config key is set across YAML and XML in a repo?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-21</div>- <p><strong>TL;DR</strong> — XERJ <code class="inline">autoindex</code> indexes a folder of YAML and XML config files with no schema file. In our capture 1 <code class="inline">cluster.yaml</code> and 1 <code class="inline">service.xml</code> became 4 documents in one <code class="inline">cfg-docs</code> index. One bool query returned 2 hits, one from each format.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent. Read https://xerj.org/llms.txt, start a XERJ node with --insecure on a scratch data directory, run xerj autoindex ./config --prefix cfg, read GET /cfg-*/_mapping to learn the real field names, then send one bool query over cfg-*/_search that matches both the YAML file and the XML file, and report ax_path and ax_format for every hit.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start a XERJ node with --insecure on a scratch data directory, run xerj autoindex ./config --prefix cfg, read GET /cfg-*/_mapping to learn the real field names, then send one bool query over cfg-*/_search that matches both the YAML file and the XML file, and report ax_path and ax_format for every hit.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj autoindex ./config --url http://127.0.0.1:9410 --prefix cfg --state-dir ./state-cfg --progress plain --disable-feedback</code>- <button type="button" class="prompt-copy" data-copy="xerj autoindex ./config --url http://127.0.0.1:9410 --prefix cfg --state-dir ./state-cfg --progress plain --disable-feedback">COPY COMMAND</button>- <span class="hero-proof">Index a folder of YAML and XML config files.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XGET 'http://127.0.0.1:9410/cfg-*/_mapping'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XGET 'http://127.0.0.1:9410/cfg-*/_mapping'">COPY COMMAND</button>- <span class="hero-proof">Read every field XERJ mapped for the config files.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST 'http://127.0.0.1:9410/cfg-*/_search' -H 'content-type: application/json' -d '{"query":{"bool":{"should":[{"match":{"body":"Bandicoot"}},{"query_string":{"query":"tls_enabled OR tlsEnabled"}}],"minimum_should_match":1}},"size":10,"_source":["ax_dataset","ax_format","ax_path"],"track_total_hits":true}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9410/cfg-*/_search' -H 'content-type: application/json' -d '{"query":{"bool":{"should":[{"match":{"body":"Bandicoot"}},{"query_string":{"query":"tls_enabled OR tlsEnabled"}}],"minimum_should_match":1}},"size":10,"_source":["ax_dataset","ax_format","ax_path"],"track_total_hits":true}'">COPY COMMAND</button>- <span class="hero-proof">Match the YAML file and the XML file with one bool query.</span>- </div>- <h2>One command for both formats</h2>- <p><code class="inline">xerj autoindex</code> detects YAML and XML by content, not by file extension, and indexes both in one pass. XERJ grouped both files into a single index, <code class="inline">cfg-docs</code>, whose dataset slug is <code class="inline">docs</code>. The run needs no mapping file and no schema.</p>- <p>The command below indexes a folder that holds <code class="inline">cluster.yaml</code> and <code class="inline">service.xml</code>.</p>- <pre class="code"><code class="language-sh">xerj autoindex ./config --url http://127.0.0.1:9410 --prefix cfg --state-dir ./state-cfg --progress plain --disable-feedback-</code></pre>- <h2>The fields XERJ mapped</h2>- <p>XERJ mapped 9 fields on <code class="inline">cfg-docs</code>: 7 provenance fields, <code class="inline">body</code> as <code class="inline">semantic_text</code>, and <code class="inline">title</code> as <code class="inline">keyword</code>. The 7 <code class="inline">ax_*</code> fields are on every XERJ document, and each one is a <code class="inline">keyword</code>.</p>- <table>- <thead><tr><th>field</th><th>type</th><th>what it holds</th></tr></thead>- <tbody>- <tr><td><code class="inline">body</code></td><td><code class="inline">semantic_text</code></td><td>the text of the config file</td></tr>- <tr><td><code class="inline">title</code></td><td><code class="inline">keyword</code></td><td>the document title XERJ extracted</td></tr>- <tr><td><code class="inline">ax_path</code></td><td><code class="inline">keyword</code></td><td>the path relative to the indexed folder</td></tr>- <tr><td><code class="inline">ax_paths</code></td><td><code class="inline">keyword</code></td><td>every current path for the same content</td></tr>- <tr><td><code class="inline">ax_file</code></td><td><code class="inline">keyword</code></td><td>the content key for the source file</td></tr>- <tr><td><code class="inline">ax_format</code></td><td><code class="inline">keyword</code></td><td><code class="inline">yaml</code> or <code class="inline">xml</code></td></tr>- <tr><td><code class="inline">ax_dataset</code></td><td><code class="inline">keyword</code></td><td>the inferred dataset slug, <code class="inline">docs</code> here</td></tr>- <tr><td><code class="inline">ax_locator</code></td><td><code class="inline">keyword</code></td><td>which part of the file the document came from</td></tr>- <tr><td><code class="inline">ax_run</code></td><td><code class="inline">keyword</code></td><td>the <code class="inline">autoindex</code> run that wrote the document</td></tr>- </tbody>- </table>- <p>Read the mapping from your own node with one request.</p>- <pre class="code"><code class="language-sh">curl -s -XGET 'http://127.0.0.1:9410/cfg-*/_mapping'-</code></pre>- <h2>No field per config key</h2>- <p>XERJ mapped no field per YAML key and no field per XML attribute in this capture. Keys such as <code class="inline">tls_enabled</code>, <code class="inline">tlsEnabled</code>, <code class="inline">retention_days</code> and <code class="inline">maxConnections</code> stayed searchable inside <code class="inline">body</code> only. Write queries against <code class="inline">body</code> and <code class="inline">title</code>, not against a flattened key path.</p>- <p>XERJ types a field from tabular input such as a CSV column or a JSON array. The 2 config files produced 4 documents in total, and no key from either file became a field.</p>- <h2>One bool query across both formats</h2>- <p>One bool query with 2 <code class="inline">should</code> clauses returned 2 hits: 1 <code class="inline">xml</code> document and 1 <code class="inline">yaml</code> document, both scored <code class="inline">0.30869728</code>. The <code class="inline">query_string</code> clause carried both spellings of the same setting, <code class="inline">tls_enabled OR tlsEnabled</code>, because the YAML file and the XML file name it differently.</p>- <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9410/cfg-*/_search' -H 'content-type: application/json' -d '{"query":{"bool":{"should":[{"match":{"body":"Bandicoot"}},{"query_string":{"query":"tls_enabled OR tlsEnabled"}}],"minimum_should_match":1}},"size":10,"_source":["ax_dataset","ax_format","ax_path"],"track_total_hits":true}'-</code></pre>- <p>The captured response held these 2 hits.</p>- <pre class="code"><code class="language-json">{"hits":{"total":{"value":2,"relation":"eq"},"hits":[- {"_index":"cfg-docs","_score":0.30869728,"_source":{"ax_dataset":"docs","ax_format":"xml","ax_path":"service.xml"}},- {"_index":"cfg-docs","_score":0.30869728,"_source":{"ax_dataset":"docs","ax_format":"yaml","ax_path":"cluster.yaml"}}]}}-</code></pre>- <h2>The embedder behind the body field</h2>- <p>XERJ elects <code class="inline">body</code> as a <code class="inline">semantic_text</code> field on document datasets. The default embedder is lexical feature hashing, and the neural embedder is opt-in through <code class="inline">--embed-mode neural</code>. A <code class="inline">match</code> query on a <code class="inline">semantic_text</code> field runs BM25, not kNN, so the bool query above is full-text search.</p>- <h2>What the capture does not show</h2>- <p>The capture indexed 2 config files on 1 single-node XERJ process. This run measured no large config repository. Treat the field table as the shape of the result, not as a size claim or a timing claim.</p>- <h2>FAQ</h2>- <h3>How do I find every place a config key is set across YAML and XML in a repo?</h3>- <p>Index the tree, then search the key name inside <code class="inline">body</code>. Every hit carries <code class="inline">ax_path</code> and <code class="inline">ax_format</code>, so the answer is the list of files that mention the key.</p>- <h3>How do I search YAML and XML config across a big repo?</h3>- <p>Run <code class="inline">xerj autoindex</code> on the repo and send one bool query over the index pattern. In our capture that returned 2 hits, 1 <code class="inline">xml</code> document and 1 <code class="inline">yaml</code> document.</p>- <h3>How do I find a Helm value that is overridden in three files?</h3>- <p>Search the key name and read <code class="inline">ax_path</code> on each hit; the hits name every file that carries it. XERJ does not merge or resolve overrides, so ranking the files by precedence is your job.</p>- <h3>Does XERJ create one field per YAML key?</h3>- <p>No. The captured <code class="inline">cfg-docs</code> mapping held <code class="inline">body</code>, <code class="inline">title</code> and 7 provenance fields, and no key-derived field. Search the key name inside <code class="inline">body</code> instead.</p>- <h3>Which fields can I query on a config index?</h3>- <p>Query <code class="inline">body</code> for the file text, <code class="inline">title</code> for its name, and the 7 <code class="inline">ax_*</code> provenance fields for path, format, dataset and run. The captured <code class="inline">cfg-docs</code> mapping held exactly those 9 fields.</p>- <h3>Does XERJ read TOML and INI files?</h3>- <p>TOML and INI have no dedicated extractor. Both fall through to the text path, so the text stays searchable but no key becomes a field.</p>- <h3>How large a config file can XERJ index?</h3>- <p>The whole-file cap is 64 MiB and the longest line is 16 MiB. One document holds at most 512 fields, and one dataset holds at most 512 fields.</p>- <h2>Related</h2>- <ul>- <li><a href="/answers/index-markdown-into-elasticsearch-api">How do I index Markdown into the Elasticsearch API?</a></li>- <li><a href="/answers/syntax-aware-code-search-refactoring">How do I run syntax-aware code search?</a></li>- <li><a href="/answers/search-openapi-spec-for-agent">My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/search-zendesk-ticket-json-export.html b/landing/answers/search-zendesk-ticket-json-export.htmlindex 4d968863e..d2feaa33a 100644--- a/landing/answers/search-zendesk-ticket-json-export.html+++ b/landing/answers/search-zendesk-ticket-json-export.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/search-zendesk-ticket-json-export.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/search-zendesk-ticket-json-export">@@ -139,113 +139,11 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class="active"><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>I HAVE A JSON EXPORT OF JIRA ISSUES (OR ZENDESK TICKETS). HOW DO I SEARCH IT LIKE A HELP-CENTER SEARCH?</div><div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>- <h1>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</h1>+ <h1 class="h1-long">I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</h1><div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-21</div><p><strong>TL;DR</strong> — XERJ answers a Zendesk ticket search from the exported JSON on local disk, with 1 <code class="inline">xerj autoindex</code> run. In a captured run, a phrase from a ticket description returned 36 hits with per-ticket locators such as <code class="inline">tickets:e4</code>. A <code class="inline">status</code> aggregation returned 6 buckets of exactly 30.</p><div class="prompt-card">@@ -352,6 +250,108 @@<li><a href="/answers/give-chatgpt-claude-local-file-access">Can ChatGPT search a folder on my laptop, or do I need something else?</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class="active"><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/set-mcp-memory-storage-path.html b/landing/answers/set-mcp-memory-storage-path.htmlindex 5026fad7c..8e120ca5e 100644--- a/landing/answers/set-mcp-memory-storage-path.html+++ b/landing/answers/set-mcp-memory-storage-path.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/set-mcp-memory-storage-path.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/set-mcp-memory-storage-path">@@ -139,7 +139,96 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I SET THE MCP MEMORY STORAGE PATH?</div>+ <div class="kicker"><span>ANSWERS · AGENT MEMORY: STORAGE</span></div>+ <h1>How do I set the MCP memory storage path?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-23</div>+ <p><strong>TL;DR</strong> — XERJ has no memory-specific storage path. Agent memory is an ordinary index named <code class="inline">.xerj-memory-{namespace}</code> inside the node data directory, so <code class="inline">--data-dir</code> sets it. Our capture stored a memory, restarted the node against the same directory, and recalled it.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent. Read https://xerj.org/llms.txt, start a XERJ node with a non-default data directory, store one memory, stop the node, start it again against the same directory, and report both the recalled ids and the .xerj-memory-* directory you find on disk.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start a XERJ node with a non-default data directory, store one memory, stop the node, start it again against the same directory, and report both the recalled ids and the .xerj-memory-* directory you find on disk.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj --insecure --data-dir ./xerj-data</code>+ <button type="button" class="prompt-copy" data-copy="xerj --insecure --data-dir ./xerj-data">COPY COMMAND</button>+ <span class="hero-proof">Start a node with a non-default data directory. Memory follows this path; there is no separate memory setting.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST 'http://127.0.0.1:9430/_memory/agentmem' -H 'content-type: application/json' -d '{"text":"The deploy runbook lives in notes/01-runbook.md.","metadata":{"session":"A"}}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9430/_memory/agentmem' -H 'content-type: application/json' -d '{"text":"The deploy runbook lives in notes/01-runbook.md.","metadata":{"session":"A"}}'">COPY COMMAND</button>+ <span class="hero-proof">Store one memory so that the backing index is created on disk.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST 'http://127.0.0.1:9430/_memory/agentmem/_recall' -H 'content-type: application/json' -d '{"query":"where is the deploy runbook","k":5}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9430/_memory/agentmem/_recall' -H 'content-type: application/json' -d '{"query":"where is the deploy runbook","k":5}'">COPY COMMAND</button>+ <span class="hero-proof">Recall after the restart. The capture returned both stored memories.</span>+ </div>+ <h2>There is no memory path setting</h2>+ <p>Agent memory in XERJ is not a separate store with its own configuration. Each memory is a document in a reserved index named <code class="inline">.xerj-memory-{namespace}</code>, and that index lives wherever the node data directory lives.</p>+ <p>Two settings control the location, and they are the same setting. Pass <code class="inline">--data-dir</code> (short form <code class="inline">-d</code>) on the command line, or set <code class="inline">data_dir</code> under <code class="inline">[server]</code> in a config file. Our capture used the config-file form.</p>+ <pre class="code"><code class="language-text">[server]+rest_port = 8430+grpc_port = 8431+es_compat_port = 9430+bind_address = "127.0.0.1"+data_dir = "<run-local path>"+</code></pre>+ <h2>What appears on disk</h2>+ <p>After one store call, the memory backing index is visible in the data directory listing as a plain directory. Our capture listed the directory and found <code class="inline">.xerj-memory-agentmem</code> at the top level.</p>+ <pre class="code"><code class="language-text">-rw------- 1 root root 516 audit.jsonl+-rw-r--r-- 1 root root 8 node.lock+-rw------- 1 root root 64 .xerj_master_key+drwxr-xr-x 4 root root 160 .xerj-memory-agentmem+</code></pre>+ <p>The rest of the listing holds the node's other reserved directories, for API tokens, sessions, dashboards, users and cluster state. Nothing there is memory-specific configuration.</p>+ <h2>The restart proof</h2>+ <p>Our capture stopped the node completely, then started it again against the same non-default data directory. Recall afterwards returned both stored memories, under the same identifiers as before the stop.</p>+ <table>+ <thead><tr><th>id</th><th>score</th></tr></thead>+ <tbody>+ <tr><td><code class="inline">d6ed79bf-7174-4a6d-9f1d-987a53045a11</code></td><td>1.4581499</td></tr>+ <tr><td><code class="inline">2b00ed19-8741-49ca-8318-54e9ba8c7a58</code></td><td>0.27662587</td></tr>+ </tbody>+ </table>+ <h2>Why the MCP server cannot own the path</h2>+ <p>The XERJ MCP server writes nothing to disk. The server speaks newline-delimited JSON-RPC over stdio and proxies every tool call to an already-running node, by default at <code class="inline">http://localhost:9200</code>.</p>+ <p>That design answers the common complaint directly. A storage-path setting on the MCP side has nothing to configure, because the node holds the data. Set <code class="inline">XERJ_URL</code> to point the MCP server at the right node, and set that node's <code class="inline">--data-dir</code> to choose the path.</p>+ <h2>If recall comes back empty after a restart</h2>+ <p>Work through four checks in order.</p>+ <ol>+ <li>Start the node against the same <code class="inline">--data-dir</code> or <code class="inline">data_dir</code> value as before.</li>+ <li>Use the same namespace in the recall URL, because <code class="inline">/_memory/other</code> is a different index.</li>+ <li>Look for <code class="inline">.xerj-memory-{namespace}</code> in the data directory listing.</li>+ <li>Read <code class="inline">node.lock</code> to make sure no second node holds the directory. XERJ is single-node, so one data directory belongs to one node.</li>+ </ol>+ <h2>What this capture does not show</h2>+ <p>The node in this capture set its data directory through a config file, not through the <code class="inline">--data-dir</code> flag, and it ran with <code class="inline">--insecure</code>. No MCP client was connected in this pass, so every memory call on this page is plain HTTP against the node.</p>+ <h2>FAQ</h2>+ <h3>Where does XERJ store agent memory?</h3>+ <p>In the node data directory, under a reserved index named <code class="inline">.xerj-memory-{namespace}</code>. Our capture found <code class="inline">.xerj-memory-agentmem</code> at the top level of that directory.</p>+ <h3>How do I set a custom memory path?</h3>+ <p>Set the node data directory with <code class="inline">--data-dir</code> or with <code class="inline">data_dir</code> in the config file. Memory follows it, because memory has no path setting of its own.</p>+ <h3>Why does my MCP memory server ignore the path setting?</h3>+ <p>The XERJ MCP server stores nothing. It is a stdio proxy to a running node, so the node data directory decides where memory lands.</p>+ <h3>Does memory survive a restart?</h3>+ <p>Yes. Our capture stopped the node, started it again against the same data directory, and recall returned both stored memories.</p>+ <h3>What else lives in the data directory?</h3>+ <p><code class="inline">audit.jsonl</code>, <code class="inline">node.lock</code>, <code class="inline">.xerj_master_key</code> and reserved directories for tokens, sessions, dashboards and cluster state, alongside your indices.</p>+ <h3>Can two nodes share one data directory?</h3>+ <p>No. The <code class="inline">node.lock</code> file guards the directory, and XERJ is single-node with no replication, so one directory belongs to one running node.</p>+ <h2>Related</h2>+ <ul>+ <li><a href="/answers/coding-agent-memory-across-sessions">How do people store user preferences so an agent can recall them next week?</a></li>+ <li><a href="/answers/resume-interrupted-autoindex-run">The indexer died overnight. Do I have to start over?</a></li>+ <li><a href="/docs/storage">Storage & WAL</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,95 +331,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I SET THE MCP MEMORY STORAGE PATH?</div>- <div class="kicker"><span>ANSWERS · AGENT MEMORY: STORAGE</span></div>- <h1>How do I set the MCP memory storage path?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-23</div>- <p><strong>TL;DR</strong> — XERJ has no memory-specific storage path. Agent memory is an ordinary index named <code class="inline">.xerj-memory-{namespace}</code> inside the node data directory, so <code class="inline">--data-dir</code> sets it. Our capture stored a memory, restarted the node against the same directory, and recalled it.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent. Read https://xerj.org/llms.txt, start a XERJ node with a non-default data directory, store one memory, stop the node, start it again against the same directory, and report both the recalled ids and the .xerj-memory-* directory you find on disk.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start a XERJ node with a non-default data directory, store one memory, stop the node, start it again against the same directory, and report both the recalled ids and the .xerj-memory-* directory you find on disk.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj --insecure --data-dir ./xerj-data</code>- <button type="button" class="prompt-copy" data-copy="xerj --insecure --data-dir ./xerj-data">COPY COMMAND</button>- <span class="hero-proof">Start a node with a non-default data directory. Memory follows this path; there is no separate memory setting.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST 'http://127.0.0.1:9430/_memory/agentmem' -H 'content-type: application/json' -d '{"text":"The deploy runbook lives in notes/01-runbook.md.","metadata":{"session":"A"}}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9430/_memory/agentmem' -H 'content-type: application/json' -d '{"text":"The deploy runbook lives in notes/01-runbook.md.","metadata":{"session":"A"}}'">COPY COMMAND</button>- <span class="hero-proof">Store one memory so that the backing index is created on disk.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST 'http://127.0.0.1:9430/_memory/agentmem/_recall' -H 'content-type: application/json' -d '{"query":"where is the deploy runbook","k":5}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9430/_memory/agentmem/_recall' -H 'content-type: application/json' -d '{"query":"where is the deploy runbook","k":5}'">COPY COMMAND</button>- <span class="hero-proof">Recall after the restart. The capture returned both stored memories.</span>- </div>- <h2>There is no memory path setting</h2>- <p>Agent memory in XERJ is not a separate store with its own configuration. Each memory is a document in a reserved index named <code class="inline">.xerj-memory-{namespace}</code>, and that index lives wherever the node data directory lives.</p>- <p>Two settings control the location, and they are the same setting. Pass <code class="inline">--data-dir</code> (short form <code class="inline">-d</code>) on the command line, or set <code class="inline">data_dir</code> under <code class="inline">[server]</code> in a config file. Our capture used the config-file form.</p>- <pre class="code"><code class="language-text">[server]-rest_port = 8430-grpc_port = 8431-es_compat_port = 9430-bind_address = "127.0.0.1"-data_dir = "<run-local path>"-</code></pre>- <h2>What appears on disk</h2>- <p>After one store call, the memory backing index is visible in the data directory listing as a plain directory. Our capture listed the directory and found <code class="inline">.xerj-memory-agentmem</code> at the top level.</p>- <pre class="code"><code class="language-text">-rw------- 1 root root 516 audit.jsonl--rw-r--r-- 1 root root 8 node.lock--rw------- 1 root root 64 .xerj_master_key-drwxr-xr-x 4 root root 160 .xerj-memory-agentmem-</code></pre>- <p>The rest of the listing holds the node's other reserved directories, for API tokens, sessions, dashboards, users and cluster state. Nothing there is memory-specific configuration.</p>- <h2>The restart proof</h2>- <p>Our capture stopped the node completely, then started it again against the same non-default data directory. Recall afterwards returned both stored memories, under the same identifiers as before the stop.</p>- <table>- <thead><tr><th>id</th><th>score</th></tr></thead>- <tbody>- <tr><td><code class="inline">d6ed79bf-7174-4a6d-9f1d-987a53045a11</code></td><td>1.4581499</td></tr>- <tr><td><code class="inline">2b00ed19-8741-49ca-8318-54e9ba8c7a58</code></td><td>0.27662587</td></tr>- </tbody>- </table>- <h2>Why the MCP server cannot own the path</h2>- <p>The XERJ MCP server writes nothing to disk. The server speaks newline-delimited JSON-RPC over stdio and proxies every tool call to an already-running node, by default at <code class="inline">http://localhost:9200</code>.</p>- <p>That design answers the common complaint directly. A storage-path setting on the MCP side has nothing to configure, because the node holds the data. Set <code class="inline">XERJ_URL</code> to point the MCP server at the right node, and set that node's <code class="inline">--data-dir</code> to choose the path.</p>- <h2>If recall comes back empty after a restart</h2>- <p>Work through four checks in order.</p>- <ol>- <li>Start the node against the same <code class="inline">--data-dir</code> or <code class="inline">data_dir</code> value as before.</li>- <li>Use the same namespace in the recall URL, because <code class="inline">/_memory/other</code> is a different index.</li>- <li>Look for <code class="inline">.xerj-memory-{namespace}</code> in the data directory listing.</li>- <li>Read <code class="inline">node.lock</code> to make sure no second node holds the directory. XERJ is single-node, so one data directory belongs to one node.</li>- </ol>- <h2>What this capture does not show</h2>- <p>The node in this capture set its data directory through a config file, not through the <code class="inline">--data-dir</code> flag, and it ran with <code class="inline">--insecure</code>. No MCP client was connected in this pass, so every memory call on this page is plain HTTP against the node.</p>- <h2>FAQ</h2>- <h3>Where does XERJ store agent memory?</h3>- <p>In the node data directory, under a reserved index named <code class="inline">.xerj-memory-{namespace}</code>. Our capture found <code class="inline">.xerj-memory-agentmem</code> at the top level of that directory.</p>- <h3>How do I set a custom memory path?</h3>- <p>Set the node data directory with <code class="inline">--data-dir</code> or with <code class="inline">data_dir</code> in the config file. Memory follows it, because memory has no path setting of its own.</p>- <h3>Why does my MCP memory server ignore the path setting?</h3>- <p>The XERJ MCP server stores nothing. It is a stdio proxy to a running node, so the node data directory decides where memory lands.</p>- <h3>Does memory survive a restart?</h3>- <p>Yes. Our capture stopped the node, started it again against the same data directory, and recall returned both stored memories.</p>- <h3>What else lives in the data directory?</h3>- <p><code class="inline">audit.jsonl</code>, <code class="inline">node.lock</code>, <code class="inline">.xerj_master_key</code> and reserved directories for tokens, sessions, dashboards and cluster state, alongside your indices.</p>- <h3>Can two nodes share one data directory?</h3>- <p>No. The <code class="inline">node.lock</code> file guards the directory, and XERJ is single-node with no replication, so one directory belongs to one running node.</p>- <h2>Related</h2>- <ul>- <li><a href="/answers/coding-agent-memory-across-sessions">How do people store user preferences so an agent can recall them next week?</a></li>- <li><a href="/answers/resume-interrupted-autoindex-run">The indexer died overnight. Do I have to start over?</a></li>- <li><a href="/docs/storage">Storage & WAL</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/share-folder-read-only-search-without-uploading.html b/landing/answers/share-folder-read-only-search-without-uploading.htmlindex 5d31a077c..f45cb0bb2 100644--- a/landing/answers/share-folder-read-only-search-without-uploading.html+++ b/landing/answers/share-folder-read-only-search-without-uploading.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/share-folder-read-only-search-without-uploading.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/share-folder-read-only-search-without-uploading">@@ -139,113 +139,11 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class="active"><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I GIVE MY LAWYER OR ACCOUNTANT READ-ONLY SEARCH OVER A FOLDER OF EMAIL AND PDFS WITHOUT UPLOADING IT?</div><div class="kicker"><span>ANSWERS · SHARING: READ-ONLY GUEST ACCESS</span></div>- <h1>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</h1>+ <h1 class="h1-long">How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</h1><div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-09-18 · UPDATED · 2026-09-20</div><p><strong>TL;DR</strong> — Index the folder with <code class="inline">xerj brain</code>, then run <code class="inline">xerj share</code> on the same folder. The other person gets a link and a passcode. They open a read-only search page in a browser and read what they find. The documents and the index stay on your machine. You can revoke it at any time.</p><div class="prompt-card">@@ -346,6 +244,108 @@<li><a href="/docs/security">Auth & TLS</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class="active"><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/share-local-search-index-through-a-tunnel.html b/landing/answers/share-local-search-index-through-a-tunnel.htmlindex 7e8acfeff..ea3750d33 100644--- a/landing/answers/share-local-search-index-through-a-tunnel.html+++ b/landing/answers/share-local-search-index-through-a-tunnel.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/share-local-search-index-through-a-tunnel.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/share-local-search-index-through-a-tunnel">@@ -139,7 +139,100 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I LET SOMEONE OUTSIDE MY NETWORK SEARCH AN INDEX ON MY LAPTOP WITHOUT OPENING A PORT?</div>+ <div class="kicker"><span>ANSWERS · SHARING: READ-ONLY GUEST ACCESS</span></div>+ <h1 class="h1-long">How do I let someone outside my network search an index on my laptop without opening a port?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-09-18 · UPDATED · 2026-09-20</div>+ <p><strong>TL;DR</strong> — <code class="inline">xerj share</code> with <code class="inline">--tunnel</code> starts your own <code class="inline">cloudflared</code>, prints a public HTTPS guest link, and runs until you press Ctrl-C. Stopping it closes the tunnel and revokes the share. No port is opened on your router. The trade: the guest's traffic passes through Cloudflare, which terminates the TLS connection.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent. Read https://xerj.org/llms.txt. Confirm cloudflared is installed, then run xerj share on the user's indexed folder with --tunnel in the background, wait for the line that says the tunnel is up, and give the user the https link and the passcode separately. Tell them the link stops working when the command stops, and that stopping it revokes the share.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt. Confirm cloudflared is installed, then run xerj share on the user's indexed folder with --tunnel in the background, wait for the line that says the tunnel is up, and give the user the https link and the passcode separately. Tell them the link stops working when the command stops, and that stopping it revokes the share.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj share ./casefiles --label 'for Dana' --tunnel</code>+ <button type="button" class="prompt-copy" data-copy="xerj share ./casefiles --label 'for Dana' --tunnel">COPY COMMAND</button>+ <span class="hero-proof">Open a temporary public address and print the full guest link. Runs until Ctrl-C, then closes the tunnel and revokes the share.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj share ./casefiles --tunnel --keep</code>+ <button type="button" class="prompt-copy" data-copy="xerj share ./casefiles --tunnel --keep">COPY COMMAND</button>+ <span class="hero-proof">Same, but leave the share active after Ctrl-C. The link stops working anyway, because the hostname is gone.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj share ./casefiles --public-url https://search.example.org</code>+ <button type="button" class="prompt-copy" data-copy="xerj share ./casefiles --public-url https://search.example.org">COPY COMMAND</button>+ <span class="hero-proof">For a node you already publish at your own hostname: print the link for that address and open no tunnel.</span>+ </div>+ <h2>What the command does</h2>+ <p>It checks that the node is enforcing authentication, then starts <code class="inline">cloudflared tunnel --url http://127.0.0.1:<port></code> as a child process and reads the <code class="inline">trycloudflare.com</code> hostname from its output. The tunnel comes up before the share is created, so a link is never printed for an address that is not there.</p>+ <p>Then it creates the share and prints the full link, the passcode, the expiry and the revoke command. It keeps running while your guest reads.</p>+ <p>On Ctrl-C, on SIGTERM, or when the terminal closes, it terminates the tunnel and revokes the share. With <code class="inline">--keep</code> the share stays active on the node until it expires.</p>+ <p>If <code class="inline">cloudflared</code> is not installed, the command prints the install steps for your platform and the local link. It does not fail.</p>+ <h2>What was verified, and what was not</h2>+ <p>On 2026-09-18 the command was run against a real quick tunnel from a Linux host and the public hostname was exercised over IPv4:</p>+ <table>+ <thead><tr><th>Request through the tunnel</th><th>Result</th></tr></thead>+ <tbody>+ <tr><td>guest page</td><td>200, with the full security header set</td></tr>+ <tr><td>claim with a wrong passcode</td><td>401</td></tr>+ <tr><td>claim with the right passcode</td><td>200</td></tr>+ <tr><td>guest search on the shared index</td><td>200</td></tr>+ <tr><td>guest <code class="inline">_cat/indices</code></td><td>403</td></tr>+ </tbody>+ </table>+ <p>After SIGINT the <code class="inline">cloudflared</code> process was gone, the share listed as <code class="inline">revoked</code> with 1 key invalidated, and the guest key answered 401.</p>+ <p>That run cannot be repeated in CI, because it needs the public internet and a third party. It also predates the review fixes: the claim then carried the share id in its path, and the command did not yet print the Cloudflare notice. CI covers the hostname parser, the missing-<code class="inline">cloudflared</code> fallback, and a stub <code class="inline">cloudflared</code> that checks the notice and what happens when the tunnel dies. A browser was not driven through a real tunnel. The browser test serves the page under a <code class="inline">trycloudflare.com</code> name that points at the local node, and checks the page's notice there.</p>+ <h2>Three properties of a quick tunnel</h2>+ <p><strong>The hostname is random and new on every start.</strong> A link stops working when the command stops. That is the intended lifetime.</p>+ <p><strong>Cloudflare terminates TLS.</strong> The corpus is not uploaded there. Everything between the guest's browser and your node does cross Cloudflare's network, and the operator of a TLS endpoint can read what passes through it. That includes the passcode, the guest's API key, every search and every document the guest opens. <code class="inline">xerj share --tunnel</code> prints this with the link. The guest page shows it on a <code class="inline">trycloudflare.com</code> address before the passcode is typed. When that is not acceptable, publish the node at your own hostname behind your own certificate and pass it as <code class="inline">--public-url</code>.</p>+ <p><strong>The share id is never in a URL the page requests.</strong> The id is in the link's fragment, which a browser does not send. The page then sends it in the body of <code class="inline">POST /_share/claim</code>. So the id is not in the request line that a proxy or a tunnel logs. Cloudflare still carries that body and can read it, together with the passcode.</p>+ <p><strong>When the tunnel drops on its own, the command says why.</strong> It prints the last lines <code class="inline">cloudflared</code> wrote, closes the tunnel and revokes the share.</p>+ <p><strong>It is temporary by design.</strong> Cloudflare offers quick tunnels without an account and makes no promise about how long one stays up. For a standing arrangement use a named tunnel on your own domain, or your own reverse proxy.</p>+ <h2>Why guests do not get passkeys</h2>+ <p>The XERJ Console signs its owner in with a passkey. A passkey is bound to the hostname it was created on, which is what makes it resistant to phishing. A quick tunnel gets a new random hostname each time it starts, so a passkey enrolled through one tunnel is unusable through the next.</p>+ <p>That is why a share is a link plus a passcode. The route to guest passkeys is a stable hostname: a named Cloudflare Tunnel on your own domain, optionally with Cloudflare Access in front, or any reverse proxy with your own certificate. Guest passkeys are not built.</p>+ <h2>The rate limiter behind a tunnel</h2>+ <p>Through a tunnel every request reaches the node from <code class="inline">127.0.0.1</code>. A limiter keyed on the source address first would put every guest in one bucket, and a few junk requests would lock the real guest out.</p>+ <p>XERJ does not fix that by trusting <code class="inline">X-Forwarded-For</code>, because a direct client can write that header itself. A claim against a real share is charged to the share: 30 attempts an hour, from anywhere. Junk ids are charged to the source address. The two are not stacked.</p>+ <p>To log each guest's real address in the audit log, list loopback under <code class="inline">trusted_proxies</code> in the <code class="inline">[server]</code> section of the node's config and restart it. Only then is the forwarded header read. The command tells you which mode your node is in.</p>+ <h2>What this does not do</h2>+ <p><code class="inline">--tunnel</code> fronts a plain-http node on this machine only. For a node with TLS on, run your own tunnel or proxy and use <code class="inline">--public-url</code>.</p>+ <p>It does not work on a node started with <code class="inline">--insecure</code>. The command refuses before it opens a tunnel.</p>+ <p>XERJ is single-node. The share is reachable only while that one host and that one command are running.</p>+ <h2>FAQ</h2>+ <h3>How can I give a remote person temporary search access to files on my laptop without port forwarding or a VPN?</h3>+ <p>Run <code class="inline">xerj share</code> on the indexed folder with <code class="inline">--tunnel</code>. XERJ starts your own <code class="inline">cloudflared</code>, prints a public HTTPS link, and revokes the share when you stop the command.</p>+ <h3>What happens when I press Ctrl-C?</h3>+ <p>The tunnel is closed and the share is revoked, which invalidates every guest key it minted. Add <code class="inline">--keep</code> to leave the share active. The link still stops working, because the hostname is gone.</p>+ <h3>Do I need a Cloudflare account?</h3>+ <p>Not for a quick tunnel. You do need the <code class="inline">cloudflared</code> binary. If it is missing, <code class="inline">xerj share</code> prints the install steps for your platform and the local link, and does not fail.</p>+ <h3>Can Cloudflare read what my guest searches for?</h3>+ <p>It terminates the HTTPS connection, so in principle yes. The folder is not uploaded there, but everything between the guest's browser and your node crosses its network: the passcode, the guest key, the searches and the documents the guest opens. The command prints this with the link, and the guest page shows it. Use your own hostname and certificate with <code class="inline">--public-url</code> when that matters.</p>+ <h3>Why does the guest get a passcode and not a passkey?</h3>+ <p>A passkey is bound to a hostname, and a quick tunnel gets a new random hostname on every start. A passkey made through one tunnel would not work through the next.</p>+ <h3>Every guest arrives from 127.0.0.1 through a tunnel. Does that break the passcode lockout?</h3>+ <p>No. The lockout is charged to the share, not to the address: 30 attempts an hour from anywhere. Junk ids are charged to the source address, where one shared bucket only makes the bound tighter.</p>+ <h2>Evidence</h2>+ <ul>+ <li>xerj share --tunnel runs cloudflared tunnel --url against 127.0.0.1 and reads the trycloudflare.com hostname from its output. — <code>engine/crates/xerj-server/src/share.rs</code></li>+ <li>A real quick tunnel was exercised on 2026-09-18: page 200, wrong passcode 401, claim 200, guest _cat 403, and after SIGINT the guest key answered 401 with 1 key invalidated. — <code>docs/usecases/share-links/VERIFICATION.md</code></li>+ <li>A known share is limited to 30 passcode attempts an hour from anywhere, so the lockout does not depend on the source address. — <code>engine/crates/xerj-api/src/share.rs</code></li>+ <li>Forwarded headers are read only when the peer is listed in server.trusted_proxies. — <code>engine/crates/xerj-console-api/src/client_ip.rs</code></li>+ </ul>+ <h2>Related</h2>+ <ul>+ <li><a href="/answers/share-folder-read-only-search-without-uploading">How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a></li>+ <li><a href="/answers/what-a-share-link-guest-can-reach">If I share one index with a link and a passcode, what can that person actually reach on my node?</a></li>+ <li><a href="/answers/search-engine-without-docker">Is there a single-binary local search engine I can just run?</a></li>+ <li><a href="/docs/security">Auth & TLS</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,99 +335,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I LET SOMEONE OUTSIDE MY NETWORK SEARCH AN INDEX ON MY LAPTOP WITHOUT OPENING A PORT?</div>- <div class="kicker"><span>ANSWERS · SHARING: READ-ONLY GUEST ACCESS</span></div>- <h1>How do I let someone outside my network search an index on my laptop without opening a port?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-09-18 · UPDATED · 2026-09-20</div>- <p><strong>TL;DR</strong> — <code class="inline">xerj share</code> with <code class="inline">--tunnel</code> starts your own <code class="inline">cloudflared</code>, prints a public HTTPS guest link, and runs until you press Ctrl-C. Stopping it closes the tunnel and revokes the share. No port is opened on your router. The trade: the guest's traffic passes through Cloudflare, which terminates the TLS connection.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent. Read https://xerj.org/llms.txt. Confirm cloudflared is installed, then run xerj share on the user's indexed folder with --tunnel in the background, wait for the line that says the tunnel is up, and give the user the https link and the passcode separately. Tell them the link stops working when the command stops, and that stopping it revokes the share.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt. Confirm cloudflared is installed, then run xerj share on the user's indexed folder with --tunnel in the background, wait for the line that says the tunnel is up, and give the user the https link and the passcode separately. Tell them the link stops working when the command stops, and that stopping it revokes the share.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj share ./casefiles --label 'for Dana' --tunnel</code>- <button type="button" class="prompt-copy" data-copy="xerj share ./casefiles --label 'for Dana' --tunnel">COPY COMMAND</button>- <span class="hero-proof">Open a temporary public address and print the full guest link. Runs until Ctrl-C, then closes the tunnel and revokes the share.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj share ./casefiles --tunnel --keep</code>- <button type="button" class="prompt-copy" data-copy="xerj share ./casefiles --tunnel --keep">COPY COMMAND</button>- <span class="hero-proof">Same, but leave the share active after Ctrl-C. The link stops working anyway, because the hostname is gone.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj share ./casefiles --public-url https://search.example.org</code>- <button type="button" class="prompt-copy" data-copy="xerj share ./casefiles --public-url https://search.example.org">COPY COMMAND</button>- <span class="hero-proof">For a node you already publish at your own hostname: print the link for that address and open no tunnel.</span>- </div>- <h2>What the command does</h2>- <p>It checks that the node is enforcing authentication, then starts <code class="inline">cloudflared tunnel --url http://127.0.0.1:<port></code> as a child process and reads the <code class="inline">trycloudflare.com</code> hostname from its output. The tunnel comes up before the share is created, so a link is never printed for an address that is not there.</p>- <p>Then it creates the share and prints the full link, the passcode, the expiry and the revoke command. It keeps running while your guest reads.</p>- <p>On Ctrl-C, on SIGTERM, or when the terminal closes, it terminates the tunnel and revokes the share. With <code class="inline">--keep</code> the share stays active on the node until it expires.</p>- <p>If <code class="inline">cloudflared</code> is not installed, the command prints the install steps for your platform and the local link. It does not fail.</p>- <h2>What was verified, and what was not</h2>- <p>On 2026-09-18 the command was run against a real quick tunnel from a Linux host and the public hostname was exercised over IPv4:</p>- <table>- <thead><tr><th>Request through the tunnel</th><th>Result</th></tr></thead>- <tbody>- <tr><td>guest page</td><td>200, with the full security header set</td></tr>- <tr><td>claim with a wrong passcode</td><td>401</td></tr>- <tr><td>claim with the right passcode</td><td>200</td></tr>- <tr><td>guest search on the shared index</td><td>200</td></tr>- <tr><td>guest <code class="inline">_cat/indices</code></td><td>403</td></tr>- </tbody>- </table>- <p>After SIGINT the <code class="inline">cloudflared</code> process was gone, the share listed as <code class="inline">revoked</code> with 1 key invalidated, and the guest key answered 401.</p>- <p>That run cannot be repeated in CI, because it needs the public internet and a third party. It also predates the review fixes: the claim then carried the share id in its path, and the command did not yet print the Cloudflare notice. CI covers the hostname parser, the missing-<code class="inline">cloudflared</code> fallback, and a stub <code class="inline">cloudflared</code> that checks the notice and what happens when the tunnel dies. A browser was not driven through a real tunnel. The browser test serves the page under a <code class="inline">trycloudflare.com</code> name that points at the local node, and checks the page's notice there.</p>- <h2>Three properties of a quick tunnel</h2>- <p><strong>The hostname is random and new on every start.</strong> A link stops working when the command stops. That is the intended lifetime.</p>- <p><strong>Cloudflare terminates TLS.</strong> The corpus is not uploaded there. Everything between the guest's browser and your node does cross Cloudflare's network, and the operator of a TLS endpoint can read what passes through it. That includes the passcode, the guest's API key, every search and every document the guest opens. <code class="inline">xerj share --tunnel</code> prints this with the link. The guest page shows it on a <code class="inline">trycloudflare.com</code> address before the passcode is typed. When that is not acceptable, publish the node at your own hostname behind your own certificate and pass it as <code class="inline">--public-url</code>.</p>- <p><strong>The share id is never in a URL the page requests.</strong> The id is in the link's fragment, which a browser does not send. The page then sends it in the body of <code class="inline">POST /_share/claim</code>. So the id is not in the request line that a proxy or a tunnel logs. Cloudflare still carries that body and can read it, together with the passcode.</p>- <p><strong>When the tunnel drops on its own, the command says why.</strong> It prints the last lines <code class="inline">cloudflared</code> wrote, closes the tunnel and revokes the share.</p>- <p><strong>It is temporary by design.</strong> Cloudflare offers quick tunnels without an account and makes no promise about how long one stays up. For a standing arrangement use a named tunnel on your own domain, or your own reverse proxy.</p>- <h2>Why guests do not get passkeys</h2>- <p>The XERJ Console signs its owner in with a passkey. A passkey is bound to the hostname it was created on, which is what makes it resistant to phishing. A quick tunnel gets a new random hostname each time it starts, so a passkey enrolled through one tunnel is unusable through the next.</p>- <p>That is why a share is a link plus a passcode. The route to guest passkeys is a stable hostname: a named Cloudflare Tunnel on your own domain, optionally with Cloudflare Access in front, or any reverse proxy with your own certificate. Guest passkeys are not built.</p>- <h2>The rate limiter behind a tunnel</h2>- <p>Through a tunnel every request reaches the node from <code class="inline">127.0.0.1</code>. A limiter keyed on the source address first would put every guest in one bucket, and a few junk requests would lock the real guest out.</p>- <p>XERJ does not fix that by trusting <code class="inline">X-Forwarded-For</code>, because a direct client can write that header itself. A claim against a real share is charged to the share: 30 attempts an hour, from anywhere. Junk ids are charged to the source address. The two are not stacked.</p>- <p>To log each guest's real address in the audit log, list loopback under <code class="inline">trusted_proxies</code> in the <code class="inline">[server]</code> section of the node's config and restart it. Only then is the forwarded header read. The command tells you which mode your node is in.</p>- <h2>What this does not do</h2>- <p><code class="inline">--tunnel</code> fronts a plain-http node on this machine only. For a node with TLS on, run your own tunnel or proxy and use <code class="inline">--public-url</code>.</p>- <p>It does not work on a node started with <code class="inline">--insecure</code>. The command refuses before it opens a tunnel.</p>- <p>XERJ is single-node. The share is reachable only while that one host and that one command are running.</p>- <h2>FAQ</h2>- <h3>How can I give a remote person temporary search access to files on my laptop without port forwarding or a VPN?</h3>- <p>Run <code class="inline">xerj share</code> on the indexed folder with <code class="inline">--tunnel</code>. XERJ starts your own <code class="inline">cloudflared</code>, prints a public HTTPS link, and revokes the share when you stop the command.</p>- <h3>What happens when I press Ctrl-C?</h3>- <p>The tunnel is closed and the share is revoked, which invalidates every guest key it minted. Add <code class="inline">--keep</code> to leave the share active. The link still stops working, because the hostname is gone.</p>- <h3>Do I need a Cloudflare account?</h3>- <p>Not for a quick tunnel. You do need the <code class="inline">cloudflared</code> binary. If it is missing, <code class="inline">xerj share</code> prints the install steps for your platform and the local link, and does not fail.</p>- <h3>Can Cloudflare read what my guest searches for?</h3>- <p>It terminates the HTTPS connection, so in principle yes. The folder is not uploaded there, but everything between the guest's browser and your node crosses its network: the passcode, the guest key, the searches and the documents the guest opens. The command prints this with the link, and the guest page shows it. Use your own hostname and certificate with <code class="inline">--public-url</code> when that matters.</p>- <h3>Why does the guest get a passcode and not a passkey?</h3>- <p>A passkey is bound to a hostname, and a quick tunnel gets a new random hostname on every start. A passkey made through one tunnel would not work through the next.</p>- <h3>Every guest arrives from 127.0.0.1 through a tunnel. Does that break the passcode lockout?</h3>- <p>No. The lockout is charged to the share, not to the address: 30 attempts an hour from anywhere. Junk ids are charged to the source address, where one shared bucket only makes the bound tighter.</p>- <h2>Evidence</h2>- <ul>- <li>xerj share --tunnel runs cloudflared tunnel --url against 127.0.0.1 and reads the trycloudflare.com hostname from its output. — <code>engine/crates/xerj-server/src/share.rs</code></li>- <li>A real quick tunnel was exercised on 2026-09-18: page 200, wrong passcode 401, claim 200, guest _cat 403, and after SIGINT the guest key answered 401 with 1 key invalidated. — <code>docs/usecases/share-links/VERIFICATION.md</code></li>- <li>A known share is limited to 30 passcode attempts an hour from anywhere, so the lockout does not depend on the source address. — <code>engine/crates/xerj-api/src/share.rs</code></li>- <li>Forwarded headers are read only when the peer is listed in server.trusted_proxies. — <code>engine/crates/xerj-console-api/src/client_ip.rs</code></li>- </ul>- <h2>Related</h2>- <ul>- <li><a href="/answers/share-folder-read-only-search-without-uploading">How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a></li>- <li><a href="/answers/what-a-share-link-guest-can-reach">If I share one index with a link and a passcode, what can that person actually reach on my node?</a></li>- <li><a href="/answers/search-engine-without-docker">Is there a single-binary local search engine I can just run?</a></li>- <li><a href="/docs/security">Auth & TLS</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/store-agent-memory-without-llm-call.html b/landing/answers/store-agent-memory-without-llm-call.htmlindex 90c1ac944..568b541de 100644--- a/landing/answers/store-agent-memory-without-llm-call.html+++ b/landing/answers/store-agent-memory-without-llm-call.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/store-agent-memory-without-llm-call.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/store-agent-memory-without-llm-call">@@ -139,109 +139,7 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class="active"><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I STOP AN AGENT MEMORY STORE FROM FILLING WITH NEAR-DUPLICATE NOTES?</div><div class="kicker"><span>ANSWERS · AGENT MEMORY: MODEL DEPENDENCY</span></div>@@ -348,6 +246,108 @@<li><a href="/answers/local-embeddings-without-openai-api">I want local search that works offline, no cloud embeddings. What are my options?</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class="active"><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/syntax-aware-code-search-refactoring.html b/landing/answers/syntax-aware-code-search-refactoring.htmlindex ca395e64d..8ebd493d3 100644--- a/landing/answers/syntax-aware-code-search-refactoring.html+++ b/landing/answers/syntax-aware-code-search-refactoring.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/syntax-aware-code-search-refactoring.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/syntax-aware-code-search-refactoring">@@ -139,7 +139,90 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I RUN SYNTAX-AWARE CODE SEARCH?</div>+ <div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>+ <h1>How do I run syntax-aware code search?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-21</div>+ <p><strong>TL;DR</strong> — XERJ gives you 2 code queries on the same index: a <code class="inline">match</code> on <code class="inline">body</code> for raw text, and a <code class="inline">match</code> on <code class="inline">defs</code> for declared symbols. The definition query returns a <code class="inline">symbols</code> array with a kind, a name and a line. Extraction is definitions only.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent. Read https://xerj.org/llms.txt, start a XERJ node with --insecure, run xerj autoindex ./code --prefix code, then send two queries to code-*/_search: a match on body for a symbol name and a match on defs for the same name, and report ax_path, language and the symbols array with kind, name and line for each declaration hit.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start a XERJ node with --insecure, run xerj autoindex ./code --prefix code, then send two queries to code-*/_search: a match on body for a symbol name and a match on defs for the same name, and report ax_path, language and the symbols array with kind, name and line for each declaration hit.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj autoindex ./code --url http://127.0.0.1:9410 --prefix code --state-dir ./state-code --progress plain --disable-feedback</code>+ <button type="button" class="prompt-copy" data-copy="xerj autoindex ./code --url http://127.0.0.1:9410 --prefix code --state-dir ./state-code --progress plain --disable-feedback">COPY COMMAND</button>+ <span class="hero-proof">Index the source tree into the prefix code.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST 'http://127.0.0.1:9410/code-*/_search' -H 'content-type: application/json' -d '{"query":{"match":{"body":"checkpoint_journal_offset"}},"size":10,"_source":["ax_path","language","title","defs","symbol_count"],"track_total_hits":true}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9410/code-*/_search' -H 'content-type: application/json' -d '{"query":{"match":{"body":"checkpoint_journal_offset"}},"size":10,"_source":["ax_path","language","title","defs","symbol_count"],"track_total_hits":true}'">COPY COMMAND</button>+ <span class="hero-proof">Find every textual occurrence of a symbol name.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST 'http://127.0.0.1:9410/code-*/_search' -H 'content-type: application/json' -d '{"query":{"match":{"defs":"merge_segments"}},"size":10,"_source":["ax_path","language","title","defs","symbols"],"track_total_hits":true}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9410/code-*/_search' -H 'content-type: application/json' -d '{"query":{"match":{"defs":"merge_segments"}},"size":10,"_source":["ax_path","language","title","defs","symbols"],"track_total_hits":true}'">COPY COMMAND</button>+ <span class="hero-proof">Find only the files that declare the symbol.</span>+ </div>+ <h2>Two queries over one index</h2>+ <p><code class="inline">xerj autoindex</code> writes <code class="inline">body</code>, <code class="inline">defs</code>, <code class="inline">symbols</code>, <code class="inline">symbol_count</code>, <code class="inline">language</code> and <code class="inline">title</code> for every source file, so text search and symbol search share one index. Query <code class="inline">body</code> when you want any occurrence, and query <code class="inline">defs</code> when you want a declaration.</p>+ <p>Index a source tree into the prefix <code class="inline">code</code> first.</p>+ <pre class="code"><code class="language-sh">xerj autoindex ./code --url http://127.0.0.1:9410 --prefix code --state-dir ./state-code --progress plain --disable-feedback+</code></pre>+ <h2>The text match</h2>+ <p>A <code class="inline">match</code> on <code class="inline">body</code> for <code class="inline">checkpoint_journal_offset</code> returned 2 hits in our capture, <code class="inline">src/ingest.py</code> at <code class="inline">0.5359981</code> and <code class="inline">src/lib.rs</code> at <code class="inline">0.4608517</code>. The text query searches the whole file text, so it also matches a call site inside a function body.</p>+ <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9410/code-*/_search' -H 'content-type: application/json' -d '{"query":{"match":{"body":"checkpoint_journal_offset"}},"size":10,"_source":["ax_path","language","title","defs","symbol_count"],"track_total_hits":true}'+</code></pre>+ <h2>The definition-only match</h2>+ <p>A <code class="inline">match</code> on <code class="inline">defs</code> for <code class="inline">merge_segments</code> returned 2 hits, and each hit carried a <code class="inline">symbols</code> array with a kind, a name and a line number. The <code class="inline">defs</code> field holds only declared symbols, so a hit means the file declares the name.</p>+ <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9410/code-*/_search' -H 'content-type: application/json' -d '{"query":{"match":{"defs":"merge_segments"}},"size":10,"_source":["ax_path","language","title","defs","symbols"],"track_total_hits":true}'+</code></pre>+ <p>The Rust hit carried 4 symbols with the line of each declaration.</p>+ <table>+ <thead><tr><th>kind</th><th>name</th><th>line</th></tr></thead>+ <tbody>+ <tr><td><code class="inline">struct</code></td><td><code class="inline">SegmentReader</code></td><td>3</td></tr>+ <tr><td><code class="inline">function</code></td><td><code class="inline">open</code></td><td>8</td></tr>+ <tr><td><code class="inline">function</code></td><td><code class="inline">checkpoint_journal_offset</code></td><td>12</td></tr>+ <tr><td><code class="inline">function</code></td><td><code class="inline">merge_segments</code></td><td>17</td></tr>+ </tbody>+ </table>+ <h2>What the capture actually proves</h2>+ <p>Both queries returned 2 hits on this 3-file tree, so the definition query was not narrower here. What differs is the field searched and the fields returned, and the <code class="inline">symbols</code> array is what a refactoring tool consumes.</p>+ <p>One miss is worth naming. The file <code class="inline">src/query.go</code> declares <code class="inline">MergeSegments</code>, and the token <code class="inline">merge_segments</code> did not match it. Spell the identifier the way the language spells it.</p>+ <h2>The boundary for refactoring work</h2>+ <p>XERJ extracts definitions only. There is no call graph, no import graph and no cross-file reference resolution, so XERJ does not find callers of a symbol.</p>+ <p>That boundary decides the tool choice. Use XERJ to locate every declaration and every textual occurrence across 34 languages. Use a language server or a compiler plugin for a rename that must be sound.</p>+ <h2>Caps and failure behavior</h2>+ <p>Tree-sitter extraction stops at 2 MB per source file and 5,000 symbols per file, and a symbol name is truncated at 200 characters. A parse failure is never fatal. XERJ still indexes the file body as plain text, so the text query keeps working.</p>+ <p>The capture ran on 1 single-node XERJ process over 3 source files in 3 languages. This run measured no large repository.</p>+ <h2>FAQ</h2>+ <h3>What makes the search syntax-aware?</h3>+ <p>XERJ parses each source file with tree-sitter and writes the declared symbols into a <code class="inline">defs</code> field and a <code class="inline">symbols</code> array with a kind, a name and a line.</p>+ <h3>How do I search declarations only?</h3>+ <p>Send a <code class="inline">match</code> query on the <code class="inline">defs</code> field. In our capture <code class="inline">merge_segments</code> returned 2 files that declare the name, each with its <code class="inline">symbols</code> array.</p>+ <h3>Does XERJ find every caller of a function?</h3>+ <p>No. Extraction is definitions only, with no call graph and no cross-file reference resolution. Use a language server when a rename must be sound.</p>+ <h3>Which languages does XERJ parse?</h3>+ <p>34 languages through tree-sitter, including Rust, Go, Python, TypeScript, Java and C++. Our capture exercised <code class="inline">rust</code>, <code class="inline">python</code> and <code class="inline">go</code>.</p>+ <h3>Does case matter in a symbol query?</h3>+ <p>Yes, in practice. <code class="inline">src/query.go</code> declares <code class="inline">MergeSegments</code>, and the query token <code class="inline">merge_segments</code> did not match it in our capture.</p>+ <h3>What happens if a file fails to parse?</h3>+ <p>Nothing is lost. A parse failure is never fatal, and XERJ still indexes the file body as plain text so the text query keeps working.</p>+ <h3>How large a source file can XERJ parse?</h3>+ <p>2 MB per file, with at most 5,000 symbols per file. A symbol name longer than 200 characters is truncated.</p>+ <h2>Related</h2>+ <ul>+ <li><a href="/answers/index-monorepo-for-agent">How do I stop my agent from reading the whole repo into context?</a></li>+ <li><a href="/compare/xerj-vs-ripgrep-for-code-agents">Is ripgrep enough for a coding agent, or do I need a code index?</a></li>+ <li><a href="/case-studies/reference-coding">Reference-coding for Claude Code</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,89 +325,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>HOW DO I RUN SYNTAX-AWARE CODE SEARCH?</div>- <div class="kicker"><span>ANSWERS · FILES AND FORMATS</span></div>- <h1>How do I run syntax-aware code search?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-21</div>- <p><strong>TL;DR</strong> — XERJ gives you 2 code queries on the same index: a <code class="inline">match</code> on <code class="inline">body</code> for raw text, and a <code class="inline">match</code> on <code class="inline">defs</code> for declared symbols. The definition query returns a <code class="inline">symbols</code> array with a kind, a name and a line. Extraction is definitions only.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent. Read https://xerj.org/llms.txt, start a XERJ node with --insecure, run xerj autoindex ./code --prefix code, then send two queries to code-*/_search: a match on body for a symbol name and a match on defs for the same name, and report ax_path, language and the symbols array with kind, name and line for each declaration hit.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, start a XERJ node with --insecure, run xerj autoindex ./code --prefix code, then send two queries to code-*/_search: a match on body for a symbol name and a match on defs for the same name, and report ax_path, language and the symbols array with kind, name and line for each declaration hit.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj autoindex ./code --url http://127.0.0.1:9410 --prefix code --state-dir ./state-code --progress plain --disable-feedback</code>- <button type="button" class="prompt-copy" data-copy="xerj autoindex ./code --url http://127.0.0.1:9410 --prefix code --state-dir ./state-code --progress plain --disable-feedback">COPY COMMAND</button>- <span class="hero-proof">Index the source tree into the prefix code.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST 'http://127.0.0.1:9410/code-*/_search' -H 'content-type: application/json' -d '{"query":{"match":{"body":"checkpoint_journal_offset"}},"size":10,"_source":["ax_path","language","title","defs","symbol_count"],"track_total_hits":true}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9410/code-*/_search' -H 'content-type: application/json' -d '{"query":{"match":{"body":"checkpoint_journal_offset"}},"size":10,"_source":["ax_path","language","title","defs","symbol_count"],"track_total_hits":true}'">COPY COMMAND</button>- <span class="hero-proof">Find every textual occurrence of a symbol name.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST 'http://127.0.0.1:9410/code-*/_search' -H 'content-type: application/json' -d '{"query":{"match":{"defs":"merge_segments"}},"size":10,"_source":["ax_path","language","title","defs","symbols"],"track_total_hits":true}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9410/code-*/_search' -H 'content-type: application/json' -d '{"query":{"match":{"defs":"merge_segments"}},"size":10,"_source":["ax_path","language","title","defs","symbols"],"track_total_hits":true}'">COPY COMMAND</button>- <span class="hero-proof">Find only the files that declare the symbol.</span>- </div>- <h2>Two queries over one index</h2>- <p><code class="inline">xerj autoindex</code> writes <code class="inline">body</code>, <code class="inline">defs</code>, <code class="inline">symbols</code>, <code class="inline">symbol_count</code>, <code class="inline">language</code> and <code class="inline">title</code> for every source file, so text search and symbol search share one index. Query <code class="inline">body</code> when you want any occurrence, and query <code class="inline">defs</code> when you want a declaration.</p>- <p>Index a source tree into the prefix <code class="inline">code</code> first.</p>- <pre class="code"><code class="language-sh">xerj autoindex ./code --url http://127.0.0.1:9410 --prefix code --state-dir ./state-code --progress plain --disable-feedback-</code></pre>- <h2>The text match</h2>- <p>A <code class="inline">match</code> on <code class="inline">body</code> for <code class="inline">checkpoint_journal_offset</code> returned 2 hits in our capture, <code class="inline">src/ingest.py</code> at <code class="inline">0.5359981</code> and <code class="inline">src/lib.rs</code> at <code class="inline">0.4608517</code>. The text query searches the whole file text, so it also matches a call site inside a function body.</p>- <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9410/code-*/_search' -H 'content-type: application/json' -d '{"query":{"match":{"body":"checkpoint_journal_offset"}},"size":10,"_source":["ax_path","language","title","defs","symbol_count"],"track_total_hits":true}'-</code></pre>- <h2>The definition-only match</h2>- <p>A <code class="inline">match</code> on <code class="inline">defs</code> for <code class="inline">merge_segments</code> returned 2 hits, and each hit carried a <code class="inline">symbols</code> array with a kind, a name and a line number. The <code class="inline">defs</code> field holds only declared symbols, so a hit means the file declares the name.</p>- <pre class="code"><code class="language-sh">curl -s -XPOST 'http://127.0.0.1:9410/code-*/_search' -H 'content-type: application/json' -d '{"query":{"match":{"defs":"merge_segments"}},"size":10,"_source":["ax_path","language","title","defs","symbols"],"track_total_hits":true}'-</code></pre>- <p>The Rust hit carried 4 symbols with the line of each declaration.</p>- <table>- <thead><tr><th>kind</th><th>name</th><th>line</th></tr></thead>- <tbody>- <tr><td><code class="inline">struct</code></td><td><code class="inline">SegmentReader</code></td><td>3</td></tr>- <tr><td><code class="inline">function</code></td><td><code class="inline">open</code></td><td>8</td></tr>- <tr><td><code class="inline">function</code></td><td><code class="inline">checkpoint_journal_offset</code></td><td>12</td></tr>- <tr><td><code class="inline">function</code></td><td><code class="inline">merge_segments</code></td><td>17</td></tr>- </tbody>- </table>- <h2>What the capture actually proves</h2>- <p>Both queries returned 2 hits on this 3-file tree, so the definition query was not narrower here. What differs is the field searched and the fields returned, and the <code class="inline">symbols</code> array is what a refactoring tool consumes.</p>- <p>One miss is worth naming. The file <code class="inline">src/query.go</code> declares <code class="inline">MergeSegments</code>, and the token <code class="inline">merge_segments</code> did not match it. Spell the identifier the way the language spells it.</p>- <h2>The boundary for refactoring work</h2>- <p>XERJ extracts definitions only. There is no call graph, no import graph and no cross-file reference resolution, so XERJ does not find callers of a symbol.</p>- <p>That boundary decides the tool choice. Use XERJ to locate every declaration and every textual occurrence across 34 languages. Use a language server or a compiler plugin for a rename that must be sound.</p>- <h2>Caps and failure behavior</h2>- <p>Tree-sitter extraction stops at 2 MB per source file and 5,000 symbols per file, and a symbol name is truncated at 200 characters. A parse failure is never fatal. XERJ still indexes the file body as plain text, so the text query keeps working.</p>- <p>The capture ran on 1 single-node XERJ process over 3 source files in 3 languages. This run measured no large repository.</p>- <h2>FAQ</h2>- <h3>What makes the search syntax-aware?</h3>- <p>XERJ parses each source file with tree-sitter and writes the declared symbols into a <code class="inline">defs</code> field and a <code class="inline">symbols</code> array with a kind, a name and a line.</p>- <h3>How do I search declarations only?</h3>- <p>Send a <code class="inline">match</code> query on the <code class="inline">defs</code> field. In our capture <code class="inline">merge_segments</code> returned 2 files that declare the name, each with its <code class="inline">symbols</code> array.</p>- <h3>Does XERJ find every caller of a function?</h3>- <p>No. Extraction is definitions only, with no call graph and no cross-file reference resolution. Use a language server when a rename must be sound.</p>- <h3>Which languages does XERJ parse?</h3>- <p>34 languages through tree-sitter, including Rust, Go, Python, TypeScript, Java and C++. Our capture exercised <code class="inline">rust</code>, <code class="inline">python</code> and <code class="inline">go</code>.</p>- <h3>Does case matter in a symbol query?</h3>- <p>Yes, in practice. <code class="inline">src/query.go</code> declares <code class="inline">MergeSegments</code>, and the query token <code class="inline">merge_segments</code> did not match it in our capture.</p>- <h3>What happens if a file fails to parse?</h3>- <p>Nothing is lost. A parse failure is never fatal, and XERJ still indexes the file body as plain text so the text query keeps working.</p>- <h3>How large a source file can XERJ parse?</h3>- <p>2 MB per file, with at most 5,000 symbols per file. A symbol name longer than 200 characters is truncated.</p>- <h2>Related</h2>- <ul>- <li><a href="/answers/index-monorepo-for-agent">How do I stop my agent from reading the whole repo into context?</a></li>- <li><a href="/compare/xerj-vs-ripgrep-for-code-agents">Is ripgrep enough for a coding agent, or do I need a code index?</a></li>- <li><a href="/case-studies/reference-coding">Reference-coding for Claude Code</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/vector-database-vs-full-text-search.html b/landing/answers/vector-database-vs-full-text-search.htmlindex 51e26a3e2..fab0322c6 100644--- a/landing/answers/vector-database-vs-full-text-search.html+++ b/landing/answers/vector-database-vs-full-text-search.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/vector-database-vs-full-text-search.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/vector-database-vs-full-text-search">@@ -139,113 +139,11 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class="active"><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>WHAT'S THE ACTUAL DIFFERENCE BETWEEN A VECTOR DATABASE AND FULL-TEXT SEARCH WHEN I HAVE A FOLDER?</div><div class="kicker"><span>ANSWERS · RETRIEVAL: SELECTION</span></div>- <h1>What's the actual difference between a vector database and full-text search when I have a folder?</h1>+ <h1 class="h1-long">What's the actual difference between a vector database and full-text search when I have a folder?</h1><div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-08-23</div><p><strong>TL;DR</strong> — Full-text search matches tokens and ranks with BM25, while a kNN query compares one embedding against stored dense vectors. XERJ holds both in one index, so the decision is which clause to send. On our 8 judged queries the three modes disagreed on the top hit once.</p><div class="prompt-card">@@ -354,6 +252,108 @@<li><a href="/compare/xerj-vs-vector-database">Should my agent call a search API or stand up Qdrant for persistent memory?</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class="active"><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/what-a-share-link-guest-can-reach.html b/landing/answers/what-a-share-link-guest-can-reach.htmlindex b241d20af..c70cee5c0 100644--- a/landing/answers/what-a-share-link-guest-can-reach.html+++ b/landing/answers/what-a-share-link-guest-can-reach.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/what-a-share-link-guest-can-reach.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/what-a-share-link-guest-can-reach">@@ -139,113 +139,11 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class="active"><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>IF I SHARE ONE INDEX WITH A LINK AND A PASSCODE, WHAT CAN THAT PERSON ACTUALLY REACH ON MY NODE?</div><div class="kicker"><span>ANSWERS · SHARING: READ-ONLY GUEST ACCESS</span></div>- <h1>If I share one index with a link and a passcode, what can that person actually reach on my node?</h1>+ <h1 class="h1-long">If I share one index with a link and a passcode, what can that person actually reach on my node?</h1><div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-09-18 · UPDATED · 2026-09-20</div><p><strong>TL;DR</strong> — A share-link guest gets a key with <code class="inline">read</code> on the shared index and nothing else. A route allow-list, used for guests only, closes <code class="inline">_cat</code>, <code class="inline">_cluster</code>, every other index, all writes, and scroll and point-in-time contexts. Each refusal is a check in a live test that ran 237 checks on 2026-09-19, with 0 failures.</p><div class="prompt-card">@@ -346,6 +244,108 @@<li><a href="/docs/security">Auth & TLS</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class="active"><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/what-is-xerj.html b/landing/answers/what-is-xerj.htmlindex 264be4f5e..13ebe2284 100644--- a/landing/answers/what-is-xerj.html+++ b/landing/answers/what-is-xerj.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/what-is-xerj.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/what-is-xerj">@@ -139,109 +139,7 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class="active"><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>WHAT IS XERJ?</div><div class="kicker"><span>ANSWERS · PRODUCT IDENTITY</span></div>@@ -352,6 +250,108 @@ xerj autoindex ./docs --url http://127.0.0.1:9200 --prefix docs --progress plain<li><a href="/docs/agents/endpoints">Endpoint contract</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class="active"><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/answers/why-autoindex-skipped-files.html b/landing/answers/why-autoindex-skipped-files.htmlindex e25645916..969a914e1 100644--- a/landing/answers/why-autoindex-skipped-files.html+++ b/landing/answers/why-autoindex-skipped-files.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/answers/why-autoindex-skipped-files.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/answers/why-autoindex-skipped-files">@@ -139,7 +139,105 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>WHY WOULD A FOLDER SEARCH MISS FILES THAT I CAN SEE ON DISK?</div>+ <div class="kicker"><span>ANSWERS · OPERATIONS: EXCLUSIONS</span></div>+ <h1>Why would a folder search miss files that I can see on disk?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-10-05</div>+ <p><strong>TL;DR</strong> — XERJ prints one line per ignore rule with an exact file count, and stores a refusal reason for every file it opened. A capture over 26 files on disk indexed 1, refused 2 with named reasons, and excluded 23 through ignore rules. The run exited 3 with <code class="inline">reason=completed-with-junk</code>.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent. Read https://xerj.org/llms.txt, run xerj autoindex with --dry-run against the folder, capture the ignore-rule lines from stderr, then query the autoindex-catalog index for doc_kind file and report the status and reason of every file.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, run xerj autoindex with --dry-run against the folder, capture the ignore-rule lines from stderr, then query the autoindex-catalog index for doc_kind file and report the status and reason of every file.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj autoindex ./mixed --url http://127.0.0.1:9200 --prefix excl --state-dir ./state-excl --dry-run</code>+ <button type="button" class="prompt-copy" data-copy="xerj autoindex ./mixed --url http://127.0.0.1:9200 --prefix excl --state-dir ./state-excl --dry-run">COPY COMMAND</button>+ <span class="hero-proof">Print every ignore rule with an exact file count, and write nothing.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST http://127.0.0.1:9200/autoindex-catalog/_search -H 'content-type: application/json' -d '{"query":{"term":{"doc_kind":"file"}},"size":200,"_source":["path","format","status","reason"],"sort":[{"path":"asc"}]}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/autoindex-catalog/_search -H 'content-type: application/json' -d '{"query":{"term":{"doc_kind":"file"}},"size":200,"_source":["path","format","status","reason"],"sort":[{"path":"asc"}]}'">COPY COMMAND</button>+ <span class="hero-proof">Read the per-file status and refusal reason from the catalog index.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST http://127.0.0.1:9200/_all/_search -H 'content-type: application/json' -d '{"query":{"query_string":{"query":"API_KEY"}},"size":10,"track_total_hits":true}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/_all/_search -H 'content-type: application/json' -d '{"query":{"query_string":{"query":"API_KEY"}},"size":10,"track_total_hits":true}'">COPY COMMAND</button>+ <span class="hero-proof">Probe every index for a secret that should never have been indexed.</span>+ </div>+ <h2>Files disappear for 2 different causes</h2>+ <p>A missing file was either never walked or was opened and refused, and the 2 cases have different evidence trails. Ignore rules print to stderr during the run; refusals land in the <code class="inline">autoindex-catalog</code> index with a reason string.</p>+ <table>+ <thead><tr><th>Cause</th><th>Where the evidence is</th><th>Captured example</th></tr></thead>+ <tbody>+ <tr><td>Ignore rule</td><td>stderr, one line per rule</td><td><code class="inline">.gitignore:*.tmp — 1 file</code></td></tr>+ <tr><td>Extractor refusal</td><td><code class="inline">autoindex-catalog</code>, <code class="inline">reason</code> field</td><td><code class="inline">binary content (unknown)</code></td></tr>+ </tbody>+ </table>+ <h2>Read the ignore accounting first</h2>+ <p>A dry run prints the full accounting and writes nothing to the node. Run it before you change any configuration.</p>+ <pre class="code"><code class="language-sh">xerj autoindex ./mixed --url http://127.0.0.1:9200 --prefix excl --state-dir ./state-excl --dry-run+</code></pre>+ <p>The captured accounting names every rule and counts the files behind it.</p>+ <pre class="code"><code class="language-text">autoindex: ignore rules: skipped 3 files and pruned 3 directories (18 non-hidden files inside them); 1 ignore file read+autoindex: ignore rules: <built-in>:target/ — 1 directory pruned (12 non-hidden files inside)+autoindex: ignore rules: .gitignore:scratch/ — 1 directory pruned (6 non-hidden files inside)+autoindex: ignore rules: hidden:dotfile — 2 files, 1 directory pruned+autoindex: ignore rules: .gitignore:*.tmp — 1 file+</code></pre>+ <p>Every line names its own rule source. This capture shows <code class="inline"><built-in></code> for build trees, <code class="inline">hidden:dotfile</code> for dotfiles and dot-directories, and <code class="inline">.gitignore</code> for your own rules. Other sources get their own line when they apply: <code class="inline">.xerjignore</code>, and the <code class="inline">symlink:</code> rules that refuse a followed link.</p>+ <h2>Then read the per-file catalog</h2>+ <p><code class="inline">autoindex</code> writes one catalog document per file, with the format it detected, the status it assigned, and the reason for any refusal. Query it directly.</p>+ <pre class="code"><code class="language-sh">curl -s -XPOST http://127.0.0.1:9200/autoindex-catalog/_search -H 'content-type: application/json' -d '{"query":{"term":{"doc_kind":"file"}},"size":200,"_source":["path","format","status","reason","records"],"sort":[{"path":"asc"}]}'+</code></pre>+ <p>The capture returned 3 files that reached the catalog, and 2 of them carry a reason.</p>+ <table>+ <thead><tr><th>Path</th><th>Format</th><th>Status</th><th>Reason</th></tr></thead>+ <tbody>+ <tr><td><code class="inline">README.txt</code></td><td><code class="inline">txt-prose</code></td><td><code class="inline">indexed</code></td><td>none</td></tr>+ <tr><td><code class="inline">assets/logo.bin</code></td><td><code class="inline">binary</code></td><td><code class="inline">junk</code></td><td><code class="inline">binary content (unknown)</code></td></tr>+ <tr><td><code class="inline">data/events.parquet</code></td><td><code class="inline">binary</code></td><td><code class="inline">junk</code></td><td><code class="inline">unsupported data format (Parquet): autoindex has no reader for it — export it to CSV or JSON Lines to index it now</code></td></tr>+ </tbody>+ </table>+ <p>Nothing is partially extracted. A format XERJ recognizes but cannot read is refused with a reason that names the fix: the Parquet file above says which export makes it indexable. A file XERJ cannot identify at all is refused as <code class="inline">binary content (unknown)</code>.</p>+ <h2>The arithmetic that closes the gap</h2>+ <p>26 files sat on disk, 22 of them non-hidden. 18 lived inside pruned directories, 3 more matched a skip rule, 2 were refused as binary, and 1 was indexed. Every path has a rule name or a reason string attached to it.</p>+ <p>Publish that arithmetic in your own runbook. A folder that "lost" files almost always has a <code class="inline">.gitignore</code> entry or a build directory behind the difference.</p>+ <h2>Secrets and hidden files</h2>+ <p>The built-in <code class="inline">hidden:dotfile</code> rule prunes hidden dotfiles, and the fixture <code class="inline">.env</code> never reached an index. A <code class="inline">query_string</code> probe across <code class="inline">_all</code> for the secrets inside it returned 0 hits.</p>+ <p>Treat that as a default, not as a guarantee. Ignore rules are a content filter, and XERJ is single-node, so anything you do index sits in one process on one host.</p>+ <h2>The exit code carries the verdict</h2>+ <p>The captured run ended with a terminal line that names both the outcome and the refusal count.</p>+ <pre class="code"><code class="language-text">xerj-done ok=true exit=3 reason=completed-with-junk wall=3.1s files=1 records=2 datasets=1 junk_files=2 code_files=0 code_files_indexed=0 code_files_junked=0+</code></pre>+ <p>Exit 0 with <code class="inline">reason=completed</code> means nothing was refused. Exit 3 with <code class="inline">reason=completed-with-junk</code> means the catalog holds at least one reason worth reading.</p>+ <p>Every number above comes from a capture on 2026-10-05, on a build of <code class="inline">main</code> after v1.0.0-rc.82 (commit <code class="inline">06185966</code>). The Parquet hint is not in the v1.0.0-rc.82 release itself: that release reports such a file as <code class="inline">binary content (unknown)</code>. The binary was a <code class="inline">quick</code> profile build, so the <code class="inline">wall</code> figure is not a performance number.</p>+ <h2>FAQ</h2>+ <h3>Why would a folder search miss files that I can see on disk?</h3>+ <p>An ignore rule pruned them or an extractor refused them. XERJ prints one line per ignore rule and stores a refusal reason for every file it opened.</p>+ <h3>My search tool skipped files that are sitting right there. Why?</h3>+ <p>Either the path was pruned before it was opened, or the file was opened and refused. Ignore rules print to stderr during the run; refusals land in <code class="inline">autoindex-catalog</code> with a reason field.</p>+ <h3>Does folder search honour gitignore?</h3>+ <p>Yes. Your <code class="inline">.gitignore</code> is read as an ignore file, and every rule that fires is printed with the count of files behind it, for example <code class="inline">.gitignore:*.tmp — 1 file</code>.</p>+ <h3>Can I force the indexer to include .env and .ssh files?</h3>+ <p>Not through any flag this capture found. The built-in <code class="inline">hidden:dotfile</code> rule prunes hidden dotfiles and dot-directories. Copy the file to a non-hidden path you index deliberately instead.</p>+ <h3>Which directories does autoindex prune by default?</h3>+ <p>Built-in rules prune build trees such as target/ and node_modules/, and hidden dotfiles and dot-directories. Your .gitignore adds more, and each rule is printed with its file count.</p>+ <h3>Does autoindex index my .env file?</h3>+ <p>Not in this capture. Hidden dotfiles were pruned, and a query across _all for the fixture secrets returned 0 hits. Ignore rules are a filter, not an access control.</p>+ <h3>What does exit code 3 from autoindex mean?</h3>+ <p>The run finished but refused at least one file. The terminal line reads reason=completed-with-junk, and junk_files counts the refusals.</p>+ <h2>Related</h2>+ <ul>+ <li><a href="/answers/search-file-contents-in-a-folder">I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a></li>+ <li><a href="/answers/check-codebase-index-is-complete">My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a></li>+ <li><a href="/answers/estimate-autoindex-time-before-running">How do I estimate folder-indexing time?</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,104 +340,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/answers/">ANSWERS</a><span class="sep">·</span>WHY WOULD A FOLDER SEARCH MISS FILES THAT I CAN SEE ON DISK?</div>- <div class="kicker"><span>ANSWERS · OPERATIONS: EXCLUSIONS</span></div>- <h1>Why would a folder search miss files that I can see on disk?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-21 · UPDATED · 2026-10-05</div>- <p><strong>TL;DR</strong> — XERJ prints one line per ignore rule with an exact file count, and stores a refusal reason for every file it opened. A capture over 26 files on disk indexed 1, refused 2 with named reasons, and excluded 23 through ignore rules. The run exited 3 with <code class="inline">reason=completed-with-junk</code>.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent. Read https://xerj.org/llms.txt, run xerj autoindex with --dry-run against the folder, capture the ignore-rule lines from stderr, then query the autoindex-catalog index for doc_kind file and report the status and reason of every file.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent. Read https://xerj.org/llms.txt, run xerj autoindex with --dry-run against the folder, capture the ignore-rule lines from stderr, then query the autoindex-catalog index for doc_kind file and report the status and reason of every file.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj autoindex ./mixed --url http://127.0.0.1:9200 --prefix excl --state-dir ./state-excl --dry-run</code>- <button type="button" class="prompt-copy" data-copy="xerj autoindex ./mixed --url http://127.0.0.1:9200 --prefix excl --state-dir ./state-excl --dry-run">COPY COMMAND</button>- <span class="hero-proof">Print every ignore rule with an exact file count, and write nothing.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST http://127.0.0.1:9200/autoindex-catalog/_search -H 'content-type: application/json' -d '{"query":{"term":{"doc_kind":"file"}},"size":200,"_source":["path","format","status","reason"],"sort":[{"path":"asc"}]}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/autoindex-catalog/_search -H 'content-type: application/json' -d '{"query":{"term":{"doc_kind":"file"}},"size":200,"_source":["path","format","status","reason"],"sort":[{"path":"asc"}]}'">COPY COMMAND</button>- <span class="hero-proof">Read the per-file status and refusal reason from the catalog index.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST http://127.0.0.1:9200/_all/_search -H 'content-type: application/json' -d '{"query":{"query_string":{"query":"API_KEY"}},"size":10,"track_total_hits":true}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST http://127.0.0.1:9200/_all/_search -H 'content-type: application/json' -d '{"query":{"query_string":{"query":"API_KEY"}},"size":10,"track_total_hits":true}'">COPY COMMAND</button>- <span class="hero-proof">Probe every index for a secret that should never have been indexed.</span>- </div>- <h2>Files disappear for 2 different causes</h2>- <p>A missing file was either never walked or was opened and refused, and the 2 cases have different evidence trails. Ignore rules print to stderr during the run; refusals land in the <code class="inline">autoindex-catalog</code> index with a reason string.</p>- <table>- <thead><tr><th>Cause</th><th>Where the evidence is</th><th>Captured example</th></tr></thead>- <tbody>- <tr><td>Ignore rule</td><td>stderr, one line per rule</td><td><code class="inline">.gitignore:*.tmp — 1 file</code></td></tr>- <tr><td>Extractor refusal</td><td><code class="inline">autoindex-catalog</code>, <code class="inline">reason</code> field</td><td><code class="inline">binary content (unknown)</code></td></tr>- </tbody>- </table>- <h2>Read the ignore accounting first</h2>- <p>A dry run prints the full accounting and writes nothing to the node. Run it before you change any configuration.</p>- <pre class="code"><code class="language-sh">xerj autoindex ./mixed --url http://127.0.0.1:9200 --prefix excl --state-dir ./state-excl --dry-run-</code></pre>- <p>The captured accounting names every rule and counts the files behind it.</p>- <pre class="code"><code class="language-text">autoindex: ignore rules: skipped 3 files and pruned 3 directories (18 non-hidden files inside them); 1 ignore file read-autoindex: ignore rules: <built-in>:target/ — 1 directory pruned (12 non-hidden files inside)-autoindex: ignore rules: .gitignore:scratch/ — 1 directory pruned (6 non-hidden files inside)-autoindex: ignore rules: hidden:dotfile — 2 files, 1 directory pruned-autoindex: ignore rules: .gitignore:*.tmp — 1 file-</code></pre>- <p>Every line names its own rule source. This capture shows <code class="inline"><built-in></code> for build trees, <code class="inline">hidden:dotfile</code> for dotfiles and dot-directories, and <code class="inline">.gitignore</code> for your own rules. Other sources get their own line when they apply: <code class="inline">.xerjignore</code>, and the <code class="inline">symlink:</code> rules that refuse a followed link.</p>- <h2>Then read the per-file catalog</h2>- <p><code class="inline">autoindex</code> writes one catalog document per file, with the format it detected, the status it assigned, and the reason for any refusal. Query it directly.</p>- <pre class="code"><code class="language-sh">curl -s -XPOST http://127.0.0.1:9200/autoindex-catalog/_search -H 'content-type: application/json' -d '{"query":{"term":{"doc_kind":"file"}},"size":200,"_source":["path","format","status","reason","records"],"sort":[{"path":"asc"}]}'-</code></pre>- <p>The capture returned 3 files that reached the catalog, and 2 of them carry a reason.</p>- <table>- <thead><tr><th>Path</th><th>Format</th><th>Status</th><th>Reason</th></tr></thead>- <tbody>- <tr><td><code class="inline">README.txt</code></td><td><code class="inline">txt-prose</code></td><td><code class="inline">indexed</code></td><td>none</td></tr>- <tr><td><code class="inline">assets/logo.bin</code></td><td><code class="inline">binary</code></td><td><code class="inline">junk</code></td><td><code class="inline">binary content (unknown)</code></td></tr>- <tr><td><code class="inline">data/events.parquet</code></td><td><code class="inline">binary</code></td><td><code class="inline">junk</code></td><td><code class="inline">unsupported data format (Parquet): autoindex has no reader for it — export it to CSV or JSON Lines to index it now</code></td></tr>- </tbody>- </table>- <p>Nothing is partially extracted. A format XERJ recognizes but cannot read is refused with a reason that names the fix: the Parquet file above says which export makes it indexable. A file XERJ cannot identify at all is refused as <code class="inline">binary content (unknown)</code>.</p>- <h2>The arithmetic that closes the gap</h2>- <p>26 files sat on disk, 22 of them non-hidden. 18 lived inside pruned directories, 3 more matched a skip rule, 2 were refused as binary, and 1 was indexed. Every path has a rule name or a reason string attached to it.</p>- <p>Publish that arithmetic in your own runbook. A folder that "lost" files almost always has a <code class="inline">.gitignore</code> entry or a build directory behind the difference.</p>- <h2>Secrets and hidden files</h2>- <p>The built-in <code class="inline">hidden:dotfile</code> rule prunes hidden dotfiles, and the fixture <code class="inline">.env</code> never reached an index. A <code class="inline">query_string</code> probe across <code class="inline">_all</code> for the secrets inside it returned 0 hits.</p>- <p>Treat that as a default, not as a guarantee. Ignore rules are a content filter, and XERJ is single-node, so anything you do index sits in one process on one host.</p>- <h2>The exit code carries the verdict</h2>- <p>The captured run ended with a terminal line that names both the outcome and the refusal count.</p>- <pre class="code"><code class="language-text">xerj-done ok=true exit=3 reason=completed-with-junk wall=3.1s files=1 records=2 datasets=1 junk_files=2 code_files=0 code_files_indexed=0 code_files_junked=0-</code></pre>- <p>Exit 0 with <code class="inline">reason=completed</code> means nothing was refused. Exit 3 with <code class="inline">reason=completed-with-junk</code> means the catalog holds at least one reason worth reading.</p>- <p>Every number above comes from a capture on 2026-10-05, on a build of <code class="inline">main</code> after v1.0.0-rc.82 (commit <code class="inline">06185966</code>). The Parquet hint is not in the v1.0.0-rc.82 release itself: that release reports such a file as <code class="inline">binary content (unknown)</code>. The binary was a <code class="inline">quick</code> profile build, so the <code class="inline">wall</code> figure is not a performance number.</p>- <h2>FAQ</h2>- <h3>Why would a folder search miss files that I can see on disk?</h3>- <p>An ignore rule pruned them or an extractor refused them. XERJ prints one line per ignore rule and stores a refusal reason for every file it opened.</p>- <h3>My search tool skipped files that are sitting right there. Why?</h3>- <p>Either the path was pruned before it was opened, or the file was opened and refused. Ignore rules print to stderr during the run; refusals land in <code class="inline">autoindex-catalog</code> with a reason field.</p>- <h3>Does folder search honour gitignore?</h3>- <p>Yes. Your <code class="inline">.gitignore</code> is read as an ignore file, and every rule that fires is printed with the count of files behind it, for example <code class="inline">.gitignore:*.tmp — 1 file</code>.</p>- <h3>Can I force the indexer to include .env and .ssh files?</h3>- <p>Not through any flag this capture found. The built-in <code class="inline">hidden:dotfile</code> rule prunes hidden dotfiles and dot-directories. Copy the file to a non-hidden path you index deliberately instead.</p>- <h3>Which directories does autoindex prune by default?</h3>- <p>Built-in rules prune build trees such as target/ and node_modules/, and hidden dotfiles and dot-directories. Your .gitignore adds more, and each rule is printed with its file count.</p>- <h3>Does autoindex index my .env file?</h3>- <p>Not in this capture. Hidden dotfiles were pruned, and a query across _all for the fixture secrets returned 0 hits. Ignore rules are a filter, not an access control.</p>- <h3>What does exit code 3 from autoindex mean?</h3>- <p>The run finished but refused at least one file. The terminal line reads reason=completed-with-junk, and junk_files counts the refusals.</p>- <h2>Related</h2>- <ul>- <li><a href="/answers/search-file-contents-in-a-folder">I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a></li>- <li><a href="/answers/check-codebase-index-is-complete">My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a></li>- <li><a href="/answers/estimate-autoindex-time-before-running">How do I estimate folder-indexing time?</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/compare/index.html b/landing/compare/index.htmlindex 987def912..f79f5b88a 100644--- a/landing/compare/index.html+++ b/landing/compare/index.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/compare/"><meta property="og:site_name" content="XERJ.ai">@@ -120,7 +120,59 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span>COMPARISONS</div>+ <div class="kicker"><span>COMPARE</span></div>+ <h1>Comparisons</h1>+ <p>Focused comparisons for teams choosing a search, vector and agent-memory architecture, with evidence links and clear trade-offs.</p>+ <h2>Comparison: agent retrieval</h2>+ <ul>+ <li><a href="/compare/xerj-vs-web-agent-search">How do I let an agent search a folder on my laptop instead of crawling the web?</a> — Exa, Tavily and Firecrawl take a query or a URL and answer from the public web. XERJ takes a folder already on your disk and never opens a network connection.</li>+ </ul>+ <h2>Comparison: code retrieval</h2>+ <ul>+ <li><a href="/compare/xerj-vs-ast-grep">ast-grep vs a code index for an agent?</a> — ast-grep wins structural rewriting and XERJ does none of it. For an agent the honest recommendation is to install both and give each the job it was built for.</li>+ <li><a href="/compare/xerj-vs-ripgrep-for-code-agents">Is ripgrep enough for a coding agent, or do I need a code index?</a> — 30 disclosed tasks on one 331-file code tree. The two tools agree on 18. ripgrep wins 5 named tasks outright, including a substring inside an identifier.</li>+ </ul>+ <h2>Comparison: desktop search</h2>+ <ul>+ <li><a href="/compare/xerj-vs-ripgrep-all">How do I grep PDFs and Word docs from the command line?</a> — ripgrep-all wraps ripgrep with adapters for PDF, Office files, archives and SQLite. XERJ indexes the same folder for an agent. A capability comparison, no benchmark.</li>+ <li><a href="/compare/xerj-vs-docfetcher">What's a free DocFetcher alternative that an agent can call?</a> — DocFetcher is a desktop search GUI with a portable index and Outlook PST support. XERJ is a search engine an agent calls. A capability comparison, with no benchmark.</li>+ <li><a href="/compare/xerj-vs-recoll">What's the best local desktop search for a folder of PDFs and docs?</a> — Recoll is a desktop search application with a GUI, OCR hooks and email indexing that still reaches PST and attachments. XERJ is a search engine an agent calls, with its own .eml and .mbox indexing. A capability comparison, with no benchmark.</li>+ <li><a href="/compare/xerj-vs-houdahspot">XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a> — HoudahSpot is a power-user front end for Spotlight, with hundreds of attribute filters. XERJ is a folder index an agent calls. No Mac run stands behind this page.</li>+ <li><a href="/compare/xerj-vs-spotlight">XERJ vs macOS Spotlight for folder content an agent can query</a> — Spotlight is the Mac's system-wide index with zero setup and wide metadata. XERJ is a folder index an agent queries. A capability comparison, run on no Mac.</li>+ </ul>+ <h2>Comparison: local MCP search</h2>+ <ul>+ <li><a href="/compare/xerj-vs-localsynapse">What's a local MCP search engine for Claude?</a> — Two local MCP search engines. LocalSynapse wins the desktop experience and mail shapes beyond mbox and eml. XERJ wins data files, Excel sheets read as typed tables, and the Elasticsearch REST API.</li>+ </ul>+ <h2>Comparison: local search engines</h2>+ <ul>+ <li><a href="/compare/xerj-vs-elasticsearch-local">Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a> — The published board is 55 wins, 26 ties, 4 losses and 3 not-applicable across 88 cells against Elasticsearch 8.13.4. All 4 losses are read p99 under a write flood.</li>+ </ul>+ <h2>Comparison: notes and vaults</h2>+ <ul>+ <li><a href="/compare/xerj-vs-obsidian-omnisearch">How do I search an Obsidian vault from outside Obsidian?</a> — Omnisearch wins inside Obsidian and reaches images and PDFs through Text Extractor. XERJ reads the vault folder outside the editor. No head-to-head was run here.</li>+ </ul>+ <h2>Comparison: personal search</h2>+ <ul>+ <li><a href="/compare/xerj-vs-khoj">What's a simpler alternative to Khoj if I only need search and memory?</a> — Khoj is a whole self-hosted assistant: chat, custom agents, scheduled research and image generation. XERJ is the smaller piece, the search and memory engine.</li>+ </ul>+ <h2>Comparison: search engines</h2>+ <ul>+ <li><a href="/compare/xerj-vs-typesense">Do I need Typesense for an agent to search my docs?</a> — Typesense wins faceted product browsing and says so in its own use cases. An agent can query a folder of mixed files without it. No faceting test was run here.</li>+ <li><a href="/compare/xerj-vs-meilisearch">What's a local alternative to Meilisearch that indexes a folder by itself?</a> — A local alternative to Meilisearch that reads a folder of mixed files by itself. Meilisearch wins typo tolerance by default. No head-to-head was run here.</li>+ </ul>+ <h2>Comparison: site and export search</h2>+ <ul>+ <li><a href="/compare/xerj-vs-pagefind">Pagefind vs indexing a local HTML dump for an agent?</a> — Pagefind wins static-site search in the browser with no server. XERJ indexes a local HTML dump on disk so an agent can query it. No head-to-head was run here.</li>+ </ul>+ <h2>Comparison: vector database</h2>+ <ul>+ <li><a href="/compare/xerj-vs-vector-database">Should my agent call a search API or stand up Qdrant for persistent memory?</a> — Agent memory lives in the index process XERJ already runs, so no second data service starts. On 8 judged queries hybrid linear fusion scored precision@3 0.4583.</li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -223,58 +275,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span>COMPARISONS</div>- <div class="kicker"><span>COMPARE</span></div>- <h1>Comparisons</h1>- <p>Focused comparisons for teams choosing a search, vector and agent-memory architecture, with evidence links and clear trade-offs.</p>- <h2>Comparison: agent retrieval</h2>- <ul>- <li><a href="/compare/xerj-vs-web-agent-search">How do I let an agent search a folder on my laptop instead of crawling the web?</a> — Exa, Tavily and Firecrawl take a query or a URL and answer from the public web. XERJ takes a folder already on your disk and never opens a network connection.</li>- </ul>- <h2>Comparison: code retrieval</h2>- <ul>- <li><a href="/compare/xerj-vs-ast-grep">ast-grep vs a code index for an agent?</a> — ast-grep wins structural rewriting and XERJ does none of it. For an agent the honest recommendation is to install both and give each the job it was built for.</li>- <li><a href="/compare/xerj-vs-ripgrep-for-code-agents">Is ripgrep enough for a coding agent, or do I need a code index?</a> — 30 disclosed tasks on one 331-file code tree. The two tools agree on 18. ripgrep wins 5 named tasks outright, including a substring inside an identifier.</li>- </ul>- <h2>Comparison: desktop search</h2>- <ul>- <li><a href="/compare/xerj-vs-ripgrep-all">How do I grep PDFs and Word docs from the command line?</a> — ripgrep-all wraps ripgrep with adapters for PDF, Office files, archives and SQLite. XERJ indexes the same folder for an agent. A capability comparison, no benchmark.</li>- <li><a href="/compare/xerj-vs-docfetcher">What's a free DocFetcher alternative that an agent can call?</a> — DocFetcher is a desktop search GUI with a portable index and Outlook PST support. XERJ is a search engine an agent calls. A capability comparison, with no benchmark.</li>- <li><a href="/compare/xerj-vs-recoll">What's the best local desktop search for a folder of PDFs and docs?</a> — Recoll is a desktop search application with a GUI, OCR hooks and email indexing that still reaches PST and attachments. XERJ is a search engine an agent calls, with its own .eml and .mbox indexing. A capability comparison, with no benchmark.</li>- <li><a href="/compare/xerj-vs-houdahspot">XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a> — HoudahSpot is a power-user front end for Spotlight, with hundreds of attribute filters. XERJ is a folder index an agent calls. No Mac run stands behind this page.</li>- <li><a href="/compare/xerj-vs-spotlight">XERJ vs macOS Spotlight for folder content an agent can query</a> — Spotlight is the Mac's system-wide index with zero setup and wide metadata. XERJ is a folder index an agent queries. A capability comparison, run on no Mac.</li>- </ul>- <h2>Comparison: local MCP search</h2>- <ul>- <li><a href="/compare/xerj-vs-localsynapse">What's a local MCP search engine for Claude?</a> — Two local MCP search engines. LocalSynapse wins the desktop experience and mail shapes beyond mbox and eml. XERJ wins data files, Excel sheets read as typed tables, and the Elasticsearch REST API.</li>- </ul>- <h2>Comparison: local search engines</h2>- <ul>- <li><a href="/compare/xerj-vs-elasticsearch-local">Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a> — The published board is 55 wins, 26 ties, 4 losses and 3 not-applicable across 88 cells against Elasticsearch 8.13.4. All 4 losses are read p99 under a write flood.</li>- </ul>- <h2>Comparison: notes and vaults</h2>- <ul>- <li><a href="/compare/xerj-vs-obsidian-omnisearch">How do I search an Obsidian vault from outside Obsidian?</a> — Omnisearch wins inside Obsidian and reaches images and PDFs through Text Extractor. XERJ reads the vault folder outside the editor. No head-to-head was run here.</li>- </ul>- <h2>Comparison: personal search</h2>- <ul>- <li><a href="/compare/xerj-vs-khoj">What's a simpler alternative to Khoj if I only need search and memory?</a> — Khoj is a whole self-hosted assistant: chat, custom agents, scheduled research and image generation. XERJ is the smaller piece, the search and memory engine.</li>- </ul>- <h2>Comparison: search engines</h2>- <ul>- <li><a href="/compare/xerj-vs-typesense">Do I need Typesense for an agent to search my docs?</a> — Typesense wins faceted product browsing and says so in its own use cases. An agent can query a folder of mixed files without it. No faceting test was run here.</li>- <li><a href="/compare/xerj-vs-meilisearch">What's a local alternative to Meilisearch that indexes a folder by itself?</a> — A local alternative to Meilisearch that reads a folder of mixed files by itself. Meilisearch wins typo tolerance by default. No head-to-head was run here.</li>- </ul>- <h2>Comparison: site and export search</h2>- <ul>- <li><a href="/compare/xerj-vs-pagefind">Pagefind vs indexing a local HTML dump for an agent?</a> — Pagefind wins static-site search in the browser with no server. XERJ indexes a local HTML dump on disk so an agent can query it. No head-to-head was run here.</li>- </ul>- <h2>Comparison: vector database</h2>- <ul>- <li><a href="/compare/xerj-vs-vector-database">Should my agent call a search API or stand up Qdrant for persistent memory?</a> — Agent memory lives in the index process XERJ already runs, so no second data service starts. On 8 judged queries hybrid linear fusion scored precision@3 0.4583.</li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/compare/xerj-vs-ast-grep.html b/landing/compare/xerj-vs-ast-grep.htmlindex 5dabe2257..965882fe1 100644--- a/landing/compare/xerj-vs-ast-grep.html+++ b/landing/compare/xerj-vs-ast-grep.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/compare/xerj-vs-ast-grep.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/compare/xerj-vs-ast-grep">@@ -139,109 +139,7 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class="active"><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/compare/">COMPARISONS</a><span class="sep">·</span>AST-GREP VS A CODE INDEX FOR AN AGENT?</div><div class="kicker"><span>COMPARE · COMPARISON: CODE RETRIEVAL</span></div>@@ -354,6 +252,108 @@<li><a href="/compare/xerj-vs-ripgrep-for-code-agents">Is ripgrep enough for a coding agent, or do I need a code index?</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class="active"><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/compare/xerj-vs-docfetcher.html b/landing/compare/xerj-vs-docfetcher.htmlindex fdb47c182..fd54ff656 100644--- a/landing/compare/xerj-vs-docfetcher.html+++ b/landing/compare/xerj-vs-docfetcher.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/compare/xerj-vs-docfetcher.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/compare/xerj-vs-docfetcher">@@ -139,109 +139,7 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class="active"><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/compare/">COMPARISONS</a><span class="sep">·</span>WHAT'S A FREE DOCFETCHER ALTERNATIVE THAT AN AGENT CAN CALL?</div><div class="kicker"><span>COMPARE · COMPARISON: DESKTOP SEARCH</span></div>@@ -373,6 +271,108 @@<li><a href="/compare/xerj-vs-ripgrep-all">How do I grep PDFs and Word docs from the command line?</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class="active"><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/compare/xerj-vs-elasticsearch-local.html b/landing/compare/xerj-vs-elasticsearch-local.htmlindex 8c53a95c7..e004b373a 100644--- a/landing/compare/xerj-vs-elasticsearch-local.html+++ b/landing/compare/xerj-vs-elasticsearch-local.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/compare/xerj-vs-elasticsearch-local.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/compare/xerj-vs-elasticsearch-local">@@ -139,109 +139,7 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class="active"><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/compare/">COMPARISONS</a><span class="sep">·</span>IS THERE AN ELASTICSEARCH-COMPATIBLE ENGINE THAT ISN'T ELASTICSEARCH?</div><div class="kicker"><span>COMPARE · COMPARISON: LOCAL SEARCH ENGINES</span></div>@@ -362,6 +260,108 @@<li><a href="/docs/recipes/migrate-from-elasticsearch">Migrate from Elasticsearch</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class="active"><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/compare/xerj-vs-houdahspot.html b/landing/compare/xerj-vs-houdahspot.htmlindex 8f3add86e..8d8217c81 100644--- a/landing/compare/xerj-vs-houdahspot.html+++ b/landing/compare/xerj-vs-houdahspot.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/compare/xerj-vs-houdahspot.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/compare/xerj-vs-houdahspot">@@ -139,109 +139,7 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class="active"><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/compare/">COMPARISONS</a><span class="sep">·</span>XERJ VS HOUDAHSPOT — SPOTLIGHT GUI VS AN AGENT INDEX</div><div class="kicker"><span>COMPARE · COMPARISON: DESKTOP SEARCH</span></div>@@ -370,6 +268,108 @@<li><a href="/answers/give-chatgpt-claude-local-file-access">Can ChatGPT search a folder on my laptop, or do I need something else?</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class="active"><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/compare/xerj-vs-khoj.html b/landing/compare/xerj-vs-khoj.htmlindex 8dae06a67..1b3816c5b 100644--- a/landing/compare/xerj-vs-khoj.html+++ b/landing/compare/xerj-vs-khoj.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/compare/xerj-vs-khoj.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/compare/xerj-vs-khoj">@@ -139,109 +139,7 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class="active"><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/compare/">COMPARISONS</a><span class="sep">·</span>WHAT'S A SIMPLER ALTERNATIVE TO KHOJ IF I ONLY NEED SEARCH AND MEMORY?</div><div class="kicker"><span>COMPARE · COMPARISON: PERSONAL SEARCH</span></div>@@ -346,6 +244,108 @@ xerj autoindex ./my-docs --prefix docs --state-dir ./state-docs<li><a href="/answers/agent-memory-without-postgres-qdrant">What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class="active"><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/compare/xerj-vs-localsynapse.html b/landing/compare/xerj-vs-localsynapse.htmlindex a9c02b6b4..04aebe243 100644--- a/landing/compare/xerj-vs-localsynapse.html+++ b/landing/compare/xerj-vs-localsynapse.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/compare/xerj-vs-localsynapse.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/compare/xerj-vs-localsynapse">@@ -139,109 +139,7 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class="active"><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/compare/">COMPARISONS</a><span class="sep">·</span>WHAT'S A LOCAL MCP SEARCH ENGINE FOR CLAUDE?</div><div class="kicker"><span>COMPARE · COMPARISON: LOCAL MCP SEARCH</span></div>@@ -344,6 +242,108 @@<li><a href="/answers/search-file-contents-in-a-folder">I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class="active"><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/compare/xerj-vs-meilisearch.html b/landing/compare/xerj-vs-meilisearch.htmlindex b43c57062..a44801c1a 100644--- a/landing/compare/xerj-vs-meilisearch.html+++ b/landing/compare/xerj-vs-meilisearch.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/compare/xerj-vs-meilisearch.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/compare/xerj-vs-meilisearch">@@ -139,109 +139,7 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class="active"><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/compare/">COMPARISONS</a><span class="sep">·</span>WHAT'S A LOCAL ALTERNATIVE TO MEILISEARCH THAT INDEXES A FOLDER BY ITSELF?</div><div class="kicker"><span>COMPARE · COMPARISON: SEARCH ENGINES</span></div>@@ -345,6 +243,108 @@<li><a href="/answers/do-search-embeddings-help">When should I turn on neural embeddings, and when is the lexical default enough?</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class="active"><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/compare/xerj-vs-obsidian-omnisearch.html b/landing/compare/xerj-vs-obsidian-omnisearch.htmlindex 201061683..866f7e7b7 100644--- a/landing/compare/xerj-vs-obsidian-omnisearch.html+++ b/landing/compare/xerj-vs-obsidian-omnisearch.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/compare/xerj-vs-obsidian-omnisearch.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/compare/xerj-vs-obsidian-omnisearch">@@ -139,7 +139,106 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/compare/">COMPARISONS</a><span class="sep">·</span>HOW DO I SEARCH AN OBSIDIAN VAULT FROM OUTSIDE OBSIDIAN?</div>+ <div class="kicker"><span>COMPARE · COMPARISON: NOTES AND VAULTS</span></div>+ <h1>How do I search an Obsidian vault from outside Obsidian?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-22 · UPDATED · 2026-08-23</div>+ <p><strong>TL;DR</strong> — Omnisearch wins inside Obsidian: an instant search interface, BM25 ranking, and PDFs and images reached through the Text Extractor plugin. XERJ reads the same folder with Obsidian closed and answers an agent. No head-to-head was run for this page.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent whose user has closed Obsidian. Read https://xerj.org/llms.txt, start a node outside the vault with `xerj --insecure --data-dir ./xerj-data`, run `xerj autoindex ./MyVault --prefix vault --state-dir ./state-vault`, then POST a match_phrase on body for a phrase that exists only inside a PDF or DOCX attachment and report the ax_path of every hit without opening Obsidian.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent whose user has closed Obsidian. Read https://xerj.org/llms.txt, start a node outside the vault with `xerj --insecure --data-dir ./xerj-data`, run `xerj autoindex ./MyVault --prefix vault --state-dir ./state-vault`, then POST a match_phrase on body for a phrase that exists only inside a PDF or DOCX attachment and report the ax_path of every hit without opening Obsidian.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj --insecure --data-dir ./xerj-data</code>+ <button type="button" class="prompt-copy" data-copy="xerj --insecure --data-dir ./xerj-data">COPY COMMAND</button>+ <span class="hero-proof">Start one node outside the vault folder, so the node never indexes its own storage.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj autoindex ./MyVault --prefix vault --state-dir ./state-vault</code>+ <button type="button" class="prompt-copy" data-copy="xerj autoindex ./MyVault --prefix vault --state-dir ./state-vault">COPY COMMAND</button>+ <span class="hero-proof">Markdown notes and the PDF or DOCX attachments beside them land in one index.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST 'http://127.0.0.1:9200/vault-*/_search' -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"retention policy"}},"_source":["ax_path"]}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9200/vault-*/_search' -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"retention policy"}},"_source":["ax_path"]}'">COPY COMMAND</button>+ <span class="hero-proof">A phrase that lives only in an attachment, returned with the file path.</span>+ </div>+ <h2>Concede the editor, and concede the images</h2>+ <p>Omnisearch lives inside Obsidian, and its stated first goal is to locate files instantly. It ranks with BM25 through the MiniSearch library, tolerates a typo, and behaves like a quick switcher with a memory.</p>+ <p>It also reaches formats that XERJ cannot. With the Text Extractor plugin installed, Omnisearch indexes PDFs, images and some Office documents. XERJ does no optical character recognition of any kind, so a photographed page is junk to it.</p>+ <p>For a person searching notes in Obsidian, Omnisearch is the better tool. This page does not claim otherwise, and no measurement here would change that.</p>+ <h2>The one caveat Omnisearch publishes about itself</h2>+ <p>Its own documentation is careful about the extraction path. It states that extracting text from those files is not guaranteed, and that at the time of writing many PDFs do not work with Text Extractor.</p>+ <p>Take that as written rather than as an argument. It means a vault with heavy PDF attachments deserves a test on both sides before you trust either one.</p>+ <h2>Where the boundary really sits</h2>+ <p>Omnisearch is a plugin, so it runs when Obsidian runs. Its HTTP server is opt-in, listens on localhost only, is unavailable on mobile, and stops automatically when Obsidian closes.</p>+ <p>That is a sensible design for an editor plugin. It is also the reason an agent on a headless machine, a scheduled job, or a second application cannot rely on it.</p>+ <p>XERJ starts from the folder instead of the editor:</p>+ <pre class="code"><code class="language-sh">xerj autoindex ./MyVault --prefix vault --state-dir ./state-vault+</code></pre>+ <p>Markdown notes and the attachments beside them land in one index. The node answers over the Elasticsearch REST API whether Obsidian is open, closed or uninstalled.</p>+ <h2>Agent access is not a place where XERJ stands alone</h2>+ <p>The Omnisearch README points at a third-party MCP server that detects Omnisearch and exposes it as a BM25-ranked search mode for agents reading a vault. That path exists and it works.</p>+ <p>The difference is what it depends on. That route needs Obsidian running and the local HTTP server enabled.</p>+ <p><code class="inline">xerj mcp</code> is a stdio MCP server in the same binary as the engine. It serves 10 tools, and it needs no editor at all.</p>+ <h2>What XERJ reads in a vault, and how</h2>+ <p>Thirteen families are covered. For a vault the ones that matter are plain text and markdown, PDF, DOCX, HTML, CSV and JSON.</p>+ <p>Ranking is BM25, and a vector clause can be fused into the same query with Reciprocal Rank Fusion or a weighted linear sum. The default embedder is lexical feature hashing, not neural, so the fused vector side carries no meaning-based signal until <code class="inline">--embed-mode neural</code> is turned on.</p>+ <p>One operational note. Put the node's data directory outside the vault you index, or the node will index its own storage.</p>+ <h2>The limits you inherit with XERJ</h2>+ <p>XERJ is single-node only. There is no data-plane replication and no failover, so one host is the whole deployment.</p>+ <p>The server retains heap for every document it indexes, which is an open tracked defect. A large vault with thousands of attachments is worth watching.</p>+ <p>There is no plugin, no panel and no keyboard shortcut. XERJ answers programs, not people.</p>+ <h2>When to choose Omnisearch instead</h2>+ <p>Choose Omnisearch when you are the one searching, inside Obsidian. That is its job and it is good at it.</p>+ <p>Choose Omnisearch when your attachments include images or page photographs. Text Extractor reaches them and XERJ never will.</p>+ <p>Choose Omnisearch when you want zero extra processes on the machine. A plugin costs less than an engine.</p>+ <h2>When to choose XERJ instead</h2>+ <p>Choose XERJ when an agent must read the vault with Obsidian closed. A machine with no editor installed is the same case.</p>+ <p>Choose XERJ when the folder holds data files rather than notes. A CSV export or a SQLite database is the usual case.</p>+ <p>Choose XERJ when you want the answer as a cited passage over an API an agent already speaks.</p>+ <h2>What was not measured</h2>+ <p>No head-to-head was run for this page. No vault was indexed on both sides, so there is no recall figure, no timing and no phrase-by-phrase score here.</p>+ <p>Every Omnisearch fact above comes from its own README and published documentation. Read those before you decide.</p>+ <h2>FAQ</h2>+ <h3>Does XERJ replace Omnisearch inside Obsidian?</h3>+ <p>No. For a person searching in Obsidian, Omnisearch is the better tool and XERJ has no plugin at all.</p>+ <h3>Omnisearch vs an external index for Claude?</h3>+ <p>Omnisearch runs inside the editor. An external index reads the vault folder while Obsidian is closed, and answers an agent over an API that does not depend on the editor running.</p>+ <h3>Can an agent search my Obsidian vault including PDFs?</h3>+ <p>Yes, where the PDF has a text layer: XERJ indexes vault attachments beside the notes. A PDF that is only page images needs Omnisearch and its Text Extractor plugin, because XERJ does no optical character recognition.</p>+ <h3>Can an agent already call Omnisearch?</h3>+ <p>Yes. Omnisearch has an opt-in local HTTP server, and its README points at a third-party MCP server built on it. Obsidian must be running.</p>+ <h3>Is there a measured comparison on this page?</h3>+ <p>No. No head-to-head was run. Every Omnisearch fact here comes from its own README and documentation.</p>+ <h3>How does each one rank?</h3>+ <p>Omnisearch scores with BM25 through MiniSearch. XERJ ranks with BM25 and can fuse a vector clause with Reciprocal Rank Fusion in the same query.</p>+ <h3>What license is Omnisearch under?</h3>+ <p>Omnisearch is GPL-3, so a derived work you distribute has to carry the same license. XERJ is Apache-2.0, which is permissive.</p>+ <h3>Can I run both?</h3>+ <p>Yes, and that is the usual answer. Omnisearch serves you inside the editor, and XERJ serves the agent outside it.</p>+ <h2>Evidence</h2>+ <ul>+ <li>Omnisearch is a search plugin inside Obsidian whose stated first goal is to locate files instantly, and it scores documents with the BM25 algorithm through the MiniSearch library. — <a href="https://github.com/scambier/obsidian-omnisearch">https://github.com/scambier/obsidian-omnisearch</a></li>+ <li>Omnisearch indexes PDFs, images and some Microsoft Office documents with the help of the Text Extractor plugin, and its own documentation warns that extraction is not guaranteed and that many PDFs do not work with Text Extractor. — <a href="https://publish.obsidian.md/omnisearch/Images,+PDFs,+and+non-text+documents">https://publish.obsidian.md/omnisearch/Images,+PDFs,+and+non-text+documents</a></li>+ <li>The Omnisearch HTTP server must be activated in settings, is not accessible outside localhost, is unavailable on mobile, and stops automatically when Obsidian closes. — <a href="https://publish.obsidian.md/omnisearch/Public+API+%26+URL+Scheme">https://publish.obsidian.md/omnisearch/Public+API+%26+URL+Scheme</a></li>+ <li>The Omnisearch README points at a third-party MCP server that detects Omnisearch and exposes it as a BM25-ranked search mode for agents reading a vault. — <a href="https://github.com/scambier/obsidian-omnisearch">https://github.com/scambier/obsidian-omnisearch</a></li>+ <li>Omnisearch is licensed under GPL-3. — <a href="https://github.com/scambier/obsidian-omnisearch">https://github.com/scambier/obsidian-omnisearch</a></li>+ </ul>+ <h2>Related</h2>+ <ul>+ <li><a href="/answers/search-obsidian-pdf-docx-attachments">What's the best way to search markdown notes and PDFs in the same vault?</a></li>+ <li><a href="/answers/give-chatgpt-claude-local-file-access">Can ChatGPT search a folder on my laptop, or do I need something else?</a></li>+ <li><a href="/answers/search-word-documents-in-a-folder">How do I search through a folder of contracts in .docx?</a></li>+ <li><a href="/answers/search-file-contents-in-a-folder">I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,105 +341,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/compare/">COMPARISONS</a><span class="sep">·</span>HOW DO I SEARCH AN OBSIDIAN VAULT FROM OUTSIDE OBSIDIAN?</div>- <div class="kicker"><span>COMPARE · COMPARISON: NOTES AND VAULTS</span></div>- <h1>How do I search an Obsidian vault from outside Obsidian?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-22 · UPDATED · 2026-08-23</div>- <p><strong>TL;DR</strong> — Omnisearch wins inside Obsidian: an instant search interface, BM25 ranking, and PDFs and images reached through the Text Extractor plugin. XERJ reads the same folder with Obsidian closed and answers an agent. No head-to-head was run for this page.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent whose user has closed Obsidian. Read https://xerj.org/llms.txt, start a node outside the vault with `xerj --insecure --data-dir ./xerj-data`, run `xerj autoindex ./MyVault --prefix vault --state-dir ./state-vault`, then POST a match_phrase on body for a phrase that exists only inside a PDF or DOCX attachment and report the ax_path of every hit without opening Obsidian.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent whose user has closed Obsidian. Read https://xerj.org/llms.txt, start a node outside the vault with `xerj --insecure --data-dir ./xerj-data`, run `xerj autoindex ./MyVault --prefix vault --state-dir ./state-vault`, then POST a match_phrase on body for a phrase that exists only inside a PDF or DOCX attachment and report the ax_path of every hit without opening Obsidian.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj --insecure --data-dir ./xerj-data</code>- <button type="button" class="prompt-copy" data-copy="xerj --insecure --data-dir ./xerj-data">COPY COMMAND</button>- <span class="hero-proof">Start one node outside the vault folder, so the node never indexes its own storage.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj autoindex ./MyVault --prefix vault --state-dir ./state-vault</code>- <button type="button" class="prompt-copy" data-copy="xerj autoindex ./MyVault --prefix vault --state-dir ./state-vault">COPY COMMAND</button>- <span class="hero-proof">Markdown notes and the PDF or DOCX attachments beside them land in one index.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST 'http://127.0.0.1:9200/vault-*/_search' -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"retention policy"}},"_source":["ax_path"]}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9200/vault-*/_search' -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"retention policy"}},"_source":["ax_path"]}'">COPY COMMAND</button>- <span class="hero-proof">A phrase that lives only in an attachment, returned with the file path.</span>- </div>- <h2>Concede the editor, and concede the images</h2>- <p>Omnisearch lives inside Obsidian, and its stated first goal is to locate files instantly. It ranks with BM25 through the MiniSearch library, tolerates a typo, and behaves like a quick switcher with a memory.</p>- <p>It also reaches formats that XERJ cannot. With the Text Extractor plugin installed, Omnisearch indexes PDFs, images and some Office documents. XERJ does no optical character recognition of any kind, so a photographed page is junk to it.</p>- <p>For a person searching notes in Obsidian, Omnisearch is the better tool. This page does not claim otherwise, and no measurement here would change that.</p>- <h2>The one caveat Omnisearch publishes about itself</h2>- <p>Its own documentation is careful about the extraction path. It states that extracting text from those files is not guaranteed, and that at the time of writing many PDFs do not work with Text Extractor.</p>- <p>Take that as written rather than as an argument. It means a vault with heavy PDF attachments deserves a test on both sides before you trust either one.</p>- <h2>Where the boundary really sits</h2>- <p>Omnisearch is a plugin, so it runs when Obsidian runs. Its HTTP server is opt-in, listens on localhost only, is unavailable on mobile, and stops automatically when Obsidian closes.</p>- <p>That is a sensible design for an editor plugin. It is also the reason an agent on a headless machine, a scheduled job, or a second application cannot rely on it.</p>- <p>XERJ starts from the folder instead of the editor:</p>- <pre class="code"><code class="language-sh">xerj autoindex ./MyVault --prefix vault --state-dir ./state-vault-</code></pre>- <p>Markdown notes and the attachments beside them land in one index. The node answers over the Elasticsearch REST API whether Obsidian is open, closed or uninstalled.</p>- <h2>Agent access is not a place where XERJ stands alone</h2>- <p>The Omnisearch README points at a third-party MCP server that detects Omnisearch and exposes it as a BM25-ranked search mode for agents reading a vault. That path exists and it works.</p>- <p>The difference is what it depends on. That route needs Obsidian running and the local HTTP server enabled.</p>- <p><code class="inline">xerj mcp</code> is a stdio MCP server in the same binary as the engine. It serves 10 tools, and it needs no editor at all.</p>- <h2>What XERJ reads in a vault, and how</h2>- <p>Thirteen families are covered. For a vault the ones that matter are plain text and markdown, PDF, DOCX, HTML, CSV and JSON.</p>- <p>Ranking is BM25, and a vector clause can be fused into the same query with Reciprocal Rank Fusion or a weighted linear sum. The default embedder is lexical feature hashing, not neural, so the fused vector side carries no meaning-based signal until <code class="inline">--embed-mode neural</code> is turned on.</p>- <p>One operational note. Put the node's data directory outside the vault you index, or the node will index its own storage.</p>- <h2>The limits you inherit with XERJ</h2>- <p>XERJ is single-node only. There is no data-plane replication and no failover, so one host is the whole deployment.</p>- <p>The server retains heap for every document it indexes, which is an open tracked defect. A large vault with thousands of attachments is worth watching.</p>- <p>There is no plugin, no panel and no keyboard shortcut. XERJ answers programs, not people.</p>- <h2>When to choose Omnisearch instead</h2>- <p>Choose Omnisearch when you are the one searching, inside Obsidian. That is its job and it is good at it.</p>- <p>Choose Omnisearch when your attachments include images or page photographs. Text Extractor reaches them and XERJ never will.</p>- <p>Choose Omnisearch when you want zero extra processes on the machine. A plugin costs less than an engine.</p>- <h2>When to choose XERJ instead</h2>- <p>Choose XERJ when an agent must read the vault with Obsidian closed. A machine with no editor installed is the same case.</p>- <p>Choose XERJ when the folder holds data files rather than notes. A CSV export or a SQLite database is the usual case.</p>- <p>Choose XERJ when you want the answer as a cited passage over an API an agent already speaks.</p>- <h2>What was not measured</h2>- <p>No head-to-head was run for this page. No vault was indexed on both sides, so there is no recall figure, no timing and no phrase-by-phrase score here.</p>- <p>Every Omnisearch fact above comes from its own README and published documentation. Read those before you decide.</p>- <h2>FAQ</h2>- <h3>Does XERJ replace Omnisearch inside Obsidian?</h3>- <p>No. For a person searching in Obsidian, Omnisearch is the better tool and XERJ has no plugin at all.</p>- <h3>Omnisearch vs an external index for Claude?</h3>- <p>Omnisearch runs inside the editor. An external index reads the vault folder while Obsidian is closed, and answers an agent over an API that does not depend on the editor running.</p>- <h3>Can an agent search my Obsidian vault including PDFs?</h3>- <p>Yes, where the PDF has a text layer: XERJ indexes vault attachments beside the notes. A PDF that is only page images needs Omnisearch and its Text Extractor plugin, because XERJ does no optical character recognition.</p>- <h3>Can an agent already call Omnisearch?</h3>- <p>Yes. Omnisearch has an opt-in local HTTP server, and its README points at a third-party MCP server built on it. Obsidian must be running.</p>- <h3>Is there a measured comparison on this page?</h3>- <p>No. No head-to-head was run. Every Omnisearch fact here comes from its own README and documentation.</p>- <h3>How does each one rank?</h3>- <p>Omnisearch scores with BM25 through MiniSearch. XERJ ranks with BM25 and can fuse a vector clause with Reciprocal Rank Fusion in the same query.</p>- <h3>What license is Omnisearch under?</h3>- <p>Omnisearch is GPL-3, so a derived work you distribute has to carry the same license. XERJ is Apache-2.0, which is permissive.</p>- <h3>Can I run both?</h3>- <p>Yes, and that is the usual answer. Omnisearch serves you inside the editor, and XERJ serves the agent outside it.</p>- <h2>Evidence</h2>- <ul>- <li>Omnisearch is a search plugin inside Obsidian whose stated first goal is to locate files instantly, and it scores documents with the BM25 algorithm through the MiniSearch library. — <a href="https://github.com/scambier/obsidian-omnisearch">https://github.com/scambier/obsidian-omnisearch</a></li>- <li>Omnisearch indexes PDFs, images and some Microsoft Office documents with the help of the Text Extractor plugin, and its own documentation warns that extraction is not guaranteed and that many PDFs do not work with Text Extractor. — <a href="https://publish.obsidian.md/omnisearch/Images,+PDFs,+and+non-text+documents">https://publish.obsidian.md/omnisearch/Images,+PDFs,+and+non-text+documents</a></li>- <li>The Omnisearch HTTP server must be activated in settings, is not accessible outside localhost, is unavailable on mobile, and stops automatically when Obsidian closes. — <a href="https://publish.obsidian.md/omnisearch/Public+API+%26+URL+Scheme">https://publish.obsidian.md/omnisearch/Public+API+%26+URL+Scheme</a></li>- <li>The Omnisearch README points at a third-party MCP server that detects Omnisearch and exposes it as a BM25-ranked search mode for agents reading a vault. — <a href="https://github.com/scambier/obsidian-omnisearch">https://github.com/scambier/obsidian-omnisearch</a></li>- <li>Omnisearch is licensed under GPL-3. — <a href="https://github.com/scambier/obsidian-omnisearch">https://github.com/scambier/obsidian-omnisearch</a></li>- </ul>- <h2>Related</h2>- <ul>- <li><a href="/answers/search-obsidian-pdf-docx-attachments">What's the best way to search markdown notes and PDFs in the same vault?</a></li>- <li><a href="/answers/give-chatgpt-claude-local-file-access">Can ChatGPT search a folder on my laptop, or do I need something else?</a></li>- <li><a href="/answers/search-word-documents-in-a-folder">How do I search through a folder of contracts in .docx?</a></li>- <li><a href="/answers/search-file-contents-in-a-folder">I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/compare/xerj-vs-pagefind.html b/landing/compare/xerj-vs-pagefind.htmlindex 1c5c98413..8914c78f9 100644--- a/landing/compare/xerj-vs-pagefind.html+++ b/landing/compare/xerj-vs-pagefind.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/compare/xerj-vs-pagefind.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/compare/xerj-vs-pagefind">@@ -139,7 +139,103 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">+<div class="docs-shell article-shell">+<main class="docs-content">+ <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/compare/">COMPARISONS</a><span class="sep">·</span>PAGEFIND VS INDEXING A LOCAL HTML DUMP FOR AN AGENT?</div>+ <div class="kicker"><span>COMPARE · COMPARISON: SITE AND EXPORT SEARCH</span></div>+ <h1>Pagefind vs indexing a local HTML dump for an agent?</h1>+ <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-22 · UPDATED · 2026-08-23</div>+ <p><strong>TL;DR</strong> — Pagefind wins search on a built static website: no server, a chunked index and a small download for the visitor. XERJ wins when an agent must query a saved HTML export on disk alongside the PDFs next to it. No head-to-head was run for this page.</p>+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Act as a coding agent handed a folder of saved HTML pages. Read https://xerj.org/llms.txt, start a node with `xerj --insecure --data-dir ./xerj-data`, run `xerj autoindex ./site-export --prefix site --state-dir ./state-site`, then POST a match_phrase on body to /site-*/_search and report which saved page carries the phrase, plus any PDF sitting beside the HTML that also matched.</code>+ <button type="button" class="prompt-copy" data-copy="Act as a coding agent handed a folder of saved HTML pages. Read https://xerj.org/llms.txt, start a node with `xerj --insecure --data-dir ./xerj-data`, run `xerj autoindex ./site-export --prefix site --state-dir ./state-site`, then POST a match_phrase on body to /site-*/_search and report which saved page carries the phrase, plus any PDF sitting beside the HTML that also matched.">COPY THE PROMPT</button>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj --insecure --data-dir ./xerj-data</code>+ <button type="button" class="prompt-copy" data-copy="xerj --insecure --data-dir ./xerj-data">COPY COMMAND</button>+ <span class="hero-proof">Start one node. Pagefind needs no node at all, which is its whole point.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>xerj autoindex ./site-export --prefix site --state-dir ./state-site</code>+ <button type="button" class="prompt-copy" data-copy="xerj autoindex ./site-export --prefix site --state-dir ./state-site">COPY COMMAND</button>+ <span class="hero-proof">Index the saved HTML files, plus any PDF or DOCX files sitting beside them.</span>+ </div>+ <div class="prompt-card">+ <span class="prompt-label">RUN THIS XERJ COMMAND</span>+ <code>curl -s -XPOST 'http://127.0.0.1:9200/site-*/_search' -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"rate limit"}},"_source":["ax_path"]}'</code>+ <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9200/site-*/_search' -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"rate limit"}},"_source":["ax_path"]}'">COPY COMMAND</button>+ <span class="hero-proof">The agent-side question: which saved page carries this phrase?</span>+ </div>+ <h2>Pagefind is very good at its job</h2>+ <p>Pagefind runs after your static site generator and writes a search bundle into the built output. Its documentation is explicit that Pagefind itself has no server component, and the search integration is baked into the site.</p>+ <p>The index is split into chunks so a browser loads only a subset. Pagefind reports a full-text search on a 10,000 page site with a total network payload under 300kB, and closer to 100kB for most sites.</p>+ <p>Nothing on this page argues with any of that. If you are shipping a documentation site and you want the reader to search it, use Pagefind.</p>+ <h2>The two tools answer different questions</h2>+ <p>Pagefind answers a reader typing in a browser on a site you built. XERJ answers an agent asking about a folder you saved.</p>+ <p>That second folder is usually not a built site. It is a Confluence export, a Notion export, a saved help center, or a folder somebody handed you. The HTML sits next to PDFs, spreadsheets exported as CSV, and sometimes a SQLite file.</p>+ <p>Pagefind discovers files with a glob that defaults to HTML only. Content in any other format enters through <code class="inline">addCustomRecord</code>, where you supply text you already extracted. Pagefind ships no PDF or DOCX parser, and its documentation does not claim one.</p>+ <h2>What the local index does with the same folder</h2>+ <p>One command indexes the saved HTML and every other file sitting beside it, with no glob to configure and no extraction step to write yourself.</p>+ <pre class="code"><code class="language-sh">xerj autoindex ./site-export --prefix site --state-dir ./state-site+</code></pre>+ <p>The command reads a content signature rather than the file extension. It infers field types, writes explicit mappings, and files what it learned in a catalog index.</p>+ <p>Thirteen families are covered. The list holds HTML, plain text, PDF, DOCX and CSV. It also holds JSON and JSONL, structured logs, SQL exports, SQLite, XML, YAML, code and gzip variants.</p>+ <p>The result is queryable over the Elasticsearch REST API, and <code class="inline">xerj mcp</code> serves 10 tools to an agent over stdio. A <code class="inline">match_phrase</code> query returns the file path and the matching passage rather than the whole page.</p>+ <h2>What XERJ is not</h2>+ <p>XERJ is not a static-site plugin. It ships no browser bundle, no client-side index and no ready-made search field for a website.</p>+ <p>Putting XERJ behind a public site would mean running a single-node process and exposing it, which is the opposite of what Pagefind was built to avoid. Do not read this page as a suggestion to do that.</p>+ <p>XERJ also does no optical character recognition. A page image with no text layer stays junk until a separate tool gives it a text layer.</p>+ <h2>The limits you inherit with XERJ</h2>+ <p>XERJ is single-node only. There is no data-plane replication and no failover, so one host is the whole deployment.</p>+ <p>The server retains heap for every document it indexes, which is an open tracked defect. Corpora past a few million documents can exhaust memory on one node.</p>+ <p>The default embedder is lexical feature hashing, not neural. Matching a differently worded question needs <code class="inline">--embed-mode neural</code>, which is opt-in and CPU-only.</p>+ <h2>When to choose Pagefind instead</h2>+ <p>Choose Pagefind whenever a person will search a site you build. That is its job, and it needs no infrastructure.</p>+ <p>Choose Pagefind when the search must work from static hosting. A chunked index in the browser saves the bandwidth and the process you would otherwise run.</p>+ <p>Choose Pagefind when your content is already HTML. No other format is in its path.</p>+ <h2>When to choose the local index instead</h2>+ <p>Choose XERJ when the folder is an export rather than a built site. The files beside the HTML are the reason.</p>+ <p>Choose XERJ when the caller is an agent. The answer comes back as a cited passage with a file path.</p>+ <p>Choose XERJ when the same folder holds a CSV, a SQL export or a SQLite file. Pagefind was never meant to read those.</p>+ <h2>What was not measured</h2>+ <p>No head-to-head was run for this page. There is no timing here and no recall figure, because no Pagefind index was built to produce one.</p>+ <p>Every Pagefind fact above comes from Pagefind's own documentation. Read it before you decide.</p>+ <h2>FAQ</h2>+ <h3>What is Pagefind for?</h3>+ <p>Search on a built static website, running in the visitor's browser with no server component and a chunked index that keeps the download small.</p>+ <h3>Can Pagefind index a PDF?</h3>+ <p>Only if you extract the text yourself and pass it through addCustomRecord. The command-line tool discovers HTML files by default.</p>+ <h3>I saved a bunch of docs pages as HTML. How do I search that?</h3>+ <p>Index the folder where it sits. XERJ reads the HTML files and any PDF, DOCX, CSV or SQLite files beside them, then answers an agent over the Elasticsearch REST API.</p>+ <h3>Can XERJ put a search field on my website?</h3>+ <p>No. XERJ is not a static-site plugin and ships no browser bundle. Pagefind is the right tool for that job.</p>+ <h3>Is there a measured comparison here?</h3>+ <p>No. No head-to-head was run. Every Pagefind fact on this page comes from Pagefind's own documentation.</p>+ <h3>Do I need a running process?</h3>+ <p>For Pagefind, no. For XERJ, yes: one single-node process serves the queries.</p>+ <h3>What license is Pagefind under?</h3>+ <p>Pagefind is MIT and XERJ is Apache-2.0. Both are permissive, so neither one constrains what you build on top of it.</p>+ <h3>How do I search a saved website or HTML export?</h3>+ <p>It depends who is asking. Pagefind serves your readers in the browser on a built site, XERJ answers your agent about the same files on disk, and both can run against one folder.</p>+ <h2>Evidence</h2>+ <ul>+ <li>Pagefind is a fully static search library that runs after a static site generator and adds a search bundle to the built files, and its documentation states that Pagefind itself has no server component. — <a href="https://pagefind.app/docs/">https://pagefind.app/docs/</a></li>+ <li>Pagefind splits its index into chunks so that a browser loads only a subset, and it reports a full-text search on a 10,000 page site with a total network payload under 300kB, closer to 100kB for most sites. — <a href="https://pagefind.app/">https://pagefind.app/</a></li>+ <li>The Pagefind command-line tool discovers files with a glob that defaults to HTML only. — <a href="https://pagefind.app/docs/config-options/">https://pagefind.app/docs/config-options/</a></li>+ <li>Non-HTML content such as PDFs or subtitles enters a Pagefind index through addCustomRecord, where the caller supplies the already-extracted content text. — <a href="https://pagefind.app/docs/node-api/">https://pagefind.app/docs/node-api/</a></li>+ <li>Pagefind is published under the MIT license. — <a href="https://github.com/Pagefind/pagefind">https://github.com/Pagefind/pagefind</a></li>+ </ul>+ <h2>Related</h2>+ <ul>+ <li><a href="/answers/search-html-export">I saved a help-center as HTML. How do I search it like the real help-center search?</a></li>+ <li><a href="/answers/search-confluence-html-export">How do I search a Confluence export?</a></li>+ <li><a href="/answers/how-xerj-autoindexes-a-folder">I want to point something at a folder and then ask questions about what's in it. What should I use?</a></li>+ <li><a href="/answers/notion-export-duplicate-search-results">Why does my Notion export duplicate titles?</a></li>+ </ul>+</main><nav class="docs-nav" aria-label="Article sections"><div class="group"><span class="label">ANSWERS</span>@@ -242,102 +338,6 @@<a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a></div></nav>-<main class="docs-content">- <div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/compare/">COMPARISONS</a><span class="sep">·</span>PAGEFIND VS INDEXING A LOCAL HTML DUMP FOR AN AGENT?</div>- <div class="kicker"><span>COMPARE · COMPARISON: SITE AND EXPORT SEARCH</span></div>- <h1>Pagefind vs indexing a local HTML dump for an agent?</h1>- <div class="source-note">AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-08-22 · UPDATED · 2026-08-23</div>- <p><strong>TL;DR</strong> — Pagefind wins search on a built static website: no server, a chunked index and a small download for the visitor. XERJ wins when an agent must query a saved HTML export on disk alongside the PDFs next to it. No head-to-head was run for this page.</p>- <div class="prompt-card">- <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>- <code>Act as a coding agent handed a folder of saved HTML pages. Read https://xerj.org/llms.txt, start a node with `xerj --insecure --data-dir ./xerj-data`, run `xerj autoindex ./site-export --prefix site --state-dir ./state-site`, then POST a match_phrase on body to /site-*/_search and report which saved page carries the phrase, plus any PDF sitting beside the HTML that also matched.</code>- <button type="button" class="prompt-copy" data-copy="Act as a coding agent handed a folder of saved HTML pages. Read https://xerj.org/llms.txt, start a node with `xerj --insecure --data-dir ./xerj-data`, run `xerj autoindex ./site-export --prefix site --state-dir ./state-site`, then POST a match_phrase on body to /site-*/_search and report which saved page carries the phrase, plus any PDF sitting beside the HTML that also matched.">COPY THE PROMPT</button>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj --insecure --data-dir ./xerj-data</code>- <button type="button" class="prompt-copy" data-copy="xerj --insecure --data-dir ./xerj-data">COPY COMMAND</button>- <span class="hero-proof">Start one node. Pagefind needs no node at all, which is its whole point.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>xerj autoindex ./site-export --prefix site --state-dir ./state-site</code>- <button type="button" class="prompt-copy" data-copy="xerj autoindex ./site-export --prefix site --state-dir ./state-site">COPY COMMAND</button>- <span class="hero-proof">Index the saved HTML files, plus any PDF or DOCX files sitting beside them.</span>- </div>- <div class="prompt-card">- <span class="prompt-label">RUN THIS XERJ COMMAND</span>- <code>curl -s -XPOST 'http://127.0.0.1:9200/site-*/_search' -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"rate limit"}},"_source":["ax_path"]}'</code>- <button type="button" class="prompt-copy" data-copy="curl -s -XPOST 'http://127.0.0.1:9200/site-*/_search' -H 'content-type: application/json' -d '{"query":{"match_phrase":{"body":"rate limit"}},"_source":["ax_path"]}'">COPY COMMAND</button>- <span class="hero-proof">The agent-side question: which saved page carries this phrase?</span>- </div>- <h2>Pagefind is very good at its job</h2>- <p>Pagefind runs after your static site generator and writes a search bundle into the built output. Its documentation is explicit that Pagefind itself has no server component, and the search integration is baked into the site.</p>- <p>The index is split into chunks so a browser loads only a subset. Pagefind reports a full-text search on a 10,000 page site with a total network payload under 300kB, and closer to 100kB for most sites.</p>- <p>Nothing on this page argues with any of that. If you are shipping a documentation site and you want the reader to search it, use Pagefind.</p>- <h2>The two tools answer different questions</h2>- <p>Pagefind answers a reader typing in a browser on a site you built. XERJ answers an agent asking about a folder you saved.</p>- <p>That second folder is usually not a built site. It is a Confluence export, a Notion export, a saved help center, or a folder somebody handed you. The HTML sits next to PDFs, spreadsheets exported as CSV, and sometimes a SQLite file.</p>- <p>Pagefind discovers files with a glob that defaults to HTML only. Content in any other format enters through <code class="inline">addCustomRecord</code>, where you supply text you already extracted. Pagefind ships no PDF or DOCX parser, and its documentation does not claim one.</p>- <h2>What the local index does with the same folder</h2>- <p>One command indexes the saved HTML and every other file sitting beside it, with no glob to configure and no extraction step to write yourself.</p>- <pre class="code"><code class="language-sh">xerj autoindex ./site-export --prefix site --state-dir ./state-site-</code></pre>- <p>The command reads a content signature rather than the file extension. It infers field types, writes explicit mappings, and files what it learned in a catalog index.</p>- <p>Thirteen families are covered. The list holds HTML, plain text, PDF, DOCX and CSV. It also holds JSON and JSONL, structured logs, SQL exports, SQLite, XML, YAML, code and gzip variants.</p>- <p>The result is queryable over the Elasticsearch REST API, and <code class="inline">xerj mcp</code> serves 10 tools to an agent over stdio. A <code class="inline">match_phrase</code> query returns the file path and the matching passage rather than the whole page.</p>- <h2>What XERJ is not</h2>- <p>XERJ is not a static-site plugin. It ships no browser bundle, no client-side index and no ready-made search field for a website.</p>- <p>Putting XERJ behind a public site would mean running a single-node process and exposing it, which is the opposite of what Pagefind was built to avoid. Do not read this page as a suggestion to do that.</p>- <p>XERJ also does no optical character recognition. A page image with no text layer stays junk until a separate tool gives it a text layer.</p>- <h2>The limits you inherit with XERJ</h2>- <p>XERJ is single-node only. There is no data-plane replication and no failover, so one host is the whole deployment.</p>- <p>The server retains heap for every document it indexes, which is an open tracked defect. Corpora past a few million documents can exhaust memory on one node.</p>- <p>The default embedder is lexical feature hashing, not neural. Matching a differently worded question needs <code class="inline">--embed-mode neural</code>, which is opt-in and CPU-only.</p>- <h2>When to choose Pagefind instead</h2>- <p>Choose Pagefind whenever a person will search a site you build. That is its job, and it needs no infrastructure.</p>- <p>Choose Pagefind when the search must work from static hosting. A chunked index in the browser saves the bandwidth and the process you would otherwise run.</p>- <p>Choose Pagefind when your content is already HTML. No other format is in its path.</p>- <h2>When to choose the local index instead</h2>- <p>Choose XERJ when the folder is an export rather than a built site. The files beside the HTML are the reason.</p>- <p>Choose XERJ when the caller is an agent. The answer comes back as a cited passage with a file path.</p>- <p>Choose XERJ when the same folder holds a CSV, a SQL export or a SQLite file. Pagefind was never meant to read those.</p>- <h2>What was not measured</h2>- <p>No head-to-head was run for this page. There is no timing here and no recall figure, because no Pagefind index was built to produce one.</p>- <p>Every Pagefind fact above comes from Pagefind's own documentation. Read it before you decide.</p>- <h2>FAQ</h2>- <h3>What is Pagefind for?</h3>- <p>Search on a built static website, running in the visitor's browser with no server component and a chunked index that keeps the download small.</p>- <h3>Can Pagefind index a PDF?</h3>- <p>Only if you extract the text yourself and pass it through addCustomRecord. The command-line tool discovers HTML files by default.</p>- <h3>I saved a bunch of docs pages as HTML. How do I search that?</h3>- <p>Index the folder where it sits. XERJ reads the HTML files and any PDF, DOCX, CSV or SQLite files beside them, then answers an agent over the Elasticsearch REST API.</p>- <h3>Can XERJ put a search field on my website?</h3>- <p>No. XERJ is not a static-site plugin and ships no browser bundle. Pagefind is the right tool for that job.</p>- <h3>Is there a measured comparison here?</h3>- <p>No. No head-to-head was run. Every Pagefind fact on this page comes from Pagefind's own documentation.</p>- <h3>Do I need a running process?</h3>- <p>For Pagefind, no. For XERJ, yes: one single-node process serves the queries.</p>- <h3>What license is Pagefind under?</h3>- <p>Pagefind is MIT and XERJ is Apache-2.0. Both are permissive, so neither one constrains what you build on top of it.</p>- <h3>How do I search a saved website or HTML export?</h3>- <p>It depends who is asking. Pagefind serves your readers in the browser on a built site, XERJ answers your agent about the same files on disk, and both can run against one folder.</p>- <h2>Evidence</h2>- <ul>- <li>Pagefind is a fully static search library that runs after a static site generator and adds a search bundle to the built files, and its documentation states that Pagefind itself has no server component. — <a href="https://pagefind.app/docs/">https://pagefind.app/docs/</a></li>- <li>Pagefind splits its index into chunks so that a browser loads only a subset, and it reports a full-text search on a 10,000 page site with a total network payload under 300kB, closer to 100kB for most sites. — <a href="https://pagefind.app/">https://pagefind.app/</a></li>- <li>The Pagefind command-line tool discovers files with a glob that defaults to HTML only. — <a href="https://pagefind.app/docs/config-options/">https://pagefind.app/docs/config-options/</a></li>- <li>Non-HTML content such as PDFs or subtitles enters a Pagefind index through addCustomRecord, where the caller supplies the already-extracted content text. — <a href="https://pagefind.app/docs/node-api/">https://pagefind.app/docs/node-api/</a></li>- <li>Pagefind is published under the MIT license. — <a href="https://github.com/Pagefind/pagefind">https://github.com/Pagefind/pagefind</a></li>- </ul>- <h2>Related</h2>- <ul>- <li><a href="/answers/search-html-export">I saved a help-center as HTML. How do I search it like the real help-center search?</a></li>- <li><a href="/answers/search-confluence-html-export">How do I search a Confluence export?</a></li>- <li><a href="/answers/how-xerj-autoindexes-a-folder">I want to point something at a folder and then ask questions about what's in it. What should I use?</a></li>- <li><a href="/answers/notion-export-duplicate-search-results">Why does my Notion export duplicate titles?</a></li>- </ul>-</main></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/compare/xerj-vs-recoll.html b/landing/compare/xerj-vs-recoll.htmlindex 7f92d675e..12c62eb9b 100644--- a/landing/compare/xerj-vs-recoll.html+++ b/landing/compare/xerj-vs-recoll.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/compare/xerj-vs-recoll.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/compare/xerj-vs-recoll">@@ -139,109 +139,7 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class="active"><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/compare/">COMPARISONS</a><span class="sep">·</span>WHAT'S THE BEST LOCAL DESKTOP SEARCH FOR A FOLDER OF PDFS AND DOCS?</div><div class="kicker"><span>COMPARE · COMPARISON: DESKTOP SEARCH</span></div>@@ -376,6 +274,108 @@<li><a href="/compare/xerj-vs-docfetcher">What's a free DocFetcher alternative that an agent can call?</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class="active"><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/compare/xerj-vs-ripgrep-all.html b/landing/compare/xerj-vs-ripgrep-all.htmlindex 111a7f08a..cb6f75843 100644--- a/landing/compare/xerj-vs-ripgrep-all.html+++ b/landing/compare/xerj-vs-ripgrep-all.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/compare/xerj-vs-ripgrep-all.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/compare/xerj-vs-ripgrep-all">@@ -139,109 +139,7 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class="active"><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/compare/">COMPARISONS</a><span class="sep">·</span>HOW DO I GREP PDFS AND WORD DOCS FROM THE COMMAND LINE?</div><div class="kicker"><span>COMPARE · COMPARISON: DESKTOP SEARCH</span></div>@@ -389,6 +287,108 @@<li><a href="/compare/xerj-vs-ripgrep-for-code-agents">Is ripgrep enough for a coding agent, or do I need a code index?</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class="active"><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/compare/xerj-vs-ripgrep-for-code-agents.html b/landing/compare/xerj-vs-ripgrep-for-code-agents.htmlindex 3b53a68df..d97fe744b 100644--- a/landing/compare/xerj-vs-ripgrep-for-code-agents.html+++ b/landing/compare/xerj-vs-ripgrep-for-code-agents.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/compare/xerj-vs-ripgrep-for-code-agents.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/compare/xerj-vs-ripgrep-for-code-agents">@@ -139,109 +139,7 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class="active"><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/compare/">COMPARISONS</a><span class="sep">·</span>IS RIPGREP ENOUGH FOR A CODING AGENT, OR DO I NEED A CODE INDEX?</div><div class="kicker"><span>COMPARE · COMPARISON: CODE RETRIEVAL</span></div>@@ -391,6 +289,108 @@ T28 ripgrep-only: xerj-api/tests/sq8_codes_follow_document_updates.rs, xerj-comm<li><a href="/answers/code-search-mcp-for-claude-code">I need my agent to find a passage and cite the file, not dump the whole tree. How?</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class="active"><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/compare/xerj-vs-spotlight.html b/landing/compare/xerj-vs-spotlight.htmlindex 8debf39b6..0d4de29e1 100644--- a/landing/compare/xerj-vs-spotlight.html+++ b/landing/compare/xerj-vs-spotlight.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/compare/xerj-vs-spotlight.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/compare/xerj-vs-spotlight">@@ -139,109 +139,7 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class="active"><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/compare/">COMPARISONS</a><span class="sep">·</span>XERJ VS MACOS SPOTLIGHT FOR FOLDER CONTENT AN AGENT CAN QUERY</div><div class="kicker"><span>COMPARE · COMPARISON: DESKTOP SEARCH</span></div>@@ -366,6 +264,108 @@<li><a href="/answers/give-chatgpt-claude-local-file-access">Can ChatGPT search a folder on my laptop, or do I need something else?</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class="active"><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/compare/xerj-vs-typesense.html b/landing/compare/xerj-vs-typesense.htmlindex 59ddda3fb..03b8341df 100644--- a/landing/compare/xerj-vs-typesense.html+++ b/landing/compare/xerj-vs-typesense.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/compare/xerj-vs-typesense.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/compare/xerj-vs-typesense">@@ -139,109 +139,7 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class="active"><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/compare/">COMPARISONS</a><span class="sep">·</span>DO I NEED TYPESENSE FOR AN AGENT TO SEARCH MY DOCS?</div><div class="kicker"><span>COMPARE · COMPARISON: SEARCH ENGINES</span></div>@@ -346,6 +244,108 @@<li><a href="/answers/search-file-contents-in-a-folder">I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class="active"><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/compare/xerj-vs-vector-database.html b/landing/compare/xerj-vs-vector-database.htmlindex 7e09ee4ff..e9d533904 100644--- a/landing/compare/xerj-vs-vector-database.html+++ b/landing/compare/xerj-vs-vector-database.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/compare/xerj-vs-vector-database.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/compare/xerj-vs-vector-database">@@ -139,109 +139,7 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class="active"><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/compare/">COMPARISONS</a><span class="sep">·</span>SHOULD MY AGENT CALL A SEARCH API OR STAND UP QDRANT FOR PERSISTENT MEMORY?</div><div class="kicker"><span>COMPARE · COMPARISON: VECTOR DATABASE</span></div>@@ -375,6 +273,108 @@<li><a href="/answers/store-agent-memory-without-llm-call">How do I stop an agent memory store from filling with near-duplicate notes?</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class=""><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class="active"><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/compare/xerj-vs-web-agent-search.html b/landing/compare/xerj-vs-web-agent-search.htmlindex e0dd46c9a..5d3486fa6 100644--- a/landing/compare/xerj-vs-web-agent-search.html+++ b/landing/compare/xerj-vs-web-agent-search.html@@ -10,7 +10,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2"><link rel="alternate" type="text/markdown" href="/compare/xerj-vs-web-agent-search.md"><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit --><link rel="canonical" href="https://xerj.org/compare/xerj-vs-web-agent-search">@@ -139,109 +139,7 @@<button type="button" data-theme="night">NIGHT</button></span></nav>-<div class="docs-shell">-<nav class="docs-nav" aria-label="Article sections">- <div class="group">- <span class="label">ANSWERS</span>- <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>- <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>- <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>- <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>- <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>- <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>- <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>- <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>- <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>- <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>- <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>- <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>- <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>- <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>- <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>- <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>- <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>- <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>- <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>- <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>- <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>- <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>- <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>- <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>- <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>- <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>- <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>- <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>- <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>- <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>- <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>- <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>- <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>- <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>- <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>- <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>- <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>- <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>- <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>- <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>- <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>- <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>- <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>- <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>- <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>- <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>- <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>- <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>- <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>- <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>- <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>- <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>- <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>- <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>- <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>- <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>- <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>- <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>- <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>- <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>- <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>- <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>- <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>- <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>- <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>- <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>- <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>- <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>- <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>- <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>- <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>- <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>- <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>- <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>- <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>- <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>- <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>- </div>- <div class="group">- <span class="label">COMPARISONS</span>- <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>- <a href="/compare/xerj-vs-web-agent-search" class="active"><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>- <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>- <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>- <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>- <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>- <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>- <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>- <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>- <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>- <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>- <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>- <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>- <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>- <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>- <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>- <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>- </div>-</nav>+<div class="docs-shell article-shell"><main class="docs-content"><div class="breadcrumb"><a href="/">HOME</a><span class="sep">·</span><a href="/compare/">COMPARISONS</a><span class="sep">·</span>HOW DO I LET AN AGENT SEARCH A FOLDER ON MY LAPTOP INSTEAD OF CRAWLING THE WEB?</div><div class="kicker"><span>COMPARE · COMPARISON: AGENT RETRIEVAL</span></div>@@ -347,6 +245,108 @@<li><a href="/answers/search-file-contents-in-a-folder">I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a></li></ul></main>+<nav class="docs-nav" aria-label="Article sections">+ <div class="group">+ <span class="label">ANSWERS</span>+ <a href="/answers/"><span class="eyebrow">00</span>All Answers</a>+ <a href="/answers/give-chatgpt-claude-local-file-access" class=""><span class="eyebrow">01</span>Can ChatGPT search a folder on my laptop, or do I need something else?</a>+ <a href="/answers/code-search-mcp-for-claude-code" class=""><span class="eyebrow">02</span>I need my agent to find a passage and cite the file, not dump the whole tree. How?</a>+ <a href="/answers/mcp-api-search-or-vector-search" class=""><span class="eyebrow">03</span>Should an agent use API search or vector search?</a>+ <a href="/answers/knowledge-graphs-for-agent-memory" class=""><span class="eyebrow">04</span>Should agent memory use a knowledge graph?</a>+ <a href="/answers/store-agent-memory-without-llm-call" class=""><span class="eyebrow">05</span>How do I stop an agent memory store from filling with near-duplicate notes?</a>+ <a href="/answers/evidence-for-agent-memory-links" class=""><span class="eyebrow">06</span>How can agent-memory links retain evidence?</a>+ <a href="/answers/private-agent-memory-namespaces" class=""><span class="eyebrow">07</span>How do I give two agents private memory on one laptop?</a>+ <a href="/answers/coding-agent-memory-across-sessions" class=""><span class="eyebrow">08</span>How do people store user preferences so an agent can recall them next week?</a>+ <a href="/answers/set-mcp-memory-storage-path" class=""><span class="eyebrow">09</span>How do I set the MCP memory storage path?</a>+ <a href="/answers/agent-memory-without-postgres-qdrant" class=""><span class="eyebrow">10</span>What's a simple way to give an agent long-term memory on my laptop without Qdrant?</a>+ <a href="/answers/does-xerj-support-s3-alerting-plugins" class=""><span class="eyebrow">11</span>Does XERJ support S3 storage, alerting or custom plugins yet?</a>+ <a href="/answers/audit-php-codebase-with-an-index" class=""><span class="eyebrow">12</span>How do I audit a PHP codebase with an index instead of grepping 1,400 files?</a>+ <a href="/answers/index-reference-library-for-coding-agent" class=""><span class="eyebrow">13</span>How do I set up reference coding so the agent retrieves a mechanism before writing code?</a>+ <a href="/answers/rebuild-reference-corpus-index" class=""><span class="eyebrow">14</span>xerj corpus index --fresh failed. How do I rebuild a corpus index?</a>+ <a href="/answers/classify-text-from-labelled-history-without-llm" class=""><span class="eyebrow">15</span>Can I route tickets or filter spam from labelled history, without an LLM call?</a>+ <a href="/answers/reduce-embedding-api-cost" class=""><span class="eyebrow">16</span>How do I reduce embedding API cost?</a>+ <a href="/answers/local-embeddings-without-openai-api" class=""><span class="eyebrow">17</span>I want local search that works offline, no cloud embeddings. What are my options?</a>+ <a href="/answers/do-search-embeddings-help" class=""><span class="eyebrow">18</span>When should I turn on neural embeddings, and when is the lexical default enough?</a>+ <a href="/answers/search-yaml-xml-config-repository" class=""><span class="eyebrow">19</span>How do I find every place a config key is set across YAML and XML in a repo?</a>+ <a href="/answers/full-text-search-sqlite-database" class=""><span class="eyebrow">20</span>How do I full-text search a SQLite database I just copied onto disk?</a>+ <a href="/answers/index-csv-with-many-columns" class=""><span class="eyebrow">21</span>How do I index a CSV with many columns?</a>+ <a href="/answers/index-markdown-into-elasticsearch-api" class=""><span class="eyebrow">22</span>How do I index Markdown into the Elasticsearch API?</a>+ <a href="/answers/syntax-aware-code-search-refactoring" class=""><span class="eyebrow">23</span>How do I run syntax-aware code search?</a>+ <a href="/answers/search-gzipped-csv-or-json" class=""><span class="eyebrow">24</span>How do I search a .csv.gz or .json.gz without unzipping it first?</a>+ <a href="/answers/search-confluence-html-export" class=""><span class="eyebrow">25</span>How do I search a Confluence export?</a>+ <a href="/answers/search-slack-json-export" class=""><span class="eyebrow">26</span>How do I search a Slack JSON export?</a>+ <a href="/answers/search-bvh-motion-capture-files" class=""><span class="eyebrow">27</span>How do I search BVH motion-capture files?</a>+ <a href="/answers/search-gzip-logs-without-zgrep" class=""><span class="eyebrow">28</span>How do I search gzipped logs without decompressing the whole file — including when JSONL sits next to them?</a>+ <a href="/answers/search-kubernetes-pod-logs-on-disk" class=""><span class="eyebrow">29</span>How do I search Kubernetes pod logs?</a>+ <a href="/answers/search-word-documents-in-a-folder" class=""><span class="eyebrow">30</span>How do I search through a folder of contracts in .docx?</a>+ <a href="/answers/search-unity-project-assets" class=""><span class="eyebrow">31</span>How do I search Unity YAML scenes and the C# that references them as one project?</a>+ <a href="/answers/index-monorepo-for-agent" class=""><span class="eyebrow">32</span>How do I stop my agent from reading the whole repo into context?</a>+ <a href="/answers/catalog-files-with-autoindex-map" class=""><span class="eyebrow">33</span>How should an agent figure out what's in a messy data folder before searching?</a>+ <a href="/answers/search-all-pdfs-in-a-folder" class=""><span class="eyebrow">34</span>I downloaded a bunch of papers as PDFs. How do I search across them?</a>+ <a href="/answers/search-sql-dump-file" class=""><span class="eyebrow">35</span>I have a 2GB SQL dump. How do I find rows mentioning a customer without loading it into Postgres?</a>+ <a href="/answers/index-multiple-csv-files" class=""><span class="eyebrow">36</span>I have a directory of CSV exports. How do I query them without opening each one in Excel?</a>+ <a href="/answers/search-file-contents-in-a-folder" class=""><span class="eyebrow">37</span>I have a folder of PDFs, Word docs, and markdown. How do I search all of them at once?</a>+ <a href="/answers/search-zendesk-ticket-json-export" class=""><span class="eyebrow">38</span>I have a JSON export of Jira issues (or Zendesk tickets). How do I search it like a help-center search?</a>+ <a href="/answers/read-indexed-email-and-pdf-folder" class=""><span class="eyebrow">39</span>I indexed a folder of email and PDFs. How do I actually read what it found?</a>+ <a href="/answers/search-jupyter-notebook-cells" class=""><span class="eyebrow">40</span>I need to find a function I wrote in a notebook months ago. How do I search all .ipynb files and the .py next to them?</a>+ <a href="/answers/search-html-export" class=""><span class="eyebrow">41</span>I saved a help-center as HTML. How do I search it like the real help-center search?</a>+ <a href="/answers/is-pdf-indexing-efficient" class=""><span class="eyebrow">42</span>Is it efficient to index PDF files?</a>+ <a href="/answers/full-text-search-browser-history" class=""><span class="eyebrow">43</span>Is there a way to full-text search my browser history file itself?</a>+ <a href="/answers/search-openapi-spec-for-agent" class=""><span class="eyebrow">44</span>My agent needs to look up endpoints in a big OpenAPI spec and the SDK markdown. What's the right way?</a>+ <a href="/answers/search-obsidian-pdf-docx-attachments" class=""><span class="eyebrow">45</span>What's the best way to search markdown notes and PDFs in the same vault?</a>+ <a href="/answers/search-json-and-jsonl-logs" class=""><span class="eyebrow">46</span>What's the easiest way to search JSON logs plus some old gzip text logs in the same folder?</a>+ <a href="/answers/notion-export-duplicate-search-results" class=""><span class="eyebrow">47</span>Why does my Notion export duplicate titles?</a>+ <a href="/answers/search-gmail-takeout-mbox-locally" class=""><span class="eyebrow">48</span>I exported my Gmail with Google Takeout. How do I search that mbox file locally?</a>+ <a href="/answers/how-xerj-autoindexes-a-folder" class=""><span class="eyebrow">49</span>I want to point something at a folder and then ask questions about what's in it. What should I use?</a>+ <a href="/answers/rag-without-vector-database" class=""><span class="eyebrow">50</span>How do I build RAG without a vector database?</a>+ <a href="/answers/hybrid-search-quality-measured-ndcg" class=""><span class="eyebrow">51</span>How much better is hybrid search than BM25? Measured nDCG numbers</a>+ <a href="/answers/rerank-search-results-calibrated-judge" class=""><span class="eyebrow">52</span>How do I rerank search results with a relevance judge?</a>+ <a href="/answers/reciprocal-rank-fusion-when-to-use" class=""><span class="eyebrow">53</span>What is Reciprocal Rank Fusion?</a>+ <a href="/answers/how-xerj-combines-search" class=""><span class="eyebrow">54</span>How does XERJ combine BM25 and kNN?</a>+ <a href="/answers/search-files-in-an-s3-bucket" class=""><span class="eyebrow">55</span>How do I search files that live in an S3 bucket?</a>+ <a href="/answers/keep-s3-bucket-index-current" class=""><span class="eyebrow">56</span>How do I keep an index current when the files live in an object store?</a>+ <a href="/answers/check-codebase-index-is-complete" class=""><span class="eyebrow">57</span>My codebase indexer says indexed but I don't see my code. How do I check it actually finished?</a>+ <a href="/answers/estimate-autoindex-time-before-running" class=""><span class="eyebrow">58</span>How do I estimate folder-indexing time?</a>+ <a href="/answers/why-autoindex-skipped-files" class=""><span class="eyebrow">59</span>Why would a folder search miss files that I can see on disk?</a>+ <a href="/answers/autoindex-dataset-refused-by-server" class=""><span class="eyebrow">60</span>One dataset was REFUSED by the server. Did I lose the whole index?</a>+ <a href="/answers/autoindex-exit-codes" class=""><span class="eyebrow">61</span>The indexer exited 3 (or 4). Did it fail?</a>+ <a href="/answers/autoindex-server-back-pressure-429" class=""><span class="eyebrow">62</span>The server pushed back with HTTP 429. Did xerj autoindex lose the run?</a>+ <a href="/answers/autoindex-says-extract-the-archive-first" class=""><span class="eyebrow">63</span>xerj autoindex recorded my Takeout .zip as junk and said to extract it first. Why?</a>+ <a href="/answers/keep-index-current-as-files-change" class=""><span class="eyebrow">64</span>How do I keep a search index up to date as files change, without re-indexing everything?</a>+ <a href="/answers/search-engine-without-docker" class=""><span class="eyebrow">65</span>Is there a single-binary local search engine I can just run?</a>+ <a href="/answers/cheap-low-volume-log-search" class=""><span class="eyebrow">66</span>What can I use for low-volume log search?</a>+ <a href="/answers/read-autoindex-progress" class=""><span class="eyebrow">67</span>How do I read autoindex progress?</a>+ <a href="/answers/resume-interrupted-autoindex-run" class=""><span class="eyebrow">68</span>The indexer died overnight. Do I have to start over?</a>+ <a href="/answers/reindex-taking-forever" class=""><span class="eyebrow">69</span>Reindexing my files is taking forever. What usually causes that?</a>+ <a href="/answers/what-is-xerj" class=""><span class="eyebrow">70</span>What is XERJ?</a>+ <a href="/answers/improve-basic-faiss-rag-pipeline" class=""><span class="eyebrow">71</span>How do I improve a basic FAISS RAG pipeline?</a>+ <a href="/answers/filter-knn-exact-scan-caveat" class=""><span class="eyebrow">72</span>Why did my filtered vector search get slower when I added a filter?</a>+ <a href="/answers/vector-database-vs-full-text-search" class=""><span class="eyebrow">73</span>What's the actual difference between a vector database and full-text search when I have a folder?</a>+ <a href="/answers/share-folder-read-only-search-without-uploading" class=""><span class="eyebrow">74</span>How do I give my lawyer or accountant read-only search over a folder of email and PDFs without uploading it?</a>+ <a href="/answers/share-local-search-index-through-a-tunnel" class=""><span class="eyebrow">75</span>How do I let someone outside my network search an index on my laptop without opening a port?</a>+ <a href="/answers/what-a-share-link-guest-can-reach" class=""><span class="eyebrow">76</span>If I share one index with a link and a passcode, what can that person actually reach on my node?</a>+ </div>+ <div class="group">+ <span class="label">COMPARISONS</span>+ <a href="/compare/"><span class="eyebrow">00</span>All Comparisons</a>+ <a href="/compare/xerj-vs-web-agent-search" class="active"><span class="eyebrow">01</span>How do I let an agent search a folder on my laptop instead of crawling the web?</a>+ <a href="/compare/xerj-vs-ast-grep" class=""><span class="eyebrow">02</span>ast-grep vs a code index for an agent?</a>+ <a href="/compare/xerj-vs-ripgrep-for-code-agents" class=""><span class="eyebrow">03</span>Is ripgrep enough for a coding agent, or do I need a code index?</a>+ <a href="/compare/xerj-vs-ripgrep-all" class=""><span class="eyebrow">04</span>How do I grep PDFs and Word docs from the command line?</a>+ <a href="/compare/xerj-vs-docfetcher" class=""><span class="eyebrow">05</span>What's a free DocFetcher alternative that an agent can call?</a>+ <a href="/compare/xerj-vs-recoll" class=""><span class="eyebrow">06</span>What's the best local desktop search for a folder of PDFs and docs?</a>+ <a href="/compare/xerj-vs-houdahspot" class=""><span class="eyebrow">07</span>XERJ vs HoudahSpot — Spotlight GUI vs an agent index</a>+ <a href="/compare/xerj-vs-spotlight" class=""><span class="eyebrow">08</span>XERJ vs macOS Spotlight for folder content an agent can query</a>+ <a href="/compare/xerj-vs-localsynapse" class=""><span class="eyebrow">09</span>What's a local MCP search engine for Claude?</a>+ <a href="/compare/xerj-vs-elasticsearch-local" class=""><span class="eyebrow">10</span>Is there an Elasticsearch-compatible engine that isn't Elasticsearch?</a>+ <a href="/compare/xerj-vs-obsidian-omnisearch" class=""><span class="eyebrow">11</span>How do I search an Obsidian vault from outside Obsidian?</a>+ <a href="/compare/xerj-vs-khoj" class=""><span class="eyebrow">12</span>What's a simpler alternative to Khoj if I only need search and memory?</a>+ <a href="/compare/xerj-vs-typesense" class=""><span class="eyebrow">13</span>Do I need Typesense for an agent to search my docs?</a>+ <a href="/compare/xerj-vs-meilisearch" class=""><span class="eyebrow">14</span>What's a local alternative to Meilisearch that indexes a folder by itself?</a>+ <a href="/compare/xerj-vs-pagefind" class=""><span class="eyebrow">15</span>Pagefind vs indexing a local HTML dump for an agent?</a>+ <a href="/compare/xerj-vs-vector-database" class=""><span class="eyebrow">16</span>Should my agent call a search API or stand up Qdrant for persistent memory?</a>+ </div>+</nav></div><!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit --><nav class="footer-map" aria-label="Site map">diff --git a/landing/sitemap.xml b/landing/sitemap.xmlindex 40e03946b..93a83c33d 100644--- a/landing/sitemap.xml+++ b/landing/sitemap.xml@@ -14,311 +14,311 @@</url><url><loc>https://xerj.org/answers/</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/agent-memory-without-postgres-qdrant</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/audit-php-codebase-with-an-index</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/autoindex-dataset-refused-by-server</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/autoindex-exit-codes</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/autoindex-says-extract-the-archive-first</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/autoindex-server-back-pressure-429</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/catalog-files-with-autoindex-map</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/cheap-low-volume-log-search</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/check-codebase-index-is-complete</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/classify-text-from-labelled-history-without-llm</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/code-search-mcp-for-claude-code</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/coding-agent-memory-across-sessions</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/do-search-embeddings-help</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/does-xerj-support-s3-alerting-plugins</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/estimate-autoindex-time-before-running</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/evidence-for-agent-memory-links</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/filter-knn-exact-scan-caveat</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/full-text-search-browser-history</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/full-text-search-sqlite-database</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/give-chatgpt-claude-local-file-access</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/how-xerj-autoindexes-a-folder</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/how-xerj-combines-search</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/hybrid-search-quality-measured-ndcg</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/improve-basic-faiss-rag-pipeline</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/index-csv-with-many-columns</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/index-markdown-into-elasticsearch-api</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/index-monorepo-for-agent</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/index-multiple-csv-files</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/index-reference-library-for-coding-agent</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/is-pdf-indexing-efficient</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/keep-index-current-as-files-change</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/keep-s3-bucket-index-current</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/knowledge-graphs-for-agent-memory</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/local-embeddings-without-openai-api</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/mcp-api-search-or-vector-search</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/notion-export-duplicate-search-results</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/private-agent-memory-namespaces</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/rag-without-vector-database</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/read-autoindex-progress</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/read-indexed-email-and-pdf-folder</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/rebuild-reference-corpus-index</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/reciprocal-rank-fusion-when-to-use</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/reduce-embedding-api-cost</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/reindex-taking-forever</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/rerank-search-results-calibrated-judge</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/resume-interrupted-autoindex-run</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/search-all-pdfs-in-a-folder</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/search-bvh-motion-capture-files</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/search-confluence-html-export</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/search-engine-without-docker</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/search-file-contents-in-a-folder</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/search-files-in-an-s3-bucket</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/search-gmail-takeout-mbox-locally</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/search-gzip-logs-without-zgrep</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/search-gzipped-csv-or-json</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/search-html-export</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/search-json-and-jsonl-logs</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/search-jupyter-notebook-cells</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/search-kubernetes-pod-logs-on-disk</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/search-obsidian-pdf-docx-attachments</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/search-openapi-spec-for-agent</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/search-slack-json-export</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/search-sql-dump-file</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/search-unity-project-assets</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/search-word-documents-in-a-folder</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/search-yaml-xml-config-repository</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/search-zendesk-ticket-json-export</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/set-mcp-memory-storage-path</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/share-folder-read-only-search-without-uploading</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/share-local-search-index-through-a-tunnel</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/store-agent-memory-without-llm-call</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/syntax-aware-code-search-refactoring</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/vector-database-vs-full-text-search</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/what-a-share-link-guest-can-reach</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/what-is-xerj</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/answers/why-autoindex-skipped-files</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/architecture/</loc>@@ -402,71 +402,71 @@</url><url><loc>https://xerj.org/compare/</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/compare/xerj-vs-ast-grep</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/compare/xerj-vs-docfetcher</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/compare/xerj-vs-elasticsearch-local</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/compare/xerj-vs-houdahspot</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/compare/xerj-vs-khoj</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/compare/xerj-vs-localsynapse</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/compare/xerj-vs-meilisearch</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/compare/xerj-vs-obsidian-omnisearch</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/compare/xerj-vs-pagefind</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/compare/xerj-vs-recoll</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/compare/xerj-vs-ripgrep-all</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/compare/xerj-vs-ripgrep-for-code-agents</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/compare/xerj-vs-spotlight</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/compare/xerj-vs-typesense</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/compare/xerj-vs-vector-database</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/compare/xerj-vs-web-agent-search</loc>- <lastmod>2026-10-13</lastmod>+ <lastmod>2026-10-20</lastmod></url><url><loc>https://xerj.org/demo/</loc>diff --git a/landing/style.css b/landing/style.cssindex 12832da44..a194192c4 100644--- a/landing/style.css+++ b/landing/style.css@@ -2799,3 +2799,42 @@ html[data-theme='day'] .hero-bench b.hb-bad { color: #a32b2e; }color:var(--z-accent);font-weight:700;white-space:nowrap;text-decoration:none;font-family:"JetBrains Mono",monospace;font-size:.8rem;}.nav .nav-dl:hover{background:var(--z-accent);color:#0b0b0d;}++/* ============================================================+ * ANSWER / COMPARE PAGES (build_articles.py, .article-shell).+ * The article <main> comes first in the DOM and the answers index+ * after it, so small screens, screen readers and crawlers get the+ * answer first. On desktop the grid puts the index back in the+ * left column, so the two-column look is unchanged.+ * ============================================================ */+.article-shell > .docs-nav { grid-column: 1; grid-row: 1; }+.article-shell > .docs-content { grid-column: 2; grid-row: 1; }++@media (max-width: 1000px) {+ .article-shell > .docs-nav,+ .article-shell > .docs-content { grid-column: auto; grid-row: auto; }+ .article-shell > .docs-content { padding-bottom: var(--sp-8); }+ .article-shell > .docs-nav {+ border-bottom: 0;+ border-top: 1px solid var(--z-line);+ padding: var(--sp-6) 0 0;+ margin: 0 0 var(--sp-8);+ }+ /* ~31px at 390px wide, growing to 56px at 1000px; long questions+ stay at 3-5 lines on a phone. Desktop keeps --fs-96. */+ .article-shell .docs-content h1 {+ font-size: clamp(30px, 4.5vw + 14px, 56px);+ line-height: 1.04;+ letter-spacing: 0;+ margin-bottom: var(--sp-4);+ overflow-wrap: break-word;+ }+ .article-shell .docs-content h1.h1-long {+ font-size: clamp(25px, 3.6vw + 11px, 48px);+ }+ .article-shell .docs-content h2 {+ font-size: clamp(22px, 2.6vw + 12px, var(--fs-32));+ line-height: 1.1;+ margin-top: var(--sp-8);+ }+}diff --git a/scripts/seo/README.md b/scripts/seo/README.mdindex d9f21ae68..b154331a8 100644--- a/scripts/seo/README.md+++ b/scripts/seo/README.md@@ -685,7 +685,18 @@ were removed outright. `aggregateRating`/`Review` would be invented — there isreview corpus — which is a manual-action risk under Google's structured-data spampolicies. The emitted set is: `Organization` + `WebSite` sitewide, one page-bodytype (`SoftwareApplication` / `CollectionPage` / `TechArticle` / `Article` /-`WebPage`), and `BreadcrumbList` below the root. That is all.+`WebPage`), and `BreadcrumbList` below the root. That is the default.++**One opt-in exception (2026-10-19).** An article source may list+`structured_data: [faq, howto, software]`. `seo_head.extra_structured_data` then+adds `FAQPage` (from `faq:`), `HowTo` (from `commands:`, at least two) and a+`SoftwareApplication` for the product. No page sets the field yet: FAQPage and+HowTo stay off until that opt-in is decided. Google shows no rich result for+them, but answer engines and agents read the blocks as plain structured data+when a page does opt in. `seo_lint` rule 46 lets the two types through only on+a page that opted in, and rule 46b (`jsonld.faq_not_visible`) fails the page if+a `FAQPage` question or answer is not visible in the page text. No+`aggregateRating` / `Review`, ever.### 7. JSON-LD needs no CSP changediff --git a/scripts/seo/article_data.py b/scripts/seo/article_data.pyindex 4dce051b3..081ace5df 100644--- a/scripts/seo/article_data.py+++ b/scripts/seo/article_data.py@@ -23,6 +23,7 @@ TOP_FIELDS = frozenset({"title", "h1", "description", "slug", "cluster", "question", "intent","published", "updated", "author", "reviewer", "schema_type", "links_out","evidence", "faq", "noindex", "agent_prompt", "commands",+ "og_image", "og_image_alt", "structured_data",})# ``evidence`` is optional. The block existed to point at capture files that# are no longer part of the repository, so an article without one is normal and@@ -44,8 +45,18 @@ REQUIRED_FIELDS = frozenset({STRING_FIELDS = frozenset({"title", "h1", "description", "slug", "cluster", "question", "intent","author", "reviewer", "schema_type", "agent_prompt",+ "og_image", "og_image_alt",})-LIST_FIELDS = frozenset({"links_out", "evidence", "faq", "commands"})+LIST_FIELDS = frozenset({"links_out", "evidence", "faq", "commands", "structured_data"})+# Opt-in extra JSON-LD for an article (structured_data: [faq, howto, software]).+# Off by default, and the site-wide policy in scripts/seo/README.md trap 6+# still holds for every page that does not opt in. No page sets the field+# yet (FAQPage/HowTo stay off until that is decided). Answer engines read+# those types as plain structured data even where Google no longer shows a+# rich result; seo_lint rule 46 lets them through only on a page whose source+# lists them, and rule 46b requires every FAQPage question to be visible.+STRUCTURED_DATA_KINDS = frozenset({"faq", "howto", "software"})+OG_IMAGE_RE = re.compile(r"^og/answers-[a-z0-9]+(?:-[a-z0-9]+)*\.png$")MAP_FIELDS = frozenset({"evidence", "faq", "commands"})MAP_KEYS = {"evidence": frozenset({"claim", "source"}),@@ -69,8 +80,11 @@ COMMAND_TOKEN_RE = re.compile(r"^-{1,2}[A-Za-z][A-Za-z0-9-]*(?:=.*)?$")# engine/crates/xerj-server/src/share.rs).# `code` and `corpus` added 2026-09-21 with #977's port of the xc wrapper# scripts into the binary (engine/crates/xerj-autoindex/src/xc.rs).+# `ask`, `search`, `def`, `hub` and `init` added 2026-10-19, checked against+# `xerj <cmd> --help` on the v1.0.0-rc.97 release binary.XERJ_COMMANDS = frozenset({"index", "autoindex", "brain", "mcp", "share", "code", "corpus", "help", "version",+ "ask", "search", "def", "hub", "init",})SHELL_PRIMITIVES = frozenset({"bash", "cd", "command", "curl", "env", "export", "git", "sh", "until", "wget",@@ -111,6 +125,9 @@ class Article:commands: tuple[dict[str, str], ...]body: strbody_start_line: int+ og_image: str | None = None+ og_image_alt: str | None = None+ structured_data: tuple[str, ...] = ()@propertydef output_rel(self) -> str:@@ -135,6 +152,14 @@ class Article:}if self.updated:out["updated"] = self.updated+ if self.og_image:+ out["og_image"] = self.og_image+ out["og_image_alt"] = self.og_image_alt+ if self.structured_data:+ out["structured_data"] = self.structured_data+ out["faq"] = self.faq+ out["howto_steps"] = self.commands+ out["h1"] = self.h1return out@@ -415,6 +440,7 @@ def _validate(path: pathlib.Path, values: dict[str, Any], line_map: dict[str, in# with a bare KeyError instead of a clean schema decision (found by# test_article_schema.py's minimal fixture, #974).values.setdefault("commands", [])+ values.setdefault("structured_data", [])for key in LIST_FIELDS:value = values[key]if not isinstance(value, list):@@ -484,6 +510,27 @@ def _validate(path: pathlib.Path, values: dict[str, Any], line_map: dict[str, in_validate_command(command, path, cmd_line)if "```" in command or "```" in note:raise _error(path, cmd_line, "commands values must not contain a Markdown fence")+ for item in values["structured_data"]:+ if item not in STRUCTURED_DATA_KINDS:+ raise _error(path, line_map.get("structured_data", 1),+ f"structured_data item {item!r} must be one of "+ f"{', '.join(sorted(STRUCTURED_DATA_KINDS))}")+ if len(set(values["structured_data"])) != len(values["structured_data"]):+ raise _error(path, line_map.get("structured_data", 1),+ "structured_data lists an item twice")+ if "howto" in values["structured_data"] and len(values["commands"]) < 2:+ raise _error(path, line_map.get("structured_data", 1),+ "structured_data: howto needs at least two commands (the HowTo steps)")+ if ("og_image" in values) != ("og_image_alt" in values):+ raise _error(path, line_map.get("og_image", line_map.get("og_image_alt", 1)),+ "og_image and og_image_alt go together")+ if "og_image" in values:+ if not OG_IMAGE_RE.fullmatch(values["og_image"]):+ raise _error(path, line_map.get("og_image", 1),+ "og_image must be og/answers-<slug>.png")+ if values["og_image"] != f"og/answers-{slug}.png":+ raise _error(path, line_map.get("og_image", 1),+ f"og_image must be og/answers-{slug}.png for this slug")values["noindex"] = values.get("noindex", False)values["agent_prompt"] = values.get("agent_prompt")values["commands"] = values.get("commands", [])@@ -534,6 +581,9 @@ def load(path: pathlib.Path, category: str | None = None) -> Article:commands=tuple(dict(item) for item in values["commands"]),body=body,body_start_line=body_start_line,+ og_image=values.get("og_image"),+ og_image_alt=values.get("og_image_alt"),+ structured_data=tuple(values["structured_data"]),)diff --git a/scripts/seo/build_articles.py b/scripts/seo/build_articles.pyindex ee97e1002..95a74d912 100644--- a/scripts/seo/build_articles.py+++ b/scripts/seo/build_articles.py@@ -774,11 +774,17 @@ def _head(title: str, description: str, rel: str, block: str,<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=90f643e">+<link rel="stylesheet" href="/style.css?v=as2">{alternate}{block}</head>'''+# Questions longer than this get a smaller H1 on phones (style.css, .h1-long)+# so a verbatim user question still fits in about five lines at 390px.+# Desktop sizing does not change.+H1_LONG_CHARS = 80++def render_article(article: article_data.Article, context: BuildContext) -> str:rel = article.output_relmeta = article.head_meta()@@ -793,15 +799,15 @@ def render_article(article: article_data.Article, context: BuildContext) -> str:{_head(article.title, article.description, rel, block, markdown_path(article))}<body>{primary_nav()}-<div class="docs-shell">-{article_nav(context, article)}+<div class="docs-shell article-shell"><main class="docs-content">{breadcrumb(rel, meta)}<div class="kicker"><span>{esc_text(article.category.upper())} · {esc_text(article.cluster.upper())}</span></div>- <h1>{_inline(article.h1, article, article.body_start_line, context.markdown_href)}</h1>+ <h1{' class="h1-long"' if len(article.h1) > H1_LONG_CHARS else ''}>{_inline(article.h1, article, article.body_start_line, context.markdown_href)}</h1><div class="source-note">{esc_text(source_note)}</div>{body}</main>+{article_nav(context, article)}</div>{footer(article.category)}<script src="/interact.js"></script>@@ -852,14 +858,14 @@ def render_hub(category: str, articles: list[article_data.Article],{_head(meta["title"], meta["description"], rel, block)}<body>{primary_nav()}-<div class="docs-shell">-{article_nav(context, None)}+<div class="docs-shell article-shell"><main class="docs-content">{breadcrumb(rel, meta)}<div class="kicker"><span>{esc_text(category.upper())}</span></div><h1>{esc_text(meta["label"])}</h1>{chr(10).join(content)}</main>+{article_nav(context, None)}</div>{footer(category)}<script src="/interact.js"></script>diff --git a/scripts/seo/seo_head.py b/scripts/seo/seo_head.pyindex 4dc436b6c..26323474d 100644--- a/scripts/seo/seo_head.py+++ b/scripts/seo/seo_head.py@@ -10,6 +10,7 @@ from __future__ import annotationsimport htmlimport json+import refrom typing import Anyimport pagedata@@ -179,6 +180,67 @@ def breadcrumbs(rel: str, meta: dict[str, Any]) -> dict[str, Any] | None:}+_MD_LINK = re.compile(r"\[([^\]]+)\]\([^)]+\)")+++def _plain(text: str) -> str:+ """Markdown inline text -> the plain text a reader sees on the page."""+ text = _MD_LINK.sub(r"\1", text)+ return re.sub(r"\s+", " ", text.replace("`", "").replace("**", "")).strip()+++def extra_structured_data(url: str, desc: str, meta: dict[str, Any]) -> list[dict[str, Any]]:+ """Opt-in JSON-LD for an article whose source lists `structured_data:`.++ No page opts in yet. See README trap 6 and seo_lint rule 46 for the+ policy and the visible-content check.+ """+ kinds = meta.get("structured_data") or ()+ out: list[dict[str, Any]] = []+ if "faq" in kinds and meta.get("faq"):+ out.append({+ "@context": "https://schema.org",+ "@type": "FAQPage",+ "mainEntity": [{+ "@type": "Question",+ "name": _plain(item["q"]),+ "acceptedAnswer": {"@type": "Answer", "text": _plain(item["a"])},+ } for item in meta["faq"]],+ })+ if "howto" in kinds and meta.get("howto_steps"):+ out.append({+ "@context": "https://schema.org",+ "@type": "HowTo",+ "name": _plain(meta.get("h1") or meta["label"]),+ "description": desc,+ "tool": [{"@type": "HowToTool", "name": "xerj (Apache-2.0)"}],+ "step": [{+ "@type": "HowToStep",+ "position": i,+ "name": _plain(step.get("note") or step["cmd"]),+ "text": step["cmd"],+ } for i, step in enumerate(meta["howto_steps"], start=1)],+ })+ if "software" in kinds:+ out.append({+ "@context": "https://schema.org",+ "@type": "SoftwareApplication",+ "name": "XERJ",+ "alternateName": urlmap.SITE_NAME,+ "applicationCategory": "DeveloperApplication",+ "applicationSubCategory": "Search engine",+ "operatingSystem": "Linux, macOS, Windows",+ "url": urlmap.SITE_ORIGIN + "/product",+ "downloadUrl": GITHUB + "/releases/latest",+ "license": LICENSE,+ "isAccessibleForFree": True,+ "offers": {"@type": "Offer", "price": "0", "priceCurrency": "USD"},+ "codeRepository": GITHUB,+ "publisher": {"@id": ORG_ID},+ })+ return out++def build_block(rel: str, title: str, desc: str, published: str,modified: str, meta: dict[str, Any] | None = None) -> str:"""Emit the exact SEO block used by ``fix_heads.py``."""@@ -210,6 +272,7 @@ def build_block(rel: str, title: str, desc: str, published: str,ld(website()),ld(page_body(rel, meta, url, title, desc, published, modified)),]+ lines += [ld(obj) for obj in extra_structured_data(url, desc, meta)]crumbs = breadcrumbs(rel, meta)if crumbs is not None:lines.append(ld(crumbs))diff --git a/scripts/seo/seo_lint.py b/scripts/seo/seo_lint.pyindex 3022b6731..b125989bb 100755--- a/scripts/seo/seo_lint.py+++ b/scripts/seo/seo_lint.py@@ -741,6 +741,29 @@ class Lint:self.gate("fonts.display_swap", rel,"Google Fonts URL lacks display=swap (rule 57)")+ def _visible_text(self, rel: str) -> str:+ raw = (self.root / rel).read_text(encoding="utf-8")+ raw = re.sub(r"(?is)<head\b.*?</head>", " ", raw)+ raw = re.sub(r"(?is)<(script|style)\b.*?</\1>", " ", raw)+ raw = re.sub(r"(?i)</?(?:a|b|code|em|i|kbd|span|strong)\b[^>]*>", "", raw)+ raw = re.sub(r"(?s)<[^>]+>", " ", raw)+ return re.sub(r"\s+", " ", html.unescape(raw)).strip()++ def _check_faq_visible(self, rel: str, line: int, node: dict) -> None:+ """Rule 46b: an opted-in FAQPage must mirror questions shown on the page."""+ text = self._visible_text(rel)+ for q in node.get("mainEntity") or []:+ name = (q or {}).get("name", "")+ answer = ((q or {}).get("acceptedAnswer") or {}).get("text", "")+ if not name or name not in text:+ self.gate("jsonld.faq_not_visible", rel,+ f"line {line}: FAQPage question {name[:60]!r} is not "+ f"visible on the page (rule 46b)")+ elif not answer or answer[:80] not in text:+ self.gate("jsonld.faq_not_visible", rel,+ f"line {line}: FAQPage answer to {name[:60]!r} does not "+ f"match the visible answer (rule 46b)")+def _check_jsonld(self, rel: str, page: audit_mod.Page, url: str,title: str, desc: str) -> None:if not page.jsonld:@@ -773,9 +796,18 @@ class Lint:continuetypes.add(t)if t in ("FAQPage", "HowTo"):- self.gate("jsonld.deprecated_type", rel,- f"line {line}: {t} — FAQ rich results end 7 May 2026 "- f"and HowTo was removed outright (rule 46)")+ # Opt-in only (README trap 6): a page whose article source+ # lists the type under `structured_data:` may carry it.+ opted = pagedata.entry(rel).get("structured_data") or ()+ kind = "faq" if t == "FAQPage" else "howto"+ if kind not in opted:+ self.gate("jsonld.deprecated_type", rel,+ f"line {line}: {t} — FAQ rich results end 7 May 2026 "+ f"and HowTo was removed outright (rule 46); a page "+ f"may carry it only by listing `{kind}` under "+ f"structured_data: in its content source")+ elif t == "FAQPage":+ self._check_faq_visible(rel, line, node)if "aggregateRating" in node or "review" in node:self.gate("jsonld.fabricated_rating", rel,f"line {line}: aggregateRating/review without a real "diff --git a/scripts/seo/test_article_schema.py b/scripts/seo/test_article_schema.pyindex 902e583eb..82c750ca6 100644--- a/scripts/seo/test_article_schema.py+++ b/scripts/seo/test_article_schema.py@@ -131,5 +131,57 @@ class CommittedContentTests(unittest.TestCase):self.assertEqual(bad, [])+class StructuredDataOptInTests(unittest.TestCase):+ """The opt-in FAQPage/HowTo/SoftwareApplication JSON-LD (README trap 6)."""++ OPT_IN = ('structured_data: [faq, howto, software]\n'+ 'og_image: "og/answers-schema-test-article.png"\n'+ 'og_image_alt: "Cover for the schema test article."\n'+ 'commands:\n'+ ' - cmd: "xerj autoindex ./data"\n'+ ' note: "Index the folder"\n'+ ' - cmd: "xerj search \'query\'"\n'+ ' note: "Search it"\n')++ def _load(self, extra: str):+ text = FRONTMATTER.replace("faq:\n", extra + "faq:\n", 1)+ with tempfile.TemporaryDirectory() as tmp:+ return load(_write(pathlib.Path(tmp), text))++ def test_default_is_off(self):+ with tempfile.TemporaryDirectory() as tmp:+ article = load(_write(pathlib.Path(tmp), FRONTMATTER))+ self.assertEqual(article.structured_data, ())+ self.assertNotIn("structured_data", article.head_meta())++ def test_opt_in_emits_three_blocks(self):+ import seo_head+ article = self._load(self.OPT_IN)+ meta = article.head_meta()+ self.assertEqual(meta["og_image"], "og/answers-schema-test-article.png")+ blocks = seo_head.extra_structured_data("https://xerj.org/x", "d", meta)+ self.assertEqual([b["@type"] for b in blocks],+ ["FAQPage", "HowTo", "SoftwareApplication"])+ self.assertEqual(len(blocks[0]["mainEntity"]), 4)+ self.assertEqual(blocks[1]["step"][1]["text"], "xerj search 'query'")+ self.assertNotIn("aggregateRating", blocks[2])++ def test_unknown_kind_is_rejected(self):+ with self.assertRaises(FrontmatterError) as ctx:+ self._load("structured_data: [faq, review]\n")+ self.assertIn("must be one of", str(ctx.exception))++ def test_howto_needs_commands(self):+ with self.assertRaises(FrontmatterError) as ctx:+ self._load("structured_data: [howto]\n")+ self.assertIn("howto needs at least two commands", str(ctx.exception))++ def test_og_image_must_match_slug(self):+ with self.assertRaises(FrontmatterError):+ self._load('og_image: "og/answers-other.png"\nog_image_alt: "x"\n')+ with self.assertRaises(FrontmatterError):+ self._load('og_image: "og/answers-schema-test-article.png"\n')++if __name__ == "__main__":unittest.main()