Re: Updating error while add doc to Solrcloud

2016-05-18 Thread Shawn Heisey
On 5/17/2016 12:29 AM, scott.chu wrote: > I build Solrcloud with 2 nodes, 1 shard, 2 replica. I add doc in xml format > using post.jar up to 2.85M+ no. of docs and 10gb index size. When I add more > docs. the solr.log shows: > > -- > 2016-05-17 14:01:09,024

Re: Updating error while add doc to Solrcloud

2016-05-17 Thread Erick Erickson
I _think_ you are using "schemaless" mode and the issue is that Solr guesses the type of the field based on the first doc it encounters. Thereafter, if any incoming doc has a different field (say the "guess" is an int type and later something that's not an int is in that field) then it is rejected.

Re: Updating error while add doc to Solrcloud

2016-05-16 Thread scott.chu
I clear the cugna collection data (by renaming 'data' folder to 'xdata')and restart Solrcloud. I add previous possible-error xml doc, it succeeds. So I'm sure doc data has no problem. Is it because the index file size is too large? If the zk nodes fails during adding doc, could it cause this up