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
//! # xerj-compress
//!
//! Compression engine for the xerj search engine.
//!
//! Provides:
//! - [`codec`] — Codec trait with LZ4, Zstd, and passthrough implementations
//! - [`block`] — Block-level compression for 128-document segments
//! - [`dictionary`] — Dictionary encoding for repeated string values
//! - [`field_codec`] — Intelligent automatic field encoding engine
pub mod block;
pub mod codec;
pub mod dictionary;
pub mod field_codec;
pub use block::{BlockReader, BlockWriter};
pub use codec::{get_codec, Codec, CompressionLevel, Lz4Codec, NoneCodec, ZstdCodec};
pub use dictionary::{DictionaryDecoder, DictionaryEncoder};
pub use field_codec::{FieldAnalyzer, FieldEncoding, TimestampFormat};
pub use xerj_common::Result;