Thank you all for the kind and timely reply. So what we did is we upgraded the instances to 16 gigs and we rarely encounter this now.
So what we did was to increase the batch size to 500 instead of 50 and it worked for our test data. But when we tried 1000 batch size, the invalid content type error returned. Can you guys shed some light on why this is happening? I don't think that a thousand per batch is too much (although we have documents with many fields and child documents) so I am not really sure what's causing this aside from a docker containter restart. Thanks! -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html