This seems like an XY problem. You're asking how to do X because you think it will solve problem Y without telling us what Y is.
I say this because on the surface this seems to defeat the purpose behind SolrCloud. Why would you want to only make use of one piece of hardware? That will limit your throughput, so why bother to have replicas in the first place? Or is this some kind of diagnostic you're trying to implement? Best, Erick On Tue, Jan 2, 2018 at 5:08 AM, Novin Novin <toe.al...@gmail.com> wrote: > Hi guys, > > I am using solr 5.5.4 and same version for solrj. My question is there any > way I can tell cloud solr client to use only leader for queries. > > Thanks in advance. > Navin