title: How to increase the query size (POST) on Solr Cloud managed by CDH5.5?
body: <p>We're using Solr Cloud as a component of Cloudera's CDH5.5. A colleague built an application that POSTing long queries that exceed the default <code>maxFormContentSize</code> (200,000 bytes). I ran a <code>ps -ef</code> on one of the cluster nodes, and see that Solr's started with a lot of options:</p>
  
  <pre><code>usr/java/jdk1.7.0_67-cloudera/bin/java
  [...etc...]
  -Djetty.port=8983
  [...etc...]
  org.apache.catalina.startup.Bootstrap start
  </code></pre>
  
  <p>To increase the size of queries that Solr can handle, I'd like to increase the <code>maxFormContentSize</code>. If we managed Solr through the command-line, I imagine we'd be able to pass an argument like this:</p>
  
  <pre><code>-Dorg.eclipse.jetty.server.Request.maxFormContentSize=500000
  </code></pre>
  
  <p>But, since we're using Cloudera Manager to control/monitor our services, it seems that the configuration change should be made there. I notice that Cloudera Manager has a "Java Configuration Options for Solr Server": setting which says:</p>
  
  <blockquote>
    <p>These arguments will be passed as part of the Java command line.
    Commonly, garbage collection flags or extra debugging flags would be passed here.</p>
  </blockquote>
  
  <p>I'd like to know:</p>
  
  <ol>
  <li>is <code>org.eclipse.jetty.server.Request.maxFormContentSize</code> the right parameter to change to increase the POST size for Solr?</li>
  <li>is "Java Configuration Options for Solr Server" in Cloudera Manager the right place to set this?</li>
  <li>if so, would I simply add <code>-Dorg.eclipse.jetty.server.Request.maxFormContentSize=500000</code> to the "Java Configuration Options for Solr Server"?</li>
  </ol>
  
  <p>And if I'm on the wrong track, how can we configure a CDH5.5 managed to accept larger-than-the-default queries?</p>