Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Elasticsearch Connector

5,027 sites No security coverage
View on drupal.org

This module provides a Search API backend for Elasticsearch, enabling full-text search, vector search, and other advanced search capabilities within your Drupal site. It leverages the official Elasticsearch PHP Client to connect and interact with an Elasticsearch cluster.

Elasticsearch is a powerful, distributed, RESTful search and analytics engine based on Apache Lucene that supports full-text search, vector search, retrieval augmented generation (RAG), facets, spellchecking, hit highlighting, auto-completion, location-based searching, and more.

This module provides a Search API backend for Elasticsearch, using the official Elasticsearch PHP Client.

Note that, in January 2021, Amazon forked Elasticsearch (then at version 7.10.2) to create OpenSearch, and the two projects have diverged over time. If you are using OpenSearch, please consider using the Search API OpenSearch module instead.

Requirements

Elasticsearch Connector requires the Search API module to function.

Recommended modules

The following modules are optional, but can extend the functionality of Elasticsearch Connector:

Roadmap

The ElasticSearch Connector maintainers intend to support ElasticSearch only, i.e.: we do not intend to support OpenSearch, because the Search API OpenSearch module does that already.

The maintainers intend to support versions of this module that are compatible with the currently-supported versions of Elasticsearch. For more information, please see Elasticsearch's documentation on Elastic Product End of Life Dates.

Elasticsearch release series Drupal module release series Drupal module supported? Maintenance status 9.x 9.0.* Yes In development 8.x 8.0.* Yes Actively maintained 7.x 8.x-7.* Yes Security and bug fixes only 6.x 8.x-6.* No 5.x 8.x-5.*, 7.x-5.* No 2.x, 1.x 8.x-2.*, 7.x-2.* No 1.x 7.x-1.* No

Known problems

If you find a problem, please let us know by adding an issue!

In the 8.0.* release series, changing the mapping of an existing field or deleting a field will cause the search index to be cleared, and all items queued for re-indexing. This is a limitation of Elasticsearch: see the Elasticsearch documentation on their Update mapping API for more details. We plan to mitigate this by using Elasticsearch's Aliases API to automatically creating a new index and reindexing to it in #3248665: Support Aliases API and zero downtime mapping updates.

Credits

NodeSpark, Google Summer of Code (GSoC) 2014, FFW, and Utilis.io sponsored initial development of Elasticsearch Connector.

Fame Helsinki, Ontario Digital Service, and Consensus Enterprises sponsored maintenance and support for Elasticsearch 8.

This module was created by Nikolay Ignatov (skek) who maintains the list of maintainers. If you would like to become a maintainer yourself, please reach out to him directly.

Similar projects and how they are different

Note that there is a few modules that extends Elasticsearch Connector:

Dependencies

In order to function, this module requires a connection to an Elasticsearch cluster:

  • Elasticsearch B.V., the company that created Elasticsearch and sponsors its development, offers Elasticsearch as a Service through a product called Elastic Cloud (which can be hosted on Amazon Web Services (AWS), Google Cloud Platform (GCP), and/or Microsoft Azure, and has a 14-day free trial).
  • Some hosting providers (e.g.: Platform.sh, Lagoon) offer Elasticsearch plugins.
  • You can also self-host Elasticsearch with Docker or Kubernetes.
  • To test with a single-node cluster in CI, see this project's .gitlab-ci.yml on the 8.0.x branch.
  • For local development, both ddev and lando provide officially-supported plugins; or you can run it locally.

Activity

Total releases
12
First release
Feb 2025
Latest release
1 day ago
Releases (12 mo)
10 ▲ from 2
Maintenance
Active

Release Timeline

Releases

Version Type Release date
8.x-7.0-alpha8 Pre-release Jul 16, 2026
8.0.0-alpha7 Pre-release Apr 28, 2026
9.0.0-alpha3 Pre-release Apr 28, 2026
8.0.0-alpha6 Pre-release Mar 3, 2026
9.0.0-alpha2 Pre-release Mar 3, 2026
9.0.0-alpha1 Pre-release Jan 29, 2026
9.0.x-dev Dev Jan 5, 2026
8.x-7.0-alpha7 Pre-release Oct 15, 2025
8.x-7.0-alpha6 Pre-release Oct 1, 2025
8.0.0-alpha5 Pre-release Sep 30, 2025
8.0.0-alpha4 Pre-release Feb 21, 2025
8.0.0-alpha3 Pre-release Feb 7, 2025