I’ve recently upgraded my Magento 2 store from version 2.4.1 to 2.4.3.
However, I’m encountering issues when running the catalog search, And I’m receiving the following error message:
main.CRITICAL: {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Rejecting mapping update to [magento2_product_1_v2] as the final mapping would have more than 1 type: [_doc, document]"}],"type":"illegal_argument_exception","reason":"Rejecting mapping update to [magento2_product_1_v2] as the final mapping would have more than 1 type: [_doc, document]"},"status":400} {"exception":"[object] (Elasticsearch\Common\Exceptions\BadRequest400Exception(code: 400): {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Rejecting mapping update to [magento2_product_1_v2] as the final mapping would have more than 1 type: [_doc, document]"}],"type":"illegal_argument_exception","reason":"Rejecting mapping update to [magento2_product_1_v2] as the final mapping would have more than 1 type: [_doc, document]"},"status":400} at /var/www/html/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php:675)"} []
I’ve consulted the official documentation, And it indicates that Magento 2.4.3 is compatible with Elasticsearch version 7.10. I’m using Elasticsearch 7.10 with Magento 2.4.3.
Despite this, I’m facing indexing issues.
Could you please provide guidance/solution on how to resolve this issue?
Your assistance would be greatly appreciated.