🌐 US-Proxy
class="logged-out env-production page-responsive" style="word-wrap: break-word;" >
Skip to content

About

A lightning-fast search engine API bringing AI-powered hybrid search to your sites and applications.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

59.6k stars

Watchers

299 watching

Forks

Latest commit

Β 

History

14,830 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Dependency status License Merge Queues enabled

⚑ A lightning-fast search engine that fits effortlessly into your apps, websites, and workflow πŸ”

Meilisearch is a search engine for fast, relevant full-text, semantic, and hybrid search. The easiest way to get started and run it in production is Meilisearch Cloud: create a project and run your first search in minutes, with no servers to deploy, upgrade, or maintain. The engine is open source under the MIT license, so you can also self-host it.

A bright colored application for finding movies screening near the user A dark colored application for finding movies screening near the user

☁️ Ways to run Meilisearch

What you get Get started
Meilisearch Cloud (recommended) Managed Meilisearch: no servers to deploy or upgrade, plus monitoring, search analytics, and team management. Available in 9 regions across Europe, the Americas, and Asia-Pacific. 14-day trial. Create a project
Self-hosted, Community Edition The open-source engine under the MIT license, on your own infrastructure. Quick start
Self-hosted, Enterprise Edition Adds sharding and other advanced features. Requires a commercial agreement for production use. Editions & licensing

Both options run the same engine and expose the same API, so you can start on one and move to the other. See migrating to Meilisearch Cloud.

πŸš€ Quick start

1. Get a Meilisearch instance

Option A: Meilisearch Cloud (recommended). No install. Start a 14-day trial, then create a project and pick a region. Your project URL and API keys are on the project settings page.

Option B: Self-host. Run the open-source engine locally with Docker:

docker run -it --rm \
  -p 7700:7700 \
  -v $(pwd)/meili_data:/meili_data \
  getmeili/meilisearch:latest

Prefer a binary? Run:

curl -L https://install.meilisearch.com | sh
./meilisearch

More options: install Meilisearch locally.

2. Add documents

curl -X POST "https://ms-url-example.meilisearch.io/indexes/movies/documents" \
  -H 'Content-Type: application/json' \
  -H "Authorization: Bearer apiKey" \
  --data-binary '[
    { "id": 1, "title": "Carol", "genres": ["Romance", "Drama"] },
    { "id": 2, "title": "Wonder Woman", "genres": ["Action", "Adventure"] },
    { "id": 3, "title": "Life of Pi", "genres": ["Adventure", "Drama"] }
  ]'

3. Search, typo included

curl -X POST "https://ms-url-example.meilisearch.io/indexes/movies/search" \
  -H 'Content-Type: application/json' \
  -H "Authorization: Bearer apiKey" \
  --data-binary '{ "q": "wondre woman" }'

Meilisearch returns Wonder Woman despite the typo. Indexing is asynchronous, so if the search comes back empty, wait a moment and retry.

Next steps: follow a 5-minute quick start for JavaScript, Python, PHP, Ruby, Go, Rust, or React, or follow the Cloud getting started guide.

✨ Features

  • Hybrid search: Combine the best of both semantic & full-text search to get the most relevant results
  • Search-as-you-type: Find & display results in less than 50 milliseconds to provide an intuitive experience
  • Typo tolerance: get relevant matches even when queries contain typos and misspellings
  • Filtering and faceted search: enhance your users' search experience with custom filters and build a faceted search interface in a few lines of code
  • Sorting: sort results based on price, date, or pretty much anything else your users need
  • Synonym support: configure synonyms to include more relevant content in your search results
  • Geosearch: filter and sort documents based on geographic data
  • Extensive language support: search datasets in any language, with optimized support for Chinese, Japanese, Hebrew, and languages using the Latin alphabet
  • Security management: control which users can access what data with API keys that allow fine-grained permissions handling
  • Multi-Tenancy: personalize search results for any number of application tenants
  • Highly Customizable: customize Meilisearch to your specific needs or use our out-of-the-box and hassle-free presets
  • RESTful API: integrate Meilisearch in your technical stack with our plugins and SDKs
  • Conversational search: let users ask questions in natural language and get AI-generated answers grounded in your search results
  • Personalization: tailor search results to individual users based on their preferences and behavior
  • Search rules: define custom rules to dynamically adjust search behavior based on context
  • Document relations: link documents across indexes to enrich search results with related data
  • Replication & sharding: scale horizontally by distributing your data across multiple nodes
  • AI-ready: works out of the box with LangChain and MCP (see AI & LLM integrations)
  • Easy to deploy and maintain: start in minutes on Meilisearch Cloud with no servers to manage, or self-host a single binary with Docker, cURL, Homebrew, or APT

πŸ–₯ Examples

  • Media β€” Search movies and streaming platforms to watch them using hybrid search.
  • Agentic search β€” Chat with an AI agent to recommend movies and streaming platforms.
  • Flickr β€” Search and explore one hundred million Flickr images with semantic search.
  • Ecommerce β€” Ecommerce website using disjunctive facets, range and rating filtering, and pagination.
  • Home Booking - A conversational search demo for finding holiday rentals using natural language.
  • Search Playground β€” An interactive playground to explore Meilisearch search features.
  • Personalization β€” A demo showcasing personalized search results tailored to individual users.
  • SaaS β€” Search for contacts, deals, and companies in this multi-tenant CRM application.

See the list of all our interactive demos.

🧰 SDKs & integration tools

Install one of our SDKs in your project for seamless integration between Meilisearch and your favorite language or framework!

Take a look at the complete Meilisearch integration list.

Logos belonging to different languages and frameworks supported by Meilisearch, including React, Ruby on Rails, Go, Rust, and PHP

πŸ€– AI & LLM integrations

  • MCP server: Meilisearch ships a native MCP server at the /mcp route (experimental), so AI agents and MCP clients can search your indexes directly. It works the same on Meilisearch Cloud and self-hosted instances.
  • LangChain: use Meilisearch as a LangChain vector store.
  • Conversational search: answer natural-language questions with responses grounded in your indexed data.
  • llms.txt: a machine-readable index of the Meilisearch documentation for LLMs and coding agents.

πŸ“– Documentation

The full documentation is at meilisearch.com/docs.

Experienced users will want to keep our API Reference close at hand.

We also offer a wide range of dedicated guides to all Meilisearch features, such as filtering, sorting, geosearch, API keys, and tenant tokens.

Finally, for more in-depth information, refer to our articles explaining fundamental Meilisearch concepts such as documents and indexes.

❓ FAQ

Is there a managed, hosted version of Meilisearch?

Yes. Meilisearch Cloud is the managed service run by the team that builds Meilisearch. It handles deployment, upgrades, and backups, and adds monitoring, search analytics, and team management. See Ways to run Meilisearch.

Should I use Meilisearch Cloud or self-host?

Meilisearch Cloud is the recommended way to use Meilisearch and the fastest way to get started: no servers to deploy, upgrade, or back up, plus monitoring and analytics. Self-hosting runs the same engine with the same API and suits teams that need to operate their own infrastructure. You can move a self-hosted instance to Cloud later: see migrating to Meilisearch Cloud.

Can I host Meilisearch in the EU?

Yes. You can self-host anywhere. Meilisearch Cloud offers EU regions in Frankfurt and Paris, and Paris runs on the AWS European Sovereign Cloud. See Cloud regions.

How does Meilisearch compare to Algolia, Elasticsearch, Typesense, or vector databases?

See the side-by-side comparisons in our documentation: Algolia, Elasticsearch, Typesense, OpenSearch, Pinecone, Qdrant, PostgreSQL, and MongoDB Atlas Search. Migration guides are available for Algolia, Elasticsearch, Qdrant, and MongoDB Atlas Search.

Can I use Meilisearch with AI agents and RAG?

Yes. Meilisearch supports hybrid and semantic search, conversational search, a native MCP server, and LangChain. See AI & LLM integrations.

🧾 Editions & Licensing

The Meilisearch engine is available in two editions. Both can be self-hosted. Meilisearch Cloud runs the engine for you as a managed service.

πŸ§ͺ Community Edition (CE)

  • Fully open source under the MIT license
  • Core search engine with fast and relevant full-text, semantic or hybrid search
  • Free to use for anyone, including commercial usage

🏒 Enterprise Edition (EE)

  • Includes advanced features such as:
    • Sharding
    • S3-streaming snapshots
    • Search rule previews
  • Governed by a commercial license or the Business Source License 1.1
  • Not allowed in production without a commercial agreement with Meilisearch.
    • You may use, modify, and distribute the Licensed Work for non-production purposes only, such as testing, development, or evaluation.

Want access to Enterprise features? β†’ Contact us at sales@meilisearch.com.

πŸ“¦ External crates

Meilisearch vendors the following MIT-licensed external crates with code modifications to use the HTTP client located in crates/http-clients:

πŸ“Š Telemetry

Meilisearch collects anonymized user data to help us improve our product. You can deactivate this whenever you want.

To request deletion of collected data, please write to us at privacy@meilisearch.com. Remember to include your Instance UID in the message, as this helps us quickly find and delete your data.

If you want to know more about the kind of data we collect and what we use it for, check the telemetry section of our documentation.

πŸ“« Get in touch!

Meilisearch is a search engine created by Meili, a software development company headquartered in France and with team members all over the world. Want to know more about us? Check out our blog!

πŸ—ž Subscribe to our newsletter if you don't want to miss any updates! We promise we won't clutter your mailbox: we only send one edition every two months.

πŸ’Œ Want to make a suggestion or give feedback? Here are some of the channels where you can reach us:

Thank you for your support!

πŸ‘©β€πŸ’» Contributing

Meilisearch is, and will always be, open-source! If you want to contribute to the project, please look at our contribution guidelines.

πŸ“¦ Versioning

Meilisearch releases and their associated binaries are available on the project's releases page.

The binaries are versioned following SemVer conventions. To know more, read our versioning policy.

Differently from the binaries, crates in this repository are not currently available on crates.io and do not follow SemVer conventions.

About

A lightning-fast search engine API bringing AI-powered hybrid search to your sites and applications.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

59.6k stars

Watchers

299 watching

Forks

Releases

Packages

Used by

Contributors

Languages