Acquia Search and Acquia Cloud Site Factory

For your Acquia Cloud Site Factory websites to be able to use Acquia Search, you must install the suite of search modules for your version of Drupal. Because all websites in an environment share a single search index, it is important to configure your websites to provide website-specific hashes for Acquia Search to return search results for only a single website in your cluster.

To learn more about the currently-supported versions of search modules on Acquia Cloud, see Modules for Acquia Search.

Configuring Acquia Search and Acquia Cloud Site Factory

To configure Acquia Search for multisite use with Acquia Cloud Site Factory, complete the following steps:

  1. Contact Acquia Support to request that search cores be provisioned for each environment in your Acquia Cloud Site Factory subscription.
  2. Install and configure the recommended search modules for your version of Drupal.
  3. Enable multisite search support using the following steps appropriate for your installed version of Drupal:
  4. Verify that your search installation is configured to switch search cores when necessary, as described in the Configuring automated core switching section on this page.
  5. To prevent searches from returning results for multiple websites, configure unique hash values for each website, as described in Ensure correct implementation of Solr hashes.

If, after completing these steps, your websites still cannot connect to Acquia Search, see Troubleshooting multiple search cores for instructions about how to resolve common problems with multisite search.

Configuring automated core switching

After you enable multisite support for Acquia Search, confirm that Acquia Search is configured to switch search cores when necessary by performing the steps for your chosen search modules.

Drupal 7 websites using the Search API module

  1. Ensure that your website is not using any of the code overrides included in the Overriding Solr core automatic connection switching documentation page.
  2. Sign in to your Drupal website as an administrator.
  3. In the top menu, click Configuration.
  4. In the Search and metadata section, click Search API.
  5. Click Edit next to the Server that you want to modify.
  6. Click the Acquia Search section to display its available options.
  7. Click the Configure Acquia Search section to display its available options.
  8. Select the Automatically switch when an Acquia Environment is detected check box.

Drupal 7 websites using the Apache Solr module

  1. Ensure that your website is not using any of the code overrides included in the Overriding Solr core automatic connection switching documentation page.
  2. Sign in to your Drupal website as an administrator.
  3. In the top menu, click Configuration.
  4. In the Search and metadata section, click Apache Solr search.
  5. Click the Settings tab, and then click Edit for the desired search environment.
  6. Click the Configure Acquia Search section to display its available options.
  7. Select the Automatically switch when an Acquia Environment is detected check box.

Contact supportStill need assistance? Contact Acquia Support