Important
The following requirements and installation instructions are for Acquia Search with Solr 7 only.
To use Acquia Search with Solr 7 on your website, you must meet the following requirements:
To install Acquia Search Solr, complete the following steps:
Using Composer, run the following command
ensuring you replace [version]
with the most recent version of the
module:
composer require 'drupal/acquia_search_solr:[version]'
Enable Acquia Search Solr and all dependencies.
You can configure the Acquia Search Solr module by completing the following steps:
Sign in to your Drupal website as an administrative user.
In the admin menu, click Configuration.
In the Search and metadata section, click Acquia Search Solr settings.
Retrieve your product keys from the Product Keys section of the Acquia Cloud user interface to connect your website to Acquia Search. See Managing your product keys for more information.
On the Acquia Search Solr settings page, be sure to add values to the following fields:
After you enter values for the previous fields, Acquia Search will display a list of available Search cores for your application.
Now, you can click the Search API configuration link to check the Search API server and index status.
Since the Acquia Search Solr module has conflicting
composer.json
requirements with Acquia Connector module version 8.x-1.x, you
can’t install both modules together.
Important
Subscribers using Acquia Search with Solr 4 must not upgrade from Acquia Connector version 8.x-1.x to Acquia Connector version 8.x-2.x; doing so will break the search feature. You must continue to use Acquia Connector version 8.x-1.x.
Note
Subscribers using Acquia Search with Solr 7 who require Acquia Insight or uptime monitoring must also use Acquia Connector version 8.x-2.x or later. If you don’t require Acquia Insight or uptime monitoring, you can continue to use the Acquia Search Solr module without Acquia Connector.
Complete the following troubleshooting steps to help resolve issues with the Acquia Search Solr module:
localhost
or to the IP
127.0.0.1
, the Acquia Search Solr module isn’t configured as expected or
can’t detect the appropriate search core based on environment variables.acquia_search_solr.settings.override_search_core
to point
the module to a search core. See the module’s README.txt
for details.Acquia Search Solr includes several Drush commands to manage search from the command line.
Note
For more information about Drush, see the Introduction to Drush.
Command | Description |
---|---|
acquia:search-solr:cores |
Lists all available search cores. 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 core 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 cores. Supports --format=value
option. Valid options: json , var_dump or var_export , print_r .
Defaults to print_r . |
For more details, see Drupal-acquia_search_solr-Commands-AcquiaSearchSolrCommands.