lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maxim Valyanskiy (JIRA)" <>
Subject [jira] Created: (SOLR-2256) CommonsHttpSolrServer.deleteById(emptyList) causes SolrException: missing_content_stream
Date Sat, 27 Nov 2010 08:29:13 GMT
CommonsHttpSolrServer.deleteById(emptyList) causes SolrException: missing_content_stream

                 Key: SOLR-2256
             Project: Solr
          Issue Type: Bug
          Components: clients - java
    Affects Versions: 1.4.1
            Reporter: Maxim Valyanskiy
            Priority: Minor

Call to deleteById method of CommonsHttpSolrServer with empty list causes following exception:

org.apache.solr.common.SolrException: missing_content_stream


at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(
at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(
at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(
at org.apache.solr.client.solrj.SolrServer.deleteById(

Here is TCP stream captured by Wireshark:

POST /solr/update HTTP/1.1
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
User-Agent: Solr[org.apache.solr.client.solrj.impl.CommonsHttpSolrServer] 1.0
Content-Length: 20

HTTP/1.1 400 missing_content_stream
Content-Type: text/html; charset=iso-8859-1
Content-Length: 1401
Server: Jetty(6.1.3)

===== [ html reply skipped ] ===

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message