Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Elasticsearch Connector

4,941 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.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Activity

Tracked releases
12
Tracked since
Feb 2025
Latest release
1 month ago
Releases (12 mo)
10 ▲ from 2
Maintenance
Active

Release Timeline

Releases

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