I have intalled magento2.4 with elasticsearch version 7.. Resources are 4 core and 8gb ram , startup web application. Elastic search is consuming more then half of the memory , which is making the server down and elasticsearch getting turned off automatically very often.. Can you please help me in configuring memory consumption of elastic search...
Hello, you may try this module to disable elasticsearch properly:
Hey, as far as I know elasticsearch is free to use and open source.
You can save value for 'mysql'
php -f bin/magento config:set catalog/search/engine 'mysql'
and it'll work but you won't be able to search anything on your storefront. So shortly, magento has completely removed mysql , we won't be able to run searches on mysql
use this module and disable elasticsearch by default in the install command
and set the 'catalog/search/engine' as 'lmysql' using command line and then it will work
We can disable the Elastic search and eventually installed the Magento 2.But it will throw errors while working in admin later. Its better advised to keep turn it on.
To check the status
php -f bin/magento config:show catalog/search/engine