magento / magento-cloud

Magento Cloud
Open Software License 3.0
205 stars 235 forks source link

Apostrophe and accent letters cannot be used in Live Search queries #535

Open lagunacellar opened 2 years ago

lagunacellar commented 2 years ago

Live Search cannot handle any queries that contain apostrophe or accent letters. These accent letters are frequently used in product names of French and/or other European origin.

See screenshots below, the query of L'If returns no results, yet multiple versions of the product exist and are visible when queried by SKU.

Screen Shot 2022-08-13 at 2 27 25 PM Screen Shot 2022-08-13 at 2 27 40 PM

Identical failure to return Live Search results occurs when queries include accented letters such as â, î, é, è ...

BaDos commented 2 years ago

Hi @lagunacellar

Please create this issue in this repo: https://github.com/magento/magento2/issues

lagunacellar commented 2 years ago

Not sure why this should not stay here. This issue is strictly limited to Live Search service on Magento Cloud. If using the plain vanilla ElasticSearch on Magento 2.4, the search results appear as expected. We never had any issues on ElasticSearch with searching with accent letters until we migrated to Live Search.

BaDos commented 2 years ago

@lagunacellar Could you provide more information? Version of Magento, ES version, etc Is it integration/starter environment or pro? Do you use fastly?

lagunacellar commented 2 years ago

This issue first surfaced after we switched from using ElasticSearch in 2.4.3 to using Live Search (a premium Magento/Adobe Commerce feature). It now continues to be a problem after upgrade to 2.4.4 and 2.4.5. Live Search runs queries through Adobe SaaS service. While accent letters are no issues in native Magento, they appear to be disabled on Live Search by design.

We are on Starter environment. Yes, we use Fastly as part of Commerce Cloud configurations. In keeping with Cloud specs, we use Open Search 1.2, although the issue is not caused by Open Search, as long as Live Search is deployed.