Removing the legacy Search module and configuration
After you confirm that Acquia Search powered by SearchStax works as expected in your production environment, you must uninstall and remove the Acquia Search module.
Warning
Drupal cannot uninstall a module after you remove it from the codebase. You must uninstall the module and remove any of its associated configuration from the database before using Composer to remove the module.
To remove the module:
Remove any remaining legacy Acquia Search configuration, such as Search server, Search index, Search views, and more.