A lightning-fast search engine built on Meilisearch, optimized for AI workloads and seamless integration with the Hanzo ecosystem.
- 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
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"git clone https://github.com/hanzoai/search.git
cd search
cargo build --release
./target/release/hanzo-search --master-key="YOUR_MASTER_KEY"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" }
]'curl 'http://localhost:7700/indexes/products/search' \
-H 'Authorization: Bearer YOUR_MASTER_KEY' \
--data-binary '{ "q": "agent" }'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 |
Full documentation is available at docs.hanzo.ai.
- Getting Started
- API Reference
- Configuration
- Hybrid Search Guide
- Security and API Keys
- MCP Integration
- Open source under the MIT License
- Full search engine with hybrid, semantic, and full-text search
- Free for any use, including commercial
- Advanced features: sharding, S3-streaming snapshots, dedicated support
- Governed by the Business Source License 1.1
- Contact sales@hanzo.ai for production use
Contributions are welcome. Please read CONTRIBUTING.md before submitting a pull request.
- Open an issue to report bugs
- Start a discussion for feature requests
Based on Meilisearch. See upstream LICENSE for attribution.
Copyright 2025 Hanzo AI Inc. All rights reserved.