Probably one of the PDFs is corrupted. As you are writing the routine to upload them try to isolate those who are throwing the exception.
Regards, Edward Em qua, 30 de jan de 2019 17:49, Monique Monteiro <monique.lou...@gmail.com escreveu: > Hi all, > > I'm writing a Python routine to upload thousands of PDF files to Solr, and > after trying to upload some files, Solr reports the following error in a > HTTP 500 response: > > "by: java.util.zip.DataFormatException: invalid distance too far back" > > Does anyone have any idea about how to overcome this? > > Thanks in advance, > Monique Monteiro >