Meilisearch: A Complete Guide
Meilisearch

What is Meilisearch?

Lightning-fast, typo-tolerant search engine with AI-powered hybrid search

6-min readUpdated Aug 2026

Meilisearch in 60 seconds

WHAT IT IS

An open-source, typo-tolerant search engine written in Rust that returns instant results with AI hybrid search built in.

WHY IT'S USED

Teams pick it for fast site and product search that is simpler to run than Elasticsearch and cheaper than Algolia.

STRENGTHS
  • +Typo-tolerant, instant search that works well with barely any tuning
  • +AI hybrid and semantic search built in, no separate vector database
  • +One small Rust binary, so it is quick to deploy and simple to run
LIMITATIONS
  • Optimized to hold hot data in memory, so RAM shapes real-world speed
  • A search index, not a database: no transactions or relational joins
  • Smaller ecosystem and connector set than Elasticsearch or Algolia
BEST KNOWN FOR
Site searchE-commerce searchSearch-as-you-typeSemantic / AI searchDocs search
Jump to at a glance, how it works, or quick start for the full picture on Meilisearch.

At a glance

CategorySearch
First released2018
Latest release1.53.1 (Aug 2026)
LicenseMIT / BUSL-1.1 (dual-licensed; Enterprise Edition components under BUSL-1.1)
Written inRust
Runs onLinux, Macos, Windows
DeploymentSelf-hosted, Managed
Wire protocolhttp
Query dialect
Consistencyeventual
ACID supportno
JSON supportnative
Full-text searchnative
Vector supportnative
HA modelprimary-standby
Managed bymeilisearch-cloud

What is Meilisearch?

Meilisearch is an open-source search engine built to return relevant, typo-tolerant results fast enough to update on every keystroke. You push your data as JSON documents into an index and query it over a REST API. Out of the box it handles typo correction, prefix search, filtering, faceting, synonyms, and geo search, plus vector and hybrid search, so one engine covers both keyword and AI-style retrieval without much configuration.

The project started in 2018 and had its public launch in 2020. It is developed by Meili SAS, a Paris company founded by Quentin de Quelen, Clement Renault, and Thomas Payet, who had worked on search together at Veepee and Louis Vuitton. Meilisearch is written in Rust and the core engine is MIT licensed, though newer enterprise features like sharding ship under the Business Source License. A managed option, Meilisearch Cloud, runs the same open-source core.

Adoption skews toward product teams that want strong search without running a search team. Hugging Face uses it to make more than two million models and datasets discoverable, Louis Vuitton runs it for in-store search, and Bookshop.org, Platform.sh, Symfony, and GoRails all use it in production. The draw is the mix of good defaults, a single small binary, and pricing that stays predictable as query volume grows.

How Meilisearch works

Meilisearch runs as a single Rust binary with no external dependencies. Data persists on disk through LMDB, a memory-mapped key-value store, so the operating system keeps hot pages in RAM and reads them without extra copying. That design is the root of its speed: queries touch memory-mapped structures rather than a heavy on-disk index, and it starts fast and stays light on resources compared with a JVM-based engine.

A query runs through tokenization, typo-tolerant matching, filtering, and ranking in one pass. Relevance comes from a chain of ranking rules applied in order: words, typo, proximity, attribute, sort, and exactness. You can reorder those rules or add your own sort attributes, and because the ordering is explicit, tuning why one result outranks another is far more transparent than a single opaque score.

You talk to Meilisearch through a REST API secured by API keys, with official clients for JavaScript, Python, PHP, Ruby, Go, Rust, Java, and more. Writes are asynchronous: adding or updating documents returns a task you can poll for status while indexing happens in the background. For availability, Meilisearch supports a primary and read replicas, and the newer enterprise build adds sharding to spread a large index across nodes.

Key concepts

Indexes and documents

Meilisearch stores data as JSON documents grouped into indexes, one index per searchable collection like products or articles. Each document needs a primary key that identifies it for updates. There is no rigid schema, so you add fields freely and the engine infers types and builds its search structures from the documents you push in.

Typo tolerance

Typo tolerance is on by default and is a big reason search feels forgiving. Meilisearch matches a query within one or two character edits, so a search for smaphone still finds smartphone with no setup. You can tune the word length where each typo level kicks in, disable it per field, and exact matches always rank above corrected ones.

Ranking rules

Relevance is decided by an ordered chain of ranking rules: words, typo, proximity, attribute, sort, then exactness. Meilisearch applies them one after another to break ties, and you can reorder the chain or add sort attributes like popularity or price. Because the order is explicit, you can reason about exactly why one result outranks another.

Vector and hybrid search

Beyond keywords, Meilisearch stores embeddings and runs approximate nearest-neighbor search for semantic matching. It can generate vectors through configured embedders such as OpenAI or Hugging Face, or take vectors you supply. Hybrid search blends the keyword score with the semantic one in a single query, the usual setup for RAG retrieval.

Filtering and faceting

Marking fields as filterable lets you narrow results with filters and build faceted navigation, the category and price filters down the side of a store. Meilisearch returns facet counts with the results in the same request, so refining never costs a second round trip. Numeric, string, boolean, and geo fields can all be filtered and faceted.

Tasks and API keys

Writes in Meilisearch are asynchronous. Adding documents or changing settings enqueues a task with an id you poll until it succeeds, which keeps indexing off the query path. Access is guarded by API keys from a master key: a search-only key is safe to ship to the browser, while an admin key stays on your server for indexing and setup.

Meilisearch by the numbers

Live GitHub adoption, updated daily

#1 of 13 open-source search databases by GitHub stars
GitHub stars
59.0k
+352 in 30d
Forks
2.7k
Weekly growth
+74
stars in the last 7 days
Last commit
7d ago
Aug 2026

Who uses Meilisearch

A handful of the companies running it in production

Hugging FaceLouis VuittonBookshop.orgPlatform.shSymfonyQogitaGoRails

When to use Meilisearch

Best for

Instant search-as-you-type

The core use case: search boxes that refresh on every keystroke. Typo tolerance, prefix matching, and low latency give you Algolia-style instant results running on infrastructure you control.

E-commerce product search

Faceted discovery with filters for brand, price, and category, each showing live counts. Meilisearch returns the facets and the matches in one request, which keeps browsing large catalogs responsive.

Semantic and AI hybrid search

Retrieval for RAG and recommendations, where meaning matters more than exact words. Built-in embedders and hybrid ranking combine keyword and vector search without standing up a separate vector store.

A self-hosted Algolia alternative

Teams leaving Algolia to cut per-search costs or keep data in house. The API and the InstantSearch adapter are close enough that most migrations are a reindex and a config change, not a rewrite.

Not ideal for

A primary source-of-truth store

Meilisearch indexes data that lives elsewhere. With no transactions or relational joins, your system of record should stay in Postgres or similar, with documents synced into Meilisearch for search.

Heavy analytics and aggregation

It answers search queries, not analytical ones. For group-bys, rollups, and column scans over billions of rows, an engine like ClickHouse or DuckDB is a far better fit for that work than a search index.

Petabyte-scale log search

Logs at massive volume suit Elasticsearch or OpenSearch, which shard and spill across many disks. Meilisearch keeps hot data in memory, so log-scale retention gets costly faster than it tends to be worth.

Complex relational queries

There is no join engine or SQL layer, so multi-table logic and deep aggregations belong in a relational database. Meilisearch is built to search a flat document set fast, not to model related entities.

Meilisearch vs alternatives

Head-to-head specs against the top 5 alternatives

Meilisearch vs Elasticsearch
Meilisearch
Elasticsearch
Identity
License
MIT / BUSL-1.1 (dual-licensed; Enterprise Edition components under BUSL-1.1)
Elastic-2.0
First released
2018
2010
Capabilities
Full-text
Native
Native
Vector
Native
Native
Hybrid search
Native
Native
HA model
Primary-standby
Primary-standby
Ecosystem
Managed providers
1
3
Integrations
3
6
Use cases
Best for
Instant site search, typo-tolerant autocomplete, e-commerce product search, and AI-powered semantic retrieval
Full-text search, log analytics, observability, security analytics, and real-time data exploration at scale
Not ideal for
Complex relational queries, transactional workloads, or primary data storage
Primary data storage for transactional workloads, strong-consistency requirements, or simple key-value use cases
Meilisearch vs Typesense
Meilisearch
Typesense
Identity
License
MIT / BUSL-1.1 (dual-licensed; Enterprise Edition components under BUSL-1.1)
GPL-3.0
First released
2018
2018
Capabilities
Full-text
Native
Native
Vector
Native
Native
Hybrid search
Native
Native
HA model
Primary-standby
Raft
Ecosystem
Managed providers
1
1
Integrations
3
5
Use cases
Best for
Instant site search, typo-tolerant autocomplete, e-commerce product search, and AI-powered semantic retrieval
Instant search experiences with typo tolerance, semantic/hybrid search, developer-friendly search
Not ideal for
Complex relational queries, transactional workloads, or primary data storage
General-purpose database needs, complex analytics, or log aggregation at massive scale
Meilisearch vs OpenSearch
Meilisearch
OpenSearch
Identity
License
MIT / BUSL-1.1 (dual-licensed; Enterprise Edition components under BUSL-1.1)
Apache-2.0
First released
2018
2021
Capabilities
Full-text
Native
Native
Vector
Native
Native
Hybrid search
Native
Native
HA model
Primary-standby
Primary-standby
Ecosystem
Managed providers
1
3
Integrations
3
7
Use cases
Best for
Instant site search, typo-tolerant autocomplete, e-commerce product search, and AI-powered semantic retrieval
Full-text search, log analytics, observability, and security analytics at scale
Not ideal for
Complex relational queries, transactional workloads, or primary data storage
OLTP workloads, strong consistency requirements, or relational data modeling
Meilisearch vs Algolia
Meilisearch
Algolia
Identity
License
MIT / BUSL-1.1 (dual-licensed; Enterprise Edition components under BUSL-1.1)
Proprietary
First released
2018
2012
Capabilities
Full-text
Native
Native
Vector
Native
Native
Hybrid search
Native
Native
HA model
Primary-standby
Multi-master
Ecosystem
Managed providers
1
1
Integrations
3
6
Use cases
Best for
Instant site search, typo-tolerant autocomplete, e-commerce product search, and AI-powered semantic retrieval
Instant site search, e-commerce product discovery, and AI-powered search experiences with typo tolerance
Not ideal for
Complex relational queries, transactional workloads, or primary data storage
Primary data storage, complex relational queries, or log analytics
Meilisearch vs Apache Solr
Meilisearch
Apache Solr
Identity
License
MIT / BUSL-1.1 (dual-licensed; Enterprise Edition components under BUSL-1.1)
Apache-2.0
First released
2018
2004
Capabilities
Full-text
Native
Native
Vector
Native
Native
Hybrid search
Native
Native
HA model
Primary-standby
Primary-standby
Ecosystem
Managed providers
1
2
Integrations
3
5
Use cases
Best for
Instant site search, typo-tolerant autocomplete, e-commerce product search, and AI-powered semantic retrieval
Enterprise full-text search, faceted navigation, e-commerce search, and large-scale document retrieval
Not ideal for
Complex relational queries, transactional workloads, or primary data storage
Primary data storage, transactional workloads, or simple key-value use cases

Quick start

Run Meilisearch with Docker, create an index by adding documents, and run your first typo-tolerant search. A couple of minutes end to end.

Start Meilisearch with Docker (fastest)
docker run -p 7700:7700 -v $(pwd)/meili_data:/meili_data \
  getmeili/meilisearch:v1.53 \
  meilisearch --master-key=aMasterKey
Add documents (this creates the index)
curl http://localhost:7700/indexes/books/documents \
  -X POST -H 'Authorization: Bearer aMasterKey' \
  -H 'Content-Type: application/json' \
  -d '[
    { "id": 1, "title": "The Pragmatic Programmer", "rating": 4.8 }
  ]'
Search it, typos and all
curl http://localhost:7700/indexes/books/search \
  -X POST -H 'Authorization: Bearer aMasterKey' \
  -H 'Content-Type: application/json' \
  -d '{ "q": "pragmatik programer" }'

The misspelled query still finds the book. From here, point an official client at the same endpoint, or browse and manage indexes visually in a GUI.

Frequently asked questions

What is Meilisearch used for?
Meilisearch is used to add fast, typo-tolerant search to websites and apps: site search, e-commerce product discovery, in-app search boxes, and documentation search. Because it corrects typos by default and returns results in a few milliseconds, it is a common choice for search-as-you-type experiences. More recently it is also used for semantic and AI hybrid search, since it can store vector embeddings and combine them with keyword search in a single query.
Is Meilisearch free and open source?
Yes. The core Meilisearch engine is open-source software under the permissive MIT license, free to self-host, modify, and run in production with no per-search fees. Some newer enterprise features, such as index sharding, ship under the Business Source License instead. The company also offers Meilisearch Cloud, a managed service that runs the same open-source core and charges for hosting rather than for the software itself.
Is Meilisearch a database?
Not in the usual sense. Meilisearch is a search engine, not a primary datastore. It has no transactions, no relational joins, and it is meant to index data whose source of truth lives elsewhere, usually a database like Postgres or MongoDB. You sync documents into Meilisearch for search while your canonical writes still go to your main database. Treating it as your only store is a misuse of the tool.
Who makes Meilisearch?
Meilisearch is developed by Meili SAS, a company based in Paris, France, founded in 2018 by Quentin de Quelen, Clement Renault, and Thomas Payet. The three had worked on search together at the e-commerce company Veepee and at Louis Vuitton before building Meilisearch from scratch in Rust. The engine is free under the MIT license, and the company earns revenue from Meilisearch Cloud, its managed hosting service.
Is Meilisearch the same as Elasticsearch?
No. Both are search engines, but they aim at different needs. Meilisearch is a single Rust binary tuned for instant, typo-tolerant site and product search with almost no setup. Elasticsearch is a larger, JVM-based system built for log analytics, aggregations, and petabyte-scale data across clusters. Meilisearch is far simpler to run for typical app search, while Elasticsearch covers heavier analytics and very large-scale workloads that Meilisearch is not designed for.

Skip the config files

Connect to Meilisearch in 30 seconds. Browse tables, run queries, and edit rows visually, on localhost, self-hosted, or cloud.

Open Meilisearch in 1bench