hi, there was an error in my description of how to enable HTTP compression: the "--add-to-start=gzip” command should NOT be executed from the Solr root directory, but from the server/ (Jetty) directory. The command produces a start.ini file that otherwise ends up in the wrong place. I guess this also settles whether the setting persists or not :)
Corrected description below. (using Solr 6.6.5) 1) add a gzip configuration file called jetty-gzip.xml in /server/etc/ Default values provided in the standalone Jetty installation are OK, but make sure to only include properties listed under “gzip configuration” of the appropriate version (e.g.: https://www.eclipse.org/jetty/documentation/9.3.25.v20180904/gzip-filter.html). The jetty-gzip.xml taken from my Jetty v.9.4.6 installation contained some fields that prevented Solr’s embedded Jetty v.9.3.14 from starting 2) add a file called gzip.mod to /server/modules Our sysadmin had provided me with this one; the only lines that are not commented out in there are: - - - - - - - [depend] server [xml] etc/jetty-gzip.xml - - - - - - - 3) from the server/ directory: > java -jar start.jar --list-modules - shows the installed modules, and if they are enabled or not > java -jar start.jar --add-to-start=gzip writes a start.ini file that activates the gzip module on startup Start Solr in the usual way > bin/solr start Thanks, Lúthien -- Disclaimer: This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. If you are not the named addressee you should not disseminate, distribute or copy this email. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system.