I believe that this is actually a new feature of Solr 9.1, when it’s released…. The changes to SolrJ introduced in SOLR-15342 actually let you avoid using the ZK host….
https://github.com/apache/solr/commit/88bc36ae9e916bafca8863c25b8bb5bb8185d89f <https://github.com/apache/solr/commit/88bc36ae9e916bafca8863c25b8bb5bb8185d89f> "SolrJ streaming expressions: don’t depend on ZK anymore" > On Sep 2, 2022, at 11:48 AM, Shankar R <iamrav...@gmail.com> wrote: > > Hi All, > Want to know how we can use httpSolrClient where we don't need to pass ZK > HOST details for streaming expressions using solrJ client. Any sample code > will really help. > > Regards > Ravi _______________________ Eric Pugh | Founder & CEO | OpenSource Connections, LLC | 434.466.1467 | http://www.opensourceconnections.com <http://www.opensourceconnections.com/> | My Free/Busy <http://tinyurl.com/eric-cal> Co-Author: Apache Solr Enterprise Search Server, 3rd Ed <https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw> This e-mail and all contents, including attachments, is considered to be Company Confidential unless explicitly stated otherwise, regardless of whether attachments are marked as such.