lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maxim Valyanskiy (JIRA)" <j...@apache.org>
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
                 URL: https://issues.apache.org/jira/browse/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

missing_content_stream

request: http://127.0.0.1:8983/solr/update/javabin
at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:435)
at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105)
at org.apache.solr.client.solrj.SolrServer.deleteById(SolrServer.java:106)
at ru.org.linux.spring.SearchQueueListener.reindexMessage(SearchQueueListener.java:89)

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
Host: 127.0.0.1:8983
Content-Length: 20

wt=javabin&version=1
=====
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message