Skip to content

hanzoai/search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13,727 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Hanzo AI

Hanzo Search

A lightning-fast search engine built on Meilisearch, optimized for AI workloads and seamless integration with the Hanzo ecosystem.

CI Status Latest Release License Dependency Status


Features

  • Hybrid Search -- Combine semantic and full-text search for maximum relevance across structured and unstructured data
  • Search-as-you-type -- Sub-50ms query responses for instant, interactive search experiences
  • Typo Tolerance -- Return relevant results even when queries contain typos and misspellings
  • Filtering and Faceted Search -- Build rich, filterable search interfaces with custom facets in a few lines of code
  • Sorting -- Sort results by price, date, relevance score, or any custom attribute
  • Synonym Support -- Configure synonym mappings to broaden search coverage without duplicating data
  • Geosearch -- Filter and sort documents by geographic coordinates and distance
  • Multi-Language -- Search datasets in any language, with optimized tokenization for Chinese, Japanese, Hebrew, and Latin-alphabet languages
  • Security and Multi-Tenancy -- Fine-grained API key permissions and tenant token isolation for SaaS applications
  • AI-Ready -- First-class integration with the Model Context Protocol (MCP) and LangChain for retrieval-augmented generation (RAG) and agent workflows
  • RESTful API -- Clean, well-documented HTTP API for indexing, searching, and managing configuration

Quick Start

Docker

docker run -d \
  --name hanzo-search \
  -p 7700:7700 \
  -v hanzo_search_data:/meili_data \
  hanzoai/search:latest \
  hanzo-search --master-key="YOUR_MASTER_KEY"

From Source

git clone https://github.com/hanzoai/search.git
cd search
cargo build --release
./target/release/hanzo-search --master-key="YOUR_MASTER_KEY"

Add Documents

curl -X POST 'http://localhost:7700/indexes/products/documents' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer YOUR_MASTER_KEY' \
  --data-binary '[
    { "id": 1, "title": "Hanzo Agent SDK", "category": "AI" },
    { "id": 2, "title": "Hanzo MCP Server", "category": "Infrastructure" },
    { "id": 3, "title": "Hanzo LLM Gateway", "category": "AI" }
  ]'

Search

curl 'http://localhost:7700/indexes/products/search' \
  -H 'Authorization: Bearer YOUR_MASTER_KEY' \
  --data-binary '{ "q": "agent" }'

SDKs

Hanzo Search provides official SDKs for seamless integration:

Language Package Repository
Go github.com/hanzoai/search-go hanzoai/search-go
JavaScript / TypeScript @hanzo/search hanzoai/search-js
Python hanzo-search hanzoai/search-python
Rust hanzo-search hanzoai/search-rust

Documentation

Full documentation is available at docs.hanzo.ai.

Editions and Licensing

Community Edition

  • Open source under the MIT License
  • Full search engine with hybrid, semantic, and full-text search
  • Free for any use, including commercial

Enterprise Edition

Contributing

Contributions are welcome. Please read CONTRIBUTING.md before submitting a pull request.


Based on Meilisearch. See upstream LICENSE for attribution.

Copyright 2025 Hanzo AI Inc. All rights reserved.

About

AI-powered search with generative UI

Topics

Resources

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE-EE
MIT
LICENSE-MIT

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages