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 adds support for NGram tokenization to the Elasticsearch connector, allowing for more flexible and efficient partial text matching in search applications. It works by enabling the NGram analyzer for specific text fields within your Search API configuration.

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
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Dormant

Releases

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