Class CloudHttp2SolrClient

  • All Implemented Interfaces:
    Closeable, Serializable, AutoCloseable

    public class CloudHttp2SolrClient
    extends BaseCloudSolrClient
    SolrJ client class to communicate with SolrCloud using Http2SolrClient. Instances of this class communicate with Zookeeper to discover Solr endpoints for SolrCloud collections, and then use the LBHttp2SolrClient to issue requests. This class assumes the id field for your documents is called 'id' - if this is not the case, you must set the right name with BaseCloudSolrClient.setIdField(String).
    Since:
    solr 8.0
    See Also:
    Serialized Form
    WARNING: This API is experimental and might change in incompatible ways in the next release.