AI-Generated Draft
To help publish information faster, this documentation uses AI-assisted drafting alongside human technical review. If you spot an inaccuracy or need to verify a critical implementation, please contact your Acquia representative or Acquia Support directly.
Run the following command to install the tool. Visit SearchStax Migration Script repository for more information.
curl -fsSL - https://raw.githubusercontent.com/acquia/search-stax-migration/main/install.shtools/search-stacks-migration/srx-migrate) or use the application aliasRun the script.
The script initializes the pre-flight phase and gathers data about the site, such as environment and multisite status
The script can provision the SearchStax application for you.
When prompted, agree to allow the script to create the SearchStax application
Log in: Enter the SearchStax credentials
Account selection: Select the target account, such as Acquia Tam
Region: Select the region that matches the Acquia application, such as US East
Platform: Select the Drupal version, such as Drupal 10
Name the index: Accept the index name suggested by the tool or override it
Confirm the creation
The script pings SearchStax until the application is provisioned
After the application is provisioned, the script automatically retrieves the correct update endpoint.
The script prompts you for a Read/Write Token.
Log in to the SearchStax application in a browser
Navigate to the application settings and copy the Read/Write Token
Paste the token into the CLI prompt and press Return
Optional: Skip the prompt for the Analytics URL if analytics configuration is not required
Server phase: The script creates the SearchStax server based on the Acquia Search server settings that exist
Index phase: The script clones the legacy Acquia Search index into the SearchStax copy
The script triggers a reindex of the content into the new SearchStax index
The script updates the Search API views used by Acquia Search to point to the new SearchStax index
The script applies the required settings changes in the Drupal site to route traffic correctly
Select how to manage configuration
When the prompt asks to delete Acquia Search, press Ctrl+C to stop the script.
Test the configuration before you delete Acquia Search.
To verify the migration before you apply changes to production traffic:
Log in to the adminitrative interface of Drupal
Select Configuration > Search and metadata > Search API
Verify that both the legacy Acquia Search server and the SearchStax server display
Deactivate the Acquia Search server manually to test
Clear the Drupal caches through Drush with the drush cr command or through the UI.
Perform a search on the front end of the site to verify search results
Access the SearchStax Cloud dashboard and verify that the endpoints match the keys
If issues occur during test, complete the following steps to revert changes:
Ensure that the migrate_from_searchstax module in the SearchStax package is installed
Use the module UI to revert the changes made by the CLI tool
Re-enable the Acquia Search server before you restore views to prevent errors, then select the option to revert views to Acquia Search
AI-Generated Draft
To help publish information faster, this documentation uses AI-assisted drafting alongside human technical review. If you spot an inaccuracy or need to verify a critical implementation, please contact your Acquia representative or Acquia Support directly.
If this content did not answer your questions, try searching or contacting our support team for further assistance.
Skip the module installation phase to deploy code by your standard deployment method.
Region: Select the region that matches the Acquia application, such as US East
Platform: Select the Drupal version, such as Drupal 10
Name the index: Accept the index name suggested by the tool or override it
Confirm the creation
The script pings SearchStax until the application is provisioned
In production environments, keep both servers active until the final test is approved, then perform the switch
Clear the Drupal caches through Drush with the drush cr command or through the UI.
Perform a search on the front end of the site to verify search results
Access the SearchStax Cloud dashboard and verify that the endpoints match the keys
If this content did not answer your questions, try searching or contacting our support team for further assistance.