lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Heisey <>
Subject Re: URI is too long
Date Sun, 07 Feb 2016 01:50:22 GMT
On 2/6/2016 2:47 PM, Maciej Lisiewski wrote:
> GET request length is limited by URL length. RFCs defining HTTP recommend
> you keep it under 8KB but put no hard limit in place.
> Because of no hard limit it boils down to the implementation - both on the
> server side and client side:
> - On client side Internet Explorer is limited to about 2KB for example
> - On server side Jetty (used by Solr) defaults to a 4KB limit
> POST should be used for larger requests, but it can sometimes be limited
> too - for example Jetty (default container for Solr) defaults to 200.000
> bytes max.
> To increase that change this:

Solr controls the max size of the POST request.  It defaults to 2MB.  It
is changed with the formdataUploadLimitInKB setting in solrconfig.xml. 
Changing the size limit in the container config will likely have no effect.


View raw message