On 8/6/2015 8:31 AM, adfel70 wrote:
> Are you sure that this parameter concerns /update requests?
> On the one hand, it says that it "specides the max size of form data
> (application/x-www-form-urlencoded) sent via POST. You can use POST to pass
> request parameters not fitting into URL" 
>
> and on the other hand, I see the my bulks are as big as 7mb in some cases
> and I dont' get any error for these.

Those size limits apply to *any* request, whether it's a query or an update.

If the request ends up using the multi-part method (something I don't
really understand), I believe that also defaults to 2MB, but a typical
example solrconfig.xml file sets it much larger -- 2GB.  I do not know
whether SolrJ uses a plain POST for update requests, or a multi-part
POST ... but I would suspect the former.

This is the default requestParsers config in the techproducts example
from 5.2.1:

    <requestParsers enableRemoteStreaming="true"
                    multipartUploadLimitInKB="2048000"
                    formdataUploadLimitInKB="2048"
                    addHttpRequestToContext="false"/>

Thanks,
Shawn

Reply via email to