Drupal is a registered trademark of Dries Buytaert

This module enhances the Elasticsearch connector by adding support for NGram tokenization in text fields. It enables efficient partial text matching, making it ideal for applications requiring flexible search capabilities.

Installation

Install as you would normally install a contributed Drupal module.
See: https://www.drupal.org/node/895232 for further information.

Additional Requirements

  • Search Api
  • Elasticsearch Connector

Configuration

Apply the Analyzer to Text Fields In your Drupal site, configure the Search API index to use the NGram analyzer for specific fields:

  • Go to Configuration > Search and Metadata > Search API.
  • Edit the desired Search API index.
  • Navigate to the Fields tab.
  • For the text fields where you want to enable NGram tokenization, select the NGram type from the field settings.
  • Save field data.

Reindex Your Data After applying the NGram analyzer, reindex your data to ensure the new tokenization settings are applied:

  • Go to Configuration > Search and Metadata > Search API.
  • Click on the Index now button for the relevant index.

Activity

Total releases
2
First release
Mar 2025
Latest release
11 months ago
Release cadence
0 days
Stability
0% stable

Releases

Version Type Release date
1.0.0-alpha1 Pre-release Mar 10, 2025
1.0.x-dev Dev Mar 10, 2025