Skip to content

Apache Lucene open-source search software

SOLR-644: increase jetty POST size

Yonik Seeleyf9f787d14123
diff --git a/example/etc/jetty.xml b/example/etc/jetty.xml
index 8565b4dbf6c..a8692949432 100755
--- a/example/etc/jetty.xml
+++ b/example/etc/jetty.xml
@@ -12,6 +12,12 @@
<Configure id="Server" class="org.mortbay.jetty.Server">
+ <!-- Increase the maximum POST size to 1 MB to be able to handle large shard requests -->
+ <Call class="java.lang.System" name="setProperty">
+ <Arg>org.mortbay.jetty.Request.maxFormContentSize</Arg>
+ <Arg>1000000</Arg>
+ </Call>
+
<!-- =========================================================== -->
<!-- Server Thread Pool -->
<!-- =========================================================== -->