[ https://issues.apache.org/jira/browse/SOLR-2256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12991191#comment-12991191 ]
Stevo Slavic commented on SOLR-2256: ------------------------------------ I've experienced similar behavior with SolrJ 1.4.1 - later discovered that actual problem was that index schema was outdated, it was missing a field which was present in document. > 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. - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org