On 3/11/24 08:37, Isabella Trevisan wrote:
Hi,
I am planning to migrate my solrcloud from 8.11.3 to 9.5.0 .
Our applications user SolJ to work with solr.
I read on the upgrade Notes that I have to use Http2SolrClient instead of
HttpSolrClient .
But on Apache SolR 9.5 reference guide I read that this is an experimental
class.
I didn't know it was marked as experimental.
I would use Http2SolrClient instead of HttpSolrClient, but as Eric
mentioned, it won't be disappearing until 10.0.
If your Solr is in cloud mode, I would use CloudHttp2SolrClient to talk
directly to Solr instead of going through a load balancer. The cloud
client is instantly aware of any cluster changes, and can talk to all
the servers in the cluster. Even though defining the client uses
zookeeper info, the actual communication with Solr uses http2, with URLs
obtained from ZK.
Thanks,
Shawn