Toshi is a Rust full-text search engine positioned alongside Elasticsearch-style systems. The authors note it is not production-ready and remains under active development.
Overview
Toshi is server software for full-text search written in Rust, built on the Tantivy indexing library. It aims to offer an Elasticsearch-like experience while targeting stable Rust and avoiding unsafe code in the engine itself.
The server binds to a configurable host and port, stores indices on a local data path, and exposes HTTP APIs for indexing and querying. Configuration covers writer memory budgets, log level, JSON parsing thread count for bulk ingest, bulk buffer size, automatic commit intervals, and Tantivy segment merge policies including log and no-merge modes.
Supported query types include term, fuzzy term, phrase, range, regex, and boolean queries. Bulk ingestion spins up worker threads to parse JSON documents. Experimental settings gate unfinished features such as distribution support.
Builds are expected on Windows, macOS, and Linux with Rust and Cargo installed. You compile with cargo and run the release binary, which reads config/config.toml for startup parameters.
Key features
- Full-text indexing via Tantivy
- HTTP search and index API
- Term, phrase, and boolean queries
- Fuzzy, range, and regex queries
- Configurable bulk JSON ingest
- Auto-commit and merge policies
- TOML server configuration
- Stable Rust without engine unsafe
Use cases
- Self-hosted text search
- Document indexing and retrieval
- Elasticsearch-style search experiments
- Rust-native search infrastructure
Does the same job as
Toshi doesn't name these products itself, but its own description shows it does the same job.