0

Magento Version: v2.4.1-p1
Elasticsearch Version: v7.10

Products are disappearing from search results on our site. When reviewing the exception.log we are seeing the following error messages:

main.CRITICAL: {"error":{"root_cause":[],"type":"search_phase_execution_exception","reason":"","phase":"fetch","grouped":true,"failed_shards":[],"caused_by":{"type":"aggregation_execution_exception","reason":"Merging/Reducing the aggregations failed when computing the aggregation [product_attribute_code] because the field you gave in the aggregation query existed as two different types in two different indices"}},"status":500} {"exception":"[object] (Elasticsearch\Common\Exceptions\ServerErrorResponseException(code: 500): {"error":{"root_cause":[],"type":"search_phase_execution_exception","reason":"","phase":"fetch","grouped":true,"failed_shards":[],"caused_by":{"type":"aggregation_execution_exception","reason":"Merging/Reducing the aggregations failed when computing the aggregation [certification_ltf_dhv_bucket] because the field you gave in the aggregation query existed as two different types in two different indices"}},"status":500} at /vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php:665)"} []

Does anyone know how to resolve this type of issue?

3
  • Can you share your elastic search config? Commented May 21, 2021 at 9:51
  • Hi @joeyoung, Sure. See dropbox.com/s/dpkgi0yzmsp3kft/… Commented May 24, 2021 at 7:15
  • Did you ever find a resolution to this issue? Commented Jul 28, 2023 at 23:37

1 Answer 1

0

Check certification_ltf_dhv_bucket attribute in Magento admin. As per the error, Maybe something wrong with this attribute. Check this attribute type in attribute config or trying to create again this attribute or try to delete the attribute.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.