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). 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). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Varbase FAQs 9.2.1 Minor update available for module varbase_faqs (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.

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`

Activity

Total releases
3
First release
Oct 2025
Latest release
1 month ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Release date
2.2.1 Stable Jun 11, 2026
2.2.0 Stable Dec 30, 2025
2.2.x-dev Dev Oct 7, 2025