With Copilot
Acquia Copilot is a conversational AI connected into our product documentation and knowledge base. Ask Copilot about product features, technical details, troubleshooting and how to get started with Acquia products.
Sign in to use Acquia Copilot
Compatibility issues
The Drupal Starter Kits Search module is not compatible with the Drupal core Search module.
If you stage down from a production environment to a non-production environment, the system might return inaccurate or empty search results in the production environment.
Workaround:
Add the following snippet in the settings.php file:
if (isset($_ENV['AH_SITE_ENVIRONMENT'])) {
// Setting for Acquia Hosting Envs.
switch ($_ENV['AH_SITE_ENVIRONMENT']) {
case 'dev':
$settings['acquia_search.settings']['override_search_core'] = 'ALQT-201252.dev.dhsinternet';
break;
case 'test':
$settings['acquia_search.settings']['override_search_core'] = 'ALQT-201252.test.dhsinternet';
break;
case 'prod':
// Site Factory may require a different value depending on site
// configuration.
$settings['acquia_search.settings']['override_search_core'] = 'ALQT-201252.prod.dhsinternet';
break;
default:
$settings['acquia_search']['read_only'] = TRUE;
}
} else {
// Local Dev envs
// Read only mode
$settings['acquia_search']['read_only'] = TRUE;
// Force pointing non-prod Search Core
$settings['acquia_search']['override_search_core'] = 'ALQT-201252.test.dhsinternet';
}packages.json fileThe packages.json file could not be downloaded. You can find the file in the following location:
https://asset-packagist.org/packages.json
Workaround:
acquia/drupal-recommended-project or acquia/acquia-cms-project (deprecated), you must remove the entry for asset-packagist.org from your composer.json file. For more information, see Removing Asset Packagist.asset-packagist.org, you must run composer update, commit, and deploy the resulting changes to you lock file.If this content did not answer your questions, try searching or contacting our support team for further assistance.
If this content did not answer your questions, try searching or contacting our support team for further assistance.