Nowadays it’s doesn’t matter whether you are a top companies or small companies you have to give the best user experience and in order to give the best user experience you have to install Elasticsearch in your website for the best and most relevant search result which gives to the users.
There are lot of the top companies which already have been installed Elasticsearch in their website, you will be get the reasons why the top companies are using Elasticsearch in the next and you will also get to know what are the some top companies which are using Elasticsearch.
What is Elasticsearch ?
Elasticsearch is a modern open-source search and analytics engine which provides the most relevant search result for the user. it has the capability to provide the most relevant search result on the basis of the following functionality.
- Full Text Search
- Analytics Store
- Fuzzy Search
- Auto completion and Instant Search
- Geo Localized Any Product
- Auto Completer
- Spell Checker
- Alerting Engine
- Log analytics
- Real Time Application Monitoring
- General Purpose Document Store.
with the huge volumes of data in very very very short time in real-time and give back responds in milliseconds.
Install Elasticsearch in Ubuntu
Java Installation: In order to install Elasticsearch in Ubuntu operating system we have to install Java Development Kit (JDK).
Why we need to install JDK ?
Elasticsearch runs top of the Java Development Kit (JDK) so we need to provide the necessary java development dependency and platform.
Check Java Version Command:
If your system will have the java installation then your system output will show the output below like that.
If the system does’t show like above screeshot then proceed for the second step.
To install default Java Development Kit (JDK), run below installation command of Java
sudo apt install openjdk-11-jdk
Run Elasticsearch command in Ubuntu:
sudo systemctl restart elasticsearch.service
Now the next step we have to follow which allow access to your repositories via HTTPS, so for that we need to install an Advanced Package Tool or APT which behaves like transport packages.
sudo apt install apt-transport-https
Download and Install Elasticsearch on Ubuntu
Once the Java Development Kit or JDK installed and you confirm and apt-transport-https installed successfully, then we need to go with the installation steps of Elasticsearch.
So, for that use the below command to pull the public key:
wget -qO – https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add –
Now you will see the screen above like that and this is showing you have successfully complted all the above steps and everything is fine so the nest step is to add the Elasticsearch Repository in your local system.
Next step we have to follow for the repository adding steps.
echo “deb https://artifacts.elastic.co/packages/7.x/apt stable main” | sudo tee -a /etc/apt/sources.list.d/elastic-7.x.list
Install Elasticsearch Command
Update the Ubuntu package index.
sudo apt update
Then, this is the final step to run the installation command for Elasticsearch
sudo apt install elasticsearch
Elasticsearch package size is around 300MB. so it will take some time so, please have some patience and wait for some times and let them to finish the installation.
Start Elasticsearch Service in Ubuntu
After completion of the installation we need to run some command then only Elasticsearch will run if you will net run the below command then it will not run until you start it. because it does not start automatically.
Follow this step to reload the system configuration:
sudo systemctl daemon-reload
Then, we need to enable the Elasticsearch service so we have to run the below command.
sudo systemctl enable elasticsearch.service
Restart Elasticsearch Command
If you need to make some changes in the configuration files then you can do but after that you have to restart the Elasticsearch.
sudo systemctl restart elasticsearch.service
Once the above command will be get executed in the terminal then output will show below like that.
Now if you you want to stop the eleasticsearch then you have to run the below command. This command will let your system to stop eleastisearch.
sudo systemctl stop elasticsearch.service
Magento Website Development: How to Get Magento Project Online
Top Companies Using Elasticsearch
Nowadays there are lot of the top companies which are using Elasticsearch which are follows.
Palo Alto Networks: paloaltonetworks.com
Verizon Wireless verizon.com
Magento E-Commerce: Magento
CB Insights: cbinsights.com