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
|
File without changes
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
limitations under the License.
|
|
17
17
|
-->
|
|
18
18
|
|
|
19
|
-
<!--
|
|
19
|
+
<!--
|
|
20
20
|
For more details about configurations options that may appear in
|
|
21
|
-
this file, see http://wiki.apache.org/solr/SolrConfigXml.
|
|
21
|
+
this file, see http://wiki.apache.org/solr/SolrConfigXml.
|
|
22
22
|
-->
|
|
23
23
|
<config>
|
|
24
24
|
<!-- In all configuration below, a prefix of "solr." for class names
|
|
@@ -35,33 +35,20 @@
|
|
|
35
35
|
that you fully re-index after changing this setting as it can
|
|
36
36
|
affect both how text is indexed and queried.
|
|
37
37
|
-->
|
|
38
|
-
<luceneMatchVersion>
|
|
39
|
-
|
|
40
|
-
<!-- <lib/> directives can be used to instruct Solr to load an Jars
|
|
41
|
-
identified and use them to resolve any "plugins" specified in
|
|
42
|
-
your solrconfig.xml or schema.xml (ie: Analyzers, Request
|
|
43
|
-
Handlers, etc...).
|
|
44
|
-
|
|
45
|
-
All directories and paths are resolved relative to the
|
|
46
|
-
instanceDir.
|
|
38
|
+
<luceneMatchVersion>5.0.0</luceneMatchVersion>
|
|
47
39
|
|
|
48
|
-
|
|
49
|
-
that they appear in your solrconfig.xml file, and are "stacked"
|
|
50
|
-
on top of each other when building a ClassLoader - so if you have
|
|
51
|
-
plugin jars with dependencies on other jars, the "lower level"
|
|
52
|
-
dependency jars should be loaded first.
|
|
40
|
+
<!-- Data Directory
|
|
53
41
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
<lib dir="./lib" />
|
|
42
|
+
Used to specify an alternate directory to hold all index data
|
|
43
|
+
other than the default ./data under the Solr home. If
|
|
44
|
+
replication is in use, this should match the replication
|
|
45
|
+
configuration.
|
|
59
46
|
-->
|
|
60
47
|
<dataDir>${solr.data.dir:}</dataDir>
|
|
61
48
|
|
|
62
49
|
|
|
63
50
|
<!-- The DirectoryFactory to use for indexes.
|
|
64
|
-
|
|
51
|
+
|
|
65
52
|
solr.StandardDirectoryFactory is filesystem
|
|
66
53
|
based and tries to pick the best implementation for the current
|
|
67
54
|
JVM and platform. solr.NRTCachingDirectoryFactory, the default,
|
|
@@ -74,57 +61,85 @@
|
|
|
74
61
|
solr.RAMDirectoryFactory is memory based, not
|
|
75
62
|
persistent, and doesn't work with replication.
|
|
76
63
|
-->
|
|
77
|
-
<directoryFactory name="DirectoryFactory"
|
|
78
|
-
class="${solr.directoryFactory:solr.NRTCachingDirectoryFactory}"
|
|
64
|
+
<directoryFactory name="DirectoryFactory"
|
|
65
|
+
class="${solr.directoryFactory:solr.NRTCachingDirectoryFactory}">
|
|
66
|
+
</directoryFactory>
|
|
67
|
+
|
|
68
|
+
<!-- The CodecFactory for defining the format of the inverted index.
|
|
69
|
+
The default implementation is SchemaCodecFactory, which is the official Lucene
|
|
70
|
+
index format, but hooks into the schema to provide per-field customization of
|
|
71
|
+
the postings lists and per-document values in the fieldType element
|
|
72
|
+
(postingsFormat/docValuesFormat). Note that most of the alternative implementations
|
|
73
|
+
are experimental, so if you choose to customize the index format, it's a good
|
|
74
|
+
idea to convert back to the official format e.g. via IndexWriter.addIndexes(IndexReader)
|
|
75
|
+
before upgrading to a newer version to avoid unnecessary reindexing.
|
|
76
|
+
-->
|
|
77
|
+
<codecFactory class="solr.SchemaCodecFactory"/>
|
|
78
|
+
|
|
79
|
+
<schemaFactory class="ClassicIndexSchemaFactory"/>
|
|
79
80
|
|
|
80
81
|
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
81
82
|
Index Config - These settings control low-level behavior of indexing
|
|
82
83
|
Most example settings here show the default value, but are commented
|
|
83
84
|
out, to more easily see where customizations have been made.
|
|
84
|
-
|
|
85
|
+
|
|
85
86
|
Note: This replaces <indexDefaults> and <mainIndex> from older versions
|
|
86
87
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
|
|
87
88
|
<indexConfig>
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
89
|
+
|
|
90
|
+
<!-- LockFactory
|
|
91
|
+
|
|
92
|
+
This option specifies which Lucene LockFactory implementation
|
|
93
|
+
to use.
|
|
94
|
+
|
|
95
|
+
single = SingleInstanceLockFactory - suggested for a
|
|
96
|
+
read-only index or when there is no possibility of
|
|
97
|
+
another process trying to modify the index.
|
|
98
|
+
native = NativeFSLockFactory - uses OS native file locking.
|
|
99
|
+
Do not use when multiple solr webapps in the same
|
|
100
|
+
JVM are attempting to share a single index.
|
|
101
|
+
simple = SimpleFSLockFactory - uses a plain file for locking
|
|
102
|
+
|
|
103
|
+
Defaults: 'native' is default for Solr3.6 and later, otherwise
|
|
104
|
+
'simple' is the default
|
|
105
|
+
|
|
106
|
+
More details on the nuances of each LockFactory...
|
|
107
|
+
http://wiki.apache.org/lucene-java/AvailableLockFactories
|
|
91
108
|
-->
|
|
92
|
-
|
|
93
|
-
<!-- <writeLockTimeout>1000</writeLockTimeout> -->
|
|
94
|
-
|
|
95
|
-
<!-- The maximum number of simultaneous threads that may be
|
|
96
|
-
indexing documents at once in IndexWriter; if more than this
|
|
97
|
-
many threads arrive they will wait for others to finish.
|
|
98
|
-
Default in Solr/Lucene is 8. -->
|
|
99
|
-
<maxIndexingThreads>2</maxIndexingThreads>
|
|
100
|
-
|
|
101
|
-
<useCompoundFile>true</useCompoundFile>
|
|
102
|
-
|
|
103
|
-
<!-- ramBufferSizeMB sets the amount of RAM that may be used by Lucene
|
|
104
|
-
indexing for buffering added documents and deletions before they are
|
|
105
|
-
flushed to the Directory.
|
|
106
|
-
maxBufferedDocs sets a limit on the number of documents buffered
|
|
107
|
-
before flushing.
|
|
108
|
-
If both ramBufferSizeMB and maxBufferedDocs is set, then
|
|
109
|
-
Lucene will flush based on whichever limit is hit first. -->
|
|
110
|
-
<ramBufferSizeMB>20</ramBufferSizeMB> -->
|
|
111
|
-
<maxBufferedDocs>10000</maxBufferedDocs>
|
|
112
|
-
|
|
113
|
-
<!-- Expert: Merge Policy
|
|
114
|
-
The Merge Policy in Lucene controls how merging of segments is done.
|
|
115
|
-
The default since Solr/Lucene 3.3 is TieredMergePolicy.
|
|
116
|
-
The default since Lucene 2.3 was the LogByteSizeMergePolicy,
|
|
117
|
-
Even older versions of Lucene used LogDocMergePolicy.
|
|
118
|
-
-->
|
|
119
|
-
<mergePolicy class="org.apache.lucene.index.TieredMergePolicy">
|
|
120
|
-
<int name="maxMergeAtOnce">4</int>
|
|
121
|
-
<int name="segmentsPerTier">4</int>
|
|
122
|
-
</mergePolicy>
|
|
109
|
+
<lockType>${solr.lock.type:native}</lockType>
|
|
123
110
|
|
|
124
|
-
|
|
111
|
+
<!-- Lucene Infostream
|
|
112
|
+
|
|
113
|
+
To aid in advanced debugging, Lucene provides an "InfoStream"
|
|
114
|
+
of detailed information when indexing.
|
|
125
115
|
|
|
116
|
+
Setting the value to true will instruct the underlying Lucene
|
|
117
|
+
IndexWriter to write its info stream to solr's log. By default,
|
|
118
|
+
this is enabled here, and controlled through log4j.properties.
|
|
119
|
+
-->
|
|
120
|
+
<infoStream>true</infoStream>
|
|
126
121
|
</indexConfig>
|
|
127
122
|
|
|
123
|
+
|
|
124
|
+
<!-- JMX
|
|
125
|
+
|
|
126
|
+
This example enables JMX if and only if an existing MBeanServer
|
|
127
|
+
is found, use this if you want to configure JMX through JVM
|
|
128
|
+
parameters. Remove this to disable exposing Solr configuration
|
|
129
|
+
and statistics to JMX.
|
|
130
|
+
|
|
131
|
+
For more details see http://wiki.apache.org/solr/SolrJmx
|
|
132
|
+
-->
|
|
133
|
+
<jmx />
|
|
134
|
+
<!-- If you want to connect to a particular server, specify the
|
|
135
|
+
agentId
|
|
136
|
+
-->
|
|
137
|
+
<!-- <jmx agentId="myAgent" /> -->
|
|
138
|
+
<!-- If you want to start a new MBeanServer, specify the serviceUrl -->
|
|
139
|
+
<!-- <jmx serviceUrl="service:jmx:rmi:///jndi/rmi://localhost:9999/solr"/>
|
|
140
|
+
-->
|
|
141
|
+
|
|
142
|
+
<!-- The default high-performance update handler -->
|
|
128
143
|
<updateHandler class="solr.DirectUpdateHandler2">
|
|
129
144
|
|
|
130
145
|
<!-- Enables a transaction log, used for real-time get, durability, and
|
|
@@ -132,22 +147,65 @@
|
|
|
132
147
|
uncommitted changes to the index, so use of a hard autoCommit
|
|
133
148
|
is recommended (see below).
|
|
134
149
|
"dir" - the target directory for transaction logs, defaults to the
|
|
135
|
-
solr data directory. -->
|
|
150
|
+
solr data directory. -->
|
|
136
151
|
<updateLog>
|
|
137
152
|
<str name="dir">${solr.ulog.dir:}</str>
|
|
138
153
|
</updateLog>
|
|
154
|
+
|
|
155
|
+
<!-- AutoCommit
|
|
156
|
+
|
|
157
|
+
Perform a hard commit automatically under certain conditions.
|
|
158
|
+
Instead of enabling autoCommit, consider using "commitWithin"
|
|
159
|
+
when adding documents.
|
|
160
|
+
|
|
161
|
+
http://wiki.apache.org/solr/UpdateXmlMessages
|
|
162
|
+
|
|
163
|
+
maxDocs - Maximum number of documents to add since the last
|
|
164
|
+
commit before automatically triggering a new commit.
|
|
165
|
+
|
|
166
|
+
maxTime - Maximum amount of time in ms that is allowed to pass
|
|
167
|
+
since a document was added before automatically
|
|
168
|
+
triggering a new commit.
|
|
169
|
+
openSearcher - if false, the commit causes recent index changes
|
|
170
|
+
to be flushed to stable storage, but does not cause a new
|
|
171
|
+
searcher to be opened to make those changes visible.
|
|
139
172
|
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
173
|
+
If the updateLog is enabled, then it's highly recommended to
|
|
174
|
+
have some sort of hard autoCommit to limit the log size.
|
|
175
|
+
-->
|
|
176
|
+
<autoCommit>
|
|
177
|
+
<maxTime>${solr.autoCommit.maxTime:15000}</maxTime>
|
|
178
|
+
<openSearcher>false</openSearcher>
|
|
143
179
|
</autoCommit>
|
|
144
180
|
|
|
145
|
-
|
|
146
|
-
|
|
181
|
+
<!-- softAutoCommit is like autoCommit except it causes a
|
|
182
|
+
'soft' commit which only ensures that changes are visible
|
|
183
|
+
but does not ensure that data is synced to disk. This is
|
|
184
|
+
faster and more near-realtime friendly than a hard commit.
|
|
185
|
+
-->
|
|
186
|
+
<autoSoftCommit>
|
|
187
|
+
<maxTime>${solr.autoSoftCommit.maxTime:-1}</maxTime>
|
|
147
188
|
</autoSoftCommit>
|
|
148
|
-
</updateHandler>
|
|
149
189
|
|
|
190
|
+
</updateHandler>
|
|
191
|
+
|
|
192
|
+
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
193
|
+
Query section - these settings control query time things like caches
|
|
194
|
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
|
|
150
195
|
<query>
|
|
196
|
+
<!-- Max Boolean Clauses
|
|
197
|
+
|
|
198
|
+
Maximum number of clauses in each BooleanQuery, an exception
|
|
199
|
+
is thrown if exceeded.
|
|
200
|
+
|
|
201
|
+
** WARNING **
|
|
202
|
+
|
|
203
|
+
This option actually modifies a global Lucene property that
|
|
204
|
+
will affect all SolrCores. If multiple solrconfig.xml files
|
|
205
|
+
disagree on this property, the value at any given moment will
|
|
206
|
+
be based on the last SolrCore to be initialized.
|
|
207
|
+
|
|
208
|
+
-->
|
|
151
209
|
<maxBooleanClauses>1024</maxBooleanClauses>
|
|
152
210
|
|
|
153
211
|
|
|
@@ -155,7 +213,7 @@
|
|
|
155
213
|
|
|
156
214
|
There are two implementations of cache available for Solr,
|
|
157
215
|
LRUCache, based on a synchronized LinkedHashMap, and
|
|
158
|
-
FastLRUCache, based on a ConcurrentHashMap.
|
|
216
|
+
FastLRUCache, based on a ConcurrentHashMap.
|
|
159
217
|
|
|
160
218
|
FastLRUCache has faster gets and slower puts in single
|
|
161
219
|
threaded operation and thus is generally faster than LRUCache
|
|
@@ -180,7 +238,7 @@
|
|
|
180
238
|
initialSize - the initial capacity (number of entries) of
|
|
181
239
|
the cache. (see java.util.HashMap)
|
|
182
240
|
autowarmCount - the number of entries to prepopulate from
|
|
183
|
-
and old cache.
|
|
241
|
+
and old cache.
|
|
184
242
|
-->
|
|
185
243
|
<filterCache class="solr.FastLRUCache"
|
|
186
244
|
size="512"
|
|
@@ -188,25 +246,33 @@
|
|
|
188
246
|
autowarmCount="0"/>
|
|
189
247
|
|
|
190
248
|
<!-- Query Result Cache
|
|
191
|
-
|
|
249
|
+
|
|
192
250
|
Caches results of searches - ordered lists of document ids
|
|
193
|
-
(DocList) based on a query, a sort, and the range of documents requested.
|
|
251
|
+
(DocList) based on a query, a sort, and the range of documents requested.
|
|
194
252
|
-->
|
|
195
253
|
<queryResultCache class="solr.LRUCache"
|
|
196
254
|
size="512"
|
|
197
255
|
initialSize="512"
|
|
198
256
|
autowarmCount="0"/>
|
|
199
|
-
|
|
257
|
+
|
|
200
258
|
<!-- Document Cache
|
|
201
259
|
|
|
202
260
|
Caches Lucene Document objects (the stored fields for each
|
|
203
261
|
document). Since Lucene internal document ids are transient,
|
|
204
|
-
this cache will not be autowarmed.
|
|
262
|
+
this cache will not be autowarmed.
|
|
205
263
|
-->
|
|
206
264
|
<documentCache class="solr.LRUCache"
|
|
207
265
|
size="512"
|
|
208
266
|
initialSize="512"
|
|
209
267
|
autowarmCount="0"/>
|
|
268
|
+
|
|
269
|
+
<!-- custom cache currently used by block join -->
|
|
270
|
+
<cache name="perSegFilter"
|
|
271
|
+
class="solr.search.LRUCache"
|
|
272
|
+
size="10"
|
|
273
|
+
initialSize="0"
|
|
274
|
+
autowarmCount="10"
|
|
275
|
+
regenerator="solr.NoOpRegenerator" />
|
|
210
276
|
|
|
211
277
|
<!-- Lazy Field Loading
|
|
212
278
|
|
|
@@ -218,23 +284,6 @@
|
|
|
218
284
|
-->
|
|
219
285
|
<enableLazyFieldLoading>true</enableLazyFieldLoading>
|
|
220
286
|
|
|
221
|
-
<!-- Use Filter For Sorted Query
|
|
222
|
-
|
|
223
|
-
A possible optimization that attempts to use a filter to
|
|
224
|
-
satisfy a search. If the requested sort does not include
|
|
225
|
-
score, then the filterCache will be checked for a filter
|
|
226
|
-
matching the query. If found, the filter will be used as the
|
|
227
|
-
source of document ids, and then the sort will be applied to
|
|
228
|
-
that.
|
|
229
|
-
|
|
230
|
-
For most situations, this will not be useful unless you
|
|
231
|
-
frequently get the same search repeatedly with different sort
|
|
232
|
-
options, and none of them ever use "score"
|
|
233
|
-
-->
|
|
234
|
-
<!--
|
|
235
|
-
<useFilterForSortedQuery>true</useFilterForSortedQuery>
|
|
236
|
-
-->
|
|
237
|
-
|
|
238
287
|
<!-- Result Window Size
|
|
239
288
|
|
|
240
289
|
An optimization for use with the queryResultCache. When a search
|
|
@@ -242,32 +291,15 @@
|
|
|
242
291
|
are collected. For example, if a search for a particular query
|
|
243
292
|
requests matching documents 10 through 19, and queryWindowSize is 50,
|
|
244
293
|
then documents 0 through 49 will be collected and cached. Any further
|
|
245
|
-
requests in that range can be satisfied via the cache.
|
|
294
|
+
requests in that range can be satisfied via the cache.
|
|
246
295
|
-->
|
|
247
296
|
<queryResultWindowSize>20</queryResultWindowSize>
|
|
248
297
|
|
|
249
298
|
<!-- Maximum number of documents to cache for any entry in the
|
|
250
|
-
queryResultCache.
|
|
299
|
+
queryResultCache.
|
|
251
300
|
-->
|
|
252
301
|
<queryResultMaxDocsCached>200</queryResultMaxDocsCached>
|
|
253
302
|
|
|
254
|
-
<!-- Query Related Event Listeners
|
|
255
|
-
|
|
256
|
-
Various IndexSearcher related events can trigger Listeners to
|
|
257
|
-
take actions.
|
|
258
|
-
|
|
259
|
-
newSearcher - fired whenever a new searcher is being prepared
|
|
260
|
-
and there is a current searcher handling requests (aka
|
|
261
|
-
registered). It can be used to prime certain caches to
|
|
262
|
-
prevent long request times for certain requests.
|
|
263
|
-
|
|
264
|
-
firstSearcher - fired whenever a new searcher is being
|
|
265
|
-
prepared but there is no current registered searcher to handle
|
|
266
|
-
requests or to gain autowarming data from.
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
-->
|
|
270
|
-
|
|
271
303
|
<!-- Use Cold Searcher
|
|
272
304
|
|
|
273
305
|
If a search request comes in and there is no current
|
|
@@ -278,7 +310,7 @@
|
|
|
278
310
|
<useColdSearcher>false</useColdSearcher>
|
|
279
311
|
|
|
280
312
|
<!-- Max Warming Searchers
|
|
281
|
-
|
|
313
|
+
|
|
282
314
|
Maximum number of searchers that may be warming in the
|
|
283
315
|
background concurrently. An error is returned if this limit
|
|
284
316
|
is exceeded.
|
|
@@ -286,7 +318,7 @@
|
|
|
286
318
|
Recommend values of 1-2 for read-only slaves, higher for
|
|
287
319
|
masters w/o cache warming.
|
|
288
320
|
-->
|
|
289
|
-
<maxWarmingSearchers>
|
|
321
|
+
<maxWarmingSearchers>2</maxWarmingSearchers>
|
|
290
322
|
|
|
291
323
|
</query>
|
|
292
324
|
|
|
@@ -300,7 +332,7 @@
|
|
|
300
332
|
such as /select?qt=XXX
|
|
301
333
|
|
|
302
334
|
handleSelect="true" will cause the SolrDispatchFilter to process
|
|
303
|
-
the request and dispatch the query to a handler specified by the
|
|
335
|
+
the request and dispatch the query to a handler specified by the
|
|
304
336
|
"qt" param, assuming "/select" isn't already registered.
|
|
305
337
|
|
|
306
338
|
handleSelect="false" will cause the SolrDispatchFilter to
|
|
@@ -322,18 +354,29 @@
|
|
|
322
354
|
|
|
323
355
|
multipartUploadLimitInKB - specifies the max size (in KiB) of
|
|
324
356
|
Multipart File Uploads that Solr will allow in a Request.
|
|
325
|
-
|
|
357
|
+
|
|
326
358
|
formdataUploadLimitInKB - specifies the max size (in KiB) of
|
|
327
359
|
form data (application/x-www-form-urlencoded) sent via
|
|
328
360
|
POST. You can use POST to pass request parameters not
|
|
329
361
|
fitting into the URL.
|
|
330
|
-
|
|
362
|
+
|
|
363
|
+
addHttpRequestToContext - if set to true, it will instruct
|
|
364
|
+
the requestParsers to include the original HttpServletRequest
|
|
365
|
+
object in the context map of the SolrQueryRequest under the
|
|
366
|
+
key "httpRequest". It will not be used by any of the existing
|
|
367
|
+
Solr components, but may be useful when developing custom
|
|
368
|
+
plugins.
|
|
369
|
+
|
|
331
370
|
*** WARNING ***
|
|
332
371
|
The settings below authorize Solr to fetch remote files, You
|
|
333
372
|
should make sure your system has some authentication before
|
|
334
373
|
using enableRemoteStreaming="true"
|
|
335
374
|
|
|
336
|
-
-->
|
|
375
|
+
-->
|
|
376
|
+
<requestParsers enableRemoteStreaming="true"
|
|
377
|
+
multipartUploadLimitInKB="2048000"
|
|
378
|
+
formdataUploadLimitInKB="2048"
|
|
379
|
+
addHttpRequestToContext="false"/>
|
|
337
380
|
|
|
338
381
|
<!-- HTTP Caching
|
|
339
382
|
|
|
@@ -343,54 +386,10 @@
|
|
|
343
386
|
related headers
|
|
344
387
|
-->
|
|
345
388
|
<httpCaching never304="true" />
|
|
346
|
-
<!-- If you include a <cacheControl> directive, it will be used to
|
|
347
|
-
generate a Cache-Control header (as well as an Expires header
|
|
348
|
-
if the value contains "max-age=")
|
|
349
|
-
|
|
350
|
-
By default, no Cache-Control header is generated.
|
|
351
389
|
|
|
352
|
-
You can use the <cacheControl> option even if you have set
|
|
353
|
-
never304="true"
|
|
354
|
-
-->
|
|
355
|
-
<!--
|
|
356
|
-
<httpCaching never304="true" >
|
|
357
|
-
<cacheControl>max-age=30, public</cacheControl>
|
|
358
|
-
</httpCaching>
|
|
359
|
-
-->
|
|
360
|
-
<!-- To enable Solr to respond with automatically generated HTTP
|
|
361
|
-
Caching headers, and to response to Cache Validation requests
|
|
362
|
-
correctly, set the value of never304="false"
|
|
363
|
-
|
|
364
|
-
This will cause Solr to generate Last-Modified and ETag
|
|
365
|
-
headers based on the properties of the Index.
|
|
366
|
-
|
|
367
|
-
The following options can also be specified to affect the
|
|
368
|
-
values of these headers...
|
|
369
|
-
|
|
370
|
-
lastModFrom - the default value is "openTime" which means the
|
|
371
|
-
Last-Modified value (and validation against If-Modified-Since
|
|
372
|
-
requests) will all be relative to when the current Searcher
|
|
373
|
-
was opened. You can change it to lastModFrom="dirLastMod" if
|
|
374
|
-
you want the value to exactly correspond to when the physical
|
|
375
|
-
index was last modified.
|
|
376
|
-
|
|
377
|
-
etagSeed="..." is an option you can change to force the ETag
|
|
378
|
-
header (and validation against If-None-Match requests) to be
|
|
379
|
-
different even if the index has not changed (ie: when making
|
|
380
|
-
significant changes to your config file)
|
|
381
|
-
|
|
382
|
-
(lastModifiedFrom and etagSeed are both ignored if you use
|
|
383
|
-
the never304="true" option)
|
|
384
|
-
-->
|
|
385
|
-
<!--
|
|
386
|
-
<httpCaching lastModifiedFrom="openTime"
|
|
387
|
-
etagSeed="Solr">
|
|
388
|
-
<cacheControl>max-age=30, public</cacheControl>
|
|
389
|
-
</httpCaching>
|
|
390
|
-
-->
|
|
391
390
|
</requestDispatcher>
|
|
392
391
|
|
|
393
|
-
<!-- Request Handlers
|
|
392
|
+
<!-- Request Handlers
|
|
394
393
|
|
|
395
394
|
http://wiki.apache.org/solr/SolrRequestHandler
|
|
396
395
|
|
|
@@ -442,75 +441,94 @@
|
|
|
442
441
|
</arr>
|
|
443
442
|
</requestHandler>
|
|
444
443
|
|
|
444
|
+
<!--
|
|
445
|
+
The export request handler is used to export full sorted result sets.
|
|
446
|
+
Do not change these defaults.
|
|
447
|
+
-->
|
|
448
|
+
<requestHandler name="/export" class="solr.SearchHandler">
|
|
449
|
+
<lst name="invariants">
|
|
450
|
+
<str name="rq">{!xport}</str>
|
|
451
|
+
<str name="wt">xsort</str>
|
|
452
|
+
<str name="distrib">false</str>
|
|
453
|
+
</lst>
|
|
445
454
|
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
<requestHandler name="/get" class="solr.RealTimeGetHandler">
|
|
450
|
-
<lst name="defaults">
|
|
451
|
-
<str name="omitHeader">true</str>
|
|
452
|
-
<str name="wt">json</str>
|
|
453
|
-
<str name="indent">true</str>
|
|
454
|
-
</lst>
|
|
455
|
-
</requestHandler>
|
|
456
|
-
|
|
457
|
-
<requestHandler name="/update" class="solr.UpdateRequestHandler">
|
|
458
|
-
</requestHandler>
|
|
459
|
-
|
|
460
|
-
<requestHandler name="/update/json" class="solr.JsonUpdateRequestHandler">
|
|
461
|
-
<lst name="defaults">
|
|
462
|
-
<str name="stream.contentType">application/json</str>
|
|
463
|
-
</lst>
|
|
455
|
+
<arr name="components">
|
|
456
|
+
<str>query</str>
|
|
457
|
+
</arr>
|
|
464
458
|
</requestHandler>
|
|
465
459
|
|
|
466
|
-
<requestHandler name="/update/csv" class="solr.CSVRequestHandler">
|
|
467
|
-
<lst name="defaults">
|
|
468
|
-
<str name="stream.contentType">application/csv</str>
|
|
469
|
-
</lst>
|
|
470
|
-
</requestHandler>
|
|
471
460
|
|
|
472
|
-
<
|
|
473
|
-
startup="lazy"
|
|
474
|
-
class="solr.extraction.ExtractingRequestHandler" >
|
|
461
|
+
<initParams path="/update/**,/query,/select,/tvrh,/elevate,/spell">
|
|
475
462
|
<lst name="defaults">
|
|
476
|
-
<str name="
|
|
477
|
-
<str name="uprefix">ignored_</str>
|
|
478
|
-
|
|
479
|
-
<!-- capture link hrefs but ignore div attributes -->
|
|
480
|
-
<str name="captureAttr">true</str>
|
|
481
|
-
<str name="fmap.a">links</str>
|
|
482
|
-
<str name="fmap.div">ignored_</str>
|
|
463
|
+
<str name="df">text</str>
|
|
483
464
|
</lst>
|
|
484
|
-
</
|
|
485
|
-
|
|
486
|
-
|
|
465
|
+
</initParams>
|
|
466
|
+
|
|
467
|
+
<!-- Field Analysis Request Handler
|
|
468
|
+
|
|
469
|
+
RequestHandler that provides much the same functionality as
|
|
470
|
+
analysis.jsp. Provides the ability to specify multiple field
|
|
471
|
+
types and field names in the same request and outputs
|
|
472
|
+
index-time and query-time analysis for each of them.
|
|
473
|
+
|
|
474
|
+
Request parameters are:
|
|
475
|
+
analysis.fieldname - field name whose analyzers are to be used
|
|
476
|
+
|
|
477
|
+
analysis.fieldtype - field type whose analyzers are to be used
|
|
478
|
+
analysis.fieldvalue - text for index-time analysis
|
|
479
|
+
q (or analysis.q) - text for query time analysis
|
|
480
|
+
analysis.showmatch (true|false) - When set to true and when
|
|
481
|
+
query analysis is performed, the produced tokens of the
|
|
482
|
+
field value analysis will be marked as "matched" for every
|
|
483
|
+
token that is produces by the query analysis
|
|
484
|
+
-->
|
|
485
|
+
<requestHandler name="/analysis/field"
|
|
487
486
|
startup="lazy"
|
|
488
487
|
class="solr.FieldAnalysisRequestHandler" />
|
|
489
488
|
|
|
490
|
-
<requestHandler name="/analysis/document"
|
|
491
|
-
class="solr.DocumentAnalysisRequestHandler"
|
|
492
|
-
startup="lazy" />
|
|
493
489
|
|
|
494
|
-
<!--
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
490
|
+
<!-- Document Analysis Handler
|
|
491
|
+
|
|
492
|
+
http://wiki.apache.org/solr/AnalysisRequestHandler
|
|
493
|
+
|
|
494
|
+
An analysis handler that provides a breakdown of the analysis
|
|
495
|
+
process of provided documents. This handler expects a (single)
|
|
496
|
+
content stream with the following format:
|
|
497
|
+
|
|
498
|
+
<docs>
|
|
499
|
+
<doc>
|
|
500
|
+
<field name="id">1</field>
|
|
501
|
+
<field name="name">The Name</field>
|
|
502
|
+
<field name="text">The Text Value</field>
|
|
503
|
+
</doc>
|
|
504
|
+
<doc>...</doc>
|
|
505
|
+
<doc>...</doc>
|
|
506
|
+
...
|
|
507
|
+
</docs>
|
|
508
|
+
|
|
509
|
+
Note: Each document must contain a field which serves as the
|
|
510
|
+
unique key. This key is used in the returned response to associate
|
|
511
|
+
an analysis breakdown to the analyzed document.
|
|
512
|
+
|
|
513
|
+
Like the FieldAnalysisRequestHandler, this handler also supports
|
|
514
|
+
query analysis by sending either an "analysis.query" or "q"
|
|
515
|
+
request parameter that holds the query text to be analyzed. It
|
|
516
|
+
also supports the "analysis.showmatch" parameter which when set to
|
|
517
|
+
true, all field tokens that match the query tokens will be marked
|
|
518
|
+
as a "match".
|
|
519
|
+
-->
|
|
520
|
+
<requestHandler name="/analysis/document"
|
|
521
|
+
class="solr.DocumentAnalysisRequestHandler"
|
|
522
|
+
startup="lazy" />
|
|
503
523
|
|
|
524
|
+
<!-- Echo the request contents back to the client -->
|
|
504
525
|
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler" >
|
|
505
526
|
<lst name="defaults">
|
|
506
|
-
<str name="echoParams">explicit</str>
|
|
527
|
+
<str name="echoParams">explicit</str>
|
|
507
528
|
<str name="echoHandler">true</str>
|
|
508
529
|
</lst>
|
|
509
530
|
</requestHandler>
|
|
510
|
-
|
|
511
|
-
<requestHandler name="/replication" class="solr.ReplicationHandler" >
|
|
512
|
-
</requestHandler>
|
|
513
|
-
|
|
531
|
+
|
|
514
532
|
<searchComponent name="spellcheck" class="solr.SpellCheckComponent">
|
|
515
533
|
|
|
516
534
|
<str name="queryAnalyzerFieldType">textSpell</str>
|
|
@@ -546,7 +564,7 @@
|
|
|
546
564
|
<!-- maximum threshold of documents a query term can appear to be considered for correction -->
|
|
547
565
|
<float name="maxQueryFrequency">0.01</float>
|
|
548
566
|
<!-- uncomment this to require suggestions to occur in 1% of the documents
|
|
549
|
-
|
|
567
|
+
<float name="thresholdTokenFrequency">.01</float>
|
|
550
568
|
-->
|
|
551
569
|
</lst>
|
|
552
570
|
|
|
@@ -562,111 +580,41 @@
|
|
|
562
580
|
-->
|
|
563
581
|
</searchComponent>
|
|
564
582
|
|
|
565
|
-
|
|
583
|
+
<!-- Search Components
|
|
584
|
+
|
|
585
|
+
Search components are registered to SolrCore and used by
|
|
586
|
+
instances of SearchHandler (which can access them by name)
|
|
587
|
+
|
|
588
|
+
By default, the following components are available:
|
|
589
|
+
|
|
590
|
+
<searchComponent name="query" class="solr.QueryComponent" />
|
|
591
|
+
<searchComponent name="facet" class="solr.FacetComponent" />
|
|
592
|
+
<searchComponent name="mlt" class="solr.MoreLikeThisComponent" />
|
|
593
|
+
<searchComponent name="highlight" class="solr.HighlightComponent" />
|
|
594
|
+
<searchComponent name="stats" class="solr.StatsComponent" />
|
|
595
|
+
<searchComponent name="debug" class="solr.DebugComponent" />
|
|
596
|
+
|
|
597
|
+
-->
|
|
598
|
+
|
|
599
|
+
<!-- Terms Component
|
|
600
|
+
|
|
601
|
+
http://wiki.apache.org/solr/TermsComponent
|
|
566
602
|
|
|
603
|
+
A component to return terms and document frequency of those
|
|
604
|
+
terms
|
|
605
|
+
-->
|
|
567
606
|
<searchComponent name="terms" class="solr.TermsComponent"/>
|
|
568
607
|
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
<
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
</fragmenter>
|
|
580
|
-
|
|
581
|
-
<!-- A regular-expression-based fragmenter
|
|
582
|
-
(for sentence extraction)
|
|
583
|
-
-->
|
|
584
|
-
<fragmenter name="regex"
|
|
585
|
-
class="solr.highlight.RegexFragmenter">
|
|
586
|
-
<lst name="defaults">
|
|
587
|
-
<!-- slightly smaller fragsizes work better because of slop -->
|
|
588
|
-
<int name="hl.fragsize">70</int>
|
|
589
|
-
<!-- allow 50% slop on fragment sizes -->
|
|
590
|
-
<float name="hl.regex.slop">0.5</float>
|
|
591
|
-
<!-- a basic sentence pattern -->
|
|
592
|
-
<str name="hl.regex.pattern">[-\w ,/\n\"']{20,200}</str>
|
|
593
|
-
</lst>
|
|
594
|
-
</fragmenter>
|
|
595
|
-
|
|
596
|
-
<!-- Configure the standard formatter -->
|
|
597
|
-
<formatter name="html"
|
|
598
|
-
default="true"
|
|
599
|
-
class="solr.highlight.HtmlFormatter">
|
|
600
|
-
<lst name="defaults">
|
|
601
|
-
<str name="hl.simple.pre"><![CDATA[<em>]]></str>
|
|
602
|
-
<str name="hl.simple.post"><![CDATA[</em>]]></str>
|
|
603
|
-
</lst>
|
|
604
|
-
</formatter>
|
|
605
|
-
|
|
606
|
-
<!-- Configure the standard encoder -->
|
|
607
|
-
<encoder name="html"
|
|
608
|
-
class="solr.highlight.HtmlEncoder" />
|
|
609
|
-
|
|
610
|
-
<!-- Configure the standard fragListBuilder -->
|
|
611
|
-
<fragListBuilder name="simple"
|
|
612
|
-
class="solr.highlight.SimpleFragListBuilder"/>
|
|
613
|
-
|
|
614
|
-
<!-- Configure the single fragListBuilder -->
|
|
615
|
-
<fragListBuilder name="single"
|
|
616
|
-
class="solr.highlight.SingleFragListBuilder"/>
|
|
617
|
-
|
|
618
|
-
<!-- Configure the weighted fragListBuilder -->
|
|
619
|
-
<fragListBuilder name="weighted"
|
|
620
|
-
default="true"
|
|
621
|
-
class="solr.highlight.WeightedFragListBuilder"/>
|
|
622
|
-
|
|
623
|
-
<!-- default tag FragmentsBuilder -->
|
|
624
|
-
<fragmentsBuilder name="default"
|
|
625
|
-
default="true"
|
|
626
|
-
class="solr.highlight.ScoreOrderFragmentsBuilder">
|
|
627
|
-
<!--
|
|
628
|
-
<lst name="defaults">
|
|
629
|
-
<str name="hl.multiValuedSeparatorChar">/</str>
|
|
630
|
-
</lst>
|
|
631
|
-
-->
|
|
632
|
-
</fragmentsBuilder>
|
|
633
|
-
|
|
634
|
-
<!-- multi-colored tag FragmentsBuilder -->
|
|
635
|
-
<fragmentsBuilder name="colored"
|
|
636
|
-
class="solr.highlight.ScoreOrderFragmentsBuilder">
|
|
637
|
-
<lst name="defaults">
|
|
638
|
-
<str name="hl.tag.pre"><![CDATA[
|
|
639
|
-
<b style="background:yellow">,<b style="background:lawgreen">,
|
|
640
|
-
<b style="background:aquamarine">,<b style="background:magenta">,
|
|
641
|
-
<b style="background:palegreen">,<b style="background:coral">,
|
|
642
|
-
<b style="background:wheat">,<b style="background:khaki">,
|
|
643
|
-
<b style="background:lime">,<b style="background:deepskyblue">]]></str>
|
|
644
|
-
<str name="hl.tag.post"><![CDATA[</b>]]></str>
|
|
645
|
-
</lst>
|
|
646
|
-
</fragmentsBuilder>
|
|
647
|
-
|
|
648
|
-
<boundaryScanner name="default"
|
|
649
|
-
default="true"
|
|
650
|
-
class="solr.highlight.SimpleBoundaryScanner">
|
|
651
|
-
<lst name="defaults">
|
|
652
|
-
<str name="hl.bs.maxScan">10</str>
|
|
653
|
-
<str name="hl.bs.chars">.,!? 	 </str>
|
|
654
|
-
</lst>
|
|
655
|
-
</boundaryScanner>
|
|
656
|
-
|
|
657
|
-
<boundaryScanner name="breakIterator"
|
|
658
|
-
class="solr.highlight.BreakIteratorBoundaryScanner">
|
|
659
|
-
<lst name="defaults">
|
|
660
|
-
<!-- type should be one of CHARACTER, WORD(default), LINE and SENTENCE -->
|
|
661
|
-
<str name="hl.bs.type">WORD</str>
|
|
662
|
-
<!-- language and country are used when constructing Locale object. -->
|
|
663
|
-
<!-- And the Locale object will be used when getting instance of BreakIterator -->
|
|
664
|
-
<str name="hl.bs.language">en</str>
|
|
665
|
-
<str name="hl.bs.country">US</str>
|
|
666
|
-
</lst>
|
|
667
|
-
</boundaryScanner>
|
|
668
|
-
</highlighting>
|
|
669
|
-
</searchComponent>
|
|
608
|
+
<!-- A request handler for demonstrating the terms component -->
|
|
609
|
+
<requestHandler name="/terms" class="solr.SearchHandler" startup="lazy">
|
|
610
|
+
<lst name="defaults">
|
|
611
|
+
<bool name="terms">true</bool>
|
|
612
|
+
<bool name="distrib">false</bool>
|
|
613
|
+
</lst>
|
|
614
|
+
<arr name="components">
|
|
615
|
+
<str>terms</str>
|
|
616
|
+
</arr>
|
|
617
|
+
</requestHandler>
|
|
670
618
|
|
|
671
619
|
<requestHandler class="solr.MoreLikeThisHandler" name="/mlt">
|
|
672
620
|
<lst name="defaults">
|
|
@@ -675,6 +623,9 @@
|
|
|
675
623
|
</lst>
|
|
676
624
|
</requestHandler>
|
|
677
625
|
|
|
678
|
-
<!--
|
|
679
|
-
<
|
|
626
|
+
<!-- Legacy config for the admin interface -->
|
|
627
|
+
<admin>
|
|
628
|
+
<defaultQuery>*:*</defaultQuery>
|
|
629
|
+
</admin>
|
|
630
|
+
|
|
680
631
|
</config>
|