Skip to content

Tachyon — the open-source search engine built in Rust.

Fast, self-hosted full-text search without the operational complexity of heavyweight search infrastructure.

Search infrastructure doesn't need to be complicated. Tachyon provides the core capabilities developers need to build fast application search while remaining lightweight, self-hostable, and easy to operate.

Quickstart

Run Tachyon, create a collection, index documents, search. That's the whole workflow.

1. Run Tachyon
docker
docker run -p 8108:8108 adikeshri/tachyon
2. Create a collection
bash
curl -X POST localhost:8108/collections \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "products",
    "fields": [
      {"name": "title",       "type": "text"},
      {"name": "description", "type": "text"},
      {"name": "brand",       "type": "keyword", "facet": true},
      {"name": "price",       "type": "int",     "filter": true, "sort": true}
    ]
  }'
3. Index documents
bash
curl -X POST localhost:8108/collections/products/documents \
  -H 'Content-Type: application/json' \
  -d '[
    {"id": "1", "title": "Wireless Mouse", "brand": "Logitech", "price": 2999},
    {"id": "2", "title": "Mechanical Keyboard", "brand": "Razer", "price": 8999}
  ]'
4. Search
bash
curl 'localhost:8108/collections/products/search?q=wireless+mouse'

Why Tachyon?

Heavy search infrastructure

Complex deployment, large resource footprint, extensive configuration before you can run a query.

Lightweight search libraries

Easy to embed, but you're responsible for building the rest of the search-engine experience yourself.

Tachyon

A standalone search engine focused on performance, simplicity, self-hosting, and developer experience.

How a query flows

Requests are parsed, run through the query engine against the inverted index and filters, ranked with BM25, then returned.

HTTP APIRequest ParserQuery EngineInverted IndexFiltersBM25 RankingResult GenerationClient
Explore the architecture