Re: Any solr api to force leader on a specified node

2020-10-12 Thread Erick Erickson
First, I totally agree with Walter. See: https://lucidworks.com/post/indexing-with-solrj/ Second, DIH is being deprecated. It is being moved to a package that will be supported if, and only if, there is enough community support for it. “Community support” means people who use it need to step up

Re: Any solr api to force leader on a specified node

2020-10-11 Thread Walter Underwood
Don’t use DIH. DIH has a lot of limitations and problems, as you are discovering. Write a simple program that fetches from the database and sends documents in batches to Solr. I did this before DIH was invented (Solr 1.3) and I’m doing it now. You can send the updates to the load balancer for

Re: Any solr api to force leader on a specified node

2020-10-11 Thread yaswanth kumar
Hi wunder Thanks for replying on this.. I did setup solr cloud with 4 nodes being one node having DIH configured that pulls data from ms sql every minute.. if I install DIH on rest of the nodes it’s causing connection issues on the source dB which I don’t want and manage with only one sever

Re: Any solr api to force leader on a specified node

2020-10-11 Thread Walter Underwood
That requirement is not necessary. Let Solr choose a leader. Why is someone making this bad requirement? wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Oct 11, 2020, at 8:01 PM, yaswanth kumar wrote: > > Can someone pls help me to know if there

Any solr api to force leader on a specified node

2020-10-11 Thread yaswanth kumar
Can someone pls help me to know if there is any solr api /config where we can make sure to always opt leader on a particular solr node in solr cloud?? Using solr 8.2 and zoo 3.4 I have four nodes and my requirement is to always make a particular node as leader Sent from my iPhone