How to Run Apache Solr Cloud in Docker Containers | Setup Tutorial for Beginners - Sematext

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


Solr is one of the most powerful and popular open-source search engines. And being able to put Solr in Docker is an absolute must for anyone looking to get into #DevOps. In this video tutorial, we will discuss the benefits of putting Solr in #containers, the 2 types of architecture #Solr can utilize, and containerize #SolrCloud in #Docker.

Follow Sematext:

Chapters
0:00 ⏩ Intro
0:36 ⏩ Benefits of Solr on Docker
1:54 ⏩ Solr architecture
3:45 ⏩ Creating a YML file
5:12 ⏩ Setting up Docker network with Solr
7:03 ⏩ Setting up Zookeeper in Docker
7:55 ⏩ Optional additions
8:34 ⏩ Final product and deployment
9:06 ⏩ Outro
Рекомендации по теме
Комментарии
Автор

Thanks for the video. I ran into a small issue with the volumes but managed to fix it in the end. For anyone else, you need to ensure the solr user can write to your volumes. It seems obvious but I struggled a bit with that.

clearthinking
Автор

Hey thanks for the video! very clear explanation, are you planning to create that other video that you mentioned about Solr for K8? or do you have any other resources about that? Thankss!

acswer
Автор

Hello, I am not able to start solr in cloud mode as I see in this video, any possible corrections ?

saimanikanta
Автор

How to add Basic Auth plugin with docker-compose

TuloTech
Автор

Thanks for the video, do yo have how to use sorl with wordpress?

mazzafpv
Автор

Oops, how are you? How can I enable the use of sql in solr 9.2?

harleyyoti
Автор

Thank you for the video.

You mentioned in video that your team had literature on Solr and (possibly containers). Do you mind sharing that please?

Mostly, I'm very interested in following questions:
1) Let's say we have Solr version 8 AWS EC2 setup with 8 shards with one core, 2 replicas per shard. 8GB ram dedicated to java heap. How would you move it to ECS?
2) Is there a limitations on index size for containers?
3) How do you share local volumes within AWS infrastructure?
4) In case of ECS scaling out, how does it know which container to attach to which shard?
5) What happens if all containers in shard go down? Do we loose shard's index in this case and we have to rebuild?
6) You mentioned 1% difference in performance (I assume it's degradation in response times). Could we battle it with, adding one more shard for example?

I do understand that questions are very specific. Hoping to get at least direction where to investigate topics above.



Thank you in advance for reply.

bogdankapusta