What are the benefits provided by Elasticsearch?
- Provided the catalog products advance searches for our store.
- Works well out of the box
- Support for multiple languages
- Supports real-time data and analysis
- We can be used as a document-oriented datastore
Which Elasticsearch version support by Magento 2?
We need to configure and install Elasticsearch 7.6.x before upgrading to Magento 2.4.x.
How to install Elasticsearch?
Let's start the Elasticseach installation on my Magento 2 store. We have discussed the below blog about Magento 2 and Sample data installation.
I am using the Mac operating system. Before, We install the elastic search, First We required the install JDK(Java Software Development Kit).
If you have already installed the JDK, check a version using the below command on your terminal.
java -version
If you got the message "java: command not found displays". You must install the Java SDK. Visit the Magento 2 official documents for more information.
👉 Install the latest JDK on CentOS
👉 Install the latest JDK on Ubuntu
I have already installed the JDK as per the above screenshot. If you want to install the JDK on your mac OS. You need to download the JDK dmg file for your system. Refer it's installation documents, 👉click here
I have installed Elasticsearch using Homebrew. If you are aware of the Homebrew, visit the homebrew 👉Official Website. After installing the brew, We need to run the below command in the terminal.
brew updatebrew install elasticsearch
After successfully installed Elasticsearch, We can start Elasticsearch using the below command.
elasticsearch
Comments
Post a Comment
Please do not enter any spam link in the comment box.