Hanzo

Hanzo Search

Managed search — full-text and hybrid indexes with typo tolerance, faceted filtering, and sub-50ms queries, provisioned in one API call.

Hanzo Search

Hanzo Search is a managed, AI-powered search engine built in Rust. Provision an index, add JSON documents, and get sub-50ms search-as-you-type with typo tolerance, faceted filtering, and hybrid semantic + full-text ranking.

Provision an Index

An index is a logical resource scoped to your organization. It is created on first write, or explicitly:

curl -X POST https://api.hanzo.ai/v1/search/indexes \
  -H "Authorization: Bearer hk-..." \
  -H "X-Org-Id: org_a1b2c3" \
  -H "Content-Type: application/json" \
  -d '{ "uid": "products", "primaryKey": "id" }'

Documents go in as a JSON array (or NDJSON), and queries read them back.

Configure an embedder on the index, then blend keyword and semantic ranking with semanticRatio (0.0 = pure keyword, 1.0 = pure vector).

Features

  • Search-as-you-type with typo tolerance and prefix matching
  • Faceted filtering, geo search, and custom ranking rules
  • Hybrid semantic + full-text search with built-in embedders
  • Synonyms, stop words, and per-tenant scoped API keys
  • Federated multi-index search in a single request

How is this guide?

On this page