[ https://issues.apache.org/jira/browse/SOLR-11752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16473569#comment-16473569 ]
Lucene/Solr QA commented on SOLR-11752: --------------------------------------- | (/) *{color:green}+1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || || || || || {color:brown} Prechecks {color} || || || || || {color:brown} master Compile Tests {color} || || || || || {color:brown} Patch Compile Tests {color} || | {color:green}+1{color} | {color:green} Release audit (RAT) {color} | {color:green} 0m 0s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} Validate source patterns {color} | {color:green} 0m 6s{color} | {color:green} the patch passed {color} | || || || || {color:brown} Other Tests {color} || | {color:black}{color} | {color:black} {color} | {color:black} 0m 59s{color} | {color:black} {color} | \\ \\ || Subsystem || Report/Notes || | JIRA Issue | SOLR-11752 | | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12923161/SOLR-11752.patch | | Optional Tests | ratsources validatesourcepatterns | | uname | Linux lucene2-us-west.apache.org 4.4.0-112-generic #135-Ubuntu SMP Fri Jan 19 11:48:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux | | Build tool | ant | | Personality | /home/jenkins/jenkins-slave/workspace/PreCommit-SOLR-Build/sourcedir/dev-tools/test-patch/lucene-solr-yetus-personality.sh | | git revision | master / a0acc63 | | ant | version: Apache Ant(TM) version 1.9.6 compiled on July 8 2015 | | modules | C: solr/server U: solr/server | | Console output | https://builds.apache.org/job/PreCommit-SOLR-Build/91/console | | Powered by | Apache Yetus 0.7.0 http://yetus.apache.org | This message was automatically generated. > add gzip to jetty > ----------------- > > Key: SOLR-11752 > URL: https://issues.apache.org/jira/browse/SOLR-11752 > Project: Solr > Issue Type: New Feature > Security Level: Public(Default Security Level. Issues are Public) > Components: Server > Affects Versions: master (8.0) > Reporter: Matthew Sporleder > Priority: Trivial > Labels: jetty > Attachments: SOLR-11752.patch, SOLR-11752.patch, SOLR-11752.patch > > > with a little bit of typing I am able to add gzip to my solr's jetty, which > is a big help for SAN access and completely out-of-band to solr, *and* only > happens if the client requests it so I think it is is a good default. > I will just inline my code to this ticket: > {code} > #server/etc/jetty-gzip.xml > #just download it from here: > http://grepcode.com/file/repo1.maven.org/maven2/org.eclipse.jetty/jetty-server/9.3.0.v20150612/etc/jetty-gzip.xml?av=f > {code} > {code} > #server/modules/gzip.mod > [depend] > server > [xml] > etc/jetty-gzip.xml > {code} > This is where you might want to add an option, but the result should look > like this: > {code} > #bin/solr > else > SOLR_JETTY_CONFIG+=("--module=http,gzip") > fi > {code} > I can now do this: > {code} > curl -vvv --compressed localhost:8983/solr/ > /dev/null > {code} > With: > {code} > < Content-Encoding: gzip > < Content-Length: 2890 > {code} > Without: > {code} > < Content-Length: 13349 > {code} > --- > A regular query: > With: > {code} > < Content-Encoding: gzip > < Content-Length: 2876 > {code} > Without: > {code} > < Content-Length: 17761 > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org