Hopefully the switch from our Apache HTTP client to Jetty HTTP client
SolrClient implementations will go smoothly but there are some subtle
differences.  Question: does anyone recall any; ideally a JIRA reference?
I looked and turned up nothing but I figure there must be some.

The Apache one supports a retry mechanism that is configured via a System
Property -- "solr.httpclient.retries".  The default is 3 but SolrTestCaseJ4
specifies 1; some tests specify 0.  It's implemented by
org.apache.solr.client.solrj.impl.SolrHttpRequestRetryHandler handling a
variety of cases that were probably hard-fought discoveries.  I can't find
this in the Jetty one except for a one-off implementation in
LBHttp2SolrClient.

~ David Smiley
Apache Lucene/Solr Search Developer
http://www.linkedin.com/in/davidwsmiley

Reply via email to