The Better Way to create apache solr cloud with Embedded Zookeeper
Vložit
- čas přidán 9. 09. 2024
- #solr #zookeeper #cluster
Apache Solr is an open source enterprise search engine that provides a powerful platform for search and analytics. To ensure the best performance and scalability, Solr is often deployed in a distributed cloud-based environment. In this blog post, we will explore the best way to create an Apache Solr cloud with an embedded Zookeeper. We will cover the advantages of using an embedded Zookeeper, how to set it up, and the benefits of using embedded Zookeeper for Apache Solr cloud. With embedded Zookeeper, users can get a complete and robust Apache Solr cloud cluster with minimal setup time and effort.
Please subscribe by clicking the below link to support my channel:
bit.ly/3gM6elC
CZcams keywords
------------------------------
SolrCloud Embedded Zookeeper, solrcloud, solr, apache solr
Very useful video sir. 🙏
Sir I wish to know one technical thing. I have been using solr in my local machine in standalone mode. I do have custom home directory and configuration (schema and solrconfig XML files, data folder etc). Is there anyway to run solr in solrcloud mode also by making use of this existing configurations, means when I tried your steps it's actually creating new collection and also new configurations. Can we specify some way to use existing values?
Do you want custom solr configuration to get created in solrcloud?. You can specify existing solr configuration when you restart the solr cloud again.
@@configjavatech I have already a custom configuration available in my local machine, I want to use that when starting solr cloud
You have to create a folder of your config name in solr_home/server/solr/configsets. Suppose if you have custom configuration called products then you have to create folder like solr_home/server/solr/configsets/products and create conf folder inside products folder and place your configuration files inside conf folder. For example you can check _default configuration
Hi Thanks for the video, I have a question regarding the nodes, how can we increase the number of max nodes we can create from 4 let’s say I want like 6 nodes, how can I achieve that ?
You can create only four nodes maximum by this method. This method is the easiest method for creating solr and this method is not used in production. In order to create solr nodes greater than 4nodes you need to invoke solr command 6 times with an external zookeeper. Else you can go for docker compose in docker or kubernetes to scale up or scale down easily. If you have already created 4 nodes you can invoke the solr command two times specifying the directory in solr command.