When using SolrJ (1.4.1 or 3.5.0) and calling either addBean or
deleteByQuery, the POST body has numbers before and after the XML (47 and 0
as noted in the example below):

*******

POST /solr/123456/update?wt=xml&version=2.2 HTTP/1.1
User-Agent: Solr[org.apache.solr.client.solrj.impl.CommonsHttpSolrServer]
1.0
Host: localhost
Transfer-Encoding: chunked
Content-Type: application/xml; charset=UTF-8

47
<delete><query>name:fred AND currency:USD</query></delete>
0

*******

Due to the way our servers are setup, we get an error and we think it is due
to these numbers being in the body of the request. 

What do these numbers mean and is there any way to get rid of them or do we
need to make some changes to our server configs?

Thanks,

Darin

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Question-on-addBean-and-deleteByQuery-tp3988107.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to