Removing the legacy Search module and configuration
Prerequisites to ensure before you uninstall and remove the Acquia Search module:
Confirm that the migration is successful.
Confirm that indexing is complete.
Verify that Acquia Search powered by SearchStax functions as expected in your production environment.
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, and Search views.