We are using Jetty to run an Apache Solr index. We've had some queries that have grown way beyond the previously expected maximum length, and are now having issues where most queries are not returning any data because the server doesn't respond (browser says "Connection reset").
These requests are not being made through a browser, they're being made programmatically using the Apache_Solr_Service PHP library. The application is expecting queries to come in as HTTP GET requests, so simply switching to a POST will not solve this problem.
How can we increase the maximum allowed HTTP GET query length in Jetty?
Thanks!
is now deprecated. You can use:
instead.
A little late to the party, but I've just come up against the same problem.
Add the following to the connectors section of jetty.xml:
<Set name="headerBufferSize">65536</Set>
This will increase the header limit from the default of 4KB to 64KB.
What's the maximum URL length in Tomcat?
To increase the limit on the request header size at Solr side. if you are running Solr on Jetty, perform the following steps:
Open the \server\etc\jetty.xml file. Change to