sunspot_solr 2.2.2 → 2.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/sunspot-solr +2 -6
- data/lib/sunspot/solr/server.rb +2 -3
- data/solr/README.txt +181 -181
- data/solr/bin/post +29 -19
- data/solr/bin/solr +247 -428
- data/solr/bin/solr.cmd +102 -256
- data/solr/bin/solr.in.cmd +15 -7
- data/solr/bin/solr.in.sh +26 -12
- data/solr/server/README.txt +110 -113
- data/solr/server/contexts/solr-jetty-context.xml +8 -8
- data/solr/server/etc/jetty-http.xml +47 -0
- data/solr/server/etc/jetty-https-ssl.xml +175 -159
- data/solr/server/etc/jetty-https.xml +53 -0
- data/solr/server/etc/jetty-ssl.xml +46 -0
- data/solr/server/etc/jetty.xml +189 -167
- data/solr/server/etc/webdefault.xml +527 -527
- data/solr/server/lib/javax.servlet-api-3.1.0.jar +0 -0
- data/solr/server/lib/jetty-continuation-9.2.11.v20150529.jar +0 -0
- data/solr/server/lib/jetty-deploy-9.2.11.v20150529.jar +0 -0
- data/solr/server/lib/jetty-http-9.2.11.v20150529.jar +0 -0
- data/solr/server/lib/jetty-io-9.2.11.v20150529.jar +0 -0
- data/solr/server/lib/jetty-jmx-9.2.11.v20150529.jar +0 -0
- data/solr/server/lib/jetty-rewrite-9.2.11.v20150529.jar +0 -0
- data/solr/server/lib/jetty-security-9.2.11.v20150529.jar +0 -0
- data/solr/server/lib/jetty-server-9.2.11.v20150529.jar +0 -0
- data/solr/server/lib/jetty-servlet-9.2.11.v20150529.jar +0 -0
- data/solr/server/lib/jetty-servlets-9.2.11.v20150529.jar +0 -0
- data/solr/server/lib/jetty-util-9.2.11.v20150529.jar +0 -0
- data/solr/server/lib/jetty-webapp-9.2.11.v20150529.jar +0 -0
- data/solr/server/lib/jetty-xml-9.2.11.v20150529.jar +0 -0
- data/solr/server/modules/http.mod +9 -0
- data/solr/server/modules/https.mod +9 -0
- data/solr/server/modules/server.mod +11 -0
- data/solr/server/modules/ssl.mod +9 -0
- data/solr/server/resources/jetty-logging.properties +1 -0
- data/solr/server/resources/log4j.properties +24 -24
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/commons-exec-1.3.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/{hadoop-annotations-2.3.0.jar → hadoop-annotations-2.6.0.jar} +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/hadoop-auth-2.6.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/hadoop-common-2.6.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/hadoop-hdfs-2.6.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/htrace-core-3.0.4.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/httpclient-4.4.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/httpcore-4.4.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/httpmime-4.4.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/jackson-core-2.5.4.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/jackson-dataformat-smile-2.5.4.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/{lucene-analyzers-common-5.0.0.jar → lucene-analyzers-common-5.3.1.jar} +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/{lucene-analyzers-kuromoji-5.0.0.jar → lucene-analyzers-kuromoji-5.3.1.jar} +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/{lucene-analyzers-phonetic-5.0.0.jar → lucene-analyzers-phonetic-5.3.1.jar} +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-backward-codecs-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-codecs-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-core-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/{lucene-expressions-5.0.0.jar → lucene-expressions-5.3.1.jar} +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/{lucene-grouping-5.0.0.jar → lucene-grouping-5.3.1.jar} +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-highlighter-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-join-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-memory-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-misc-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-queries-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/{lucene-queryparser-5.0.0.jar → lucene-queryparser-5.3.1.jar} +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-sandbox-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-spatial-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-suggest-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/org.restlet-2.3.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/org.restlet.ext.servlet-2.3.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/solr-core-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/solr-solrj-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/t-digest-3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/web.xml +169 -181
- data/solr/server/solr-webapp/webapp/WEB-INF/weblogic.xml +28 -28
- data/solr/server/solr-webapp/webapp/admin.html +164 -163
- data/solr/server/solr-webapp/webapp/css/angular/analysis.css +304 -0
- data/solr/server/solr-webapp/webapp/css/angular/chosen.css +465 -0
- data/solr/server/solr-webapp/webapp/css/angular/cloud.css +398 -0
- data/solr/server/solr-webapp/webapp/css/angular/common.css +724 -0
- data/solr/server/solr-webapp/webapp/css/angular/cores.css +233 -0
- data/solr/server/solr-webapp/webapp/css/angular/dataimport.css +370 -0
- data/solr/server/solr-webapp/webapp/css/angular/documents.css +179 -0
- data/solr/server/solr-webapp/webapp/css/angular/files.css +53 -0
- data/solr/server/solr-webapp/webapp/css/angular/index.css +206 -0
- data/solr/server/solr-webapp/webapp/css/angular/logging.css +376 -0
- data/solr/server/solr-webapp/webapp/css/angular/menu.css +321 -0
- data/solr/server/solr-webapp/webapp/css/angular/plugins.css +212 -0
- data/solr/server/solr-webapp/webapp/css/angular/query.css +162 -0
- data/solr/server/solr-webapp/webapp/css/angular/replication.css +500 -0
- data/solr/server/solr-webapp/webapp/css/angular/schema-browser.css +567 -0
- data/solr/server/solr-webapp/webapp/css/angular/segments.css +173 -0
- data/solr/server/solr-webapp/webapp/css/angular/threads.css +161 -0
- data/solr/server/solr-webapp/webapp/css/chosen.css +421 -421
- data/solr/server/solr-webapp/webapp/css/styles/analysis.css +311 -311
- data/solr/server/solr-webapp/webapp/css/styles/cloud.css +410 -410
- data/solr/server/solr-webapp/webapp/css/styles/common.css +701 -701
- data/solr/server/solr-webapp/webapp/css/styles/cores.css +244 -244
- data/solr/server/solr-webapp/webapp/css/styles/dashboard.css +155 -155
- data/solr/server/solr-webapp/webapp/css/styles/dataimport.css +403 -403
- data/solr/server/solr-webapp/webapp/css/styles/documents.css +197 -197
- data/solr/server/solr-webapp/webapp/css/styles/files.css +54 -54
- data/solr/server/solr-webapp/webapp/css/styles/index.css +207 -207
- data/solr/server/solr-webapp/webapp/css/styles/java-properties.css +52 -52
- data/solr/server/solr-webapp/webapp/css/styles/logging.css +391 -391
- data/solr/server/solr-webapp/webapp/css/styles/menu.css +329 -328
- data/solr/server/solr-webapp/webapp/css/styles/plugins.css +195 -195
- data/solr/server/solr-webapp/webapp/css/styles/query.css +173 -173
- data/solr/server/solr-webapp/webapp/css/styles/replication.css +515 -515
- data/solr/server/solr-webapp/webapp/css/styles/schema-browser.css +578 -578
- data/solr/server/solr-webapp/webapp/css/styles/segments.css +145 -0
- data/solr/server/solr-webapp/webapp/css/styles/threads.css +172 -172
- data/solr/server/solr-webapp/webapp/img/chosen-sprite-2x.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/README +27 -27
- data/solr/server/solr-webapp/webapp/img/solr.svg +39 -39
- data/solr/server/solr-webapp/webapp/index.html +208 -0
- data/solr/server/solr-webapp/webapp/js/angular/app.js +713 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/analysis.js +199 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/cloud.js +528 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/core-overview.js +225 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/cores.js +465 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/dataimport.js +284 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/documents.js +139 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/files.js +92 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/index.js +95 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/java-properties.js +45 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/logging.js +146 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/plugins.js +166 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/query.js +99 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/replication.js +227 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/schema-browser.js +432 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/segments.js +94 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/threads.js +51 -0
- data/solr/server/solr-webapp/webapp/js/angular/services.js +214 -0
- data/solr/server/solr-webapp/webapp/js/lib/ZeroClipboard.js +342 -342
- data/solr/server/solr-webapp/webapp/js/lib/chosen.js +982 -982
- data/solr/server/solr-webapp/webapp/js/lib/console.js +29 -29
- data/solr/server/solr-webapp/webapp/js/lib/d3.js +9373 -9373
- data/solr/server/solr-webapp/webapp/js/lib/highlight.js +31 -31
- data/solr/server/solr-webapp/webapp/js/lib/jquery-1.7.2.min.js +30 -30
- data/solr/server/solr-webapp/webapp/js/lib/jquery.ajaxfileupload.js +184 -184
- data/solr/server/solr-webapp/webapp/js/lib/jquery.blockUI.js +523 -523
- data/solr/server/solr-webapp/webapp/js/lib/jquery.cookie.js +71 -71
- data/solr/server/solr-webapp/webapp/js/lib/jquery.form.js +806 -806
- data/solr/server/solr-webapp/webapp/js/lib/jquery.jstree.js +3534 -3534
- data/solr/server/solr-webapp/webapp/js/lib/jquery.sammy.js +1863 -1863
- data/solr/server/solr-webapp/webapp/js/lib/jquery.timeago.js +189 -189
- data/solr/server/solr-webapp/webapp/js/lib/linker.js +48 -48
- data/solr/server/solr-webapp/webapp/js/lib/naturalSort.js +82 -0
- data/solr/server/solr-webapp/webapp/js/lib/order.js +216 -216
- data/solr/server/solr-webapp/webapp/js/main.js +60 -58
- data/solr/server/solr-webapp/webapp/js/require.js +11349 -11349
- data/solr/server/solr-webapp/webapp/js/scripts/analysis.js +545 -545
- data/solr/server/solr-webapp/webapp/js/scripts/app.js +680 -679
- data/solr/server/solr-webapp/webapp/js/scripts/cloud.js +877 -877
- data/solr/server/solr-webapp/webapp/js/scripts/cores.js +719 -719
- data/solr/server/solr-webapp/webapp/js/scripts/dashboard.js +562 -562
- data/solr/server/solr-webapp/webapp/js/scripts/dataimport.js +812 -812
- data/solr/server/solr-webapp/webapp/js/scripts/documents.js +370 -370
- data/solr/server/solr-webapp/webapp/js/scripts/files.js +265 -265
- data/solr/server/solr-webapp/webapp/js/scripts/index.js +340 -340
- data/solr/server/solr-webapp/webapp/js/scripts/java-properties.js +106 -106
- data/solr/server/solr-webapp/webapp/js/scripts/logging.js +578 -576
- data/solr/server/solr-webapp/webapp/js/scripts/ping.js +72 -72
- data/solr/server/solr-webapp/webapp/js/scripts/plugins.js +462 -462
- data/solr/server/solr-webapp/webapp/js/scripts/query.js +229 -229
- data/solr/server/solr-webapp/webapp/js/scripts/replication.js +527 -527
- data/solr/server/solr-webapp/webapp/js/scripts/schema-browser.js +1229 -1229
- data/solr/server/solr-webapp/webapp/js/scripts/segments.js +206 -0
- data/solr/server/solr-webapp/webapp/js/scripts/threads.js +158 -158
- data/solr/server/solr-webapp/webapp/libs/angular-chosen.js +139 -0
- data/solr/server/solr-webapp/webapp/libs/angular-cookies.js +229 -0
- data/solr/server/solr-webapp/webapp/libs/angular-cookies.min.js +31 -0
- data/solr/server/solr-webapp/webapp/libs/angular-resource.min.js +36 -0
- data/solr/server/solr-webapp/webapp/libs/angular-route.js +1018 -0
- data/solr/server/solr-webapp/webapp/libs/angular-route.min.js +38 -0
- data/solr/server/solr-webapp/webapp/libs/angular-sanitize.js +703 -0
- data/solr/server/solr-webapp/webapp/libs/angular-sanitize.min.js +39 -0
- data/solr/server/solr-webapp/webapp/libs/angular.js +26093 -0
- data/solr/server/solr-webapp/webapp/libs/angular.min.js +273 -0
- data/solr/server/solr-webapp/webapp/libs/chosen.jquery.js +1194 -0
- data/solr/server/solr-webapp/webapp/libs/chosen.jquery.min.js +30 -0
- data/solr/server/solr-webapp/webapp/libs/d3.js +9373 -0
- data/solr/server/solr-webapp/webapp/libs/highlight.js +31 -0
- data/solr/server/solr-webapp/webapp/libs/jquery-2.1.3.min.js +29 -0
- data/solr/server/solr-webapp/webapp/libs/jquery.jstree.js +3534 -0
- data/solr/server/solr-webapp/webapp/libs/ngtimeago.js +102 -0
- data/solr/server/solr-webapp/webapp/partials/analysis.html +128 -0
- data/solr/server/solr-webapp/webapp/partials/cloud.html +104 -0
- data/solr/server/solr-webapp/webapp/partials/core_overview.html +227 -0
- data/solr/server/solr-webapp/webapp/partials/cores.html +231 -0
- data/solr/server/solr-webapp/webapp/partials/dataimport.html +209 -0
- data/solr/server/solr-webapp/webapp/partials/documents.html +118 -0
- data/solr/server/solr-webapp/webapp/partials/files.html +47 -0
- data/solr/server/solr-webapp/webapp/partials/index.html +261 -0
- data/solr/server/solr-webapp/webapp/partials/java-properties.html +27 -0
- data/solr/server/solr-webapp/webapp/partials/logging-levels.html +56 -0
- data/solr/server/solr-webapp/webapp/partials/logging.html +56 -0
- data/solr/server/solr-webapp/webapp/partials/plugins.html +72 -0
- data/solr/server/solr-webapp/webapp/partials/query.html +356 -0
- data/solr/server/solr-webapp/webapp/partials/replication.html +239 -0
- data/solr/server/solr-webapp/webapp/partials/schema-browser.html +206 -0
- data/solr/server/solr-webapp/webapp/partials/segments.html +99 -0
- data/solr/server/solr-webapp/webapp/partials/threads.html +65 -0
- data/solr/server/solr-webapp/webapp/tpl/analysis.html +83 -83
- data/solr/server/solr-webapp/webapp/tpl/cloud.html +87 -87
- data/solr/server/solr-webapp/webapp/tpl/cores.html +226 -226
- data/solr/server/solr-webapp/webapp/tpl/dashboard.html +201 -201
- data/solr/server/solr-webapp/webapp/tpl/dataimport.html +183 -183
- data/solr/server/solr-webapp/webapp/tpl/documents.html +107 -107
- data/solr/server/solr-webapp/webapp/tpl/files.html +44 -44
- data/solr/server/solr-webapp/webapp/tpl/index.html +250 -250
- data/solr/server/solr-webapp/webapp/tpl/logging.html +23 -23
- data/solr/server/solr-webapp/webapp/tpl/plugins.html +39 -39
- data/solr/server/solr-webapp/webapp/tpl/query.html +361 -361
- data/solr/server/solr-webapp/webapp/tpl/replication.html +216 -216
- data/solr/server/solr-webapp/webapp/tpl/schema-browser.html +192 -192
- data/solr/server/solr-webapp/webapp/tpl/segments.html +49 -0
- data/solr/server/solr-webapp/webapp/tpl/threads.html +56 -56
- data/solr/server/solr/README.txt +77 -77
- data/solr/server/solr/solr.xml +51 -51
- data/solr/server/solr/zoo.cfg +17 -17
- data/solr/server/start.jar +0 -0
- data/spec/server_spec.rb +3 -8
- metadata +132 -43
- data/solr/server/lib/jetty-continuation-8.1.10.v20130312.jar +0 -0
- data/solr/server/lib/jetty-deploy-8.1.10.v20130312.jar +0 -0
- data/solr/server/lib/jetty-http-8.1.10.v20130312.jar +0 -0
- data/solr/server/lib/jetty-io-8.1.10.v20130312.jar +0 -0
- data/solr/server/lib/jetty-jmx-8.1.10.v20130312.jar +0 -0
- data/solr/server/lib/jetty-security-8.1.10.v20130312.jar +0 -0
- data/solr/server/lib/jetty-server-8.1.10.v20130312.jar +0 -0
- data/solr/server/lib/jetty-servlet-8.1.10.v20130312.jar +0 -0
- data/solr/server/lib/jetty-util-8.1.10.v20130312.jar +0 -0
- data/solr/server/lib/jetty-webapp-8.1.10.v20130312.jar +0 -0
- data/solr/server/lib/jetty-xml-8.1.10.v20130312.jar +0 -0
- data/solr/server/lib/servlet-api-3.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/.gitignore +0 -1
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/hadoop-auth-2.3.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/hadoop-common-2.3.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/hadoop-hdfs-2.3.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/httpclient-4.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/httpcore-4.3.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/httpmime-4.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-backward-codecs-5.0.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-codecs-5.0.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-core-5.0.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-highlighter-5.0.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-join-5.0.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-memory-5.0.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-misc-5.0.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-queries-5.0.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-spatial-5.0.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-suggest-5.0.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/org.restlet-2.1.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/org.restlet.ext.servlet-2.1.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/solr-core-5.0.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/solr-solrj-5.0.0.jar +0 -0
- data/solr/server/webapps/solr.war +0 -0
@@ -0,0 +1,72 @@
|
|
1
|
+
<!--
|
2
|
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
3
|
+
contributor license agreements. See the NOTICE file distributed with
|
4
|
+
this work for additional information regarding copyright ownership.
|
5
|
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
6
|
+
(the "License"); you may not use this file except in compliance with
|
7
|
+
the License. You may obtain a copy of the License at
|
8
|
+
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
|
11
|
+
Unless required by applicable law or agreed to in writing, software
|
12
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
See the License for the specific language governing permissions and
|
15
|
+
limitations under the License.
|
16
|
+
-->
|
17
|
+
<div id="plugins" class="clearfix">
|
18
|
+
|
19
|
+
<div id="frame">
|
20
|
+
<ul>
|
21
|
+
<li class="entry" ng-class="{changed: plugin.changed}" ng-repeat="plugin in type.plugins">
|
22
|
+
<a ng-click="selectPlugin(plugin)">
|
23
|
+
<span>{{ plugin.name }}</span>
|
24
|
+
</a>
|
25
|
+
<ul class="detail" ng-show="plugin.open">
|
26
|
+
<li ng-repeat="(key, value) in plugin.properties" ng-class="{odd: $odd}">
|
27
|
+
<dl class="clearfix">
|
28
|
+
<dt>{{ key }}:</dt>
|
29
|
+
<!--<dd ng-repeat="v in value">{{v}}</dd><!-- is AN ARRAY!!-->
|
30
|
+
<dd>{{value}}</dd>
|
31
|
+
</dl>
|
32
|
+
</li>
|
33
|
+
<li class="stats clearfix" ng-show="plugin.stats">
|
34
|
+
<span>stats:</span>
|
35
|
+
<ul>
|
36
|
+
<li ng-repeat="(key, value) in plugin.stats" ng-class="{odd: $odd}">
|
37
|
+
<dl class="clearfix">
|
38
|
+
<dt>{{key}}:</dt>
|
39
|
+
<dd>{{value}}</dd>
|
40
|
+
</dl>
|
41
|
+
</li>
|
42
|
+
</ul>
|
43
|
+
</li>
|
44
|
+
</ul>
|
45
|
+
</ul>
|
46
|
+
</div>
|
47
|
+
|
48
|
+
<div id="navigation" class="clearfix">
|
49
|
+
|
50
|
+
<ul>
|
51
|
+
<li ng-repeat="type in types" class="{{type.lower}}">
|
52
|
+
<a ng-click="selectPluginType(type)" rel="{{type.name}}">{{type.name}}
|
53
|
+
<span ng-show="type.changes">{{type.changes}}</span>
|
54
|
+
</a>
|
55
|
+
</li>
|
56
|
+
<li class="PLUGINCHANGES"><a ng-click="startRecording()">Watch Changes</a></li>
|
57
|
+
<li class="RELOAD"><a ng-click="refresh()">Refresh Values</a></li>
|
58
|
+
</ul>
|
59
|
+
|
60
|
+
</div>
|
61
|
+
|
62
|
+
<div id="recording" ng-show="isRecording">
|
63
|
+
<div class="wrapper clearfix">
|
64
|
+
|
65
|
+
<p class="loader">Watching for Changes</p>
|
66
|
+
<button class="primary" ng-click="stopRecording()">Stop & Show Changes</button>
|
67
|
+
|
68
|
+
</div>
|
69
|
+
<div id="blockUI"></div>
|
70
|
+
</div>
|
71
|
+
|
72
|
+
</div>
|
@@ -0,0 +1,356 @@
|
|
1
|
+
<!--
|
2
|
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
3
|
+
contributor license agreements. See the NOTICE file distributed with
|
4
|
+
this work for additional information regarding copyright ownership.
|
5
|
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
6
|
+
(the "License"); you may not use this file except in compliance with
|
7
|
+
the License. You may obtain a copy of the License at
|
8
|
+
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
|
11
|
+
Unless required by applicable law or agreed to in writing, software
|
12
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
See the License for the specific language governing permissions and
|
15
|
+
limitations under the License.
|
16
|
+
-->
|
17
|
+
<div id="query" class="clearfix">
|
18
|
+
|
19
|
+
<div id="form">
|
20
|
+
<form>
|
21
|
+
<label for="qt" title="Request handler in solrconfig.xml.">
|
22
|
+
<a rel="help">Request-Handler (qt)</a>
|
23
|
+
</label>
|
24
|
+
<input type="text" ng-model="qt" id="qt" value="/select" title="Request handler in solrconfig.xml.">
|
25
|
+
|
26
|
+
<fieldset class="common">
|
27
|
+
<legend>common</legend>
|
28
|
+
<div class="fieldset">
|
29
|
+
|
30
|
+
<label for="q" title="The query string.">
|
31
|
+
q
|
32
|
+
</label>
|
33
|
+
<textarea name="q" ng-model="query.q" id="q" title="The query string.">*:*</textarea>
|
34
|
+
|
35
|
+
<label for="fq" title="Filter query.">
|
36
|
+
<a rel="help">fq</a>
|
37
|
+
</label>
|
38
|
+
<div class="multiple">
|
39
|
+
<div class="row clearfix" ng-repeat="filter in filters">
|
40
|
+
<input type="text" ng-model="filter.fq" id="fq" name="fq" title="Filter query.">
|
41
|
+
<div class="buttons">
|
42
|
+
<a class="rem" ng-click="removeFilter($index)"><span></span></a>
|
43
|
+
<a class="add" ng-click="addFilter($index)"><span></span></a>
|
44
|
+
</div>
|
45
|
+
</div>
|
46
|
+
</div>
|
47
|
+
|
48
|
+
<label for="sort" title="Sort field or function with asc|desc.">
|
49
|
+
<a rel="help">sort</a>
|
50
|
+
</label>
|
51
|
+
<input type="text" id="sort" name="sort" title="Sort field or function with asc|desc.">
|
52
|
+
|
53
|
+
<label for="start" title="Number of leading documents to skip and number of documents to return after 'start'. (Integers)">
|
54
|
+
<a rel="help">start</a>,
|
55
|
+
<a rel="help">rows</a>
|
56
|
+
</label>
|
57
|
+
<div class="clearfix">
|
58
|
+
<input type="text" name="start" ng-model="query.start" id="start" placeholder="0" pattern="[0-9]+" title="Number of leading documents to skip. (Integer)">
|
59
|
+
<input type="text" name="rows" ng-model="query.rows" id="rows" placeholder="10" pattern="[0-9]+" title="Number of documents to return after 'start'. (Integer)">
|
60
|
+
</div>
|
61
|
+
|
62
|
+
<label for="fl" title="Field list, comma separated.">
|
63
|
+
<a rel="help">fl</a>
|
64
|
+
</label>
|
65
|
+
<input type="text" ng-model="query.fl" name="fl" id="fl" value="" title="Field list, comma separated.">
|
66
|
+
|
67
|
+
<label for="df" title="Default search field">
|
68
|
+
<a rel="help">df</a>
|
69
|
+
</label>
|
70
|
+
<input type="text" ng-model="query.df" name="df" id="df" value="" title="Default search field">
|
71
|
+
|
72
|
+
<label for="custom_parameters">
|
73
|
+
<a rel="help">Raw Query Parameters</a>
|
74
|
+
</label>
|
75
|
+
<input type="text" ng-model="rawParams" id="custom_parameters" value="" placeholder="key1=val1&key2=val2">
|
76
|
+
|
77
|
+
<label for="wt" title="The writer type (response format).">
|
78
|
+
<a rel="help">wt</a>
|
79
|
+
</label>
|
80
|
+
<select name="wt" ng-model="query.wt" id="wt" title="The writer type (response format).">
|
81
|
+
<option>json</option>
|
82
|
+
<option>xml</option>
|
83
|
+
<option>python</option>
|
84
|
+
<option>ruby</option>
|
85
|
+
<option>php</option>
|
86
|
+
<option>csv</option>
|
87
|
+
</select>
|
88
|
+
|
89
|
+
<label for="indent" class="checkbox" title="Indent results.">
|
90
|
+
<input type="checkbox" ng-model="query.indent" name="indent" id="indent" value="true" title="Indent results." checked="checked">
|
91
|
+
<a rel="help">indent</a>
|
92
|
+
</label>
|
93
|
+
|
94
|
+
<label for="debugQuery" class="checkbox" title="Show timing and diagnostics.">
|
95
|
+
<input type="checkbox" ng-model="query.debugQuery" name="debugQuery" id="debugQuery" value="true" title="Show timing and diagnostics.">
|
96
|
+
<a rel="help">debugQuery</a>
|
97
|
+
</label>
|
98
|
+
|
99
|
+
</div>
|
100
|
+
</fieldset>
|
101
|
+
|
102
|
+
<fieldset class="dismax optional">
|
103
|
+
<legend>
|
104
|
+
<label for="dismax" class="checkbox" title="Enable dismax.">
|
105
|
+
<input type="checkbox" ng-model="isDismax" name="defType" id="dismax" value="dismax">
|
106
|
+
dismax
|
107
|
+
</label>
|
108
|
+
</legend>
|
109
|
+
<div class="fieldset" ng-show="isDismax">
|
110
|
+
|
111
|
+
<label for="q_alt" title="Alternate query when 'q' is absent.">q.alt</label>
|
112
|
+
<input type="text" ng-model="dismax['q.alt']" name="q.alt" id="q_alt" title="Alternate query when 'q' is absent.">
|
113
|
+
|
114
|
+
<label for="qf" title="Query fields with optional boosts.">qf</label>
|
115
|
+
<input type="text" ng-model="dismax.qf" name="qf" id="qf" title="Query fields with optional boosts.">
|
116
|
+
|
117
|
+
<label for="mm" title="Min-should-match expression">mm</label>
|
118
|
+
<input type="text" ng-model="dismax.mm" name="mm" id="mm" title="Min-should-match expression.">
|
119
|
+
|
120
|
+
<label for="pf" title="Phrase boosted fields.">pf</label>
|
121
|
+
<input type="text" ng-model="dismax.pf" name="pf" id="pf" title="Phrase boosted fields.">
|
122
|
+
|
123
|
+
<label for="ps" title="Phrase boost slop.">ps</label>
|
124
|
+
<input type="text" ng-model="dismax.ps" name="ps" id="ps" title="Phrase boost slop.">
|
125
|
+
|
126
|
+
<label for="qs" title="Query string phrase slop.">qs</label>
|
127
|
+
<input type="text" ng-model="dismax.qs" name="qs" id="qs" title="Query string phrase slop.">
|
128
|
+
|
129
|
+
<label for="tie" title="Score tie-breaker. Try 0.1.">tie</label>
|
130
|
+
<input type="text" ng-model="dismax.tie" name="tie" id="tie" title="Score tie-breaker. Try 0.1.">
|
131
|
+
|
132
|
+
<label for="bq" title="Boost query.">bq</label>
|
133
|
+
<input type="text" ng-model="dismax.bq" name="bq" id="bq" title="Boost query.">
|
134
|
+
|
135
|
+
<label for="bf" title="Boost function (added).">bf</label>
|
136
|
+
<input type="text" ng-model="dismax.bf" name="bf" id="bf" title="Boost function (added).">
|
137
|
+
|
138
|
+
</div>
|
139
|
+
</fieldset>
|
140
|
+
|
141
|
+
<fieldset class="edismax optional">
|
142
|
+
<legend>
|
143
|
+
<label for="edismax" class="checkbox" title="Enable edismax.">
|
144
|
+
<input type="checkbox" ng-model="isEdismax" name="defType" id="edismax" value="edismax">
|
145
|
+
<strong>e</strong>dismax
|
146
|
+
</label>
|
147
|
+
</legend>
|
148
|
+
<div class="fieldset" ng-show="isEdismax">
|
149
|
+
|
150
|
+
<label for="edismax_q_alt" title="Alternate query when 'q' is absent.">q.alt</label>
|
151
|
+
<input type="text" ng-model="edismax['q.alt']" name="q.alt" id="edismax_q_alt" title="Alternate query when 'q' is absent.">
|
152
|
+
|
153
|
+
<label for="edismax_qf" title="Query fields with optional boosts.">qf</label>
|
154
|
+
<input type="text" ng-model="edismax.qf" name="qf" id="edismax_qf" title="Query fields with optional boosts.">
|
155
|
+
|
156
|
+
<label for="edismax_mm" title="Min-should-match expression.">mm</label>
|
157
|
+
<input type="text" ng-model="edismax.mm" name="mm" id="edismax_mm" title="Min-should-match expression.">
|
158
|
+
|
159
|
+
<label for="edismax_pf" title="Phrase boosted fields.">pf</label>
|
160
|
+
<input type="text" ng-model="edismax.pf" name="pf" id="edismax_pf" title="Phrase boosted fields.">
|
161
|
+
|
162
|
+
<label for="edismax_ps" title="Phrase boost slop.">ps</label>
|
163
|
+
<input type="text" ng-model="edismax.ps" name="ps" id="edismax_ps" title="Phrase boost slop.">
|
164
|
+
|
165
|
+
<label for="edismax_qs" title="Query string phrase slop.">qs</label>
|
166
|
+
<input type="text" ng-model="edismax.qs" name="qs" id="edismax_qs" title="Query string phrase slop.">
|
167
|
+
|
168
|
+
<label for="edismax_tie" title="Score tie-breaker. Try 0.1.">tie</label>
|
169
|
+
<input type="text" ng-model="edismax.tie" name="tie" id="edismax_tie" title="Score tie-breaker. Try 0.1.">
|
170
|
+
|
171
|
+
<label for="edismax_bq" title="Boost query.">bq</label>
|
172
|
+
<input type="text" ng-model="edismax.bq" name="bq" id="edismax_bq" title="Boost query.">
|
173
|
+
|
174
|
+
<label for="edismax_bf" title="Boost function (added).">bf</label>
|
175
|
+
<input type="text" ng-model="edismax.bf" name="bf" id="edismax_bf" title="Boost function (added).">
|
176
|
+
|
177
|
+
<label for="edismax_uf" title="User Fields">uf</label>
|
178
|
+
<input type="text" ng-model="edismax.uf" name="uf" id="edismax_uf" title="User Fields">
|
179
|
+
|
180
|
+
<label for="edismax_pf2" title="bigram phrase boost fields">pf2</label>
|
181
|
+
<input type="text" ng-model="edismax.pf2" name="pf2" id="edismax_pf2" title="bigram phrase boost fields">
|
182
|
+
|
183
|
+
<label for="edismax_pf3" title="trigram phrase boost fields">pf3</label>
|
184
|
+
<input type="text" ng-model="edismax.pf3" name="pf3" id="edismax_pf3" title="trigram phrase boost fields">
|
185
|
+
|
186
|
+
<label for="edismax_ps2" title="phrase slop for bigram phrases">ps2</label>
|
187
|
+
<input type="text" ng-model="edismax.ps2" name="ps2" id="edismax_ps2" title="phrase slop for bigram phrases">
|
188
|
+
|
189
|
+
<label for="edismax_ps3" title="phrase slop for trigram phrases">ps3</label>
|
190
|
+
<input type="text" ng-model="edismax.ps3" name="ps3" id="edismax_ps3" title="phrase slop for trigram phrases">
|
191
|
+
|
192
|
+
<label for="edismax_boost" title="multiplicative boost function">boost</label>
|
193
|
+
<input type="text" ng-model="edismax.boost" name="boost" id="edismax_boost" title="multiplicative boost function">
|
194
|
+
|
195
|
+
<label for="edismax_stopwords" class="checkbox" title="remove stopwords from mandatory 'matching' component">
|
196
|
+
<input type="checkbox" ng-model="edismax.stopwords" name="stopwords" id="edismax_stopwords">
|
197
|
+
stopwords
|
198
|
+
</label>
|
199
|
+
|
200
|
+
<label for="edismax_lowercaseOperators" class="checkbox" title="Enable lower-case 'and' and 'or' as operators">
|
201
|
+
<input type="checkbox" ng-model="edismax.lowercaseOperators" name="lowercaseOperators" id="edismax_lowercaseOperators">
|
202
|
+
lowercaseOperators
|
203
|
+
</label>
|
204
|
+
|
205
|
+
</div>
|
206
|
+
</fieldset>
|
207
|
+
|
208
|
+
<fieldset class="hl optional">
|
209
|
+
<legend>
|
210
|
+
<label for="hl" class="checkbox" title="Enable highlighting.">
|
211
|
+
<input type="checkbox" ng-model="isHighlight" name="hl" id="hl" value="true">
|
212
|
+
hl
|
213
|
+
</label>
|
214
|
+
</legend>
|
215
|
+
<div class="fieldset" ng-show="isHighlight">
|
216
|
+
|
217
|
+
<label for="hl_fl" title="Fields to highlight on.">hl.fl</label>
|
218
|
+
<input type="text" ng-model="hl.fl" name="hl.fl" id="hl_fl" value="" title="Fields to highlight on.">
|
219
|
+
|
220
|
+
<label for="hl_simple_pre">hl.simple.pre</label>
|
221
|
+
<input type="text" ng-model="hl['simple.pre']" name="hl.simple.pre" id="hl_simple_pre" value="<em>">
|
222
|
+
|
223
|
+
<label for="hl_simple_post">hl.simple.post</label>
|
224
|
+
<input type="text" ng-model="hl['simple.post']" name="hl.simple.post" id="hl_simple_post" value="</em>">
|
225
|
+
|
226
|
+
<label for="hl_requireFieldMatch" class="checkbox">
|
227
|
+
<input type="checkbox" ng-model="hl.requireFieldMatch" name="hl.requireFieldMatch" id="hl_requireFieldMatch" value="true">
|
228
|
+
hl.requireFieldMatch
|
229
|
+
</label>
|
230
|
+
|
231
|
+
<label for="hl_usePhraseHighlighter" class="checkbox">
|
232
|
+
<input type="checkbox" ng-model="hl.usePhraseHighLighter" name="hl.usePhraseHighlighter" id="hl_usePhraseHighlighter" value="true">
|
233
|
+
hl.usePhraseHighlighter
|
234
|
+
</label>
|
235
|
+
|
236
|
+
<label for="hl_highlightMultiTerm" class="checkbox">
|
237
|
+
<input type="checkbox" ng-model="hl.hightlightMultiTerm" name="hl.highlightMultiTerm" id="hl_highlightMultiTerm" value="true">
|
238
|
+
hl.highlightMultiTerm
|
239
|
+
</label>
|
240
|
+
|
241
|
+
</div>
|
242
|
+
</fieldset>
|
243
|
+
|
244
|
+
<fieldset class="facet optional">
|
245
|
+
<legend>
|
246
|
+
<label for="facet" class="checkbox" title="Enable faceting.">
|
247
|
+
<input type="checkbox" ng-model="isFacet" name="facet" id="facet" value="true">
|
248
|
+
facet
|
249
|
+
</label>
|
250
|
+
</legend>
|
251
|
+
<div class="fieldset" ng-show="isFacet">
|
252
|
+
|
253
|
+
<label for="facet_query">facet.query</label>
|
254
|
+
<textarea ng-model="facet.query" name="facet.query" id="facet_query"></textarea>
|
255
|
+
|
256
|
+
<label for="facet_field">facet.field</label>
|
257
|
+
<input type="text" ng-model="facet.field" name="facet.field" id="facet_field">
|
258
|
+
|
259
|
+
<label for="facet_prefix">facet.prefix</label>
|
260
|
+
<input type="text" ng-model="facet.prefix" name="facet.prefix" id="facet_prefix">
|
261
|
+
|
262
|
+
</div>
|
263
|
+
</fieldset>
|
264
|
+
|
265
|
+
<fieldset class="spatial optional">
|
266
|
+
<legend>
|
267
|
+
<label for="spatial" class="checkbox" title="Show spatial options">
|
268
|
+
<input type="checkbox" ng-model="isSpatial" name="spatial" id="spatial" value="true">
|
269
|
+
spatial
|
270
|
+
</label>
|
271
|
+
</legend>
|
272
|
+
<div class="fieldset" ng-show="isSpatial">
|
273
|
+
|
274
|
+
<label for="pt">pt</label>
|
275
|
+
<input type="text" ng-model="spatial.pt" name="pt" id="pt">
|
276
|
+
|
277
|
+
<label for="sfield">sfield</label>
|
278
|
+
<input type="text" ng-model="spatial.sfield" name="sfield" id="sfield">
|
279
|
+
|
280
|
+
<label for="d">d</label>
|
281
|
+
<input type="text" ng-model="spatial.d" name="d" id="d">
|
282
|
+
|
283
|
+
</div>
|
284
|
+
</fieldset>
|
285
|
+
|
286
|
+
<fieldset class="spellcheck optional">
|
287
|
+
<legend>
|
288
|
+
<label for="spellcheck" class="checkbox" title="Enable spellchecking.">
|
289
|
+
<input type="checkbox" ng-model="isSpellcheck" name="spellcheck" id="spellcheck" value="true">
|
290
|
+
spellcheck
|
291
|
+
</label>
|
292
|
+
</legend>
|
293
|
+
<div class="fieldset" ng-show="isSpellcheck">
|
294
|
+
|
295
|
+
<label for="spellcheck_build" class="checkbox">
|
296
|
+
<input type="checkbox" ng-model="spellcheck.build" name="spellcheck.build" id="spellcheck_build" value="true">
|
297
|
+
spellcheck.build
|
298
|
+
</label>
|
299
|
+
|
300
|
+
<label for="spellcheck_reload" class="checkbox">
|
301
|
+
<input type="checkbox" ng-model="spellcheck.reload" name="spellcheck.reload" id="spellcheck_reload" value="true">
|
302
|
+
spellcheck.reload
|
303
|
+
</label>
|
304
|
+
|
305
|
+
<label for="spellcheck_q">spellcheck.q</label>
|
306
|
+
<input type="text" ng-model="spellcheck.q" name="spellcheck.q" id="spellcheck_q">
|
307
|
+
|
308
|
+
<label for="spellcheck_dictionary">spellcheck.dictionary</label>
|
309
|
+
<input type="text" ng-model="spellcheck.dictionary" name="spellcheck.dictionary" id="spellcheck_dictionary">
|
310
|
+
|
311
|
+
<label for="spellcheck_count">spellcheck.count</label>
|
312
|
+
<input type="text" ng-model="spellcheck.count" name="spellcheck.count" id="spellcheck_count">
|
313
|
+
|
314
|
+
<label for="spellcheck_onlyMorePopular" class="checkbox">
|
315
|
+
<input type="checkbox" ng-model="spellcheck.onlyMorePopular" name="spellcheck.onlyMorePopular" id="spellcheck_onlyMorePopular" value="true">
|
316
|
+
spellcheck.onlyMorePopular
|
317
|
+
</label>
|
318
|
+
|
319
|
+
<label for="spellcheck_extendedResults" class="checkbox">
|
320
|
+
<input type="checkbox" ng-model="spellcheck.extendedResults" name="spellcheck.extendedResults" id="spellcheck_extendedResults" value="true">
|
321
|
+
spellcheck.extendedResults
|
322
|
+
</label>
|
323
|
+
|
324
|
+
<label for="spellcheck_collate" class="checkbox">
|
325
|
+
<input type="checkbox" ng-model="spellcheck.collate" name="spellcheck.collate" id="spellcheck_collate" value="true">
|
326
|
+
spellcheck.collate
|
327
|
+
</label>
|
328
|
+
|
329
|
+
<label for="spellcheck_maxCollations">spellcheck.maxCollations</label>
|
330
|
+
<input type="text" ng-model="spellcheck.maxCollations" name="spellcheck.maxCollations" id="spellcheck_maxCollations">
|
331
|
+
|
332
|
+
<label for="spellcheck_maxCollationTries">spellcheck.maxCollationTries</label>
|
333
|
+
<input type="text" ng-model="spellcheck.maxCollationTries" name="spellcheck.maxCollationTries" id="spellcheck_maxCollationTries">
|
334
|
+
|
335
|
+
<label for="spellcheck_accuracy">spellcheck.accuracy</label>
|
336
|
+
<input type="text" ng-model="spellcheck.accuracy" name="spellcheck.accuracy" id="spellcheck_accuracy">
|
337
|
+
</div>
|
338
|
+
|
339
|
+
</fieldset>
|
340
|
+
|
341
|
+
|
342
|
+
<button type="submit" ng-click="doQuery()">Execute Query</button>
|
343
|
+
</form>
|
344
|
+
</div>
|
345
|
+
|
346
|
+
<div id="result">
|
347
|
+
|
348
|
+
<a ng-show="response.data" id="url" class="address-bar" ng-href="{{url}}">{{url}}</a>
|
349
|
+
|
350
|
+
<div id="response">
|
351
|
+
<pre class="syntax language-{{lang}}"><code ng-bind-html="response.data | highlight:lang | unsafe"></code></pre>
|
352
|
+
</div>
|
353
|
+
|
354
|
+
</div>
|
355
|
+
|
356
|
+
</div>
|
@@ -0,0 +1,239 @@
|
|
1
|
+
<!--
|
2
|
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
3
|
+
contributor license agreements. See the NOTICE file distributed with
|
4
|
+
this work for additional information regarding copyright ownership.
|
5
|
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
6
|
+
(the "License"); you may not use this file except in compliance with
|
7
|
+
the License. You may obtain a copy of the License at
|
8
|
+
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
|
11
|
+
Unless required by applicable law or agreed to in writing, software
|
12
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
See the License for the specific language governing permissions and
|
15
|
+
limitations under the License.
|
16
|
+
-->
|
17
|
+
<div id="replication" class="clearfix" ng-class="{replicating:settings.isReplicating}">
|
18
|
+
|
19
|
+
<div id="frame">
|
20
|
+
|
21
|
+
<div id="error" ng-show="progress.ERROR">{{ progress.ERROR }}</div>
|
22
|
+
|
23
|
+
<div class="replicating block" ng-show="settings.isReplicating">
|
24
|
+
|
25
|
+
<div id="progress">
|
26
|
+
|
27
|
+
<div id="start"><div class="info">
|
28
|
+
|
29
|
+
<span>{{progress.replicationStartTime}}</span>
|
30
|
+
|
31
|
+
</div></div>
|
32
|
+
|
33
|
+
<div id="speed"><div class="info">
|
34
|
+
|
35
|
+
<span>5.1 MB</span>/s
|
36
|
+
|
37
|
+
</div></div>
|
38
|
+
|
39
|
+
<div id="bar">
|
40
|
+
|
41
|
+
<div id="bar-info"><div class="info">
|
42
|
+
|
43
|
+
<div class="files"><span>{{progress.numFilesToDownload}}</span> File<span ng-show="progress.numFilesToDownload>1">s</span></div>
|
44
|
+
<div class="size"><span>{{progress.bytesToDownload}}</span></div>
|
45
|
+
|
46
|
+
</div></div>
|
47
|
+
|
48
|
+
<div id="eta"><div class="info">
|
49
|
+
|
50
|
+
ETA: <span>{{progress.timeRemaining | readableSeconds }}</span>
|
51
|
+
|
52
|
+
</div></div>
|
53
|
+
|
54
|
+
<div id="done" style="width: {{progress.totalPercentWidth}}">
|
55
|
+
|
56
|
+
<div class="percent">
|
57
|
+
|
58
|
+
<span>{{progress.totalPercent}}</span>%
|
59
|
+
|
60
|
+
</div>
|
61
|
+
|
62
|
+
<div id="done-info"><div class="info">
|
63
|
+
|
64
|
+
<div class="files"><span>{{progress.numFilesDownloaded}}</span> File<span ng-show="progress.numFilesDownloaded>1">s</span></div>
|
65
|
+
<div class="size"><span>{{progress.bytesDownloaded}}</span></div>
|
66
|
+
|
67
|
+
</div></div>
|
68
|
+
|
69
|
+
</div>
|
70
|
+
|
71
|
+
</div>
|
72
|
+
|
73
|
+
</div>
|
74
|
+
|
75
|
+
<div id="current-file" class="clearfix">
|
76
|
+
|
77
|
+
<div class="label"><span class="loader">Current File:</span></div>
|
78
|
+
<div class="file">{{progress.currentFile}}</div>
|
79
|
+
<div class="progress">
|
80
|
+
<span class="done">{{progress.currentFileSizeDownloaded}}</span> / <span class="total">{{progress.currentFileSize}}</span> [<span class="percent">{{progress.currentFileSizePercent}}</span>%]
|
81
|
+
</div>
|
82
|
+
|
83
|
+
</div>
|
84
|
+
|
85
|
+
</div>
|
86
|
+
|
87
|
+
<div id="iterations" class="slaveOnly block clearfix" ng-show="isSlave">
|
88
|
+
|
89
|
+
<div class="label"><span class="">Iterations:</span></div>
|
90
|
+
<div class="iterations" ng-show="iterations && showIterations">
|
91
|
+
<ul>
|
92
|
+
<li class="{{iteration.status}}" ng-class="{latest:iteration.latest}" ng-repeat="iteration in iterations |limitTo:iterationCount">{{iteration.date}}</li>
|
93
|
+
</ul>
|
94
|
+
<span ng-show="iterations.length>1">
|
95
|
+
<a ng-show="iterationCount==1" ng-click="showIterations()"><span class="expand">Show all Iterations</span></a>
|
96
|
+
<a ng-show="iterationCount>1" ng-click="hideIterations()"><span class="collapse">Hide past Iterations</span></a>
|
97
|
+
</span>
|
98
|
+
|
99
|
+
</div>
|
100
|
+
|
101
|
+
</div>
|
102
|
+
|
103
|
+
<div id="details" class="block clearfix">
|
104
|
+
|
105
|
+
<table border="0" cellspacing="0" cellpadding="0">
|
106
|
+
|
107
|
+
<thead>
|
108
|
+
|
109
|
+
<tr>
|
110
|
+
|
111
|
+
<td><span>Index</span></td>
|
112
|
+
<th>Version</th>
|
113
|
+
<th><abbr title="Generation">Gen</abbr></th>
|
114
|
+
<th>Size</th>
|
115
|
+
|
116
|
+
</tr>
|
117
|
+
|
118
|
+
</thead>
|
119
|
+
<tbody>
|
120
|
+
|
121
|
+
<tr class="masterSearch">
|
122
|
+
|
123
|
+
<th>Master (Searching)</th>
|
124
|
+
<td class="version" ng-class="{diff:versions.changedVersion}">
|
125
|
+
<div>{{versions.masterSearch.version}}</div>
|
126
|
+
</td>
|
127
|
+
<td class="generation" ng-class="{diff:versions.changedGeneration}">
|
128
|
+
<div>{{versions.masterSearch.generation}}</div>
|
129
|
+
</td>
|
130
|
+
<td class="size">
|
131
|
+
<div>{{versions.masterSearch.size}}</div>
|
132
|
+
</td>
|
133
|
+
|
134
|
+
</tr>
|
135
|
+
|
136
|
+
<tr class="master">
|
137
|
+
|
138
|
+
<th>Master (Replicable)</th>
|
139
|
+
<td class="version" ng-class="{diff:versions.changedVersion}">
|
140
|
+
<div>{{versions.master.version}}</div>
|
141
|
+
</td>
|
142
|
+
<td class="generation" ng-class="{diff:versions.changedGeneration}">
|
143
|
+
<div>{{versions.master.generation}}</div>
|
144
|
+
</td>
|
145
|
+
<td class="size">
|
146
|
+
<div>{{versions.master.size}}</div>
|
147
|
+
</td>
|
148
|
+
|
149
|
+
</tr>
|
150
|
+
|
151
|
+
<tr class="slave slaveOnly" ng-show="isSlave">
|
152
|
+
|
153
|
+
<th>Slave (Searching)</th>
|
154
|
+
<td class="version" ng-class="{diff:versions.changedVersion}">
|
155
|
+
<div>{{versions.slave.version}}</div>
|
156
|
+
</td>
|
157
|
+
<td class="generation" ng-class="{diff:versions.changedGeneration}">
|
158
|
+
<div>{{versions.slave.generation}}</div>
|
159
|
+
</td>
|
160
|
+
<td class="size">
|
161
|
+
<div>{{versions.slave.size}}</div>
|
162
|
+
</td>
|
163
|
+
|
164
|
+
</tr>
|
165
|
+
|
166
|
+
</tbody>
|
167
|
+
|
168
|
+
</table>
|
169
|
+
|
170
|
+
</div>
|
171
|
+
|
172
|
+
<div id="settings" class="settings block clearfix slaveOnly" ng-show="isSlave">
|
173
|
+
|
174
|
+
<div class="label"><span>Settings:</span></div>
|
175
|
+
<ul>
|
176
|
+
<li class="masterUrl" ng-show="settings.masterUrl">
|
177
|
+
<dl class="clearfix">
|
178
|
+
<dt>master url:</dt>
|
179
|
+
<dd>{{settings.masterUrl}}</dd>
|
180
|
+
</dl>
|
181
|
+
</li>
|
182
|
+
<li class="isPollingDisabled"><dl class="clearfix">
|
183
|
+
<dt>polling enable:</dt>
|
184
|
+
<dd class="ico" ng-class="{'ico-0':settings.isPollingDisabled, 'ico-1':!settings.isPollingDisabled}">
|
185
|
+
<span ng-show="settings.pollInterval">(interval: {{settings.pollInterval}})</span>
|
186
|
+
</dd>
|
187
|
+
</dl></li>
|
188
|
+
</ul>
|
189
|
+
|
190
|
+
</div>
|
191
|
+
|
192
|
+
<div id="master-settings" class="settings block clearfix">
|
193
|
+
|
194
|
+
<div class="label"><span>Settings (Master):</span></div>
|
195
|
+
<ul>
|
196
|
+
<li class="replicationEnabled"><dl class="clearfix">
|
197
|
+
<dt>replication enable:</dt>
|
198
|
+
<dd class="ico" ng-class="{'ico-0':!master.replicationEnabled, 'ico-1':master.replicationEnabled}"> </dd>
|
199
|
+
</dl></li>
|
200
|
+
<li class="replicateAfter"><dl class="clearfix">
|
201
|
+
<dt>replicateAfter:</dt>
|
202
|
+
<dd>{{master.replicateAfter}}</dd>
|
203
|
+
</dl></li>
|
204
|
+
<li class="confFiles" ng-show="master.files"><dl class="clearfix">
|
205
|
+
<dt>confFiles:</dt>
|
206
|
+
<dd><span ng-repeat="file in master.files"><attr title="{{file.title}}">{{file.name}}</attr>{{ $last ? '' :', '}}</span></dd>
|
207
|
+
</dl></li>
|
208
|
+
</ul>
|
209
|
+
|
210
|
+
</div>
|
211
|
+
|
212
|
+
</div>
|
213
|
+
|
214
|
+
<div id="navigation">
|
215
|
+
|
216
|
+
<div class="timer" ng-show="isSlave && !settings.isPollingDisabled &&!settings.isReplicating">
|
217
|
+
|
218
|
+
<p>Next Run: <span class="approx" ng-show="settings.isApprox">~</span><span class="tick">{{settings.tick | readableSeconds}}</span></p>
|
219
|
+
<small ng-show="settings.nextExecutionAt">{{settings.nextExecutionAt}}</small>
|
220
|
+
</div>
|
221
|
+
|
222
|
+
<button class="refresh-status" ng-click="refresh()"><span>Refresh Status</span></button>
|
223
|
+
|
224
|
+
<div class="slaveOnly" ng-show="isSlave">
|
225
|
+
<button class="optional replicate-now primary" ng-click="execute('fetchindex')" ng-show="!settings.isReplicating"><span>Replicate now</span></button>
|
226
|
+
<button class="optional abort-replication warn" ng-click="execute('abortfetch')" ng-show="settings.isReplicating"><span>Abort Replication</span></button>
|
227
|
+
|
228
|
+
<button class="optional disable-polling" ng-click="execute('disablepoll')" ng-show="!settings.isPollingDisabled"><span>Disable Polling</span></button>
|
229
|
+
<button class="optional enable-polling" ng-click="execute('enablepoll')" ng-show="settings.isPollingDisabled"><span>Enable Polling</span></button>
|
230
|
+
</div>
|
231
|
+
|
232
|
+
<div class="masterOnly" ng-show="!isSlave">
|
233
|
+
<button class="optional disable-replication warn" ng-click="execute('disablereplication')" ng-show="master.replicationEnabled"><span>Disable Replication</span></button>
|
234
|
+
<button class="optional enable-replication warn" ng-click="execute('enablereplication')" ng-show="!master.replicationEnabled"><span>Enable Replication</span></button>
|
235
|
+
</div>
|
236
|
+
|
237
|
+
</div>
|
238
|
+
|
239
|
+
</div>
|