Search code examples
phpelasticsearchmagentocatalogmagento2.2

Magento 2 EE elasticsearch Content-Type header is not supported


I have successfully integrated elastic search(Elasticsearch 6.0) with Magento Enterprise Edition 2.1. As per their documentation, I have tried to reindex calalog by using magento cli command

bin/magento indexer:reindex catalogsearch_fulltext

But it throws an error like

Catalog Search indexer process unknown error:
Content-Type header [] is not supported

I read that,Elasticsearch 6.0 is implemented strict content-type checking.So how can I solve this in Magento EE 2.1 ?


Solution

  • As per the Magento EE documentation, they support Elasticsearch versions 1.4, 1.7, and 2.4. The default version is 1.7.

    But I tried to inegrate latest version of elasticsearch (Elasticsearch 6.0).I have installed elasticsearch 2.4 and working fine now.