sunspot_solr 2.2.2 → 2.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/sunspot-solr +2 -6
- data/lib/sunspot/solr/server.rb +2 -3
- data/solr/README.txt +181 -181
- data/solr/bin/post +29 -19
- data/solr/bin/solr +247 -428
- data/solr/bin/solr.cmd +102 -256
- data/solr/bin/solr.in.cmd +15 -7
- data/solr/bin/solr.in.sh +26 -12
- data/solr/server/README.txt +110 -113
- data/solr/server/contexts/solr-jetty-context.xml +8 -8
- data/solr/server/etc/jetty-http.xml +47 -0
- data/solr/server/etc/jetty-https-ssl.xml +175 -159
- data/solr/server/etc/jetty-https.xml +53 -0
- data/solr/server/etc/jetty-ssl.xml +46 -0
- data/solr/server/etc/jetty.xml +189 -167
- data/solr/server/etc/webdefault.xml +527 -527
- data/solr/server/lib/javax.servlet-api-3.1.0.jar +0 -0
- data/solr/server/lib/jetty-continuation-9.2.11.v20150529.jar +0 -0
- data/solr/server/lib/jetty-deploy-9.2.11.v20150529.jar +0 -0
- data/solr/server/lib/jetty-http-9.2.11.v20150529.jar +0 -0
- data/solr/server/lib/jetty-io-9.2.11.v20150529.jar +0 -0
- data/solr/server/lib/jetty-jmx-9.2.11.v20150529.jar +0 -0
- data/solr/server/lib/jetty-rewrite-9.2.11.v20150529.jar +0 -0
- data/solr/server/lib/jetty-security-9.2.11.v20150529.jar +0 -0
- data/solr/server/lib/jetty-server-9.2.11.v20150529.jar +0 -0
- data/solr/server/lib/jetty-servlet-9.2.11.v20150529.jar +0 -0
- data/solr/server/lib/jetty-servlets-9.2.11.v20150529.jar +0 -0
- data/solr/server/lib/jetty-util-9.2.11.v20150529.jar +0 -0
- data/solr/server/lib/jetty-webapp-9.2.11.v20150529.jar +0 -0
- data/solr/server/lib/jetty-xml-9.2.11.v20150529.jar +0 -0
- data/solr/server/modules/http.mod +9 -0
- data/solr/server/modules/https.mod +9 -0
- data/solr/server/modules/server.mod +11 -0
- data/solr/server/modules/ssl.mod +9 -0
- data/solr/server/resources/jetty-logging.properties +1 -0
- data/solr/server/resources/log4j.properties +24 -24
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/commons-exec-1.3.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/{hadoop-annotations-2.3.0.jar → hadoop-annotations-2.6.0.jar} +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/hadoop-auth-2.6.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/hadoop-common-2.6.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/hadoop-hdfs-2.6.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/htrace-core-3.0.4.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/httpclient-4.4.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/httpcore-4.4.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/httpmime-4.4.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/jackson-core-2.5.4.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/jackson-dataformat-smile-2.5.4.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/{lucene-analyzers-common-5.0.0.jar → lucene-analyzers-common-5.3.1.jar} +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/{lucene-analyzers-kuromoji-5.0.0.jar → lucene-analyzers-kuromoji-5.3.1.jar} +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/{lucene-analyzers-phonetic-5.0.0.jar → lucene-analyzers-phonetic-5.3.1.jar} +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-backward-codecs-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-codecs-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-core-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/{lucene-expressions-5.0.0.jar → lucene-expressions-5.3.1.jar} +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/{lucene-grouping-5.0.0.jar → lucene-grouping-5.3.1.jar} +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-highlighter-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-join-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-memory-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-misc-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-queries-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/{lucene-queryparser-5.0.0.jar → lucene-queryparser-5.3.1.jar} +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-sandbox-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-spatial-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-suggest-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/org.restlet-2.3.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/org.restlet.ext.servlet-2.3.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/solr-core-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/solr-solrj-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/t-digest-3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/web.xml +169 -181
- data/solr/server/solr-webapp/webapp/WEB-INF/weblogic.xml +28 -28
- data/solr/server/solr-webapp/webapp/admin.html +164 -163
- data/solr/server/solr-webapp/webapp/css/angular/analysis.css +304 -0
- data/solr/server/solr-webapp/webapp/css/angular/chosen.css +465 -0
- data/solr/server/solr-webapp/webapp/css/angular/cloud.css +398 -0
- data/solr/server/solr-webapp/webapp/css/angular/common.css +724 -0
- data/solr/server/solr-webapp/webapp/css/angular/cores.css +233 -0
- data/solr/server/solr-webapp/webapp/css/angular/dataimport.css +370 -0
- data/solr/server/solr-webapp/webapp/css/angular/documents.css +179 -0
- data/solr/server/solr-webapp/webapp/css/angular/files.css +53 -0
- data/solr/server/solr-webapp/webapp/css/angular/index.css +206 -0
- data/solr/server/solr-webapp/webapp/css/angular/logging.css +376 -0
- data/solr/server/solr-webapp/webapp/css/angular/menu.css +321 -0
- data/solr/server/solr-webapp/webapp/css/angular/plugins.css +212 -0
- data/solr/server/solr-webapp/webapp/css/angular/query.css +162 -0
- data/solr/server/solr-webapp/webapp/css/angular/replication.css +500 -0
- data/solr/server/solr-webapp/webapp/css/angular/schema-browser.css +567 -0
- data/solr/server/solr-webapp/webapp/css/angular/segments.css +173 -0
- data/solr/server/solr-webapp/webapp/css/angular/threads.css +161 -0
- data/solr/server/solr-webapp/webapp/css/chosen.css +421 -421
- data/solr/server/solr-webapp/webapp/css/styles/analysis.css +311 -311
- data/solr/server/solr-webapp/webapp/css/styles/cloud.css +410 -410
- data/solr/server/solr-webapp/webapp/css/styles/common.css +701 -701
- data/solr/server/solr-webapp/webapp/css/styles/cores.css +244 -244
- data/solr/server/solr-webapp/webapp/css/styles/dashboard.css +155 -155
- data/solr/server/solr-webapp/webapp/css/styles/dataimport.css +403 -403
- data/solr/server/solr-webapp/webapp/css/styles/documents.css +197 -197
- data/solr/server/solr-webapp/webapp/css/styles/files.css +54 -54
- data/solr/server/solr-webapp/webapp/css/styles/index.css +207 -207
- data/solr/server/solr-webapp/webapp/css/styles/java-properties.css +52 -52
- data/solr/server/solr-webapp/webapp/css/styles/logging.css +391 -391
- data/solr/server/solr-webapp/webapp/css/styles/menu.css +329 -328
- data/solr/server/solr-webapp/webapp/css/styles/plugins.css +195 -195
- data/solr/server/solr-webapp/webapp/css/styles/query.css +173 -173
- data/solr/server/solr-webapp/webapp/css/styles/replication.css +515 -515
- data/solr/server/solr-webapp/webapp/css/styles/schema-browser.css +578 -578
- data/solr/server/solr-webapp/webapp/css/styles/segments.css +145 -0
- data/solr/server/solr-webapp/webapp/css/styles/threads.css +172 -172
- data/solr/server/solr-webapp/webapp/img/chosen-sprite-2x.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/README +27 -27
- data/solr/server/solr-webapp/webapp/img/solr.svg +39 -39
- data/solr/server/solr-webapp/webapp/index.html +208 -0
- data/solr/server/solr-webapp/webapp/js/angular/app.js +713 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/analysis.js +199 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/cloud.js +528 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/core-overview.js +225 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/cores.js +465 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/dataimport.js +284 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/documents.js +139 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/files.js +92 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/index.js +95 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/java-properties.js +45 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/logging.js +146 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/plugins.js +166 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/query.js +99 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/replication.js +227 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/schema-browser.js +432 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/segments.js +94 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/threads.js +51 -0
- data/solr/server/solr-webapp/webapp/js/angular/services.js +214 -0
- data/solr/server/solr-webapp/webapp/js/lib/ZeroClipboard.js +342 -342
- data/solr/server/solr-webapp/webapp/js/lib/chosen.js +982 -982
- data/solr/server/solr-webapp/webapp/js/lib/console.js +29 -29
- data/solr/server/solr-webapp/webapp/js/lib/d3.js +9373 -9373
- data/solr/server/solr-webapp/webapp/js/lib/highlight.js +31 -31
- data/solr/server/solr-webapp/webapp/js/lib/jquery-1.7.2.min.js +30 -30
- data/solr/server/solr-webapp/webapp/js/lib/jquery.ajaxfileupload.js +184 -184
- data/solr/server/solr-webapp/webapp/js/lib/jquery.blockUI.js +523 -523
- data/solr/server/solr-webapp/webapp/js/lib/jquery.cookie.js +71 -71
- data/solr/server/solr-webapp/webapp/js/lib/jquery.form.js +806 -806
- data/solr/server/solr-webapp/webapp/js/lib/jquery.jstree.js +3534 -3534
- data/solr/server/solr-webapp/webapp/js/lib/jquery.sammy.js +1863 -1863
- data/solr/server/solr-webapp/webapp/js/lib/jquery.timeago.js +189 -189
- data/solr/server/solr-webapp/webapp/js/lib/linker.js +48 -48
- data/solr/server/solr-webapp/webapp/js/lib/naturalSort.js +82 -0
- data/solr/server/solr-webapp/webapp/js/lib/order.js +216 -216
- data/solr/server/solr-webapp/webapp/js/main.js +60 -58
- data/solr/server/solr-webapp/webapp/js/require.js +11349 -11349
- data/solr/server/solr-webapp/webapp/js/scripts/analysis.js +545 -545
- data/solr/server/solr-webapp/webapp/js/scripts/app.js +680 -679
- data/solr/server/solr-webapp/webapp/js/scripts/cloud.js +877 -877
- data/solr/server/solr-webapp/webapp/js/scripts/cores.js +719 -719
- data/solr/server/solr-webapp/webapp/js/scripts/dashboard.js +562 -562
- data/solr/server/solr-webapp/webapp/js/scripts/dataimport.js +812 -812
- data/solr/server/solr-webapp/webapp/js/scripts/documents.js +370 -370
- data/solr/server/solr-webapp/webapp/js/scripts/files.js +265 -265
- data/solr/server/solr-webapp/webapp/js/scripts/index.js +340 -340
- data/solr/server/solr-webapp/webapp/js/scripts/java-properties.js +106 -106
- data/solr/server/solr-webapp/webapp/js/scripts/logging.js +578 -576
- data/solr/server/solr-webapp/webapp/js/scripts/ping.js +72 -72
- data/solr/server/solr-webapp/webapp/js/scripts/plugins.js +462 -462
- data/solr/server/solr-webapp/webapp/js/scripts/query.js +229 -229
- data/solr/server/solr-webapp/webapp/js/scripts/replication.js +527 -527
- data/solr/server/solr-webapp/webapp/js/scripts/schema-browser.js +1229 -1229
- data/solr/server/solr-webapp/webapp/js/scripts/segments.js +206 -0
- data/solr/server/solr-webapp/webapp/js/scripts/threads.js +158 -158
- data/solr/server/solr-webapp/webapp/libs/angular-chosen.js +139 -0
- data/solr/server/solr-webapp/webapp/libs/angular-cookies.js +229 -0
- data/solr/server/solr-webapp/webapp/libs/angular-cookies.min.js +31 -0
- data/solr/server/solr-webapp/webapp/libs/angular-resource.min.js +36 -0
- data/solr/server/solr-webapp/webapp/libs/angular-route.js +1018 -0
- data/solr/server/solr-webapp/webapp/libs/angular-route.min.js +38 -0
- data/solr/server/solr-webapp/webapp/libs/angular-sanitize.js +703 -0
- data/solr/server/solr-webapp/webapp/libs/angular-sanitize.min.js +39 -0
- data/solr/server/solr-webapp/webapp/libs/angular.js +26093 -0
- data/solr/server/solr-webapp/webapp/libs/angular.min.js +273 -0
- data/solr/server/solr-webapp/webapp/libs/chosen.jquery.js +1194 -0
- data/solr/server/solr-webapp/webapp/libs/chosen.jquery.min.js +30 -0
- data/solr/server/solr-webapp/webapp/libs/d3.js +9373 -0
- data/solr/server/solr-webapp/webapp/libs/highlight.js +31 -0
- data/solr/server/solr-webapp/webapp/libs/jquery-2.1.3.min.js +29 -0
- data/solr/server/solr-webapp/webapp/libs/jquery.jstree.js +3534 -0
- data/solr/server/solr-webapp/webapp/libs/ngtimeago.js +102 -0
- data/solr/server/solr-webapp/webapp/partials/analysis.html +128 -0
- data/solr/server/solr-webapp/webapp/partials/cloud.html +104 -0
- data/solr/server/solr-webapp/webapp/partials/core_overview.html +227 -0
- data/solr/server/solr-webapp/webapp/partials/cores.html +231 -0
- data/solr/server/solr-webapp/webapp/partials/dataimport.html +209 -0
- data/solr/server/solr-webapp/webapp/partials/documents.html +118 -0
- data/solr/server/solr-webapp/webapp/partials/files.html +47 -0
- data/solr/server/solr-webapp/webapp/partials/index.html +261 -0
- data/solr/server/solr-webapp/webapp/partials/java-properties.html +27 -0
- data/solr/server/solr-webapp/webapp/partials/logging-levels.html +56 -0
- data/solr/server/solr-webapp/webapp/partials/logging.html +56 -0
- data/solr/server/solr-webapp/webapp/partials/plugins.html +72 -0
- data/solr/server/solr-webapp/webapp/partials/query.html +356 -0
- data/solr/server/solr-webapp/webapp/partials/replication.html +239 -0
- data/solr/server/solr-webapp/webapp/partials/schema-browser.html +206 -0
- data/solr/server/solr-webapp/webapp/partials/segments.html +99 -0
- data/solr/server/solr-webapp/webapp/partials/threads.html +65 -0
- data/solr/server/solr-webapp/webapp/tpl/analysis.html +83 -83
- data/solr/server/solr-webapp/webapp/tpl/cloud.html +87 -87
- data/solr/server/solr-webapp/webapp/tpl/cores.html +226 -226
- data/solr/server/solr-webapp/webapp/tpl/dashboard.html +201 -201
- data/solr/server/solr-webapp/webapp/tpl/dataimport.html +183 -183
- data/solr/server/solr-webapp/webapp/tpl/documents.html +107 -107
- data/solr/server/solr-webapp/webapp/tpl/files.html +44 -44
- data/solr/server/solr-webapp/webapp/tpl/index.html +250 -250
- data/solr/server/solr-webapp/webapp/tpl/logging.html +23 -23
- data/solr/server/solr-webapp/webapp/tpl/plugins.html +39 -39
- data/solr/server/solr-webapp/webapp/tpl/query.html +361 -361
- data/solr/server/solr-webapp/webapp/tpl/replication.html +216 -216
- data/solr/server/solr-webapp/webapp/tpl/schema-browser.html +192 -192
- data/solr/server/solr-webapp/webapp/tpl/segments.html +49 -0
- data/solr/server/solr-webapp/webapp/tpl/threads.html +56 -56
- data/solr/server/solr/README.txt +77 -77
- data/solr/server/solr/solr.xml +51 -51
- data/solr/server/solr/zoo.cfg +17 -17
- data/solr/server/start.jar +0 -0
- data/spec/server_spec.rb +3 -8
- metadata +132 -43
- data/solr/server/lib/jetty-continuation-8.1.10.v20130312.jar +0 -0
- data/solr/server/lib/jetty-deploy-8.1.10.v20130312.jar +0 -0
- data/solr/server/lib/jetty-http-8.1.10.v20130312.jar +0 -0
- data/solr/server/lib/jetty-io-8.1.10.v20130312.jar +0 -0
- data/solr/server/lib/jetty-jmx-8.1.10.v20130312.jar +0 -0
- data/solr/server/lib/jetty-security-8.1.10.v20130312.jar +0 -0
- data/solr/server/lib/jetty-server-8.1.10.v20130312.jar +0 -0
- data/solr/server/lib/jetty-servlet-8.1.10.v20130312.jar +0 -0
- data/solr/server/lib/jetty-util-8.1.10.v20130312.jar +0 -0
- data/solr/server/lib/jetty-webapp-8.1.10.v20130312.jar +0 -0
- data/solr/server/lib/jetty-xml-8.1.10.v20130312.jar +0 -0
- data/solr/server/lib/servlet-api-3.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/.gitignore +0 -1
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/hadoop-auth-2.3.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/hadoop-common-2.3.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/hadoop-hdfs-2.3.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/httpclient-4.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/httpcore-4.3.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/httpmime-4.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-backward-codecs-5.0.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-codecs-5.0.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-core-5.0.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-highlighter-5.0.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-join-5.0.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-memory-5.0.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-misc-5.0.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-queries-5.0.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-spatial-5.0.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-suggest-5.0.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/org.restlet-2.1.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/org.restlet.ext.servlet-2.1.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/solr-core-5.0.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/solr-solrj-5.0.0.jar +0 -0
- data/solr/server/webapps/solr.war +0 -0
@@ -0,0 +1,53 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd">
|
3
|
+
|
4
|
+
<!-- ============================================================= -->
|
5
|
+
<!-- Configure a HTTPS connector. -->
|
6
|
+
<!-- This configuration must be used in conjunction with jetty.xml -->
|
7
|
+
<!-- and jetty-ssl.xml. -->
|
8
|
+
<!-- ============================================================= -->
|
9
|
+
<Configure id="Server" class="org.eclipse.jetty.server.Server">
|
10
|
+
|
11
|
+
<!-- =========================================================== -->
|
12
|
+
<!-- Add a HTTPS Connector. -->
|
13
|
+
<!-- Configure an o.e.j.server.ServerConnector with connection -->
|
14
|
+
<!-- factories for TLS (aka SSL) and HTTP to provide HTTPS. -->
|
15
|
+
<!-- All accepted TLS connections are wired to a HTTP connection.-->
|
16
|
+
<!-- -->
|
17
|
+
<!-- Consult the javadoc of o.e.j.server.ServerConnector, -->
|
18
|
+
<!-- o.e.j.server.SslConnectionFactory and -->
|
19
|
+
<!-- o.e.j.server.HttpConnectionFactory for all configuration -->
|
20
|
+
<!-- that may be set here. -->
|
21
|
+
<!-- =========================================================== -->
|
22
|
+
<Call id="httpsConnector" name="addConnector">
|
23
|
+
<Arg>
|
24
|
+
<New class="org.eclipse.jetty.server.ServerConnector">
|
25
|
+
<Arg name="server"><Ref refid="Server" /></Arg>
|
26
|
+
<Arg name="acceptors" type="int"><Property name="solr.jetty.ssl.acceptors" default="-1"/></Arg>
|
27
|
+
<Arg name="selectors" type="int"><Property name="solr.jetty.ssl.selectors" default="-1"/></Arg>
|
28
|
+
<Arg name="factories">
|
29
|
+
<Array type="org.eclipse.jetty.server.ConnectionFactory">
|
30
|
+
<Item>
|
31
|
+
<New class="org.eclipse.jetty.server.SslConnectionFactory">
|
32
|
+
<Arg name="next">http/1.1</Arg>
|
33
|
+
<Arg name="sslContextFactory"><Ref refid="sslContextFactory"/></Arg>
|
34
|
+
</New>
|
35
|
+
</Item>
|
36
|
+
<Item>
|
37
|
+
<New class="org.eclipse.jetty.server.HttpConnectionFactory">
|
38
|
+
<Arg name="config"><Ref refid="sslHttpConfig"/></Arg>
|
39
|
+
</New>
|
40
|
+
</Item>
|
41
|
+
</Array>
|
42
|
+
</Arg>
|
43
|
+
<Set name="host"><Property name="solr.jetty.host" /></Set>
|
44
|
+
<Set name="port"><Property name="solr.jetty.https.port" default="8983" /></Set>
|
45
|
+
<Set name="idleTimeout"><Property name="solr.jetty.https.timeout" default="50000"/></Set>
|
46
|
+
<Set name="soLingerTime"><Property name="solr.jetty.https.soLingerTime" default="-1"/></Set>
|
47
|
+
<Set name="acceptorPriorityDelta"><Property name="solr.jetty.ssl.acceptorPriorityDelta" default="0"/></Set>
|
48
|
+
<Set name="selectorPriorityDelta"><Property name="solr.jetty.ssl.selectorPriorityDelta" default="0"/></Set>
|
49
|
+
<Set name="acceptQueueSize"><Property name="solr.jetty.https.acceptQueueSize" default="0"/></Set>
|
50
|
+
</New>
|
51
|
+
</Arg>
|
52
|
+
</Call>
|
53
|
+
</Configure>
|
@@ -0,0 +1,46 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd">
|
3
|
+
|
4
|
+
<!-- ============================================================= -->
|
5
|
+
<!-- Configure a TLS (SSL) Context Factory -->
|
6
|
+
<!-- This configuration must be used in conjunction with jetty.xml -->
|
7
|
+
<!-- and either jetty-https.xml or jetty-spdy.xml (but not both) -->
|
8
|
+
<!-- ============================================================= -->
|
9
|
+
<Configure id="sslContextFactory" class="org.eclipse.jetty.util.ssl.SslContextFactory">
|
10
|
+
<Set name="KeyStorePath"><Property name="solr.jetty.keystore" default="./etc/solr-ssl.keystore.jks"/></Set>
|
11
|
+
<Set name="KeyStorePassword"><Property name="solr.jetty.keystore.password" default="secret"/></Set>
|
12
|
+
<Set name="TrustStorePath"><Property name="solr.jetty.truststore" default="./etc/solr-ssl.keystore.jks"/></Set>
|
13
|
+
<Set name="TrustStorePassword"><Property name="solr.jetty.truststore.password" default="secret"/></Set>
|
14
|
+
<Set name="NeedClientAuth"><Property name="solr.jetty.ssl.needClientAuth" default="false"/></Set>
|
15
|
+
<Set name="WantClientAuth"><Property name="solr.jetty.ssl.wantClientAuth" default="false"/></Set>
|
16
|
+
<Set name="excludeProtocols">
|
17
|
+
<Array type="java.lang.String">
|
18
|
+
<Item>SSLv3</Item>
|
19
|
+
</Array>
|
20
|
+
</Set>
|
21
|
+
<Set name="ExcludeCipherSuites">
|
22
|
+
<Array type="String">
|
23
|
+
<Item>SSL_RSA_WITH_DES_CBC_SHA</Item>
|
24
|
+
<Item>SSL_DHE_RSA_WITH_DES_CBC_SHA</Item>
|
25
|
+
<Item>SSL_DHE_DSS_WITH_DES_CBC_SHA</Item>
|
26
|
+
<Item>SSL_RSA_EXPORT_WITH_RC4_40_MD5</Item>
|
27
|
+
<Item>SSL_RSA_EXPORT_WITH_DES40_CBC_SHA</Item>
|
28
|
+
<Item>SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA</Item>
|
29
|
+
<Item>SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA</Item>
|
30
|
+
</Array>
|
31
|
+
</Set>
|
32
|
+
|
33
|
+
<!-- =========================================================== -->
|
34
|
+
<!-- Create a TLS specific HttpConfiguration based on the -->
|
35
|
+
<!-- common HttpConfiguration defined in jetty.xml -->
|
36
|
+
<!-- Add a SecureRequestCustomizer to extract certificate and -->
|
37
|
+
<!-- session information -->
|
38
|
+
<!-- =========================================================== -->
|
39
|
+
<New id="sslHttpConfig" class="org.eclipse.jetty.server.HttpConfiguration">
|
40
|
+
<Arg><Ref refid="httpConfig"/></Arg>
|
41
|
+
<Call name="addCustomizer">
|
42
|
+
<Arg><New class="org.eclipse.jetty.server.SecureRequestCustomizer"/></Arg>
|
43
|
+
</Call>
|
44
|
+
</New>
|
45
|
+
|
46
|
+
</Configure>
|
data/solr/server/etc/jetty.xml
CHANGED
@@ -1,167 +1,189 @@
|
|
1
|
-
<?xml version="1.0"?>
|
2
|
-
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/
|
3
|
-
|
4
|
-
<!-- =============================================================== -->
|
5
|
-
<!-- Configure the Jetty Server -->
|
6
|
-
<!-- -->
|
7
|
-
<!-- Documentation of this file format can be found at: -->
|
8
|
-
<!-- http://wiki.eclipse.org/Jetty/Reference/jetty.xml_syntax -->
|
9
|
-
<!-- -->
|
10
|
-
<!-- =============================================================== -->
|
11
|
-
|
12
|
-
|
13
|
-
<Configure id="Server" class="org.eclipse.jetty.server.Server">
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
<!--
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
-->
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
<Set name="
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
</
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
<
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
</
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd">
|
3
|
+
|
4
|
+
<!-- =============================================================== -->
|
5
|
+
<!-- Configure the Jetty Server -->
|
6
|
+
<!-- -->
|
7
|
+
<!-- Documentation of this file format can be found at: -->
|
8
|
+
<!-- http://wiki.eclipse.org/Jetty/Reference/jetty.xml_syntax -->
|
9
|
+
<!-- -->
|
10
|
+
<!-- =============================================================== -->
|
11
|
+
|
12
|
+
|
13
|
+
<Configure id="Server" class="org.eclipse.jetty.server.Server">
|
14
|
+
|
15
|
+
<!-- =========================================================== -->
|
16
|
+
<!-- Configure the Server Thread Pool. -->
|
17
|
+
<!-- The server holds a common thread pool which is used by -->
|
18
|
+
<!-- default as the executor used by all connectors and servlet -->
|
19
|
+
<!-- dispatches. -->
|
20
|
+
<!-- -->
|
21
|
+
<!-- Configuring a fixed thread pool is vital to controlling the -->
|
22
|
+
<!-- maximal memory footprint of the server and is a key tuning -->
|
23
|
+
<!-- parameter for tuning. In an application that rarely blocks -->
|
24
|
+
<!-- then maximal threads may be close to the number of 5*CPUs. -->
|
25
|
+
<!-- In an application that frequently blocks, then maximal -->
|
26
|
+
<!-- threads should be set as high as possible given the memory -->
|
27
|
+
<!-- available. -->
|
28
|
+
<!-- -->
|
29
|
+
<!-- Consult the javadoc of o.e.j.util.thread.QueuedThreadPool -->
|
30
|
+
<!-- for all configuration that may be set here. -->
|
31
|
+
<!-- =========================================================== -->
|
32
|
+
<!-- uncomment to change type of threadpool
|
33
|
+
<Arg name="threadpool"><New id="threadpool" class="org.eclipse.jetty.util.thread.QueuedThreadPool"/></Arg>
|
34
|
+
-->
|
35
|
+
<Get name="ThreadPool">
|
36
|
+
<Set name="minThreads" type="int"><Property name="solr.jetty.threads.min" default="10"/></Set>
|
37
|
+
<Set name="maxThreads" type="int"><Property name="solr.jetty.threads.max" default="10000"/></Set>
|
38
|
+
<Set name="idleTimeout" type="int"><Property name="solr.jetty.threads.idle.timeout" default="5000"/></Set>
|
39
|
+
<Set name="stopTimeout" type="int"><Property name="solr.jetty.threads.stop.timeout" default="60000"/></Set>
|
40
|
+
<Set name="detailedDump">false</Set>
|
41
|
+
</Get>
|
42
|
+
|
43
|
+
|
44
|
+
<!-- =========================================================== -->
|
45
|
+
<!-- Http Configuration. -->
|
46
|
+
<!-- This is a common configuration instance used by all -->
|
47
|
+
<!-- connectors that can carry HTTP semantics (HTTP, HTTPS, SPDY)-->
|
48
|
+
<!-- It configures the non wire protocol aspects of the HTTP -->
|
49
|
+
<!-- semantic. -->
|
50
|
+
<!-- -->
|
51
|
+
<!-- This configuration is only defined here and is used by -->
|
52
|
+
<!-- reference from the jetty-http.xml, jetty-https.xml and -->
|
53
|
+
<!-- jetty-spdy.xml configuration files which instantiate the -->
|
54
|
+
<!-- connectors. -->
|
55
|
+
<!-- -->
|
56
|
+
<!-- Consult the javadoc of o.e.j.server.HttpConfiguration -->
|
57
|
+
<!-- for all configuration that may be set here. -->
|
58
|
+
<!-- =========================================================== -->
|
59
|
+
<New id="httpConfig" class="org.eclipse.jetty.server.HttpConfiguration">
|
60
|
+
<Set name="secureScheme">https</Set>
|
61
|
+
<Set name="securePort"><Property name="solr.jetty.secure.port" default="8443" /></Set>
|
62
|
+
<Set name="outputBufferSize"><Property name="solr.jetty.output.buffer.size" default="32768" /></Set>
|
63
|
+
<Set name="outputAggregationSize"><Property name="solr.jetty.output.aggregation.size" default="8192" /></Set>
|
64
|
+
<Set name="requestHeaderSize"><Property name="solr.jetty.request.header.size" default="8192" /></Set>
|
65
|
+
<Set name="responseHeaderSize"><Property name="solr.jetty.response.header.size" default="8192" /></Set>
|
66
|
+
<Set name="sendServerVersion"><Property name="solr.jetty.send.server.version" default="false" /></Set>
|
67
|
+
<Set name="sendDateHeader"><Property name="solr.jetty.send.date.header" default="false" /></Set>
|
68
|
+
<Set name="headerCacheSize"><Property name="solr.jetty.header.cache.size" default="512" /></Set>
|
69
|
+
<Set name="delayDispatchUntilContent"><Property name="solr.jetty.delayDispatchUntilContent" default="false"/></Set>
|
70
|
+
<!-- Uncomment to enable handling of X-Forwarded- style headers
|
71
|
+
<Call name="addCustomizer">
|
72
|
+
<Arg><New class="org.eclipse.jetty.server.ForwardedRequestCustomizer"/></Arg>
|
73
|
+
</Call>
|
74
|
+
-->
|
75
|
+
</New>
|
76
|
+
|
77
|
+
<!-- =========================================================== -->
|
78
|
+
<!-- Set handler Collection Structure -->
|
79
|
+
<!-- =========================================================== -->
|
80
|
+
<New id="RewriteHandler" class="org.eclipse.jetty.rewrite.handler.RewriteHandler">
|
81
|
+
<Set name="rewriteRequestURI">true</Set>
|
82
|
+
<Set name="rewritePathInfo">false</Set>
|
83
|
+
<Set name="originalPathAttribute">requestedPath</Set>
|
84
|
+
|
85
|
+
<Call name="addRule">
|
86
|
+
<Arg>
|
87
|
+
<New class="org.eclipse.jetty.rewrite.handler.RedirectRegexRule">
|
88
|
+
<Set name="regex">^/$</Set>
|
89
|
+
<Set name="replacement">/solr/</Set>
|
90
|
+
</New>
|
91
|
+
</Arg>
|
92
|
+
</Call>
|
93
|
+
</New>
|
94
|
+
|
95
|
+
<!-- =========================================================== -->
|
96
|
+
<!-- Set handler Collection Structure -->
|
97
|
+
<!-- =========================================================== -->
|
98
|
+
<Set name="handler">
|
99
|
+
<New id="Handlers" class="org.eclipse.jetty.server.handler.HandlerCollection">
|
100
|
+
<Set name="handlers">
|
101
|
+
<Array type="org.eclipse.jetty.server.Handler">
|
102
|
+
<Item>
|
103
|
+
<Ref id="RewriteHandler"/>
|
104
|
+
</Item>
|
105
|
+
<Item>
|
106
|
+
<New id="Contexts" class="org.eclipse.jetty.server.handler.ContextHandlerCollection"/>
|
107
|
+
</Item>
|
108
|
+
<Item>
|
109
|
+
<New id="DefaultHandler" class="org.eclipse.jetty.server.handler.DefaultHandler"/>
|
110
|
+
</Item>
|
111
|
+
<Item>
|
112
|
+
<New id="RequestLog" class="org.eclipse.jetty.server.handler.RequestLogHandler"/>
|
113
|
+
</Item>
|
114
|
+
</Array>
|
115
|
+
</Set>
|
116
|
+
</New>
|
117
|
+
</Set>
|
118
|
+
|
119
|
+
<!-- =========================================================== -->
|
120
|
+
<!-- Configure Request Log -->
|
121
|
+
<!-- =========================================================== -->
|
122
|
+
<!--
|
123
|
+
<Ref id="Handlers">
|
124
|
+
<Call name="addHandler">
|
125
|
+
<Arg>
|
126
|
+
<New id="RequestLog" class="org.eclipse.jetty.server.handler.RequestLogHandler">
|
127
|
+
<Set name="requestLog">
|
128
|
+
<New id="RequestLogImpl" class="org.eclipse.jetty.server.NCSARequestLog">
|
129
|
+
<Set name="filename">
|
130
|
+
logs/request.yyyy_mm_dd.log
|
131
|
+
</Set>
|
132
|
+
<Set name="filenameDateFormat">yyyy_MM_dd</Set>
|
133
|
+
<Set name="retainDays">90</Set>
|
134
|
+
<Set name="append">true</Set>
|
135
|
+
<Set name="extended">false</Set>
|
136
|
+
<Set name="logCookies">false</Set>
|
137
|
+
<Set name="LogTimeZone">UTC</Set>
|
138
|
+
</New>
|
139
|
+
</Set>
|
140
|
+
</New>
|
141
|
+
</Arg>
|
142
|
+
</Call>
|
143
|
+
</Ref>
|
144
|
+
-->
|
145
|
+
|
146
|
+
<!-- =========================================================== -->
|
147
|
+
<!-- extra options -->
|
148
|
+
<!-- =========================================================== -->
|
149
|
+
<Set name="stopAtShutdown">true</Set>
|
150
|
+
<Set name="dumpAfterStart">false</Set>
|
151
|
+
<Set name="dumpBeforeStop">false</Set>
|
152
|
+
|
153
|
+
<Call name="addBean">
|
154
|
+
<Arg>
|
155
|
+
<New id="DeploymentManager" class="org.eclipse.jetty.deploy.DeploymentManager">
|
156
|
+
<Set name="contexts">
|
157
|
+
<Ref refid="Contexts" />
|
158
|
+
</Set>
|
159
|
+
|
160
|
+
<Call name="addAppProvider">
|
161
|
+
<Arg>
|
162
|
+
<New class="org.eclipse.jetty.deploy.providers.WebAppProvider">
|
163
|
+
<Set name="monitoredDirName"><Property name="jetty.base" default="."/>/contexts</Set>
|
164
|
+
<Set name="scanInterval">0</Set>
|
165
|
+
</New>
|
166
|
+
</Arg>
|
167
|
+
</Call>
|
168
|
+
|
169
|
+
<!-- Add a customize step to the deployment lifecycle -->
|
170
|
+
<!-- uncomment and replace DebugBinding with your extended AppLifeCycle.Binding class
|
171
|
+
<Call name="insertLifeCycleNode">
|
172
|
+
<Arg>deployed</Arg>
|
173
|
+
<Arg>starting</Arg>
|
174
|
+
<Arg>customise</Arg>
|
175
|
+
</Call>
|
176
|
+
<Call name="addLifeCycleBinding">
|
177
|
+
<Arg>
|
178
|
+
<New class="org.eclipse.jetty.deploy.bindings.DebugBinding">
|
179
|
+
<Arg>customise</Arg>
|
180
|
+
</New>
|
181
|
+
</Arg>
|
182
|
+
</Call>
|
183
|
+
-->
|
184
|
+
|
185
|
+
</New>
|
186
|
+
</Arg>
|
187
|
+
</Call>
|
188
|
+
|
189
|
+
</Configure>
|