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 Answer 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

  • Looking into this now. Thank you for the suggestion. Commented Sep 3, 2021 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. Commented Sep 3, 2021 at 20:43

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.