How to install and setup Elasticsearch in Ubuntu - Magento 2 Tutorial

preview_player
Показать описание


0:00 Intro
1:25 Installing JDK 1.8
2:50 Installing Elasticsearch
5:20 Setting Elasticsearch to autorun
8:55 Configuring Elasticsearch
10:58 Configuring Magento

Elasticsearch is a search engine that runs on your web server and is designed to improve the performance and accuracy of search queries. In this case, searching for products within your website. It’s not difficult to setup, but there are a lot of steps. So, in this video I’ll walk you through installing Elasticsearch in Ubuntu and then setting up Magento 2.

By default, Magento 2 uses MySQL to work as the search engine alongside its base functionality. However, MySQL will no longer be supported as the search engine as of Magento 2.4. Therefore, it’s a good idea to get ahead of these changes.

POPULAR PLAYLISTS

MAGENTO 2 SPECIAL OFFERS

SPONSOR ENQUIRIES:
#magento #magentotutorials
Рекомендации по теме
Комментарии
Автор

Hello sir please make a video for per product select shipping method in frontend.

ubedrajput
Автор

Hey Craig, always appreciate your content and I really like your new Tutorials! Thank you very much

marcelprinz
Автор

Hey Craig, Thank you so much you saved my life man

gymworkout
Автор

Hi Craig.
One more question, i am using amazon ec2 ubuntu 20.04 os and that has 4gb ram 2 vcpus and deployed magento 2.4 theme but the main issue which i am facing is elasticsearch keeps going away.
Basically after starting elastic search service after some seconds it get stop automatically.

So i need help to set elasticsearch on auto start. Or never go stop.

Awaiting positive revertal on this.
thanks in advance!

ashishkweb
Автор

Love the video! Saved me today. Thank you so much

aniruddharay
Автор

Hi please make a video where Elasticsearch installed on different server rather than localhost Like AWS ES

asifurhossain
Автор

curl: (7) Failed connect to 51.159.92.103:9200; Connexion refusée

ProdixTn
Автор

Thank you. I cannot find Elasticsearch 7 in magento 2.3.4 backend after I installed. I follow all steps and seems very step is correct. and also category do not have products showing

chengjulian
Автор

ES 6.9 with 2.3.5 caused product sorting backwards. Before was New Products on the top. Now goes opposite way. Do you know why?

sorasakchanmantana
Автор

Thank you, Craig, for all your tutorials. Is ElacticSearch a free service? What are the authentications fields (in the Magento configuration screen) for?

sanrouaux
Автор

hello dear Craig... how can one uninstall elasticsearch old version..???

juliocesarcarrillo
Автор

Hi Craig, thank you for the video. I followed your tutorial and even the tested says its successful but the search does not seem to work. It says there are no items matching your criteria, but when i use mysql everything works just fine. Any ideas? I'm on a Linux with magento 2.3.5p1, and elastic search version 7.7. Thanks in advance.

adnanhamdani
Автор

I upgrade to 2.4, elastic 7 is ok. But about 8-10 hours, the elasticsearch will No Alive Nodes and have to restart. After restart elasticsearch it will be ok but hours later it broken again. main.CRITICAL: No alive nodes found in your cluster {"exception":"[object] 0): No alive nodes found in your cluster at

chengjulian
Автор

Thank you for the tutorial.
1) Is the tutorial still valid on Ubuntu 20.04?
2) I have a special situation here. I have migrated from the latest Magento from 1.9 to Magento 2.4.
I have migrated first, then installed Elasticsearch 7.6, then Java 1.8 (yes, I know...the incorrect order of installation)
My problem now is that I don't get any results on my searches.
Is there a way to correct this?

Thanks

federicokrum