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
[package]
name = "xerj-fts"
version.workspace = true
edition.workspace = true
license.workspace = true
authors.workspace = true
description = "Full-text search engine for xerj — FST term dictionary, PFOR posting lists, BM25 scoring"
[dependencies]
# Workspace crates
xerj-common = { path = "../xerj-common" }
# Workspace deps
fst.workspace = true
bitpacking.workspace = true
roaring.workspace = true
serde = { workspace = true, features = ["derive"] }
serde_json.workspace = true
bytes.workspace = true
byteorder.workspace = true
tracing.workspace = true
thiserror.workspace = true
anyhow.workspace = true
rayon.workspace = true
memmap2 = { workspace = true }
lz4_flex = { workspace = true }
zstd = { workspace = true }
# Direct deps (not in workspace)
unicode-segmentation = "1"
unicode-normalization = "0.1"
rust-stemmers = "1.2"
regex = "1"
sha2 = "0.10"
[dev-dependencies]
tempfile.workspace = true