1

When I run php bin/magento indexer:reindex I get the following error message from the Catalog Search indexer:

{"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"analyzer [sku] not found for field [sku]"}],"type":"mapper_parsing_exception","reason":"analyzer [sku] not found for field [sku]"},"status":400}

I have checked that elasticSearch 7 is connected and running. I have disabled a search autocomplete plugin (https://www.mageworx.com/magento-2-search-autocomplete-free.html) and that also did not resolve the issue.

I noticed some others had issues but mainly due to a mirasvit plugin which I do not have installed.

1

It might be related to your ElasticSearch installation or version.

Check if you're using ElasticSearch 7.9 as required and try to reset the indexes before run the reindex.

bin/magento indexer:reset
bin/magento indexer:reindex

Magento 2 ElasticSearch error

2
  • Looking into this now. Thank you for the suggestion. Sep 3 at 20:32
  • 1
    Host told me that they don't support 7.9 yet. Looks like I'll have to wait, or move the site to another server. Your answer seems most probably even though I won't be able to test it for a little while. Sep 3 at 20:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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