selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

MeiliSearch logo

Self-host MeiliSearch

v1.57.0

Lightning-fast search engine with AI-powered hybrid search

ReleaseOpen CoreBUSL-1.1
Updated2 hours ago
LanguageRust
Setup difficultyModerate
Stars
59 868
Storage
at least ten times the disk space of your raw dataset
Port
7700 (HTTP API)
Docker
getmeili/meilisearch
Install with Docker
MeiliSearch screenshot 1

What is MeiliSearch?

Meilisearch is a lightning-fast search engine API that brings AI-powered hybrid search to websites and applications. It combines full-text and semantic search with features like typo tolerance, filtering, faceted search, geosearch, sorting, synonyms, and multi-tenancy. The Community Edition is fully open-source under MIT license, while the Enterprise Edition adds sharding, S3-streaming snapshots, and search rule previews under a commercial license. Meilisearch can be self-hosted via Docker (getmeili/meilisearch), binary downloads, or run on Meilisearch Cloud. It exposes a RESTful API with SDKs for many languages and works with LangChain and the Model Context Protocol.

MeiliSearch alternatives

All self-hosted alternatives to Algolia → All self-hosted alternatives to Elasticsearch → All self-hosted alternatives to Typesense →

Should you self-host MeiliSearch?

MeiliSearch scores 82/100 on selfhost.directory (how scoring works) and ranks #3 of 41 in Search Engines. It has 59 868 GitHub stars, +315 in the last 30 days.

It shipped 37 stable releases in the past year. The latest, v1.57.0, came out on 16 November 2026. New versions land roughly every 6 days.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is BUSL-1.1-licensed and written mostly in Rust.

Its closest alternative on selfhost.directory is openobserve (79/100, 23 070 stars). MeiliSearch scores higher overall. See MeiliSearch vs openobserve side by side.

Features

  • API key security
  • Conversational search
  • Document relations
  • Filtering and faceted search
  • Geosearch
  • Hybrid Search
  • Multi-language Support
  • Multi-tenancy
  • Personalization
  • RESTful API
  • Search-as-you-type
  • Search rules
  • Sorting
  • Synonym support
  • Typo Tolerance

MeiliSearch README

How to install MeiliSearch

Install MeiliSearch with Docker

Docker installed
Environment variables
MEILI_MASTER_KEY, MEILI_DB_PATH, MEILI_HTTP_ADDR, MEILI_ENV, etc.

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

Official Docker image on Docker Hub

How to configure MeiliSearch

  • MEILI_CONFIG_FILE_PATH./config.tomlDesignates the location of the configuration file to load at launch.

    values: a filepath

  • MEILI_DB_PATHdata.ms/Designates the location where database files will be created and retrieved.

    values: a filepath

  • MEILI_ENVdevelopmentConfigures the instance's environment. Value must be either production or development.

    values: production or development

  • MEILI_HTTP_ADDRlocalhost:7700Sets the HTTP address and port Meilisearch will use.

    values: an HTTP address and port

  • MEILI_MASTER_KEYSets the instance's master key, automatically protecting all routes except GET /health.

    values: a UTF-8 string of at least 16 bytes

MeiliSearch releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

Is killing a Meilisearch process safe?

Yes, killing Meilisearch is safe even during indexing. When you restart, it resumes the task from the beginning.

I uploaded documents but get no search results

Your document upload likely failed. Check the status of the task using the returned taskUid. If the task failed, the response contains an error object.

I keep getting a 400 - Bad Request when adding documents

This usually means your data is not in a valid format. Common causes include extraneous commas, mismatched brackets, or missing quotes. Meilisearch accepts JSON, CSV, and NDJSON formats.

Does Meilisearch collect telemetry?

Meilisearch collects anonymous usage data to understand feature usage and detect bugs. It never tracks individual users and you can opt out.

Is there a public roadmap?

Yes, visit the public roadmap at roadmap.meilisearch.com to see planned features and ongoing work.

What are the hardware requirements for self-hosting?

Provision at least ten times the disk space of your raw dataset. RAM affects search speed, disk size grows with searchable fields, and more CPU cores handle more concurrent queries.

Can I use Meilisearch for multi-tenant applications?

Yes, Meilisearch supports multitenancy with tenant tokens to control which documents each user can search without maintaining separate indexes.

How do I update Meilisearch?

Cloud instances update with one click from the dashboard. Self-hosted instances use the --upgrade-db flag or dump-based migration for older versions.

What are Meilisearch's limits?

Key limits include ~4.3 billion max documents per index, ~80 TiB max index size (recommended < 2 TiB), 65,536 max attributes per document, 10 max query terms for full-text search, and 1,000 default max results per search.

How does Meilisearch compare to other search engines?

Meilisearch maintains detailed comparisons with Elasticsearch, Algolia, Typesense, and others. You can also try it with your own data via the Cloud free trial.

Should I use Meilisearch Cloud or self-host?

Meilisearch Cloud is recommended for most users as it handles provisioning, scaling, backups, and updates automatically. Self-hosting gives full control but requires managing your own infrastructure.

I have never used a search engine before. Can I use Meilisearch anyway?

Yes, Meilisearch is designed to be easy to use and accessible to all developers without requiring knowledge of Elasticsearch or Solr.

More in Search Engines

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…