On 8/15/2014 9:46 AM, deepaksshettigar wrote:
> Another Query, is it possible to handle HTTP 413 by increasing Allowed HTTP
> Request Size on Apache/Jboss

I have no idea how to help you with the other idea you've got, but this
is an area where I've got some expertise.  You have two ways to solve this.

One thing you can do is increase the HTTP header size limit on your
servlet container, and also on any load balancer software/hardware you
may be using.  The default for most webservers and containers is 8192 bytes.

https://community.jboss.org/thread/235696?_sscc=t

The other way is to change your request from a GET to a POST, and put
all the parameters into the post body instead of the URL.  Solr
configures the POST size limit as 2 megabytes by default, and that is
configurable in solrconfig.xml.  Exactly how to do make this change on
your client will be highly dependent on what you are using for your Solr
API or HTTP client, you'll need to consult the appropriate documentation.

Thanks,
Shawn

Reply via email to