Thursday, 23 September 2021

Magento 2.4 reindex issue with elasticsearch

This configures your ES installation to work properly with Magento 2. 


curl -XPUT -H "Content-Type: application/json" http://localhost:9200/_cluster/settings -d '{ "transient": { "cluster.routing.allocation.disk.threshold_enabled": false } }'


curl -XPUT -H "Content-Type: application/json" http://localhost:9200/_all/_settings -d '{"index.blocks.read_only_allow_delete": null}'

No comments:

Post a Comment

Thanks for your comments.