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
feat(xc): add apache/lucene to the xerj-search hub corpus
xerj-org4b528e1cba0c
diff --git a/tools/xerj-code/SKILL.md b/tools/xerj-code/SKILL.mdindex f90378515..06171bf90 100644--- a/tools/xerj-code/SKILL.md+++ b/tools/xerj-code/SKILL.md@@ -48,7 +48,7 @@ at the same commits anyone else is using:| corpus | projects | use it for ||---|---|---|-| `xerj-search` | tantivy, meilisearch, quickwit, sonic, elasticsearch | FTS, BM25, postings, merge policy, typo tolerance, segment layout, ES wire semantics |+| `xerj-search` | lucene, tantivy, meilisearch, quickwit, sonic, elasticsearch | FTS, BM25, postings, merge policy, typo tolerance, segment layout, ES wire semantics || `xerj-vector` | qdrant, usearch, instant-distance, hnswlib | HNSW build, neighbour heuristics, quantisation, filtered kNN || `xerj-storage` | sled, fjall, redb | WAL, flush epochs, crash recovery, compaction, page allocation || `xerj-columnar` | clickhouse | columnar storage, aggregation execution, compression codecs, vectorised scans |diff --git a/tools/xerj-code/hub/README.md b/tools/xerj-code/hub/README.mdindex 60c66a809..a918829fa 100644--- a/tools/xerj-code/hub/README.md+++ b/tools/xerj-code/hub/README.md@@ -10,7 +10,7 @@ tools/xerj-code/scripts/xc-index.sh xerj-storage| corpus | projects | use it for | approx. checkout ||---|---|---|---|-| [`xerj-search`](xerj-search.json) | tantivy, quickwit, meilisearch, sonic, elasticsearch | FTS, BM25, postings, merge policy, typo tolerance, segment layout, ES wire semantics | ~680 MB |+| [`xerj-search`](xerj-search.json) | lucene, tantivy, quickwit, meilisearch, sonic, elasticsearch | FTS, BM25, postings, merge policy, typo tolerance, segment layout, ES wire semantics | ~880 MB || [`xerj-vector`](xerj-vector.json) | qdrant, usearch, instant-distance, hnswlib | HNSW construction, neighbour heuristics, quantisation, filtered kNN | ~44 MB || [`xerj-storage`](xerj-storage.json) | sled, fjall, redb | WAL, flush epochs, crash recovery, compaction, page allocation | ~28 MB || [`xerj-columnar`](xerj-columnar.json) | clickhouse | columnar storage, aggregation execution, compression codecs, vectorised scans | ~1.2 GB |diff --git a/tools/xerj-code/hub/xerj-search.json b/tools/xerj-code/hub/xerj-search.jsonindex fe68b6940..f08d4202b 100644--- a/tools/xerj-code/hub/xerj-search.json+++ b/tools/xerj-code/hub/xerj-search.json@@ -12,5 +12,8 @@"note":"File-level copyleft. XERJ is Apache-2.0, so read the design and write your own code; do not lift MPL files in."}},{"repo":"elasticsearch","url":"https://github.com/elastic/elasticsearch","licence":"AGPL","sha":"ac375eb50ac52fb9438b26bca7cfe9ecd93e60ad","files":46387,"bytes":586728834,"review":{"spdx":"AGPL-3.0-only OR SSPL-1.0 OR Elastic-2.0","use":"approach-only","by":"xerj-org","at":"2026-08-12",- "note":"Triple-licensed; the detector reports only the first (most restrictive) match. Never copy ES code into XERJ — beyond the licence, XERJ's public position is that it shares no code and no architecture with Elasticsearch."}}+ "note":"Triple-licensed; the detector reports only the first (most restrictive) match. Never copy ES code into XERJ — beyond the licence, XERJ's public position is that it shares no code and no architecture with Elasticsearch."}},+ {"repo":"lucene","url":"https://github.com/apache/lucene","licence":"Apache-2.0","sha":"9cda46563a4bb30f26fd120ab9bc1397106bf945","files":7557,"bytes":197804184,+ "review":{"spdx":"Apache-2.0","use":"adapt-with-attribution","by":"xerj-org","at":"2026-08-14",+ "note":"Plain Apache-2.0 — the same licence as XERJ — so unlike elasticsearch in this corpus it is adapt-with-attribution, not approach-only. Lucene is the library elasticsearch is built on, so it is the primary source for postings, codecs, segment merge, BM25 scoring and HNSW; prefer it over the ES entry."}}]}