meilisearch
The official Meilisearch backend for Search API, maintained by Meilisearch. It gives your site fast, typo-tolerant search with Meilisearch Cloud or a self-hosted instance, and works with Views and Facets.
Features
- Full-text search that tolerates typos and matches as you type
- Keyword, hybrid and semantic search (with an embedder configured in Meilisearch)
- Works with Views and every Search API condition, including language and datasource filters
- Facets through Facets: limits, minimum counts, missing values and OR facets
- Highlighted, cropped excerpts in search results
- Location search through Search API Location
- Click analytics on Meilisearch Cloud (included submodule)
- Index prefixes, so several sites or environments share one Meilisearch instance
Use it when the database search is too slow or too strict, or when you want relevant results without running Solr or Elasticsearch.
Post-Installation
- Go to Configuration → Search and metadata → Search API → Add server, pick the Meilisearch backend, and enter your Meilisearch URL and API key. The server page shows whether the connection works.
- Add an index on that server, choose the content and fields to index, and click Start indexing now.
- Build a view on the index with a Fulltext search filter.
Synonyms, stop words, ranking rules and embedders are managed in Meilisearch itself: in the Meilisearch Cloud dashboard, or through its API.
Additional Requirements
- Drupal 10.3 or 11, PHP 8.1 or later
- Search API 1.39 or later
- A Meilisearch Cloud project or a self-hosted Meilisearch 1.16 or later
Recommended modules/libraries
- Facets for faceted search
- Search API Location for location search
Similar projects
Search API Meilisearch is a community module for the same purpose. This module is a separate, official implementation maintained by Meilisearch. Both can be installed side by side; to switch, move your indexes to a server using this backend and re-index.
Supporting this Module
Documentation and source: github.com/meilisearch/meilisearch-drupal. Report issues in this project's issue queue.
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 1.0.0-alpha2 | Pre-release | 10–11 | First alpha. Search API backend for self-hosted Meilisearch and Meilisearch Cloud: keyword, hybrid and semantic search, facets, highlighting, location search, and click analytics on Cloud. | Oct 1, 2026 |