Member-only story
How to Enable Solr Search Autocomplete in Drupal 9
Enabling autocomplete will only take you a few minutes.
In this article, I’ll explain how to enable autocomplete for Solr search in Drupal 9. I will assume you’ve already configured Solr and enabled the module Search API Solr.
First, add the module Search API Autocomplete using Composer:
composer require drupal/search_api_autocomplete
Then enable it:
drush en search_api_autocomplete -y
Go to /admin/config/search/search-api:
In operations, in your index, click Autocomplete.
Select the checkbox of your search view:
And that’s it. From now on, when you add a search box to a page it will use auto-complete when you start typing.
👉 Find out more about me here: https://sergioguardiola.net 🔥