Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Elasticsearch - Search API

Security covered Under active development 379 sites

This module provides a framework for building custom Elasticsearch-powered search pages. It offers features such as faceted search, pagination, synonyms, autocomplete, and "did you mean" suggestions to enhance the search experience.

Elasticsearch - Search API provides a framework to set up custom Elasticsearch based search pages.

It depends on search_api to manage your indexed data and elasticsearch_connector to set up a connection with your Elasticsearch backend.

Features:

The included images are screen captures of the custom search pages that are implemented at VDAB using this module.

Ajax powered faceted search

On the VDAB Intranet we implemented several faceted searches. This makes it possible for users to filter their search results based on for example page types, etc. These facets are each linked to a taxonomy list. We also created an option to sort pages based on their publication date.

More info: https://www.elastic.co/guide/en/app-search/current/facets.html

Pagination

The pagination allows for the user to flip through all search results, the user always has the option to go one page forward or backward, or to go to the last or first page.

Synonyms

This option hasn't been implemented yet on our sites.

Autocomplete/Search suggestion

The search suggestion functionality will provide suggestions for the user to search based on the search string the user has entered so far. The suggestions will prioritize search strings where your terms are still stand-alone words, with lower priority on suggestions where your input is part of the complete term (for example “info” will yield “info province” as separate words, before “information”, using your search term to complete a new search term)

More info: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-s...

Did you mean

If spelling errors are detected or if the search engine algorithm predicts that other words synonymous with your search terms will yield better results, the “Did you mean” functionality will suggest a different search string.

Installation

Add both this module and the block ui library to your project's composer.json, which is a dependency of this module:

```
"repositories": [
    {
      "type": "package",
      "package": {
        "name": "library-blockui/blockui",
        "version": "v2.70",
        "type": "drupal-library",
        "dist": {
          "url": "https://github.com/malsup/blockui/archive/2.70.zip",
          "type": "zip"
        }
      }
    }
  ]
```

Install it, as usual, with: `composer require drupal/elasticsearch_search_api`

Drupal 10–11

Ask your assistant about Elasticsearch - Search API

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

1 tracked project depends on this one

Activity

Tracked releases
8
Tracked since
Feb 2023
Latest release
4 months ago
Releases (12 mo)
2 ▲ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
2.2.1 Stable 10–11 Jun 11, 2026
2.2.0 Stable 10–11 Dec 30, 2025
2.2.x-dev Dev 10–11 Oct 7, 2025
2.1.1 Stable 8–10 Jun 19, 2024
2.1.0 Stable 8–10 Jun 18, 2024
2.0.2 Stable 8–10 Aug 14, 2023
2.0.1 Stable 8–10 Aug 1, 2023
2.0.0 Stable 8–10 Feb 16, 2023