SolrCloud availability when a server is down

2024-01-08 Thread Facchin Umberto
Hi, I'm doing some tests to use SolrCloud (8.11.2) with 3 servers, each with 1 Zookeeper and 1 Solr I have a search component that executes queries via GUI using the url to server1_ip, i.e. with the address http://server1_ip:8983/solr/collection/query?q=*:* If server2 or server3 are d

Re: SolrCloud availability when a server is down

2024-01-08 Thread Dmitri Maziuk
On 1/8/2024 11:32 AM, Facchin Umberto wrote: Is there a way to configure a URL that always responds regardless of the server's IPs? Yes: a proxy. Obviously, then you may want to deal with the proxy going down, so you set it up in a CARP-type cluster with a floating IP... or just move to th

Re: SolrCloud availability when a server is down

2024-01-08 Thread Rigolin, Dario
Some Solr Client (I use Solarium for PHP) has the ability to handle load balancing and failover, you have to put in the connect string all nodes address and the client library will connect to another node in case of failure. Il giorno lun 8 gen 2024 alle ore 18:34 Facchin Umberto < umberto.facc...

Re: SolrCloud availability when a server is down

2024-01-08 Thread uyil...@vivaldi.net.INVALID
If your backend is in Java, SolrJ can do the same too. You instantiate a SolrJ instance using the zookeeper URL instead of a specific Solr node url, and it keeps itself in sync with live nodes list and forwards requests to whichever node is alive From: Rigolin, D