What is the proposed way to get/build a SolrClient(-connection) via 
HttpClientUtil
- respecting a given connection and response (socket) timeout (ROP_SO_TIMEOUT, 
PROP_CONNECTION_TIMEOUT)
- making reuse of underlying http client (pooling?)
- what else makes sense (such as PROP_ALLOW_COMPRESSION, PROP_USE_RETRY, ... )

Up till now (Solr 6.6.0) a ll I did was:
solrClient = new HttpSolrClient( coreUrl );
((HttpSolrClient)solrClient).setSoTimeout( forUpdating ? updateSocketTimeout : 
querySocketTimeout );

Thx
Clemens

Reply via email to