cancel
Showing results for 
Search instead for 
Did you mean: 

Can we disable Elasticsearch from magento 2.4???

SOLVED

Re: Can we disable Elasticsearch from magento 2.4???

Hello

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...

Re: Can we disable Elasticsearch from magento 2.4???

Hello, you may try this module to disable elasticsearch properly:

https://github.com/zepgram/module-disable-search-engine

Re: Can we disable Elasticsearch from magento 2.4???

Hey, as far as I know elasticsearch is free to use and open source.

 

 

Re: Can we disable Elasticsearch from magento 2.4???

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 

Re: Can we disable Elasticsearch from magento 2.4???

use this module and disable elasticsearch by default in the install command 

https://swissuplabs.com/magento-2-mysql-legacy-search.html

 

and set the 'catalog/search/engine' as 'lmysql' using command line and then it will work

Re: Can we disable Elasticsearch from magento 2.4???

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

 

Anees