Unable to apply data patch Magento\CatalogSearch\Setup\Patch\Data\SetInitialSearchWeightForAttributes for module Magento_CatalogSearch. Original exception message: Indexer handler is not available: elasticsearch6
What is the best way to get either around this or fix this?
Note: I cannot get into my admin, I cannot run the setup: upgrade command as the message above halts the upgrade process. I have access to the config files and the database.
Hi @SrLucasM
If you are from a docker-compose background!
just change the 'servers' value in app/etc/env.php to:in my case it was elasticsearch:9200` since my docker-compose was like
elasticsearch:
build: images/elasticsearch
ports:
- "9200:9200"
- "9300:9300"0
Hope it helps!
Thanks
---
If you've found my answer useful, please give"Kudos" and "Accept as Solution".
Hello @SrLucasM
Are you looking for this Pre patched file for Catalog pagination issue on Elasticsearch 6.x patch for Magento 2.3.3