lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan McKinley <ryan...@gmail.com>
Subject Re: [SolrJ] SolrException: missing content stream
Date Thu, 18 Dec 2008 12:17:16 GMT
are you sure the Collection is not empty?
what version are you running?
what do the server logs say when you get this error on the client?

On Dec 18, 2008, at 6:42 AM, Gunnar Wagenknecht wrote:

> Hi,
>
> I'm using SolrJ to index a couple of documents. I do this in batches  
> of
> 50 docs to safe some machine memory. I call SolrServer#add(Collection)
> for each batch.
>
> For some reason, I get the following exception:
> org.apache.solr.common.SolrException: missing content stream
> 	at
> org 
> .apache 
> .solr 
> .handler 
> .XmlUpdateRequestHandler 
> .handleRequestBody(XmlUpdateRequestHandler.java:114)
> 	at
> org 
> .apache 
> .solr 
> .handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
> 	at org.apache.solr.core.SolrCore.execute(SolrCore.java:1204)
> 	at
> org 
> .apache 
> .solr 
> .client 
> .solrj.embedded.EmbeddedSolrServer.request(EmbeddedSolrServer.java: 
> 147)
> 	at
> org 
> .apache 
> .solr.client.solrj.request.UpdateRequest.process(UpdateRequest.java: 
> 217)
> 	at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:48)
>
> Any ideas what could be the issue? It actually worked fine when I  
> added
> only one doc at a time.
>
> -Gunnar
>
> -- 
> Gunnar Wagenknecht
> gunnar@wagenknecht.org
> http://wagenknecht.org/
>


Mime
View raw message