vcaesar/riot

Go Open Source, Distributed, Simple and fastest efficient text/vector Search Engine

What it solves

Riot provides a high-performance, modern text indexing and search engine library for Go applications. It addresses the need for a fast, memory-efficient alternative to larger search platforms like Elasticsearch, offering significantly lower resource consumption and faster indexing speeds.

How it works

Riot allows developers to index various data types—including text, numeric, date, boolean, and vector data—directly within their Go applications. It supports a wide range of search queries, from simple term matching to complex fuzzy searches and geographic distance calculations. For vector data, it implements HNSW approximate nearest neighbor (ANN) search, which can be persisted to disk to avoid rebuilding indexes. It also includes built-in support for CJK (Chinese, Japanese, Korean) text analysis.

Who it’s for

This library is designed for Go developers who need to integrate powerful, full-text search capabilities into their software without the overhead of managing a separate, heavy-duty search server. It is particularly well-suited for projects requiring high-speed indexing, low memory footprints, or advanced vector search functionality.

Highlights

  • Extremely fast indexing and query performance compared to traditional Go-based search engines.
  • Comprehensive support for diverse data types, including text, geo-points, and vectors.
  • Advanced search features like match highlighting, numeric/date range queries, and extensible aggregations.
  • Memory-efficient design with disk-backed persistence for vector indexes.
  • Native CJK language support via integrated tokenization.

Related

  • Project
  • Project
  • Project
  • Project
  • Project