You are here

README.txt in Acquia Search Multiple Indexes 8

Same filename and directory in other branches
  1. 7 README.txt
This module allows you to switch between Acquia Search cores manually or
automatically.

To start you should go to the Solr settings and edit them (see below for
details). By default the module will be enabled and will automatically detect if
you are entitled to multiple cores.

To verify if you have multiple cores available, you can deselect the
"Automatically switch when an Acquia Environment is detected" checkbox and it
will show you a list of the search cores that are available for the subscription
that you connected with using the Acquia Connector.

Getting to the Solr configuration:
- For the Apache Solr Search Integration module: Got to
  admin/config/search/apachesolr/settings and click the Acquia Search
  environment. Click "Edit" to modify the properties of this environment.
- For the Search API Solr Search module: Go to admin/config/search/search_api,
  locate your Acquia Search server and click "Edit".

If you want to test the switching locally add the following to your
settings.php file:

  $_ENV['AH_SITE_NAME'] = 'subscriptionnamedev';
  $_ENV['AH_SITE_ENVIRONMENT'] = 'dev';

You can find these variables when you execute the following on your Acquia
Server:

  debug($_ENV['AH_SITE_ENVIRONMENT']);
  debug($_ENV['AH_SITE_NAME']);

Alternatively you could fill in data from another subscription so that it takes
over your Acquia Search environment without disturbing the connection to the
Acquia Connector / Acquia Insight.

File

README.txt
View source
  1. This module allows you to switch between Acquia Search cores manually or
  2. automatically.
  3. To start you should go to the Solr settings and edit them (see below for
  4. details). By default the module will be enabled and will automatically detect if
  5. you are entitled to multiple cores.
  6. To verify if you have multiple cores available, you can deselect the
  7. "Automatically switch when an Acquia Environment is detected" checkbox and it
  8. will show you a list of the search cores that are available for the subscription
  9. that you connected with using the Acquia Connector.
  10. Getting to the Solr configuration:
  11. - For the Apache Solr Search Integration module: Got to
  12. admin/config/search/apachesolr/settings and click the Acquia Search
  13. environment. Click "Edit" to modify the properties of this environment.
  14. - For the Search API Solr Search module: Go to admin/config/search/search_api,
  15. locate your Acquia Search server and click "Edit".
  16. If you want to test the switching locally add the following to your
  17. settings.php file:
  18. $_ENV['AH_SITE_NAME'] = 'subscriptionnamedev';
  19. $_ENV['AH_SITE_ENVIRONMENT'] = 'dev';
  20. You can find these variables when you execute the following on your Acquia
  21. Server:
  22. debug($_ENV['AH_SITE_ENVIRONMENT']);
  23. debug($_ENV['AH_SITE_NAME']);
  24. Alternatively you could fill in data from another subscription so that it takes
  25. over your Acquia Search environment without disturbing the connection to the
  26. Acquia Connector / Acquia Insight.