Class HttpJdkSolrClient

All Implemented Interfaces:
Closeable, Serializable, AutoCloseable

public class HttpJdkSolrClient extends HttpSolrClient
A SolrClient implementation that communicates to a Solr server using the built-in Java 11+ Http Client. This client is targeted for those users who wish to minimize application dependencies. This client will connect to solr using Http/2 but can seamlessly downgrade to Http/1.1 when connecting to Solr hosts running on older versions. Uses two ThreadPoolExecutor, one for HttpClient (consumer) and one for writing request bodies (producer). Both are unbounded cached thread pools (maximumPoolSize = Integer.MAX_VALUE).
See Also: