[ 
https://issues.apache.org/jira/browse/SOLR-2256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexandre Rafalovitch closed SOLR-2256.
---------------------------------------
    Resolution: Not A Problem

Ancient code and the only replication said it was probably not a bug. 

> 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 was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to