Re: [SolrJ] SolrException: missing content stream

2008-12-21 Thread Ryan McKinley
i'm not sure what the proper behavior should be... At the very least it should have an error that says "no documents" -- alternatively it could just do nothing, but I'm not sure what the return value should be in that case. On Dec 21, 2008, at 11:54 AM, Gunnar Wagenknecht wrote: Ryan Mc

Re: [SolrJ] SolrException: missing content stream

2008-12-21 Thread Gunnar Wagenknecht
Ryan McKinley schrieb: > are you sure the Collection is not empty? Hehe, I discovered that *after* hitting the send button. I was buffering documents in the collection and calling clean after add. ;) -Gunnar -- Gunnar Wagenknecht gun...@wagenknecht.org http://wagenknecht.org/

Re: [SolrJ] SolrException: missing content stream

2008-12-18 Thread Ryan McKinley
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

[SolrJ] SolrException: missing content stream

2008-12-18 Thread Gunnar Wagenknecht
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.sol