sunspot_solr 2.2.0 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/bin/sunspot-solr +0 -4
- data/lib/sunspot/solr/installer.rb +1 -1
- data/lib/sunspot/solr/installer/config_installer.rb +55 -21
- data/lib/sunspot/solr/java.rb +1 -1
- data/lib/sunspot/solr/server.rb +21 -21
- data/solr/.gitignore +2 -0
- data/solr/README.txt +157 -18
- data/solr/bin/init.d/solr +78 -0
- data/solr/bin/install_solr_service.sh +270 -0
- data/solr/bin/oom_solr.sh +30 -0
- data/solr/bin/post +218 -0
- data/solr/bin/solr +1531 -0
- data/solr/bin/solr.cmd +1384 -0
- data/solr/bin/solr.in.cmd +89 -0
- data/solr/bin/solr.in.sh +103 -0
- data/solr/server/README.txt +113 -0
- data/solr/{contexts/solr.xml → server/contexts/solr-jetty-context.xml} +1 -0
- data/solr/server/etc/jetty-https-ssl.xml +159 -0
- data/solr/{etc → server/etc}/jetty.xml +0 -0
- data/solr/{etc → server/etc}/webdefault.xml +1 -1
- data/solr/server/lib/ext/jcl-over-slf4j-1.7.7.jar +0 -0
- data/solr/server/lib/ext/jul-to-slf4j-1.7.7.jar +0 -0
- data/solr/server/lib/ext/log4j-1.2.17.jar +0 -0
- data/solr/server/lib/ext/slf4j-api-1.7.7.jar +0 -0
- data/solr/server/lib/ext/slf4j-log4j12-1.7.7.jar +0 -0
- data/solr/{lib/jetty-continuation-8.1.8.v20121106.jar → server/lib/jetty-continuation-8.1.10.v20130312.jar} +0 -0
- data/solr/{lib/jetty-deploy-8.1.8.v20121106.jar → 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/{lib/jetty-io-8.1.8.v20121106.jar → server/lib/jetty-io-8.1.10.v20130312.jar} +0 -0
- data/solr/{lib/jetty-jmx-8.1.8.v20121106.jar → server/lib/jetty-jmx-8.1.10.v20130312.jar} +0 -0
- data/solr/{lib/jetty-security-8.1.8.v20121106.jar → 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/{lib/jetty-util-8.1.8.v20121106.jar → server/lib/jetty-util-8.1.10.v20130312.jar} +0 -0
- data/solr/{lib/jetty-webapp-8.1.8.v20121106.jar → 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/{lib → server/lib}/servlet-api-3.0.jar +0 -0
- data/solr/server/resources/log4j.properties +24 -0
- data/solr/server/solr-webapp/webapp/.gitignore +1 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/antlr-runtime-3.5.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/asm-4.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/asm-commons-4.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/commons-cli-1.2.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/commons-codec-1.10.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/commons-collections-3.2.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/commons-configuration-1.6.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/commons-fileupload-1.2.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/commons-io-2.4.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/commons-lang-2.6.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/concurrentlinkedhashmap-lru-1.2.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/dom4j-1.6.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/guava-14.0.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/hadoop-annotations-2.3.0.jar +0 -0
- 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/hppc-0.5.2.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/joda-time-2.2.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-analyzers-common-5.0.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-analyzers-kuromoji-5.0.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-analyzers-phonetic-5.0.0.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-expressions-5.0.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-grouping-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-queryparser-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/noggit-0.6.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/protobuf-java-2.5.0.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/solr-webapp/webapp/WEB-INF/lib/spatial4j-0.4.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/stax2-api-3.1.4.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/woodstox-core-asl-4.4.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/zookeeper-3.4.6.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/web.xml +181 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/weblogic.xml +28 -0
- data/solr/server/solr-webapp/webapp/admin.html +163 -0
- data/solr/server/solr-webapp/webapp/css/chosen.css +421 -0
- data/solr/server/solr-webapp/webapp/css/styles/analysis.css +311 -0
- data/solr/server/solr-webapp/webapp/css/styles/cloud.css +410 -0
- data/solr/server/solr-webapp/webapp/css/styles/common.css +701 -0
- data/solr/server/solr-webapp/webapp/css/styles/cores.css +244 -0
- data/solr/server/solr-webapp/webapp/css/styles/dashboard.css +155 -0
- data/solr/server/solr-webapp/webapp/css/styles/dataimport.css +403 -0
- data/solr/server/solr-webapp/webapp/css/styles/documents.css +197 -0
- data/solr/server/solr-webapp/webapp/css/styles/files.css +54 -0
- data/solr/server/solr-webapp/webapp/css/styles/index.css +207 -0
- data/solr/server/solr-webapp/webapp/css/styles/java-properties.css +52 -0
- data/solr/server/solr-webapp/webapp/css/styles/logging.css +391 -0
- data/solr/server/solr-webapp/webapp/css/styles/menu.css +328 -0
- data/solr/server/solr-webapp/webapp/css/styles/plugins.css +195 -0
- data/solr/server/solr-webapp/webapp/css/styles/query.css +173 -0
- data/solr/server/solr-webapp/webapp/css/styles/replication.css +515 -0
- data/solr/server/solr-webapp/webapp/css/styles/schema-browser.css +578 -0
- data/solr/server/solr-webapp/webapp/css/styles/threads.css +172 -0
- data/solr/server/solr-webapp/webapp/favicon.ico +0 -0
- data/solr/server/solr-webapp/webapp/img/ZeroClipboard.swf +0 -0
- data/solr/server/solr-webapp/webapp/img/chosen-sprite.png +0 -0
- data/solr/server/solr-webapp/webapp/img/div.gif +0 -0
- data/solr/server/solr-webapp/webapp/img/favicon.ico +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/7z.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/README +27 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/ai.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/aiff.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/asc.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/audio.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/bin.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/bz2.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/c.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/cfc.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/cfm.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/chm.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/class.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/conf.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/cpp.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/cs.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/css.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/csv.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/deb.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/divx.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/doc.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/dot.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/eml.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/enc.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/file.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/gif.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/gz.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/hlp.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/htm.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/html.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/image.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/iso.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/jar.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/java.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/jpeg.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/jpg.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/js.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/lua.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/m.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/mm.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/mov.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/mp3.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/mpg.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/odc.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/odf.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/odg.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/odi.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/odp.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/ods.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/odt.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/ogg.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/pdf.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/pgp.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/php.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/pl.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/png.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/ppt.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/ps.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/py.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/ram.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/rar.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/rb.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/rm.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/rpm.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/rtf.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/sig.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/sql.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/swf.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/sxc.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/sxd.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/sxi.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/sxw.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/tar.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/tex.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/tgz.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/txt.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/vcf.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/video.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/vsd.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/wav.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/wma.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/wmv.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/xls.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/xml.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/xpi.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/xvid.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/zip.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/arrow-000-small.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/arrow-circle.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/arrow-switch.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/asterisk.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/battery.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/block-small.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/block.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/book-open-text.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/box.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/bug.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/chart.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/chevron-small-expand.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/chevron-small.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/clipboard-list.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/clipboard-paste-document-text.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/clipboard-paste.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/clock-select-remain.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/clock-select.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/construction.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/cross-0.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/cross-1.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/cross-button.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/cross.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/dashboard.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/database--plus.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/database.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/databases.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/disk-black.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/document-convert.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/document-import.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/document-list.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/document-text.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/documents-stack.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/download-cloud.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/drive-upload.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/exclamation-button.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/eye.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/folder-export.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/folder-tree.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/folder.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/funnel-small.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/funnel.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/gear.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/globe-network.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/globe.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/hammer-screwdriver.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/hammer.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/hand.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/highlighter-text.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/home.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/hourglass--exclamation.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/hourglass.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/inbox-document-text.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/information-button.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/information-small.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/information-white.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/information.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/jar.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/magnifier.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/mail.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/memory.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/minus-button.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/molecule.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/network-cloud.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/network-status-away.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/network-status-busy.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/network-status-offline.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/network-status.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/network.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/node-design.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/node-master.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/node-select.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/node-slave.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/node.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/pencil-small.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/pencil.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/plus-button.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/processor.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/prohibition.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/property.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/question-small-white.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/question-white.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/question.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/receipt-invoice.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/receipt.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/script-code.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/server-cast.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/server.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/sitemap.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/slash.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/status-away.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/status-busy.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/status-offline.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/status.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/system-monitor--exclamation.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/system-monitor.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/table.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/terminal.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/tick-circle.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/tick-red.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/tick.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/toggle-small-expand.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/toggle-small.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/toolbox.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/ui-accordion.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/ui-address-bar.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/ui-check-box-uncheck.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/ui-check-box.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/ui-radio-button-uncheck.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/ui-radio-button.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/ui-text-field-select.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/users.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/wooden-box.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/zone.png +0 -0
- data/solr/server/solr-webapp/webapp/img/loader-light.gif +0 -0
- data/solr/server/solr-webapp/webapp/img/loader.gif +0 -0
- data/solr/server/solr-webapp/webapp/img/lucene-ico.png +0 -0
- data/solr/server/solr-webapp/webapp/img/solr-ico.png +0 -0
- data/solr/server/solr-webapp/webapp/img/solr.svg +39 -0
- data/solr/server/solr-webapp/webapp/img/tree.png +0 -0
- data/solr/server/solr-webapp/webapp/js/lib/ZeroClipboard.js +342 -0
- data/solr/server/solr-webapp/webapp/js/lib/chosen.js +982 -0
- data/solr/server/solr-webapp/webapp/js/lib/console.js +29 -0
- data/solr/server/solr-webapp/webapp/js/lib/d3.js +9373 -0
- data/solr/server/solr-webapp/webapp/js/lib/highlight.js +31 -0
- data/solr/server/solr-webapp/webapp/js/lib/jquery-1.7.2.min.js +30 -0
- data/solr/server/solr-webapp/webapp/js/lib/jquery.ajaxfileupload.js +184 -0
- data/solr/server/solr-webapp/webapp/js/lib/jquery.blockUI.js +523 -0
- data/solr/server/solr-webapp/webapp/js/lib/jquery.cookie.js +71 -0
- data/solr/server/solr-webapp/webapp/js/lib/jquery.form.js +806 -0
- data/solr/server/solr-webapp/webapp/js/lib/jquery.jstree.js +3534 -0
- data/solr/server/solr-webapp/webapp/js/lib/jquery.sammy.js +1863 -0
- data/solr/server/solr-webapp/webapp/js/lib/jquery.timeago.js +189 -0
- data/solr/server/solr-webapp/webapp/js/lib/linker.js +48 -0
- data/solr/server/solr-webapp/webapp/js/lib/order.js +216 -0
- data/solr/server/solr-webapp/webapp/js/main.js +58 -0
- data/solr/server/solr-webapp/webapp/js/require.js +11349 -0
- data/solr/server/solr-webapp/webapp/js/scripts/analysis.js +545 -0
- data/solr/server/solr-webapp/webapp/js/scripts/app.js +679 -0
- data/solr/server/solr-webapp/webapp/js/scripts/cloud.js +877 -0
- data/solr/server/solr-webapp/webapp/js/scripts/cores.js +719 -0
- data/solr/server/solr-webapp/webapp/js/scripts/dashboard.js +562 -0
- data/solr/server/solr-webapp/webapp/js/scripts/dataimport.js +812 -0
- data/solr/server/solr-webapp/webapp/js/scripts/documents.js +370 -0
- data/solr/server/solr-webapp/webapp/js/scripts/files.js +265 -0
- data/solr/server/solr-webapp/webapp/js/scripts/index.js +340 -0
- data/solr/server/solr-webapp/webapp/js/scripts/java-properties.js +106 -0
- data/solr/server/solr-webapp/webapp/js/scripts/logging.js +576 -0
- data/solr/server/solr-webapp/webapp/js/scripts/ping.js +72 -0
- data/solr/server/solr-webapp/webapp/js/scripts/plugins.js +462 -0
- data/solr/server/solr-webapp/webapp/js/scripts/query.js +229 -0
- data/solr/server/solr-webapp/webapp/js/scripts/replication.js +527 -0
- data/solr/server/solr-webapp/webapp/js/scripts/schema-browser.js +1229 -0
- data/solr/server/solr-webapp/webapp/js/scripts/threads.js +158 -0
- data/solr/server/solr-webapp/webapp/tpl/analysis.html +83 -0
- data/solr/server/solr-webapp/webapp/tpl/cloud.html +87 -0
- data/solr/server/solr-webapp/webapp/tpl/cores.html +226 -0
- data/solr/server/solr-webapp/webapp/tpl/dashboard.html +201 -0
- data/solr/server/solr-webapp/webapp/tpl/dataimport.html +183 -0
- data/solr/server/solr-webapp/webapp/tpl/documents.html +107 -0
- data/solr/server/solr-webapp/webapp/tpl/files.html +44 -0
- data/solr/server/solr-webapp/webapp/tpl/index.html +250 -0
- data/solr/server/solr-webapp/webapp/tpl/logging.html +23 -0
- data/solr/server/solr-webapp/webapp/tpl/plugins.html +39 -0
- data/solr/server/solr-webapp/webapp/tpl/query.html +361 -0
- data/solr/server/solr-webapp/webapp/tpl/replication.html +216 -0
- data/solr/server/solr-webapp/webapp/tpl/schema-browser.html +192 -0
- data/solr/server/solr-webapp/webapp/tpl/threads.html +56 -0
- data/solr/server/solr/README.txt +77 -0
- data/solr/server/solr/solr.xml +51 -0
- data/solr/server/solr/zoo.cfg +17 -0
- data/solr/server/start.jar +0 -0
- data/solr/server/webapps/solr.war +0 -0
- data/solr/solr/README.txt +77 -0
- data/solr/solr/configsets/sunspot/conf/_rest_managed.json +1 -0
- data/solr/solr/{conf → configsets/sunspot/conf}/admin-extra.html +0 -0
- data/solr/solr/configsets/sunspot/conf/currency.xml +67 -0
- data/solr/solr/{conf → configsets/sunspot/conf}/elevate.xml +0 -0
- data/solr/solr/{conf/stopwords.txt → configsets/sunspot/conf/lang/stopwords_en.txt} +1 -5
- data/solr/solr/{conf → configsets/sunspot/conf}/mapping-ISOLatin1Accent.txt +0 -0
- data/solr/solr/{conf → configsets/sunspot/conf}/protwords.txt +0 -0
- data/solr/solr/{conf → configsets/sunspot/conf}/schema.xml +36 -33
- data/solr/solr/{conf → configsets/sunspot/conf}/scripts.conf +0 -0
- data/solr/solr/{conf → configsets/sunspot/conf}/solrconfig.xml +269 -318
- data/solr/solr/{conf → configsets/sunspot/conf}/spellings.txt +0 -0
- data/solr/solr/{conf → configsets/sunspot/conf}/synonyms.txt +3 -5
- data/solr/solr/default/core.properties +3 -0
- data/solr/solr/development/core.properties +3 -0
- data/solr/solr/solr.xml +49 -6
- data/solr/solr/test/core.properties +3 -0
- data/solr/solr/zoo.cfg +17 -0
- data/spec/server_spec.rb +0 -6
- data/sunspot_solr.gemspec +1 -1
- metadata +390 -48
- data/solr/lib/jetty-http-8.1.8.v20121106.jar +0 -0
- data/solr/lib/jetty-server-8.1.8.v20121106.jar +0 -0
- data/solr/lib/jetty-servlet-8.1.8.v20121106.jar +0 -0
- data/solr/lib/jetty-xml-8.1.8.v20121106.jar +0 -0
- data/solr/lib/jsp-2.1/ant-1.6.5.jar +0 -0
- data/solr/lib/jsp-2.1/core-3.1.1.jar +0 -0
- data/solr/lib/jsp-2.1/jsp-2.1.jar +0 -0
- data/solr/lib/jsp-2.1/jsp-api-2.1.jar +0 -0
- data/solr/solr/conf/xslt/example.xsl +0 -132
- data/solr/solr/conf/xslt/example_atom.xsl +0 -67
- data/solr/solr/conf/xslt/example_rss.xsl +0 -66
- data/solr/solr/conf/xslt/luke.xsl +0 -337
- data/solr/solr/default/README.txt +0 -54
- data/solr/start.jar +0 -0
- data/solr/webapps/solr.war +0 -0
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
@REM
|
|
2
|
+
@REM Licensed to the Apache Software Foundation (ASF) under one or more
|
|
3
|
+
@REM contributor license agreements. See the NOTICE file distributed with
|
|
4
|
+
@REM this work for additional information regarding copyright ownership.
|
|
5
|
+
@REM The ASF licenses this file to You under the Apache License, Version 2.0
|
|
6
|
+
@REM (the "License"); you may not use this file except in compliance with
|
|
7
|
+
@REM the License. You may obtain a copy of the License at
|
|
8
|
+
@REM
|
|
9
|
+
@REM http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
@REM
|
|
11
|
+
@REM Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
@REM distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
@REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
@REM See the License for the specific language governing permissions and
|
|
15
|
+
@REM limitations under the License.
|
|
16
|
+
|
|
17
|
+
@echo off
|
|
18
|
+
|
|
19
|
+
REM By default the script will use JAVA_HOME to determine which java
|
|
20
|
+
REM to use, but you can set a specific path for Solr to use without
|
|
21
|
+
REM affecting other Java applications on your server/workstation.
|
|
22
|
+
REM set SOLR_JAVA_HOME=
|
|
23
|
+
|
|
24
|
+
REM Increase Java Min/Max Heap as needed to support your indexing / query needs
|
|
25
|
+
set SOLR_JAVA_MEM=-Xms512m -Xmx512m
|
|
26
|
+
|
|
27
|
+
REM Enable verbose GC logging
|
|
28
|
+
set GC_LOG_OPTS=-verbose:gc -XX:+PrintHeapAtGC -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:+PrintTenuringDistribution -XX:+PrintGCApplicationStoppedTime
|
|
29
|
+
|
|
30
|
+
REM These GC settings have shown to work well for a number of common Solr workloads
|
|
31
|
+
set GC_TUNE=-XX:NewRatio=3 ^
|
|
32
|
+
-XX:SurvivorRatio=4 ^
|
|
33
|
+
-XX:TargetSurvivorRatio=90 ^
|
|
34
|
+
-XX:MaxTenuringThreshold=8 ^
|
|
35
|
+
-XX:+UseConcMarkSweepGC ^
|
|
36
|
+
-XX:+UseParNewGC ^
|
|
37
|
+
-XX:ConcGCThreads=4 -XX:ParallelGCThreads=4 ^
|
|
38
|
+
-XX:+CMSScavengeBeforeRemark ^
|
|
39
|
+
-XX:PretenureSizeThreshold=64m ^
|
|
40
|
+
-XX:+UseCMSInitiatingOccupancyOnly ^
|
|
41
|
+
-XX:CMSInitiatingOccupancyFraction=50 ^
|
|
42
|
+
-XX:CMSMaxAbortablePrecleanTime=6000 ^
|
|
43
|
+
-XX:+CMSParallelRemarkEnabled ^
|
|
44
|
+
-XX:+ParallelRefProcEnabled
|
|
45
|
+
|
|
46
|
+
REM Set the ZooKeeper connection string if using an external ZooKeeper ensemble
|
|
47
|
+
REM e.g. host1:2181,host2:2181/chroot
|
|
48
|
+
REM Leave empty if not using SolrCloud
|
|
49
|
+
REM set ZK_HOST=
|
|
50
|
+
|
|
51
|
+
REM Set the ZooKeeper client timeout (for SolrCloud mode)
|
|
52
|
+
REM set ZK_CLIENT_TIMEOUT=15000
|
|
53
|
+
|
|
54
|
+
REM By default the start script uses "localhost"; override the hostname here
|
|
55
|
+
REM for production SolrCloud environments to control the hostname exposed to cluster state
|
|
56
|
+
REM set SOLR_HOST=192.168.1.1
|
|
57
|
+
|
|
58
|
+
REM By default the start script uses UTC; override the timezone if needed
|
|
59
|
+
REM set SOLR_TIMEZONE=UTC
|
|
60
|
+
|
|
61
|
+
REM Set to true to activate the JMX RMI connector to allow remote JMX client applications
|
|
62
|
+
REM to monitor the JVM hosting Solr; set to "false" to disable that behavior
|
|
63
|
+
REM (false is recommended in production environments)
|
|
64
|
+
set ENABLE_REMOTE_JMX_OPTS=false
|
|
65
|
+
|
|
66
|
+
REM The script will use SOLR_PORT+10000 for the RMI_PORT or you can set it here
|
|
67
|
+
REM set RMI_PORT=18983
|
|
68
|
+
|
|
69
|
+
REM Anything you add to the SOLR_OPTS variable will be included in the java
|
|
70
|
+
REM start command line as-is, in ADDITION to other options. If you specify the
|
|
71
|
+
REM -a option on start script, those options will be appended as well. Examples:
|
|
72
|
+
REM set SOLR_OPTS=%SOLR_OPTS% -Dsolr.autoSoftCommit.maxTime=3000
|
|
73
|
+
REM set SOLR_OPTS=%SOLR_OPTS% -Dsolr.autoCommit.maxTime=60000
|
|
74
|
+
REM set SOLR_OPTS=%SOLR_OPTS% -Dsolr.clustering.enabled=true
|
|
75
|
+
|
|
76
|
+
REM Path to a directory where Solr creates index files, the specified directory
|
|
77
|
+
REM must contain a solr.xml; by default, Solr will use server/solr
|
|
78
|
+
REM set SOLR_HOME=
|
|
79
|
+
|
|
80
|
+
REM Sets the port Solr binds to, default is 8983
|
|
81
|
+
REM set SOLR_PORT=8983
|
|
82
|
+
|
|
83
|
+
REM Uncomment to set SSL-related system properties
|
|
84
|
+
REM Be sure to update the paths to the correct keystore for your environment
|
|
85
|
+
REM set SOLR_SSL_OPTS=-Djavax.net.ssl.keyStore=etc/solr-ssl.keystore.jks -Djavax.net.ssl.keyStorePassword=secret -Djavax.net.ssl.trustStore=etc/solr-ssl.keystore.jks -Djavax.net.ssl.trustStorePassword=secret
|
|
86
|
+
|
|
87
|
+
REM Uncomment to set a specific SSL port (-Djetty.ssl.port=N); if not set
|
|
88
|
+
REM and you are using SSL, then the start script will use SOLR_PORT for the SSL port
|
|
89
|
+
REM set SOLR_SSL_PORT=
|
data/solr/bin/solr.in.sh
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
# Licensed to the Apache Software Foundation (ASF) under one or more
|
|
2
|
+
# contributor license agreements. See the NOTICE file distributed with
|
|
3
|
+
# this work for additional information regarding copyright ownership.
|
|
4
|
+
# The ASF licenses this file to You under the Apache License, Version 2.0
|
|
5
|
+
# (the "License"); you may not use this file except in compliance with
|
|
6
|
+
# the License. You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
|
|
16
|
+
# By default the script will use JAVA_HOME to determine which java
|
|
17
|
+
# to use, but you can set a specific path for Solr to use without
|
|
18
|
+
# affecting other Java applications on your server/workstation.
|
|
19
|
+
#SOLR_JAVA_HOME=""
|
|
20
|
+
|
|
21
|
+
# Increase Java Min/Max Heap as needed to support your indexing / query needs
|
|
22
|
+
SOLR_JAVA_MEM="-Xms512m -Xmx512m"
|
|
23
|
+
|
|
24
|
+
# Enable verbose GC logging
|
|
25
|
+
GC_LOG_OPTS="-verbose:gc -XX:+PrintHeapAtGC -XX:+PrintGCDetails \
|
|
26
|
+
-XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:+PrintTenuringDistribution -XX:+PrintGCApplicationStoppedTime"
|
|
27
|
+
|
|
28
|
+
# These GC settings have shown to work well for a number of common Solr workloads
|
|
29
|
+
GC_TUNE="-XX:NewRatio=3 \
|
|
30
|
+
-XX:SurvivorRatio=4 \
|
|
31
|
+
-XX:TargetSurvivorRatio=90 \
|
|
32
|
+
-XX:MaxTenuringThreshold=8 \
|
|
33
|
+
-XX:+UseConcMarkSweepGC \
|
|
34
|
+
-XX:+UseParNewGC \
|
|
35
|
+
-XX:ConcGCThreads=4 -XX:ParallelGCThreads=4 \
|
|
36
|
+
-XX:+CMSScavengeBeforeRemark \
|
|
37
|
+
-XX:PretenureSizeThreshold=64m \
|
|
38
|
+
-XX:+UseCMSInitiatingOccupancyOnly \
|
|
39
|
+
-XX:CMSInitiatingOccupancyFraction=50 \
|
|
40
|
+
-XX:CMSMaxAbortablePrecleanTime=6000 \
|
|
41
|
+
-XX:+CMSParallelRemarkEnabled \
|
|
42
|
+
-XX:+ParallelRefProcEnabled"
|
|
43
|
+
|
|
44
|
+
# Set the ZooKeeper connection string if using an external ZooKeeper ensemble
|
|
45
|
+
# e.g. host1:2181,host2:2181/chroot
|
|
46
|
+
# Leave empty if not using SolrCloud
|
|
47
|
+
#ZK_HOST=""
|
|
48
|
+
|
|
49
|
+
# Set the ZooKeeper client timeout (for SolrCloud mode)
|
|
50
|
+
#ZK_CLIENT_TIMEOUT="15000"
|
|
51
|
+
|
|
52
|
+
# By default the start script uses "localhost"; override the hostname here
|
|
53
|
+
# for production SolrCloud environments to control the hostname exposed to cluster state
|
|
54
|
+
#SOLR_HOST="192.168.1.1"
|
|
55
|
+
|
|
56
|
+
# By default the start script uses UTC; override the timezone if needed
|
|
57
|
+
#SOLR_TIMEZONE="UTC"
|
|
58
|
+
|
|
59
|
+
# Set to true to activate the JMX RMI connector to allow remote JMX client applications
|
|
60
|
+
# to monitor the JVM hosting Solr; set to "false" to disable that behavior
|
|
61
|
+
# (false is recommended in production environments)
|
|
62
|
+
ENABLE_REMOTE_JMX_OPTS="false"
|
|
63
|
+
|
|
64
|
+
# The script will use SOLR_PORT+10000 for the RMI_PORT or you can set it here
|
|
65
|
+
# RMI_PORT=18983
|
|
66
|
+
|
|
67
|
+
# Anything you add to the SOLR_OPTS variable will be included in the java
|
|
68
|
+
# start command line as-is, in ADDITION to other options. If you specify the
|
|
69
|
+
# -a option on start script, those options will be appended as well. Examples:
|
|
70
|
+
#SOLR_OPTS="$SOLR_OPTS -Dsolr.autoSoftCommit.maxTime=3000"
|
|
71
|
+
#SOLR_OPTS="$SOLR_OPTS -Dsolr.autoCommit.maxTime=60000"
|
|
72
|
+
#SOLR_OPTS="$SOLR_OPTS -Dsolr.clustering.enabled=true"
|
|
73
|
+
|
|
74
|
+
# Location where the bin/solr script will save PID files for running instances
|
|
75
|
+
# If not set, the script will create PID files in $SOLR_TIP/bin
|
|
76
|
+
#SOLR_PID_DIR=
|
|
77
|
+
|
|
78
|
+
# Path to a directory where Solr creates index files, the specified directory
|
|
79
|
+
# must contain a solr.xml; by default, Solr will use server/solr
|
|
80
|
+
#SOLR_HOME=
|
|
81
|
+
|
|
82
|
+
# Solr provides a default Log4J configuration properties file in server/resources
|
|
83
|
+
# however, you may want to customize the log settings and file appender location
|
|
84
|
+
# so you can point the script to use a different log4j.properties file
|
|
85
|
+
#LOG4J_PROPS=/var/solr/log4j.properties
|
|
86
|
+
|
|
87
|
+
# Location where Solr should write logs to; should agree with the file appender
|
|
88
|
+
# settings in server/resources/log4j.properties
|
|
89
|
+
#SOLR_LOGS_DIR=
|
|
90
|
+
|
|
91
|
+
# Sets the port Solr binds to, default is 8983
|
|
92
|
+
#SOLR_PORT=8983
|
|
93
|
+
|
|
94
|
+
# Uncomment to set SSL-related system properties
|
|
95
|
+
# Be sure to update the paths to the correct keystore for your environment
|
|
96
|
+
#SOLR_SSL_OPTS="-Djavax.net.ssl.keyStore=etc/solr-ssl.keystore.jks \
|
|
97
|
+
#-Djavax.net.ssl.keyStorePassword=secret \
|
|
98
|
+
#-Djavax.net.ssl.trustStore=etc/solr-ssl.keystore.jks \
|
|
99
|
+
#-Djavax.net.ssl.trustStorePassword=secret"
|
|
100
|
+
|
|
101
|
+
# Uncomment to set a specific SSL port (-Djetty.ssl.port=N); if not set
|
|
102
|
+
# and you are using SSL, then the start script will use SOLR_PORT for the SSL port
|
|
103
|
+
#SOLR_SSL_PORT=
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
# Licensed to the Apache Software Foundation (ASF) under one or more
|
|
2
|
+
# contributor license agreements. See the NOTICE file distributed with
|
|
3
|
+
# this work for additional information regarding copyright ownership.
|
|
4
|
+
# The ASF licenses this file to You under the Apache License, Version 2.0
|
|
5
|
+
# (the "License"); you may not use this file except in compliance with
|
|
6
|
+
# the License. You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
|
|
16
|
+
Solr server
|
|
17
|
+
------------
|
|
18
|
+
|
|
19
|
+
This directory contains an instance of the Jetty Servlet container setup to
|
|
20
|
+
run Solr.
|
|
21
|
+
|
|
22
|
+
To run Solr:
|
|
23
|
+
|
|
24
|
+
cd $SOLR_INSTALL
|
|
25
|
+
bin/solr start
|
|
26
|
+
|
|
27
|
+
where $SOLR_INSTALL is the location where you extracted the Solr installation bundle.
|
|
28
|
+
|
|
29
|
+
Server directory layout
|
|
30
|
+
-----------------------
|
|
31
|
+
|
|
32
|
+
server/contexts
|
|
33
|
+
|
|
34
|
+
This directory contains the Jetty Web application deployment descriptor for the Solr Web app.
|
|
35
|
+
|
|
36
|
+
server/etc
|
|
37
|
+
|
|
38
|
+
Jetty configuration and example SSL keystore
|
|
39
|
+
|
|
40
|
+
server/lib
|
|
41
|
+
|
|
42
|
+
Jetty and other 3rd party libraries
|
|
43
|
+
|
|
44
|
+
server/logs
|
|
45
|
+
|
|
46
|
+
Solr log files
|
|
47
|
+
|
|
48
|
+
server/resources
|
|
49
|
+
|
|
50
|
+
Contains configuration files, such as the Log4j configuration (log4j.properties) for configuring Solr loggers.
|
|
51
|
+
|
|
52
|
+
server/scripts/cloud-scripts
|
|
53
|
+
|
|
54
|
+
Command-line utility for working with ZooKeeper when running in SolrCloud mode, see zkcli.sh / .cmd for
|
|
55
|
+
usage information.
|
|
56
|
+
|
|
57
|
+
server/solr
|
|
58
|
+
|
|
59
|
+
Default solr.solr.home directory where Solr will create core directories; must contain solr.xml
|
|
60
|
+
|
|
61
|
+
server/solr/configsets
|
|
62
|
+
|
|
63
|
+
Directories containing different configuration options for running Solr.
|
|
64
|
+
|
|
65
|
+
basic_configs : Bare minimum configuration settings needed to run Solr.
|
|
66
|
+
|
|
67
|
+
data_driven_schema_configs : Field-guessing and managed schema mode; use this configuration if you want
|
|
68
|
+
to start indexing data in Solr without having to design a schema upfront.
|
|
69
|
+
You can use the REST API to manage your schema as you refine your index
|
|
70
|
+
requirements.
|
|
71
|
+
|
|
72
|
+
sample_techproducts_configs : Comprehensive example configuration that demonstrates many of the powerful
|
|
73
|
+
features of Solr, based on the use case of building a search solution for
|
|
74
|
+
tech products.
|
|
75
|
+
|
|
76
|
+
server/solr-webapp
|
|
77
|
+
|
|
78
|
+
Jetty will extract the solr.war into this directory at runtime.
|
|
79
|
+
|
|
80
|
+
server/webapps
|
|
81
|
+
|
|
82
|
+
Contains the solr.war file.
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
Notes About Solr Examples
|
|
86
|
+
--------------------------
|
|
87
|
+
|
|
88
|
+
* SolrHome *
|
|
89
|
+
|
|
90
|
+
By default, start.jar starts Solr in Jetty using the default Solr Home
|
|
91
|
+
directory of "./solr/" (relative to the working directory of the servlet
|
|
92
|
+
container).
|
|
93
|
+
|
|
94
|
+
* References to Jar Files Outside This Directory *
|
|
95
|
+
|
|
96
|
+
Various example SolrHome dirs contained in this directory may use "<lib>"
|
|
97
|
+
statements in the solrconfig.xml file to reference plugin jars outside of
|
|
98
|
+
this directory for loading "contrib" plugins via relative paths.
|
|
99
|
+
|
|
100
|
+
If you make a copy of this example server and wish to use the
|
|
101
|
+
ExtractingRequestHandler (SolrCell), DataImportHandler (DIH), UIMA, the
|
|
102
|
+
clustering component, or any other modules in "contrib", you will need to
|
|
103
|
+
copy the required jars or update the paths to those jars in your
|
|
104
|
+
solrconfig.xml.
|
|
105
|
+
|
|
106
|
+
* Logging *
|
|
107
|
+
|
|
108
|
+
By default, Jetty & Solr will log to the console a logs/solr.log. This can be convenient when
|
|
109
|
+
first getting started, but eventually you will want to log just to a file. To
|
|
110
|
+
configure logging, edit the log4j.properties file in "resources".
|
|
111
|
+
|
|
112
|
+
It is also possible to setup log4j or other popular logging frameworks.
|
|
113
|
+
|
|
@@ -4,4 +4,5 @@
|
|
|
4
4
|
<Set name="contextPath"><SystemProperty name="hostContext" default="/solr"/></Set>
|
|
5
5
|
<Set name="war"><SystemProperty name="jetty.home"/>/webapps/solr.war</Set>
|
|
6
6
|
<Set name="defaultsDescriptor"><SystemProperty name="jetty.home"/>/etc/webdefault.xml</Set>
|
|
7
|
+
<Set name="tempDirectory"><Property name="jetty.home" default="."/>/solr-webapp</Set>
|
|
7
8
|
</Configure>
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
<?xml version="1.0"?>
|
|
2
|
+
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.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
|
+
<!-- Server Thread Pool -->
|
|
17
|
+
<!-- =========================================================== -->
|
|
18
|
+
<Set name="ThreadPool">
|
|
19
|
+
<!-- Default queued blocking threadpool -->
|
|
20
|
+
<New class="org.eclipse.jetty.util.thread.QueuedThreadPool">
|
|
21
|
+
<Set name="minThreads">10</Set>
|
|
22
|
+
<Set name="maxThreads">10000</Set>
|
|
23
|
+
<Set name="detailedDump">false</Set>
|
|
24
|
+
</New>
|
|
25
|
+
</Set>
|
|
26
|
+
|
|
27
|
+
<!-- =========================================================== -->
|
|
28
|
+
<!-- Set connectors -->
|
|
29
|
+
<!-- =========================================================== -->
|
|
30
|
+
|
|
31
|
+
<!-- Jetty will accept SSL connections using a self signed certificate,
|
|
32
|
+
and can optionally require the client to authenticate with a certificate,
|
|
33
|
+
which can be the same as the server certificate.
|
|
34
|
+
|
|
35
|
+
For information about generating the SSL certificate, etc., see:
|
|
36
|
+
|
|
37
|
+
https://cwiki.apache.org/confluence/display/solr/Enabling+SSL
|
|
38
|
+
-->
|
|
39
|
+
<Call name="addConnector">
|
|
40
|
+
<Arg>
|
|
41
|
+
<New class="org.eclipse.jetty.server.ssl.SslSelectChannelConnector">
|
|
42
|
+
<Arg>
|
|
43
|
+
<New class="org.eclipse.jetty.http.ssl.SslContextFactory">
|
|
44
|
+
<Set name="keyStore"><SystemProperty name="jetty.home" default="."/>/etc/solr-ssl.keystore.jks</Set>
|
|
45
|
+
<Set name="keyStorePassword">secret</Set>
|
|
46
|
+
<Set name="needClientAuth"><SystemProperty name="jetty.ssl.clientAuth" default="false"/></Set>
|
|
47
|
+
</New>
|
|
48
|
+
</Arg>
|
|
49
|
+
<Set name="port"><SystemProperty name="jetty.ssl.port" default="8984"/></Set>
|
|
50
|
+
<Set name="maxIdleTime">30000</Set>
|
|
51
|
+
</New>
|
|
52
|
+
</Arg>
|
|
53
|
+
</Call>
|
|
54
|
+
|
|
55
|
+
<!-- =========================================================== -->
|
|
56
|
+
<!-- Set handler Collection Structure -->
|
|
57
|
+
<!-- =========================================================== -->
|
|
58
|
+
<Set name="handler">
|
|
59
|
+
<New id="Handlers" class="org.eclipse.jetty.server.handler.HandlerCollection">
|
|
60
|
+
<Set name="handlers">
|
|
61
|
+
<Array type="org.eclipse.jetty.server.Handler">
|
|
62
|
+
<Item>
|
|
63
|
+
<New id="Contexts" class="org.eclipse.jetty.server.handler.ContextHandlerCollection"/>
|
|
64
|
+
</Item>
|
|
65
|
+
<Item>
|
|
66
|
+
<New id="DefaultHandler" class="org.eclipse.jetty.server.handler.DefaultHandler"/>
|
|
67
|
+
</Item>
|
|
68
|
+
<Item>
|
|
69
|
+
<New id="RequestLog" class="org.eclipse.jetty.server.handler.RequestLogHandler"/>
|
|
70
|
+
</Item>
|
|
71
|
+
</Array>
|
|
72
|
+
</Set>
|
|
73
|
+
</New>
|
|
74
|
+
</Set>
|
|
75
|
+
|
|
76
|
+
<!-- =========================================================== -->
|
|
77
|
+
<!-- Configure Request Log -->
|
|
78
|
+
<!-- =========================================================== -->
|
|
79
|
+
<!--
|
|
80
|
+
<Ref id="Handlers">
|
|
81
|
+
<Call name="addHandler">
|
|
82
|
+
<Arg>
|
|
83
|
+
<New id="RequestLog" class="org.eclipse.jetty.server.handler.RequestLogHandler">
|
|
84
|
+
<Set name="requestLog">
|
|
85
|
+
<New id="RequestLogImpl" class="org.eclipse.jetty.server.NCSARequestLog">
|
|
86
|
+
<Set name="filename">
|
|
87
|
+
logs/request.yyyy_mm_dd.log
|
|
88
|
+
</Set>
|
|
89
|
+
<Set name="filenameDateFormat">yyyy_MM_dd</Set>
|
|
90
|
+
<Set name="retainDays">90</Set>
|
|
91
|
+
<Set name="append">true</Set>
|
|
92
|
+
<Set name="extended">false</Set>
|
|
93
|
+
<Set name="logCookies">false</Set>
|
|
94
|
+
<Set name="LogTimeZone">UTC</Set>
|
|
95
|
+
</New>
|
|
96
|
+
</Set>
|
|
97
|
+
</New>
|
|
98
|
+
</Arg>
|
|
99
|
+
</Call>
|
|
100
|
+
</Ref>
|
|
101
|
+
-->
|
|
102
|
+
|
|
103
|
+
<!-- =========================================================== -->
|
|
104
|
+
<!-- extra options -->
|
|
105
|
+
<!-- =========================================================== -->
|
|
106
|
+
<Set name="stopAtShutdown">true</Set>
|
|
107
|
+
<Set name="sendServerVersion">false</Set>
|
|
108
|
+
<Set name="sendDateHeader">false</Set>
|
|
109
|
+
<Set name="gracefulShutdown">1000</Set>
|
|
110
|
+
<Set name="dumpAfterStart">false</Set>
|
|
111
|
+
<Set name="dumpBeforeStop">false</Set>
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
<Call name="addBean">
|
|
117
|
+
<Arg>
|
|
118
|
+
<New id="DeploymentManager" class="org.eclipse.jetty.deploy.DeploymentManager">
|
|
119
|
+
<Set name="contexts">
|
|
120
|
+
<Ref id="Contexts" />
|
|
121
|
+
</Set>
|
|
122
|
+
<Call name="setContextAttribute">
|
|
123
|
+
<Arg>org.eclipse.jetty.server.webapp.ContainerIncludeJarPattern</Arg>
|
|
124
|
+
<Arg>.*/servlet-api-[^/]*\.jar$</Arg>
|
|
125
|
+
</Call>
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
<!-- Add a customize step to the deployment lifecycle -->
|
|
129
|
+
<!-- uncomment and replace DebugBinding with your extended AppLifeCycle.Binding class
|
|
130
|
+
<Call name="insertLifeCycleNode">
|
|
131
|
+
<Arg>deployed</Arg>
|
|
132
|
+
<Arg>starting</Arg>
|
|
133
|
+
<Arg>customise</Arg>
|
|
134
|
+
</Call>
|
|
135
|
+
<Call name="addLifeCycleBinding">
|
|
136
|
+
<Arg>
|
|
137
|
+
<New class="org.eclipse.jetty.deploy.bindings.DebugBinding">
|
|
138
|
+
<Arg>customise</Arg>
|
|
139
|
+
</New>
|
|
140
|
+
</Arg>
|
|
141
|
+
</Call>
|
|
142
|
+
-->
|
|
143
|
+
|
|
144
|
+
</New>
|
|
145
|
+
</Arg>
|
|
146
|
+
</Call>
|
|
147
|
+
|
|
148
|
+
<Ref id="DeploymentManager">
|
|
149
|
+
<Call name="addAppProvider">
|
|
150
|
+
<Arg>
|
|
151
|
+
<New class="org.eclipse.jetty.deploy.providers.ContextProvider">
|
|
152
|
+
<Set name="monitoredDirName"><SystemProperty name="jetty.home" default="."/>/contexts</Set>
|
|
153
|
+
<Set name="scanInterval">0</Set>
|
|
154
|
+
</New>
|
|
155
|
+
</Arg>
|
|
156
|
+
</Call>
|
|
157
|
+
</Ref>
|
|
158
|
+
|
|
159
|
+
</Configure>
|