lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Solr Wiki] Update of "SolrTomcat" by ChrisHarris
Date Thu, 17 Sep 2009 22:17:14 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The following page has been changed by ChrisHarris:

The comment on the change is:
Add new "Enabling Longer Query Requests" section

     * "/some/path/solr.war" is the absolute path to where ever you want to keep the Solr
war using the appropriate syntax for your Operating System.  In Tomcat 5.5 and later, the
war file must be stored outside of the webapps directory for this to work.  Otherwise, this
entire Context element is ignored.
     * "/my/solr/home" should be to where you have createed your Solr Home directory, using
the appropriate syntax for your Operating System.
     * Prior to Tomcat 5.5, a "path" attribute was required for Context elements (starting
with 5.5, the path attribute must not be used except when statically defining a Context in
server.xml, as it will be inferred from the Context fragment filename.
+ === Enabling Longer Query Requests ===
+ If you try to submit too long a GET query to Solr, then Tomcat will reject your HTTP request
on the grounds that the HTTP header is too large; symptoms may include an HTTP 400 Bad Request
error or (if you execute the query in a web browser) a blank browser window.
+ If you need to enable longer queries, you can set the maxHttpHeaderSize attribute on the
HTTP Connector element in your server.xml file. The default value is 4K. (See
  == Multiple Solr Webapps ==

View raw message