Bobcares

How does the Magento Elasticsearch extension make your store faster

PDF Header PDF Footer

Wanna install Magento Elasticsearch extension? We can help you with it.

At Bobcares, we often get requests from our customers to install Magento Elasticsearch extension as part of our Server Management Services.

Today, let’s get into the details on how our Support Engineers install and fix this error.

 

Why use Elasticsearch with Magento?

Elasticsearch is a powerful tool for search and logging.

By using this extension with the Magento shop, it helps to increase sales and customer satisfaction via providing precise results for the customer queries. Also, this reduces search time and improves customer experience.

The following are the advantages of Elasticsearch as a search engine for the Magento 2 catalog.

  1. Fast and advanced product searches in the catalog
  2. Multiple language support.
  3. Proper indexing

 

How we install Magento Elasticsearch extension to fix deprecation notice​

At Bobcares, where we have more than a decade of expertise in managing servers, we see that many of our clients face problems with Magento servers.

Often, customers may see a notification on their Magento administration panel as below.

Magento elasticsearch extension

It notifies the customers to upgrade from the default search engine which is based on MySQL to the Elastic Search implementation. Therefore, installing Elasticsearch will remove the warning from the Magento administration panel.

Now, let’s see how our Support Engineers install Elasticsearch as a search engine for the Magento 2 catalog.

1. Initially, we install the recent version of Java. So, we update the repositories with the following command.

apt-get updateCopy Code

2. Then, we install the apt-transport-https package and the Java Development Kit with the following commands.

apt-get apt-transport-httpsCopy Code
apt-get install openjdk-8-jdkCopy Code

Now, we ensure that whether the java is installed or not with the

java -versionCopy Code
command.

3. We add the GPG Key of Elasticsearch in the machine with the following command:

wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | apt-key add -Copy Code

4. Also, we add the elastic search repository to the sources.list of the system.

echo "deb https://artifacts.elastic.co/packages/6.x/apt stable main" | tee -a /etc/apt/sources.list.d/elastic-6.x.listCopy Code

Next, we install Elastic Search with the following command:

apt-get install elasticsearchCopy Code

5. At last, we enable and start the Elasticsearch service with the following commands.

systemctl enable elasticsearch.service

systemctl start elasticsearch.serviceCopy Code

6.  Also, we define in the administration panel of Magento to use the Elasticsearch engine instead of MySQL.

So, we go to Stores >> Configuration >> Catalog Search. Here, we choose Elasticsearch 6.0+ as a default search engine and click on the Test Connection button.

Magento elasticsearch extension

 

Then we clear the cache of the store with the following command.

php bin/magento cache:cleanCopy Code

Again, we update the indexes.

php bin/magento indexer:reindexCopy Code

That’s it. Now, the warning will no more appear on the admin panel.

 

[Need assistance to fix Magento errors? We’ll help you.]

 

Conclusion

In short, the Magento Elasticsearch extension is a tool for search and logging. Also. it improves the default Magento search results. Today, we saw how our Support Engineers assisted our customers to eliminate the deprecation notice​ from the Magento administration panel.

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Get featured on the Bobcares blog and share your expertise with a global tech audience.

WRITE FOR US
server management

Spend time on your business, not on your servers.

TALK TO US

Or click here to learn more.

Speed issues driving customers away?
We’ve got your back!