Installing Acquia Search with Solr 7 for Drupal 9 or later

To install Acquia Search with Solr 7 for Drupal 9 or later, follow the Requirements and Acquia Search Solr installation.


To use Acquia Search with Solr 7 on your website, you must meet the following requirements:

Acquia Search Solr installation

Installing Acquia Search Drupal modules

To install the Drupal modules to enable the use of Acquia Search with Solr 7:


Acquia requires using the Acquia Connector module with Acquia Search. Installing the Acquia Connector module gives you simplified and automatic configuration of Search. Using Composer to install Acquia Search automatically pulls in the associated required version of Acquia Connector.

  1. Install the Acquia Search module:

    composer require "drupal/acquia_search:^3.1.0"
  2. Enable the Acquia Search module:

    drush en acquia_search

Configuring the index

To configure the index:

  1. In the Operations menu, click Edit and select the Acquia Search API Solr server as the Server for the index.


    From Index Options, verify that the Read only option for the Acquia Search API Solr index is disabled. If not, indexing does not work.

  2. Click Save configuration to save the index. The website redirects you to the Search API page.

  3. From the Operations menu, click Enable to enable the index.

Indexing site content

To index your site content:

  1. On your website, from the Search API page, click the index name to open the index detail page.

  2. Click Queue all items for reindexing. Acquia Search will display a confirmation page that prompts you to confirm the reindexing attempt. Click Confirm and you’d be redirected to the index details page.

  3. Scroll to the end of the page, and click Index now.

    The Index status displays the number of items indexed out of the total number of items in the index. When reindexing is complete, Acquia Search displays a banner message to indicate that the reindexing is completed as expected.

You have completed the installation of Acquia Search with Solr 7 for your Drupal website.

Drush commands

Acquia Search Solr includes several Drush commands to manage search from the command line.


For more information about Drush, see Introduction to Drush.

Command Description
acquia:search-solr:cores Lists all available search indexes. Supports --format=value option. Valid options: json, var_dump or var_export, print_r. Defaults to print_r.
acquia:search-solr:cores:cache-reset Clears the Acquia Search index cache for the default Acquia subscription identifier provided by the module configuration or via --id=CORE-ID option.
acquia:search-solr:cores:possible Lists all possible Acquia Search indexes. Supports --format=value option. Valid options: json, var_dump or var_export, print_r. Defaults to print_r.

For more information, see Drupal-acquia_search_solr-Commands-AcquiaSearchSolrCommands.