Hi guys,
I was taking a look to the implementation details to understand how Solr
requests are written by SolrJ APIs.
The interesting classes are :

*org.apache.solr.client.solrj.request.RequestWriter*

*org.apache.solr.client.solrj.impl.BinaryRequestWriter* ( wrong package ? )

I discovered that :

*CloudSolrClient *- is using the javabin format ( *BinaryRequestWriter*)
*HttpSolrClient *and* LBHttpSolrClient* - are using the *RequestWriter* (
which writes xml)

In consequence the ConcurrentUpdateSolrClient is using the xml
ResponseWriter as well.

Is there any reason in this ?
I did know that the javabin  format is the most efficient for Solr requests.
Why the xml RequestWriter is still used as default with those SolrClients ?

Cheers

-- 
--------------------------

Benedetti Alessandro
Visiting card : http://about.me/alessandro_benedetti

"Tyger, tyger burning bright
In the forests of the night,
What immortal hand or eye
Could frame thy fearful symmetry?"

William Blake - Songs of Experience -1794 England

Reply via email to