0

I've ben having some trouble with my site since upgrading to Magento ver. 2.4.0.

My products don't appear in the category pages and when I try to reindex I get the following error message:

Catalog Search index process unknown error:

{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Types cannot be provided in put mapping requests, unless the include_type_name parameter is set to true."}],"type":"illegal_argument_exception","reason":"Types cannot be provided in put mapping requests, unless the include_type_name parameter is set to true."},"status":400}

From what I've seen through a little research this seems to be related to Elasticsearch so I ran the command: curl -XGET '<hostIP:port>/_cat/health?v&pretty'

And got the message:

epoch      timestamp cluster        status node.total node.data shards pri relo init unassign pending_tasks max_task_wait_time active_shards_percent
1606836115 15:21:55  docker-cluster yellow          1         1      2   2    0    0        2             0                  -                 50.0%

I've seen that this might be due to having the wrong version of Elasticsearch installed but I'm not sure how to upgrade/downgrade my version so any guidance on this would be appreciated.

0

Check which version of Elastic is selected in the admin panel

Stores -> Configuration -> Catalog -> Catalog -> Catalog Search -> Search Engine

I try to use Elasticsearch 7

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.