
Meilisearch
Typo-tolerant search engine with instant results, one binary
Replaces Algolia, Elastic Cloud

Who it's for
Meilisearch handles product catalogs with filterable facets (price, brand, size, color) and sub-50ms response times out of the box. The InstantSearch UI library provides pre-built React and Vue components for faceted navigation that connect directly to the Meilisearch API, cutting frontend development time significantly.
Your catalog exceeds tens of millions of SKUs at high concurrent write rates, or you need aggregation analytics on top of search data. Also skip if compliance certifications (SOC 2, HIPAA) are required on the managed service.
The tenant token system issues signed search tokens server-side, restricting each customer's search scope to their own data without routing queries through your application backend. This is purpose-built for multi-tenant apps where data isolation is a hard requirement and per-tenant index duplication would be expensive to maintain.
Your tenants intentionally share a single search index (shared knowledge base, public catalog). In that case, standard API key scoping is simpler than tenant tokens.
Meilisearch stores document vectors natively and combines them with keyword search in hybrid mode, removing the need for a separate vector database in most RAG setups. It connects to OpenAI, Hugging Face, and Ollama for embedding generation via configuration, and is compatible with LangChain for orchestration.
Your retrieval application requires filtered approximate nearest-neighbor search at very large scale (hundreds of millions of vectors), where purpose-built vector databases have a meaningful performance advantage.
Teams on Algolia's per-search pricing model can self-host Meilisearch and eliminate usage-based billing entirely. The API surface and InstantSearch library compatibility make migration practical: Algolia-based frontends often need only the host URL and API key swapped, since both libraries follow compatible search response shapes.
You need Algolia's managed global CDN distribution, AI-personalization features built on years of production training data, or its compliance certifications (SOC 2 Type II, HIPAA), none of which the community edition replicates.
The problem
Building good search is harder than it looks. Elasticsearch gives you the power but demands JVM expertise, cluster management, index tuning, and a team dedicated to keeping it healthy in production. Algolia gives you speed and relevance out of the box, but every search query adds up on the bill, and at scale the per-search pricing model puts a ceiling on how freely you can iterate or run internal tooling. The result is that teams either over-engineer with Elasticsearch and spend months tuning relevance, or lock into Algolia and watch infrastructure costs climb as their user base grows. Adding semantic or vector search used to require stitching together a separate vector database on top of an existing keyword index. Most teams end up with search that is either too complex to maintain or too expensive to scale.
How it works
Returns relevant results in under 50 milliseconds on typical datasets, even when queries contain spelling mistakes. Typo tolerance is on by default and configurable per index, so common user errors like "appel" for "apple" resolve correctly without any setup. The ranking algorithm scores results by typo count, matched term proximity, and custom rules.
Combines keyword-based full-text search with semantic vector search in a single query, with configurable weighting between the two approaches. Stores document vectors natively alongside text indexes, making it compatible with RAG pipelines and LLM-backed applications without adding a separate vector database to your infrastructure.
Supports filterable and sortable attributes out of the box: price ranges, category labels, date fields, and custom attributes can all be used as facets. Works directly with the InstantSearch UI library, giving you pre-built React and Vue components for checkboxes, sliders, and sort controls without custom frontend logic.
Filters and sorts results by geographic distance using a latitude/longitude field on each document. Supports filtering by radius, bounding box, and polygon, which covers location-aware search for delivery apps, real estate listings, and store-finder use cases without a separate geo data service.
Generates signed tenant tokens server-side that restrict each user to their own data subset without routing every search request through your application backend. Designed for SaaS products where each customer must see only their own records, with no per-tenant index duplication required.
Ships as a self-contained Rust binary with no runtime dependencies. One Docker command or a downloaded binary is enough to have a running search instance. No Java Virtual Machine, no cluster coordination service, and no configuration files required to get a development instance handling queries.
Features
- Sub-50ms typo-tolerant search
- Hybrid full-text and vector search
- Faceted filtering and sorting
- Geosearch
- Multi-tenancy via tenant tokens
- Single-binary deployment, no JVM required
How to install
# Docker (recommended) docker run -p 7700:7700 \ -e MEILI_ENV='development' \ -v $(pwd)/meili_data:/meili_data \ getmeili/meilisearch:v1.37 # cURL install script (Linux/macOS) curl -L https://install.meilisearch.com | sh ./meilisearch # Homebrew (macOS) brew install meilisearch meilisearch # APT (Debian/Ubuntu) echo "deb [trusted=yes] https://apt.fury.io/meilisearch/ /" | sudo tee /etc/apt/sources.list.d/fury.list sudo apt update && sudo apt install meilisearch meilisearch
Recommended for this setup
Strengths
- MIT-licensed core with no per-query costs: The community edition is MIT licensed and free to use commercially. Unlike Algolia, which charges per search operation, self-hosted Meilisearch has no usage-based billing. You pay for server infrastructure and nothing else, making cost predictable at any search volume, including internal tooling or high-frequency autocomplete calls.
- Out-of-the-box relevance without tuning: Relevance ranking applies multi-criteria scoring by default: typo count, number of matched terms, word proximity, and configurable custom ranking rules. Most teams get acceptable search quality without writing custom scoring functions, unlike Elasticsearch where relevance tuning requires specialist knowledge of BM25, field boosting, and function score queries.
- Hybrid search without a separate vector store: Stores document vectors natively and combines them with keyword search in a single query pass. Connects to OpenAI, Hugging Face, and Ollama for embedding generation via configuration, eliminating the need for a separate vector database in typical RAG setups. Teams migrating from Pinecone for retrieval use cases have documented successful moves to Meilisearch.
- Wide SDK coverage and dashboard UI: Official SDKs for JavaScript, Python, PHP, Go, Ruby, Rust, .NET, Swift, and Dart. The built-in dashboard at localhost:7700 lets you browse indexes, run test queries, and tweak ranking settings without writing code. LangChain and Model Context Protocol integrations are also available for AI pipeline use cases.
Trade-offs
- Horizontal sharding requires enterprise license: The community MIT edition runs as a single node. Sharding across multiple nodes to handle very high document volumes or extreme query throughput is only available in the Enterprise Edition, which uses the BUSL-1.1 license and requires a commercial agreement with Meili SAS. Teams with millions of documents at high concurrency may hit this ceiling.
- Not designed for log analytics or aggregation workloads: Meilisearch is optimized for end-user search (e-commerce, site search, SaaS records) where results need to be fast and typo-tolerant. It does not support aggregation pipelines, time-series analysis, or the full-text analytics workloads that Elasticsearch and OpenSearch handle. Do not use it as a replacement for observability or log infrastructure.
- Telemetry enabled by default: Anonymous usage telemetry is collected and sent to Meilisearch by default. It can be disabled by setting the MEILI_NO_ANALYTICS environment variable, but this requires a deliberate configuration step. For privacy-sensitive deployments or air-gapped environments, disable it before running in production.
- Vertical scaling only on the community edition: Without sharding, handling larger datasets means provisioning a bigger single server rather than adding nodes. A single well-resourced Meilisearch node handles tens of millions of documents, but very large datasets (hundreds of millions of records) require either the Enterprise Edition for horizontal scaling or careful index partitioning by the application layer.
Tech stack
FAQ
The community edition is MIT licensed and free for any use, including commercial production deployments. You pay only for the server infrastructure you run it on. The managed Meilisearch Cloud starts at $20 per month. Enterprise features like sharding and S3 snapshot streaming require a separate commercial license from Meili SAS.
Meilisearch is simpler to run and better suited to end-user search: typo tolerance, faceting, and instant results work out of the box with no tuning. Elasticsearch is more capable for log analytics, aggregation pipelines, and very large distributed clusters, but requires significantly more operational expertise. Meilisearch runs as a single binary with no JVM or cluster coordinator; a production Elasticsearch cluster requires more infrastructure and configuration before handling real traffic.
Yes. Meilisearch supports hybrid search combining full-text and vector (semantic) search, with native vector storage built in. You configure an embedder (OpenAI, Hugging Face, Ollama, or a custom REST endpoint) and Meilisearch generates and stores embeddings at index time. The balance between keyword and semantic results is tunable per query via a semantic ratio parameter.
Single-node Meilisearch handles tens of millions of documents well on typical hardware. Horizontal sharding across multiple nodes is available only in the Enterprise Edition under a commercial license. For most SaaS and e-commerce workloads at standard scale, a single well-resourced server is sufficient without reaching the enterprise tier.
Both are Rust-based, developer-friendly search engines built as simpler alternatives to Elasticsearch. Meilisearch has stronger hybrid search and vector support, broader SDK coverage, and a built-in dashboard UI. Typesense is licensed under Apache 2.0 for self-hosting. The practical choice often comes down to specific feature needs: Meilisearch edges ahead for AI/hybrid workloads; Typesense is worth evaluating for teams who prioritize a fully permissive open source license on all features.