rjack-solr 3.6.2.0-java → 4.0.0.0-java
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.
- data/History.rdoc +5 -0
- data/Manifest.txt +268 -33
- data/NOTICE.txt +1 -1
- data/README.rdoc +6 -6
- data/assembly.xml +2 -2
- data/bin/rjack-solr-fg +1 -1
- data/init/rjack-solr +2 -2
- data/lib/rjack-solr.rb +7 -2
- data/lib/rjack-solr/base.rb +2 -2
- data/lib/rjack-solr/commons-cli-1.2.jar +0 -0
- data/lib/rjack-solr/config.rb +1 -1
- data/lib/rjack-solr/server.rb +1 -1
- data/lib/rjack-solr/solr-core-4.0.0.jar +0 -0
- data/lib/rjack-solr/solr-solrj-4.0.0.jar +0 -0
- data/pom.xml +19 -6
- data/test/test_solr.rb +7 -5
- data/webapp/META-INF/LICENSE.txt +0 -940
- data/webapp/META-INF/MANIFEST.MF +5 -5
- data/webapp/META-INF/NOTICE.txt +160 -93
- data/webapp/WEB-INF/web.xml +57 -43
- data/webapp/admin.html +140 -0
- data/webapp/css/chosen.css +392 -0
- data/webapp/css/styles/analysis.css +293 -0
- data/webapp/css/styles/cloud.css +331 -0
- data/webapp/css/styles/common.css +593 -0
- data/webapp/css/styles/cores.css +203 -0
- data/webapp/css/styles/dashboard.css +127 -0
- data/webapp/css/styles/dataimport.css +222 -0
- data/webapp/css/styles/index.css +195 -0
- data/webapp/css/styles/java-properties.css +33 -0
- data/webapp/css/styles/logging.css +323 -0
- data/webapp/css/styles/menu.css +272 -0
- data/webapp/css/styles/plugins.css +175 -0
- data/webapp/css/styles/query.css +137 -0
- data/webapp/css/styles/replication.css +494 -0
- data/webapp/css/styles/schema-browser.css +476 -0
- data/webapp/css/styles/threads.css +153 -0
- data/webapp/img/ZeroClipboard.swf +0 -0
- data/webapp/img/chosen-sprite.png +0 -0
- data/webapp/img/div.gif +0 -0
- data/webapp/{admin → img}/favicon.ico +0 -0
- data/webapp/img/filetypes/7z.png +0 -0
- data/webapp/img/filetypes/README +27 -0
- data/webapp/img/filetypes/ai.png +0 -0
- data/webapp/img/filetypes/aiff.png +0 -0
- data/webapp/img/filetypes/asc.png +0 -0
- data/webapp/img/filetypes/audio.png +0 -0
- data/webapp/img/filetypes/bin.png +0 -0
- data/webapp/img/filetypes/bz2.png +0 -0
- data/webapp/img/filetypes/c.png +0 -0
- data/webapp/img/filetypes/cfc.png +0 -0
- data/webapp/img/filetypes/cfm.png +0 -0
- data/webapp/img/filetypes/chm.png +0 -0
- data/webapp/img/filetypes/class.png +0 -0
- data/webapp/img/filetypes/conf.png +0 -0
- data/webapp/img/filetypes/cpp.png +0 -0
- data/webapp/img/filetypes/cs.png +0 -0
- data/webapp/img/filetypes/css.png +0 -0
- data/webapp/img/filetypes/csv.png +0 -0
- data/webapp/img/filetypes/deb.png +0 -0
- data/webapp/img/filetypes/divx.png +0 -0
- data/webapp/img/filetypes/doc.png +0 -0
- data/webapp/img/filetypes/dot.png +0 -0
- data/webapp/img/filetypes/eml.png +0 -0
- data/webapp/img/filetypes/enc.png +0 -0
- data/webapp/img/filetypes/file.png +0 -0
- data/webapp/img/filetypes/gif.png +0 -0
- data/webapp/img/filetypes/gz.png +0 -0
- data/webapp/img/filetypes/hlp.png +0 -0
- data/webapp/img/filetypes/htm.png +0 -0
- data/webapp/img/filetypes/html.png +0 -0
- data/webapp/img/filetypes/image.png +0 -0
- data/webapp/img/filetypes/iso.png +0 -0
- data/webapp/img/filetypes/jar.png +0 -0
- data/webapp/img/filetypes/java.png +0 -0
- data/webapp/img/filetypes/jpeg.png +0 -0
- data/webapp/img/filetypes/jpg.png +0 -0
- data/webapp/img/filetypes/js.png +0 -0
- data/webapp/img/filetypes/lua.png +0 -0
- data/webapp/img/filetypes/m.png +0 -0
- data/webapp/img/filetypes/mm.png +0 -0
- data/webapp/img/filetypes/mov.png +0 -0
- data/webapp/img/filetypes/mp3.png +0 -0
- data/webapp/img/filetypes/mpg.png +0 -0
- data/webapp/img/filetypes/odc.png +0 -0
- data/webapp/img/filetypes/odf.png +0 -0
- data/webapp/img/filetypes/odg.png +0 -0
- data/webapp/img/filetypes/odi.png +0 -0
- data/webapp/img/filetypes/odp.png +0 -0
- data/webapp/img/filetypes/ods.png +0 -0
- data/webapp/img/filetypes/odt.png +0 -0
- data/webapp/img/filetypes/ogg.png +0 -0
- data/webapp/img/filetypes/pdf.png +0 -0
- data/webapp/img/filetypes/pgp.png +0 -0
- data/webapp/img/filetypes/php.png +0 -0
- data/webapp/img/filetypes/pl.png +0 -0
- data/webapp/img/filetypes/png.png +0 -0
- data/webapp/img/filetypes/ppt.png +0 -0
- data/webapp/img/filetypes/ps.png +0 -0
- data/webapp/img/filetypes/py.png +0 -0
- data/webapp/img/filetypes/ram.png +0 -0
- data/webapp/img/filetypes/rar.png +0 -0
- data/webapp/img/filetypes/rb.png +0 -0
- data/webapp/img/filetypes/rm.png +0 -0
- data/webapp/img/filetypes/rpm.png +0 -0
- data/webapp/img/filetypes/rtf.png +0 -0
- data/webapp/img/filetypes/sig.png +0 -0
- data/webapp/img/filetypes/sql.png +0 -0
- data/webapp/img/filetypes/swf.png +0 -0
- data/webapp/img/filetypes/sxc.png +0 -0
- data/webapp/img/filetypes/sxd.png +0 -0
- data/webapp/img/filetypes/sxi.png +0 -0
- data/webapp/img/filetypes/sxw.png +0 -0
- data/webapp/img/filetypes/tar.png +0 -0
- data/webapp/img/filetypes/tex.png +0 -0
- data/webapp/img/filetypes/tgz.png +0 -0
- data/webapp/img/filetypes/txt.png +0 -0
- data/webapp/img/filetypes/vcf.png +0 -0
- data/webapp/img/filetypes/video.png +0 -0
- data/webapp/img/filetypes/vsd.png +0 -0
- data/webapp/img/filetypes/wav.png +0 -0
- data/webapp/img/filetypes/wma.png +0 -0
- data/webapp/img/filetypes/wmv.png +0 -0
- data/webapp/img/filetypes/xls.png +0 -0
- data/webapp/img/filetypes/xml.png +0 -0
- data/webapp/img/filetypes/xpi.png +0 -0
- data/webapp/img/filetypes/xvid.png +0 -0
- data/webapp/img/filetypes/zip.png +0 -0
- data/webapp/img/ico/arrow-000-small.png +0 -0
- data/webapp/img/ico/arrow-circle.png +0 -0
- data/webapp/img/ico/arrow-switch.png +0 -0
- data/webapp/img/ico/asterisk.png +0 -0
- data/webapp/img/ico/battery.png +0 -0
- data/webapp/img/ico/block-small.png +0 -0
- data/webapp/img/ico/block.png +0 -0
- data/webapp/img/ico/book-open-text.png +0 -0
- data/webapp/img/ico/box.png +0 -0
- data/webapp/img/ico/bug.png +0 -0
- data/webapp/img/ico/chart.png +0 -0
- data/webapp/img/ico/chevron-small-expand.png +0 -0
- data/webapp/img/ico/chevron-small.png +0 -0
- data/webapp/img/ico/clipboard-list.png +0 -0
- data/webapp/img/ico/clipboard-paste-document-text.png +0 -0
- data/webapp/img/ico/clipboard-paste.png +0 -0
- data/webapp/img/ico/clock-select-remain.png +0 -0
- data/webapp/img/ico/clock-select.png +0 -0
- data/webapp/img/ico/construction.png +0 -0
- data/webapp/img/ico/cross-0.png +0 -0
- data/webapp/img/ico/cross-1.png +0 -0
- data/webapp/img/ico/cross.png +0 -0
- data/webapp/img/ico/dashboard.png +0 -0
- data/webapp/img/ico/database.png +0 -0
- data/webapp/img/ico/databases.png +0 -0
- data/webapp/img/ico/disk-black.png +0 -0
- data/webapp/img/ico/document-convert.png +0 -0
- data/webapp/img/ico/document-import.png +0 -0
- data/webapp/img/ico/document-list.png +0 -0
- data/webapp/img/ico/document-text.png +0 -0
- data/webapp/img/ico/download-cloud.png +0 -0
- data/webapp/img/ico/exclamation-button.png +0 -0
- data/webapp/img/ico/eye.png +0 -0
- data/webapp/img/ico/folder-export.png +0 -0
- data/webapp/img/ico/folder-tree.png +0 -0
- data/webapp/img/ico/folder.png +0 -0
- data/webapp/img/ico/funnel-small.png +0 -0
- data/webapp/img/ico/funnel.png +0 -0
- data/webapp/img/ico/gear.png +0 -0
- data/webapp/img/ico/globe-network.png +0 -0
- data/webapp/img/ico/globe.png +0 -0
- data/webapp/img/ico/hammer-screwdriver.png +0 -0
- data/webapp/img/ico/hand.png +0 -0
- data/webapp/img/ico/highlighter-text.png +0 -0
- data/webapp/img/ico/hourglass--exclamation.png +0 -0
- data/webapp/img/ico/hourglass.png +0 -0
- data/webapp/img/ico/inbox-document-text.png +0 -0
- data/webapp/img/ico/information-button.png +0 -0
- data/webapp/img/ico/information-small.png +0 -0
- data/webapp/img/ico/information-white.png +0 -0
- data/webapp/img/ico/information.png +0 -0
- data/webapp/img/ico/jar.png +0 -0
- data/webapp/img/ico/magnifier.png +0 -0
- data/webapp/img/ico/mail.png +0 -0
- data/webapp/img/ico/memory.png +0 -0
- data/webapp/img/ico/molecule.png +0 -0
- data/webapp/img/ico/network-cloud.png +0 -0
- data/webapp/img/ico/network-status-away.png +0 -0
- data/webapp/img/ico/network-status-busy.png +0 -0
- data/webapp/img/ico/network-status-offline.png +0 -0
- data/webapp/img/ico/network-status.png +0 -0
- data/webapp/img/ico/network.png +0 -0
- data/webapp/img/ico/node-design.png +0 -0
- data/webapp/img/ico/node-master.png +0 -0
- data/webapp/img/ico/node-select.png +0 -0
- data/webapp/img/ico/node-slave.png +0 -0
- data/webapp/img/ico/node.png +0 -0
- data/webapp/img/ico/pencil-small.png +0 -0
- data/webapp/img/ico/plus-button.png +0 -0
- data/webapp/img/ico/processor.png +0 -0
- data/webapp/img/ico/prohibition.png +0 -0
- data/webapp/img/ico/property.png +0 -0
- data/webapp/img/ico/question-small-white.png +0 -0
- data/webapp/img/ico/question-white.png +0 -0
- data/webapp/img/ico/question.png +0 -0
- data/webapp/img/ico/receipt-invoice.png +0 -0
- data/webapp/img/ico/receipt.png +0 -0
- data/webapp/img/ico/script-code.png +0 -0
- data/webapp/img/ico/server-cast.png +0 -0
- data/webapp/img/ico/server.png +0 -0
- data/webapp/img/ico/sitemap.png +0 -0
- data/webapp/img/ico/slash.png +0 -0
- data/webapp/img/ico/status-away.png +0 -0
- data/webapp/img/ico/status-busy.png +0 -0
- data/webapp/img/ico/status-offline.png +0 -0
- data/webapp/img/ico/status.png +0 -0
- data/webapp/img/ico/system-monitor--exclamation.png +0 -0
- data/webapp/img/ico/system-monitor.png +0 -0
- data/webapp/img/ico/table.png +0 -0
- data/webapp/img/ico/terminal.png +0 -0
- data/webapp/img/ico/tick-circle.png +0 -0
- data/webapp/img/ico/tick-red.png +0 -0
- data/webapp/img/ico/tick.png +0 -0
- data/webapp/img/ico/toggle-small-expand.png +0 -0
- data/webapp/img/ico/toggle-small.png +0 -0
- data/webapp/img/ico/toolbox.png +0 -0
- data/webapp/img/ico/ui-accordion.png +0 -0
- data/webapp/img/ico/ui-address-bar.png +0 -0
- data/webapp/img/ico/ui-check-box-uncheck.png +0 -0
- data/webapp/img/ico/ui-check-box.png +0 -0
- data/webapp/img/ico/ui-radio-button-uncheck.png +0 -0
- data/webapp/img/ico/ui-radio-button.png +0 -0
- data/webapp/img/ico/ui-text-field-select.png +0 -0
- data/webapp/img/ico/users.png +0 -0
- data/webapp/img/ico/wooden-box.png +0 -0
- data/webapp/img/ico/zone.png +0 -0
- data/webapp/img/loader-light.gif +0 -0
- data/webapp/img/loader.gif +0 -0
- data/webapp/img/lucene-ico.png +0 -0
- data/webapp/img/solr-ico.png +0 -0
- data/webapp/{admin/solr_small.png → img/solr.png} +0 -0
- data/webapp/img/tree.png +0 -0
- data/webapp/js/lib/ZeroClipboard.js +317 -0
- data/webapp/js/lib/chosen.js +953 -0
- data/webapp/{admin/get-properties.jsp → js/lib/console.js} +13 -10
- data/webapp/js/lib/d3.js +9342 -0
- data/webapp/js/lib/highlight.js +1 -0
- data/webapp/{admin/jquery-1.4.3.min.js → js/lib/jquery-1.7.2.min.js} +0 -0
- data/webapp/js/lib/jquery.blockUI.js +499 -0
- data/webapp/js/lib/jquery.cookie.js +47 -0
- data/webapp/js/lib/jquery.form.js +782 -0
- data/webapp/js/lib/jquery.jstree.js +3510 -0
- data/webapp/js/lib/jquery.sammy.js +1856 -0
- data/webapp/js/lib/jquery.sparkline.js +1271 -0
- data/webapp/js/lib/jquery.timeago.js +165 -0
- data/webapp/js/lib/linker.js +48 -0
- data/webapp/js/lib/order.js +189 -0
- data/webapp/js/main.js +57 -0
- data/webapp/js/require.js +11319 -0
- data/webapp/js/scripts/analysis.js +549 -0
- data/webapp/js/scripts/app.js +368 -0
- data/webapp/js/scripts/cloud.js +719 -0
- data/webapp/js/scripts/cores.js +540 -0
- data/webapp/js/scripts/dashboard.js +540 -0
- data/webapp/js/scripts/dataimport.js +567 -0
- data/webapp/js/scripts/file.js +56 -0
- data/webapp/js/scripts/index.js +344 -0
- data/webapp/js/scripts/java-properties.js +107 -0
- data/webapp/js/scripts/logging.js +519 -0
- data/webapp/js/scripts/ping.js +72 -0
- data/webapp/js/scripts/plugins.js +426 -0
- data/webapp/js/scripts/query.js +170 -0
- data/webapp/js/scripts/replication.js +557 -0
- data/webapp/js/scripts/schema-browser.js +1206 -0
- data/webapp/js/scripts/threads.js +159 -0
- data/webapp/tpl/analysis.html +83 -0
- data/webapp/tpl/cloud.html +54 -0
- data/webapp/tpl/cores.html +215 -0
- data/webapp/tpl/dashboard.html +164 -0
- data/webapp/tpl/dataimport.html +123 -0
- data/webapp/tpl/index.html +250 -0
- data/webapp/tpl/logging.html +23 -0
- data/webapp/tpl/plugins.html +39 -0
- data/webapp/tpl/query.html +318 -0
- data/webapp/tpl/replication.html +207 -0
- data/webapp/tpl/schema-browser.html +178 -0
- data/webapp/tpl/threads.html +56 -0
- metadata +307 -40
- data/lib/rjack-solr/solr-core-3.6.2.jar +0 -0
- data/lib/rjack-solr/solr-solrj-3.6.2.jar +0 -0
- data/webapp/admin/_info.jsp +0 -120
- data/webapp/admin/action.jsp +0 -94
- data/webapp/admin/analysis.jsp +0 -496
- data/webapp/admin/analysis.xsl +0 -179
- data/webapp/admin/dataimport.jsp +0 -53
- data/webapp/admin/debug.jsp +0 -103
- data/webapp/admin/distributiondump.jsp +0 -160
- data/webapp/admin/form.jsp +0 -152
- data/webapp/admin/get-file.jsp +0 -72
- data/webapp/admin/header.jsp +0 -44
- data/webapp/admin/index.jsp +0 -162
- data/webapp/admin/meta.xsl +0 -34
- data/webapp/admin/ping.jsp +0 -52
- data/webapp/admin/ping.xsl +0 -71
- data/webapp/admin/raw-schema.jsp +0 -38
- data/webapp/admin/registry.jsp +0 -107
- data/webapp/admin/registry.xsl +0 -321
- data/webapp/admin/replication/header.jsp +0 -89
- data/webapp/admin/replication/index.jsp +0 -378
- data/webapp/admin/schema.jsp +0 -690
- data/webapp/admin/solr-admin.css +0 -215
- data/webapp/admin/stats.jsp +0 -92
- data/webapp/admin/stats.xsl +0 -220
- data/webapp/admin/tabular.xsl +0 -141
- data/webapp/admin/threaddump.jsp +0 -110
- data/webapp/admin/threaddump.xsl +0 -103
- data/webapp/index.jsp +0 -49
|
@@ -0,0 +1,159 @@
|
|
|
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
|
+
|
|
18
|
+
// #/~threads
|
|
19
|
+
sammy.get
|
|
20
|
+
(
|
|
21
|
+
/^#\/(~threads)$/,
|
|
22
|
+
function( context )
|
|
23
|
+
{
|
|
24
|
+
var core_basepath = $( 'li[data-basepath]', app.menu_element ).attr( 'data-basepath' );
|
|
25
|
+
var content_element = $( '#content' );
|
|
26
|
+
|
|
27
|
+
$.get
|
|
28
|
+
(
|
|
29
|
+
'tpl/threads.html',
|
|
30
|
+
function( template )
|
|
31
|
+
{
|
|
32
|
+
content_element
|
|
33
|
+
.html( template );
|
|
34
|
+
|
|
35
|
+
$.ajax
|
|
36
|
+
(
|
|
37
|
+
{
|
|
38
|
+
url : core_basepath + '/admin/threads?wt=json',
|
|
39
|
+
dataType : 'json',
|
|
40
|
+
context : $( '#threads', content_element ),
|
|
41
|
+
beforeSend : function( xhr, settings )
|
|
42
|
+
{
|
|
43
|
+
},
|
|
44
|
+
success : function( response, text_status, xhr )
|
|
45
|
+
{
|
|
46
|
+
var self = this;
|
|
47
|
+
|
|
48
|
+
var threadDumpData = response.system.threadDump;
|
|
49
|
+
var threadDumpContent = [];
|
|
50
|
+
var c = 0;
|
|
51
|
+
for( var i = 1; i < threadDumpData.length; i += 2 )
|
|
52
|
+
{
|
|
53
|
+
var state = threadDumpData[i].state.esc();
|
|
54
|
+
var name = '<a title="' + state +'"><span>' + threadDumpData[i].name.esc() + ' (' + threadDumpData[i].id.esc() + ')</span></a>';
|
|
55
|
+
|
|
56
|
+
var classes = [state];
|
|
57
|
+
var details = '';
|
|
58
|
+
|
|
59
|
+
if( 0 !== c % 2 )
|
|
60
|
+
{
|
|
61
|
+
classes.push( 'odd' );
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
if( threadDumpData[i].lock )
|
|
65
|
+
{
|
|
66
|
+
classes.push( 'lock' );
|
|
67
|
+
name += "\n" + '<p title="Waiting on">' + threadDumpData[i].lock.esc() + '</p>';
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
if( threadDumpData[i].stackTrace && 0 !== threadDumpData[i].stackTrace.length )
|
|
71
|
+
{
|
|
72
|
+
classes.push( 'stacktrace' );
|
|
73
|
+
|
|
74
|
+
var stack_trace = threadDumpData[i].stackTrace
|
|
75
|
+
.join( '###' )
|
|
76
|
+
.esc()
|
|
77
|
+
.replace( /\(/g, '​(' )
|
|
78
|
+
.replace( /###/g, '</li><li>' );
|
|
79
|
+
|
|
80
|
+
name += '<div>' + "\n"
|
|
81
|
+
+ '<ul>' + "\n"
|
|
82
|
+
+ '<li>' + stack_trace + '</li>'
|
|
83
|
+
+ '</ul>' + "\n"
|
|
84
|
+
+ '</div>';
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
var item = '<tr class="' + classes.join( ' ' ) +'">' + "\n"
|
|
88
|
+
+ '<td class="name">' + name + '</td>' + "\n"
|
|
89
|
+
+ '<td class="time">' + threadDumpData[i].cpuTime.esc() + '<br>' + threadDumpData[i].userTime.esc() + '</td>' + "\n"
|
|
90
|
+
+ '</tr>';
|
|
91
|
+
|
|
92
|
+
threadDumpContent.push( item );
|
|
93
|
+
c++;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
var threadDumpBody = $( '#thread-dump tbody', this );
|
|
97
|
+
|
|
98
|
+
threadDumpBody
|
|
99
|
+
.html( threadDumpContent.join( "\n" ) );
|
|
100
|
+
|
|
101
|
+
$( '.name a', threadDumpBody )
|
|
102
|
+
.die( 'click' )
|
|
103
|
+
.live
|
|
104
|
+
(
|
|
105
|
+
'click',
|
|
106
|
+
function( event )
|
|
107
|
+
{
|
|
108
|
+
$( this ).closest( 'tr' )
|
|
109
|
+
.toggleClass( 'open' );
|
|
110
|
+
}
|
|
111
|
+
);
|
|
112
|
+
|
|
113
|
+
$( '.controls a', this )
|
|
114
|
+
.die( 'click' )
|
|
115
|
+
.live
|
|
116
|
+
(
|
|
117
|
+
'click',
|
|
118
|
+
function( event )
|
|
119
|
+
{
|
|
120
|
+
var threads_element = $( self );
|
|
121
|
+
var is_collapsed = threads_element.hasClass( 'collapsed' );
|
|
122
|
+
var thread_rows = $( 'tr', threads_element );
|
|
123
|
+
|
|
124
|
+
thread_rows
|
|
125
|
+
.each
|
|
126
|
+
(
|
|
127
|
+
function( index, element )
|
|
128
|
+
{
|
|
129
|
+
if( is_collapsed )
|
|
130
|
+
{
|
|
131
|
+
$( element )
|
|
132
|
+
.addClass( 'open' );
|
|
133
|
+
}
|
|
134
|
+
else
|
|
135
|
+
{
|
|
136
|
+
$( element )
|
|
137
|
+
.removeClass( 'open' );
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
);
|
|
141
|
+
|
|
142
|
+
threads_element
|
|
143
|
+
.toggleClass( 'collapsed' )
|
|
144
|
+
.toggleClass( 'expanded' );
|
|
145
|
+
}
|
|
146
|
+
);
|
|
147
|
+
},
|
|
148
|
+
error : function( xhr, text_status, error_thrown)
|
|
149
|
+
{
|
|
150
|
+
},
|
|
151
|
+
complete : function( xhr, text_status )
|
|
152
|
+
{
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
);
|
|
156
|
+
}
|
|
157
|
+
);
|
|
158
|
+
}
|
|
159
|
+
);
|
|
@@ -0,0 +1,83 @@
|
|
|
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="analysis">
|
|
18
|
+
|
|
19
|
+
<div class="block analysis-error" id="analysis-handler-missing">
|
|
20
|
+
|
|
21
|
+
<div class="head">This Functionality requires the <code>/analysis/field</code> Handler to be registered and active!</div>
|
|
22
|
+
|
|
23
|
+
</div>
|
|
24
|
+
|
|
25
|
+
<div class="block analysis-error" id="analysis-error">
|
|
26
|
+
|
|
27
|
+
<div class="body"></div>
|
|
28
|
+
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
<div id="analysis-holder">
|
|
32
|
+
|
|
33
|
+
<div id="field-analysis">
|
|
34
|
+
|
|
35
|
+
<form method="get">
|
|
36
|
+
|
|
37
|
+
<ul class="clearfix">
|
|
38
|
+
|
|
39
|
+
<li class="index">
|
|
40
|
+
|
|
41
|
+
<label for="analysis_fieldvalue_index">Field Value (Index)</label>
|
|
42
|
+
<textarea name="analysis.fieldvalue" id="analysis_fieldvalue_index"></textarea>
|
|
43
|
+
|
|
44
|
+
</li>
|
|
45
|
+
|
|
46
|
+
<li class="query">
|
|
47
|
+
|
|
48
|
+
<label for="analysis_fieldvalue_query">Field Value (Query)</label>
|
|
49
|
+
<textarea name="analysis.query" id="analysis_fieldvalue_query"></textarea>
|
|
50
|
+
|
|
51
|
+
</li>
|
|
52
|
+
|
|
53
|
+
<li class="settings-holder clearfix">
|
|
54
|
+
<div class="settings clearfix">
|
|
55
|
+
|
|
56
|
+
<label for="type_or_name">Analyse Fieldname / FieldType:</label>
|
|
57
|
+
<select id="type_or_name"></select>
|
|
58
|
+
<a id="tor_schema" href="#"><span>Schema Browser</span> </a>
|
|
59
|
+
|
|
60
|
+
<div class="buttons clearfix">
|
|
61
|
+
|
|
62
|
+
<button type="submit">Analyse Values</button>
|
|
63
|
+
|
|
64
|
+
<div class="verbose_output active">
|
|
65
|
+
<a>Verbose Output</a>
|
|
66
|
+
</div>
|
|
67
|
+
|
|
68
|
+
</div>
|
|
69
|
+
|
|
70
|
+
</div>
|
|
71
|
+
</li>
|
|
72
|
+
|
|
73
|
+
</ul>
|
|
74
|
+
|
|
75
|
+
</form>
|
|
76
|
+
|
|
77
|
+
</div>
|
|
78
|
+
|
|
79
|
+
<div id="analysis-result" class="clearfix verbose_output"></div>
|
|
80
|
+
|
|
81
|
+
</div>
|
|
82
|
+
|
|
83
|
+
</div>
|
|
@@ -0,0 +1,54 @@
|
|
|
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="cloud" class="clearfix">
|
|
18
|
+
|
|
19
|
+
<div id="frame">
|
|
20
|
+
|
|
21
|
+
<div id="tree-content" class="content clearfix">
|
|
22
|
+
|
|
23
|
+
<div id="tree" class="tree">#tree</div>
|
|
24
|
+
<div id="file-content" class="clearfix">
|
|
25
|
+
|
|
26
|
+
<div id="prop">
|
|
27
|
+
<ul></ul>
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
<div id="data"></div>
|
|
31
|
+
|
|
32
|
+
<a class="close"><span>[x]</span></a>
|
|
33
|
+
|
|
34
|
+
</div>
|
|
35
|
+
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
<div id="graph-content" class="content clearfix">
|
|
39
|
+
|
|
40
|
+
<div id="canvas"></div>
|
|
41
|
+
|
|
42
|
+
</div>
|
|
43
|
+
|
|
44
|
+
</div>
|
|
45
|
+
|
|
46
|
+
<div id="debug">
|
|
47
|
+
<ul class="clearfix">
|
|
48
|
+
<li class="clipboard"><a href="#" data-copied="Copied to Clipboard!">Copy to Clipboard (BUGGY!)</a></li>
|
|
49
|
+
<li class="close"><a href="#">Close</a></li>
|
|
50
|
+
</ul>
|
|
51
|
+
<pre class="debug"></pre>
|
|
52
|
+
</div>
|
|
53
|
+
|
|
54
|
+
</div>
|
|
@@ -0,0 +1,215 @@
|
|
|
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="cores" class="clearfix">
|
|
18
|
+
|
|
19
|
+
<div id="ui-block"> </div>
|
|
20
|
+
|
|
21
|
+
<div id="frame">
|
|
22
|
+
|
|
23
|
+
<div id="actions" class="actions clearfix">
|
|
24
|
+
|
|
25
|
+
<button id="add" class="action"><span>Add Core</span></button>
|
|
26
|
+
<button id="unload" class="warn"><span>Unload</span></button>
|
|
27
|
+
<button id="rename" class="action"><span>Rename</span></button>
|
|
28
|
+
<button id="swap" class="action"><span>Swap</span></button>
|
|
29
|
+
<button id="reload"><span>Reload</span></button>
|
|
30
|
+
<button id="optimize"><span>Optimize</span></button>
|
|
31
|
+
|
|
32
|
+
<div class="action add" data-rel="add">
|
|
33
|
+
|
|
34
|
+
<form>
|
|
35
|
+
|
|
36
|
+
<input type="hidden" name="action" value="CREATE">
|
|
37
|
+
|
|
38
|
+
<p class="clearfix"><label for="add_name">name:</label>
|
|
39
|
+
<input type="text" name="name" id="add_name" value="new_core"></p>
|
|
40
|
+
|
|
41
|
+
<p class="clearfix"><label for="add_instanceDir">instanceDir:</label>
|
|
42
|
+
<input type="text" name="instanceDir" id="add_instanceDir" value="new_core"></p>
|
|
43
|
+
|
|
44
|
+
<p class="clearfix"><label for="add_dataDir">dataDir:</label>
|
|
45
|
+
<input type="text" name="dataDir" id="dataDir" value="data"></p>
|
|
46
|
+
|
|
47
|
+
<p class="clearfix"><label for="add_config">config:</label>
|
|
48
|
+
<input type="text" name="config" id="add_config" value="solrconfig.xml"></p>
|
|
49
|
+
|
|
50
|
+
<p class="clearfix"><label for="add_schema">schema:</label>
|
|
51
|
+
<input type="text" name="schema" id="add_schema" value="schema.xml"></p>
|
|
52
|
+
|
|
53
|
+
<div class="cloud">
|
|
54
|
+
|
|
55
|
+
<p class="clearfix"><label for="add_collection">collection:</label>
|
|
56
|
+
<input type="text" name="collection" id="add_collection"></p>
|
|
57
|
+
|
|
58
|
+
<p class="clearfix"><label for="add_shard">shard:</label>
|
|
59
|
+
<input type="text" name="shard" id="shard"></p>
|
|
60
|
+
|
|
61
|
+
</div>
|
|
62
|
+
|
|
63
|
+
<p class="clearfix error">
|
|
64
|
+
|
|
65
|
+
<span></span>
|
|
66
|
+
|
|
67
|
+
</p>
|
|
68
|
+
|
|
69
|
+
<p class="clearfix buttons">
|
|
70
|
+
<button type="submit" class="submit"><span>Add Core</span></button>
|
|
71
|
+
<button type="reset" class="reset"><span>Cancel</span></button>
|
|
72
|
+
</p>
|
|
73
|
+
|
|
74
|
+
</form>
|
|
75
|
+
|
|
76
|
+
</div>
|
|
77
|
+
|
|
78
|
+
<div class="action rename" data-rel="rename">
|
|
79
|
+
|
|
80
|
+
<form>
|
|
81
|
+
|
|
82
|
+
<input type="hidden" name="action" value="RENAME">
|
|
83
|
+
<input type="hidden" name="core" data-core="current">
|
|
84
|
+
|
|
85
|
+
<p class="clearfix"><label for="rename_other">New Name:</label>
|
|
86
|
+
<input type="text" name="other" data-core="current" id="rename_other"></p>
|
|
87
|
+
|
|
88
|
+
<p class="clearfix buttons">
|
|
89
|
+
<button type="submit" class="submit"><span>Rename Core</span></button>
|
|
90
|
+
<button type="reset" class="reset"><span>Cancel</span></button>
|
|
91
|
+
</p>
|
|
92
|
+
|
|
93
|
+
</form>
|
|
94
|
+
|
|
95
|
+
</div>
|
|
96
|
+
|
|
97
|
+
<div class="action swap" data-rel="swap">
|
|
98
|
+
|
|
99
|
+
<form>
|
|
100
|
+
|
|
101
|
+
<input type="hidden" name="action" value="SWAP">
|
|
102
|
+
|
|
103
|
+
<p class="clearfix"><label for="swap_core">this:</label>
|
|
104
|
+
<input type="text" id="swap_core" name="core" data-core="current" readonly="readonly"></p>
|
|
105
|
+
|
|
106
|
+
<p class="clearfix"><label for="swap_other">and:</label>
|
|
107
|
+
<select name="other" id="swap_other" name="other" class="other">
|
|
108
|
+
</select></p>
|
|
109
|
+
|
|
110
|
+
<p class="clearfix buttons">
|
|
111
|
+
<button type="submit" class="submit"><span>Swap Cores</span></button>
|
|
112
|
+
<button type="reset" class="reset"><span>Cancel</span></button>
|
|
113
|
+
</p>
|
|
114
|
+
|
|
115
|
+
</form>
|
|
116
|
+
|
|
117
|
+
</div>
|
|
118
|
+
|
|
119
|
+
</div>
|
|
120
|
+
|
|
121
|
+
<div id="data">
|
|
122
|
+
|
|
123
|
+
<div class="block" id="core-data">
|
|
124
|
+
|
|
125
|
+
<h2><span>Core</span></h2>
|
|
126
|
+
|
|
127
|
+
<div class="message-container">
|
|
128
|
+
<div class="message"></div>
|
|
129
|
+
</div>
|
|
130
|
+
|
|
131
|
+
<div class="content">
|
|
132
|
+
|
|
133
|
+
<ul>
|
|
134
|
+
|
|
135
|
+
<li class="startTime"><dl class="clearfix">
|
|
136
|
+
<dt><span>startTime:</span></dt>
|
|
137
|
+
<dd class="timeago"></dd>
|
|
138
|
+
</dl></li>
|
|
139
|
+
|
|
140
|
+
<li class="instanceDir"><dl class="clearfix">
|
|
141
|
+
<dt><span>instanceDir:</span></dt>
|
|
142
|
+
<dd></dd>
|
|
143
|
+
</dl></li>
|
|
144
|
+
|
|
145
|
+
<li class="dataDir"><dl class="clearfix">
|
|
146
|
+
<dt><span>dataDir:</span></dt>
|
|
147
|
+
<dd></dd>
|
|
148
|
+
</dl></li>
|
|
149
|
+
|
|
150
|
+
</ul>
|
|
151
|
+
|
|
152
|
+
</div>
|
|
153
|
+
</div>
|
|
154
|
+
|
|
155
|
+
<div class="block" id="index-data">
|
|
156
|
+
|
|
157
|
+
<h2><span>Index</span></h2>
|
|
158
|
+
|
|
159
|
+
<div class="message-container">
|
|
160
|
+
<div class="message"></div>
|
|
161
|
+
</div>
|
|
162
|
+
|
|
163
|
+
<div class="content">
|
|
164
|
+
|
|
165
|
+
<ul>
|
|
166
|
+
|
|
167
|
+
<li class="lastModified"><dl class="clearfix">
|
|
168
|
+
<dt><span>lastModified:</span></dt>
|
|
169
|
+
<dd class="timeago"></dd>
|
|
170
|
+
</dl></li>
|
|
171
|
+
|
|
172
|
+
<li class="version"><dl class="clearfix">
|
|
173
|
+
<dt><span>version:</span></dt>
|
|
174
|
+
<dd></dd>
|
|
175
|
+
</dl></li>
|
|
176
|
+
|
|
177
|
+
<li class="numDocs"><dl class="clearfix">
|
|
178
|
+
<dt><span>numDocs:</span></dt>
|
|
179
|
+
<dd></dd>
|
|
180
|
+
</dl></li>
|
|
181
|
+
|
|
182
|
+
<li class="maxDoc"><dl class="clearfix">
|
|
183
|
+
<dt><span>maxDoc:</span></dt>
|
|
184
|
+
<dd></dd>
|
|
185
|
+
</dl></li>
|
|
186
|
+
|
|
187
|
+
<li class="optimized"><dl class="clearfix">
|
|
188
|
+
<dt><span>optimized:</span></dt>
|
|
189
|
+
<dd class="ico"><span></span></dd>
|
|
190
|
+
</dl></li>
|
|
191
|
+
|
|
192
|
+
<li class="current"><dl class="clearfix">
|
|
193
|
+
<dt><span>current:</span></dt>
|
|
194
|
+
<dd class="ico"><span></span></dd>
|
|
195
|
+
</dl></li>
|
|
196
|
+
|
|
197
|
+
<li class="directory"><dl class="clearfix">
|
|
198
|
+
<dt><span>directory:</span></dt>
|
|
199
|
+
<dd></dd>
|
|
200
|
+
</dl></li>
|
|
201
|
+
|
|
202
|
+
</ul>
|
|
203
|
+
|
|
204
|
+
</div>
|
|
205
|
+
</div>
|
|
206
|
+
|
|
207
|
+
</div>
|
|
208
|
+
|
|
209
|
+
</div>
|
|
210
|
+
|
|
211
|
+
<div id="navigation" class="clearfix">
|
|
212
|
+
|
|
213
|
+
</div>
|
|
214
|
+
|
|
215
|
+
</div>
|