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
title: "How do I search a folder of EPUB books?" target_format: epub evidence:
- claim: "epub.rs reads each book as one record per chapter in reading order" source: "engine/crates/xerj-autoindex/src/extract/epub.rs"
- claim: "autoindex walks a local filesystem and types each file" source: "engine/crates/xerj-autoindex/src/lib.rs"
How do I search a folder of EPUB books?
Point xerj autoindex at the folder. XERJ reads each .epub as one record
per chapter in reading order on a single-node install, with the chapter title
from the book's table of contents and the book's title and author on every
record.
xerj autoindex ./books
DRM-protected chapters are skipped rather than decrypted, and a book made only of page images is not read, because there is no OCR.