servletssolrlaradock

What JavaServlet is used for the Solr Instace within Laradock?


I know that we use jetty as Java servlet container on our staging/production servers but what is the Java servlet container within laradock when it comes to Solr?

Overall I'm only familiar with jetty/tomcat but those I can't find. We had to adjust the servlet configuration on staging but I would need those settings in the dev environment too.

And in case someone already had that problem within laradock - on staging we adjusted the

requestHeaderSize

From the default 8k to 64k bytes so the length of the uri is no issue anymore. And now we also need that setting within laradock/solr.


Solution

  • According to the Dockerfile for laradock/solr it builds using the regular 5.5 Solr image with minimal changes.

    Solr uses a bundled, internal Jetty version since dropping support for other containers in Solr 5.

    In general there should be no reason to change the requestHeaderSize for a Solr installation, as you can use POST requests instead of GET for any Solr request that contains a large request body (i.e. which usually happens if you have many boolean arguments).

    Your Solr client should default to using POST instead of GET for requests.