Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

suggestion

244 sites Security covered
View on drupal.org

This module will provide autocomplete search suggestions.

The module is compatible with standard Drupal search, search views and Apache SOLR, but not reliant on any of them.

Auto-complete suggestions are created from 3 sources:

  1. Titles of selected content types. This provides a starting point for suggestions and requires significant content to generate enough autocomplete suggestions.
    1. Strings are tokenized, (lowercased, stopwords removed, short/long words removed and extra spaces removed).
    2. Strings are broken into different length ngrams.
    3. The score of each ngram is tallied and used for ordering.
  2. Priority suggestions added via the admin interface. These suggestions have the highest score and allow the admin to create a set of useful suggestions where the initial set created doesn't proved enough quality auto-complete suggestions.
    1. Strings are tokenized, (lowercased, stopwords removed, short/long words removed and extra spaces removed).
    2. Strings are broken into different length ngrams.
    3. Priority ngrams start with the highest score.
  3. Surfer searches. These suggestions provide an organic way to create successful autocomplete suggestions.
    1. Surfer searches are sourced when the search is submitted.
    2. Strings are tokenized, (lowercased, stopwords removed, short/long words removed and extra spaces removed).
    3. If the tokenized strings exists as an ngram then the score is increased.
    4. If the tokeized string doesn't exist then it is scored and generated ngrams added.

Tuning your autocomplete suggestions:

Since the number of initial suggestions are related to the amount of content your site has. The settings might have to be tweaked to get best results. Sites with large amounts of content can generate an excess of suggestions. Since much of the success of autocomplete relies on response time. The number of rows in the database can become unmanagable. In sites with little content priority suggestions might have to be added to achieve the desired results.

  • Minimum Characters - Initially this is set at 4. Increasing this will reduce the number of suggestions dramatically.
  • Maximum Characters in a Suggestion - Initially this is set to 45. Increasing this will increase the number of suggestions but is more applicable to the size of your text field than tuning the number of suggestions.
  • Minimum Words in a Suggestion - Initially this is set to 1. Increasing this will reduce the number of suggestions dramatically.
  • Maximum Words in a Suggestion - Initially this is set to 6. Decreasing this will reduce the number of suggestions dramatically.
  • Maximum Suggestions Returned - Initially set to 20. Less autocomplete suggestions will decrease response time, more will increase response time.
  • Stopwords - Adding irrelevant/undesirable terms will reduce undesirable suggestions.
  • Priority Suggestions - Priority suggestions receive the highest score and allow the admin to create desirable auto-complete suggestions.
  • Exceptions - Exceptions allow non-alphabetic strings to be used in suggestions, (4.2.0-beta* only).

Activity

Total releases
4
First release
Feb 2026
Latest release
1 month ago
Release cadence
7 days
Stability
0% stable

Release Timeline

Releases

Version Type Release date
4.2.0-beta1 Pre-release Mar 11, 2026
4.2.0-alpha3 Pre-release Feb 20, 2026
4.2.0-alpha2 Pre-release Feb 18, 2026
4.2.0-alpha1 Pre-release Feb 18, 2026