PROVIDER - Developer-friendly instant search engine
Meilisearch
Meilisearch is the Rust-built developer-friendly search engine with typo tolerance, prefix matching, and synonyms on by default, delivering millisecond site search from a single binary.
Service Overview
Meilisearch was founded in 2018 by a French team and written in Rust, pitching instant search out of the box with typo tolerance, prefix search, synonyms, and highlighting by default, vendor-claimed sub-50 millisecond responses, and single-binary deployment.
For Backend & Database work the value is minimal development cost for search experience, since no complex tokenisers or relevance tuning are needed, documents index from simple JSON, frontends connect to InstantSearch-style components, and Chinese support improved markedly in recent versions for site search and product catalogues.
The limit is functional scope, because it is not a log analytics or observability platform and lacks aggregation, complex pipelines, and large-scale exploration, very large corpora with intricate permission filtering need assessment, and the community trails Elasticsearch.
Key Strengths
- Typo tolerance, prefix matching, and synonyms work out of the box for instant search feel
- Rust implementation with vendor-claimed sub-50 millisecond responses for smooth frontends
- Single-binary deployment without JVM or complex clusters keeps operations cheap
- Chinese tokenisation and custom ranking rules fit multilingual sites
Product Ecosystem
Indexing and settings
JSON documents ingest with settings defining searchable fields, ranking rules, synonyms, and stop words.
Retrieval features
Filter expressions, faceting, and geo search cover common ecommerce and content site needs.
Deployment
Self-managed binary, Docker, and Meilisearch Cloud hosting.
Limitations
- Not a log analytics or data exploration platform without aggregation or complex pipelines
- Very large corpora and intricate permission filtering need extra architecture
- Chinese tokenisation depends on version and configuration, requiring testing
- Fewer ecosystem integrations than Elasticsearch
Use Cases
- Site and product search (★★★★★) - Excellent instant search feel
- Content and documentation search (★★★★★) - Fast results with simple setup
- Multilingual and Chinese sites (★★★★) - Tokenisation works with verification
- Log analytics and complex aggregation (★) - Use OpenSearch
Pricing
| Plan | Price | Scope |
|---|---|---|
| Open source | $0 | MIT licensed, free self-hosting |
| Meilisearch Cloud | Monthly from about USD 30 | Managed with backup and monitoring |
| Enterprise | Contract quoted | Advanced support and SLAs |
The MIT open source edition is free with a single machine handling millions of documents, and managed plans bill from around USD 30 monthly, fitting teams that prefer not to operate an indexing service.
FAQ
-
Meilisearch or Elasticsearch? Meilisearch for site and product search launching fast, OpenSearch or Elasticsearch for log analytics, complex aggregation, and a large ecosystem.
-
How good is Chinese search? Recent versions tokenise Chinese adequately for most site search, though specialised tokenisers and dictionaries remain more mature in Elasticsearch, so test with real corpora first.
-
What are the data limits? Millions of documents fit one machine with sensible memory, while hundreds of millions need shard and memory assessment and generally are not Meilisearch territory.
Code Examples
Create an index, add documents, and search
# Add documents (async task; the returned taskUid must be polled)
curl -s -X POST 'http://<your-host>:7700/indexes/products/documents' \
-H 'Authorization: Bearer $MEILI_MASTER_KEY' \
-H 'Content-Type: application/json' \
--data-binary '[
{"id": 1, "title": "Mechanical Keyboard", "price": 89, "tags": ["input"]},
{"id": 2, "title": "Wireless Mouse", "price": 39, "tags": ["input"]}
]'
# Search: typo tolerance is on by default, so "keybord" still matches
curl -s 'http://<your-host>:7700/indexes/products/search' \
-H 'Authorization: Bearer $MEILI_MASTER_KEY' \
--data-binary '{"q": "keybord", "limit": 5}'
Indexing is asynchronous; poll /tasks/<uid> until status: succeeded, otherwise a search right after the write may come back empty.
Faceted search after declaring filterable and sortable attributes
// Write settings first: undeclared fields cannot be used for filter or sort
PATCH /indexes/products/settings
{
"filterableAttributes": ["tags", "price"],
"sortableAttributes": ["price"],
"rankingRules": ["words", "typo", "proximity", "attribute", "sort", "exactness"]
}
POST /indexes/products/search
{
"q": "input",
"filter": "price < 100 AND tags = input",
"sort": ["price:asc"],
"facets": ["tags"]
}
sort must precede exactness in rankingRules or explicit sorting is ignored, and facets returns per-tag counts ready for a filter sidebar.
Community & Resources
Communities and official channels
- Meilisearch site — Releases, Cloud plans, and pricing
- Official documentation — API reference, index settings, and deployment
- GitHub meilisearch/meilisearch — Source, issues, and release notes
- Stack Overflow
meilisearchtag — Settings, sorting, and deployment questions
Learning resources and tools
- Quick start guide — From launch to first search
- SaaS demo repository — Runnable search front-end sample
- docs-searchbar.js — Drop-in search bar component