2

I know this question is super generic, but is anyone else having just a helluva time getting Adobe Live Search installed, configured and enabled?!? I've been trying (apparently unsuccessfully) running through their documentation the last few days, and am getting nowhere.

I've got all my Prod/Sandbox API keys in, the module installed and just am getting nothing back.

On top of that, it appears that bin/magento module:disable Magento_Elasticsearch Magento_Elasticsearch6 Magento_Elasticsearch7 Magento_ElasticsearchCatalogPermissions Magento_AdvancedSearch Magento_InventoryElasticsearch

...throws errors saying that there are several modules that depend on it. Mmmk... so then Adobe, why are you telling me to disable it?

EDIT: Suprised that I still get looks at this question. Thanks to everyone who has provided information. Short time after this post, the client switched gears and no longer wanted/used LiveSearch and went back to just Elasticsearch. That's why I haven't marked any answers as "correct" as I haven't had a chance to revisit and/or test anything out. Hope this post is helping others out... cheers!

1
  • Same issue here, and on top of that, the products disappear from the frontend. I tried to do a reindex, but it is not working. Commented Jul 14, 2022 at 8:55

2 Answers 2

2

You must follow these steps:

The following describes how to proceed to install Live Search.

a) Move to the base path of the magento project, Open the command console.

b) Install LiveSearch

composer require magento/live-search:^2.0

c) Disable modules related to Elasticsearch

bin/magento module:disable Magento_Elasticsearch Magento_Elasticsearch7 Magento_Elasticsearch6 Magento_ElasticsearchCatalogPermissions Magento_InventoryElasticsearch Magento_ElasticsearchCatalogPermissionsGraphQl

d) Run the command:

bin/magento setup:upgrade

Install Connector:

composer require magento/experience-platform-connector:^1.0
  1. Run the command:

    bin/magento setup:upgrade

  2. Clear cache

    bin/magento c:c

  3. Update live search by running the command:

    composer update magento/live-search --with-dependencies

  4. Run the command to view the installed live search data:

    composer show magento/live-search

  5. run: bin/magento setup:upgrade

  6. The following modules should be activated if they were not already activated:

    bin/magento module:enable Magento_LiveSearchAdapter Magento_LiveSearchStorefrontPopover Magento_LiveSearch Magento_LiveSearchMetrics Magento_LiveSearchTerms

    bin/magento module:enable Magento_SaaSCommon Magento_SaaSCatalog Magento_SaaSProductOverride Magento_ExperienceConnectorAdmin Magento_ExperienceConnector Magento_ServicesIdGraphQlServer Magento_ServicesId Magento_DataServices Magento_ServicesConnector

    bin/magento module:enable Magento_BundleProductDataExporter Magento_CatalogDataExporter Magento_CatalogInventoryDataExporter Magento_CatalogUrlRewriteDataExporter Magento_ConfigurableProductDataExporter Magento_DataExporter Magento_ParentProductDataExporter Magento_ProductOverrideDataExporter

    bin/magento module:enable Magento_GraphQl Magento_AdminGraphQlServer Magento_DataServicesMultishipping Magento_QueryXml Magento_ServicesIdLayout Magento_GraphQlServer

  7. bin/magento setup:upgrade

  8. Clear cache: bin/magento c:c

  9. If necessary, run the following command: rm -rf pub/static// && rm -rf var/view_preprocessed/* && bin/magento setup:static-content:deploy -f && bin/magento cache:flush

In the graphical interface Admin: System -> Commerce Services Connector

  1. Click on Start setup to configure the credentials, select the project and the Space assigned by Adobe

  2. Click on next, the public and private keys will be requested both to enter said credentials in the spaces assigned for it.

  3. To enter the Live Search panel, Marketing -> SEO & Search -> Live Search

If the credentials were entered correctly, the respective panel will be displayed

1
  • Hi, Any how to customize the live search listing page. I want to add the Add to cart, wishlist feature.
    – Mahendra
    Commented Apr 17 at 10:28
0

If your products disappear from the frontend you must synchronize the products with livesearch by executing the following commands:

bin/magento saas:resync --feed products
bin/magento saas:resync --feed productattributes
bin/magento saas:resync --feed productoverrides
1
  • If you could assist me in updating the data during the execution of the product feed command, specifically to update the product image URL, it would be greatly appreciated.
    – Ravi Soni
    Commented Dec 11 at 5:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.