This does not seem to be related to the XML size. Check the exact error message on the server side. Looks to me like the URL may not be correct. I think in some cases, post.jar automatically adds /update handler, so maybe you are doubling it up.
Regards, Alex. Personal blog: http://blog.outerthoughts.com/ LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch - Time is the quality of nature that keeps events from happening all at once. Lately, it doesn't seem to be working. (Anonymous - via GTD book) On Tue, Apr 23, 2013 at 8:02 AM, Sharmila Thapa <shar...@gmail.com> wrote: > Hello, > > What is the maximum size limit of the XML document file that is allowed to > import into solr to index from java -Durl. As I am testing to import XMLfile > of 5 GB and it throws an error like > SimplePostTool: WARNING: Solr returned an error #400 Bad Request > SimplePostTool: WARNING: IOException while reading response: > java.io.IOException: Server returned HTTP response code: 400 for URL: > http://10.0.1.140:8080/solr/solr1/update > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/what-is-the-maximum-XML-file-size-to-import-tp4058263.html > Sent from the Solr - User mailing list archive at Nabble.com.