solrium 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. data/LICENSE.txt +712 -0
  2. data/README.markdown +51 -0
  3. data/Rakefile +24 -0
  4. data/VERSION.yml +4 -0
  5. data/bin/solr +9 -0
  6. data/lib/jars/jetty/ant-1.6.5.jar +0 -0
  7. data/lib/jars/jetty/commons-codec-1.3.jar +0 -0
  8. data/lib/jars/jetty/commons-fileupload-1.2.jar +0 -0
  9. data/lib/jars/jetty/jetty-7.0.0.pre5.jar +0 -0
  10. data/lib/jars/jetty/jetty-util-7.0.0.pre5.jar +0 -0
  11. data/lib/jars/jetty/jsp-2.1.jar +0 -0
  12. data/lib/jars/jetty/jsp-api-2.1.jar +0 -0
  13. data/lib/jars/jetty/servlet-api-3.0.pre4.jar +0 -0
  14. data/lib/jars/lucene/lucene-analyzers-2.4-dev.jar +0 -0
  15. data/lib/jars/lucene/lucene-core-2.4-dev.jar +0 -0
  16. data/lib/jars/lucene/lucene-highlighter-2.4-dev.jar +0 -0
  17. data/lib/jars/lucene/lucene-memory-2.4-dev.jar +0 -0
  18. data/lib/jars/lucene/lucene-queries-2.4-dev.jar +0 -0
  19. data/lib/jars/lucene/lucene-snowball-2.4-dev.jar +0 -0
  20. data/lib/jars/lucene/lucene-spellchecker-2.4-dev.jar +0 -0
  21. data/lib/jars/solr/apache-solr-common-1.3.0.jar +0 -0
  22. data/lib/jars/solr/apache-solr-core-1.3.0.jar +0 -0
  23. data/lib/jars/solr/commons-io-1.2.jar +0 -0
  24. data/lib/jars/solr/stax-1.2.0-dev.jar +0 -0
  25. data/lib/jars/solr/stax-api-1.0.jar +0 -0
  26. data/lib/jars/solr/stax-utils.jar +0 -0
  27. data/lib/jars/solr/xpp3-1.1.3.4.O.jar +0 -0
  28. data/lib/jetty.rb +83 -0
  29. data/lib/lucene.rb +33 -0
  30. data/lib/queries.rb +60 -0
  31. data/lib/remote.rb +22 -0
  32. data/lib/solr.rb +69 -0
  33. data/lib/solr_ext.rb +81 -0
  34. data/lib/webapp/admin/_info.jsp +110 -0
  35. data/lib/webapp/admin/action.jsp +116 -0
  36. data/lib/webapp/admin/analysis.jsp +456 -0
  37. data/lib/webapp/admin/analysis.xsl +179 -0
  38. data/lib/webapp/admin/distributiondump.jsp +158 -0
  39. data/lib/webapp/admin/favicon.ico +0 -0
  40. data/lib/webapp/admin/form.jsp +129 -0
  41. data/lib/webapp/admin/get-file.jsp +72 -0
  42. data/lib/webapp/admin/get-properties.jsp +24 -0
  43. data/lib/webapp/admin/header.jsp +41 -0
  44. data/lib/webapp/admin/index.jsp +154 -0
  45. data/lib/webapp/admin/jquery-1.2.3.min.js +32 -0
  46. data/lib/webapp/admin/logging.jsp +50 -0
  47. data/lib/webapp/admin/logging.xsl +91 -0
  48. data/lib/webapp/admin/meta.xsl +34 -0
  49. data/lib/webapp/admin/ping.jsp +65 -0
  50. data/lib/webapp/admin/ping.xsl +71 -0
  51. data/lib/webapp/admin/raw-schema.jsp +38 -0
  52. data/lib/webapp/admin/registry.jsp +107 -0
  53. data/lib/webapp/admin/registry.xsl +287 -0
  54. data/lib/webapp/admin/schema.jsp +661 -0
  55. data/lib/webapp/admin/solr-admin.css +206 -0
  56. data/lib/webapp/admin/solr-head.gif +0 -0
  57. data/lib/webapp/admin/solr-head.png +0 -0
  58. data/lib/webapp/admin/solr-lowercase.gif +0 -0
  59. data/lib/webapp/admin/solr-lowercase.png +0 -0
  60. data/lib/webapp/admin/stats.jsp +94 -0
  61. data/lib/webapp/admin/stats.xsl +220 -0
  62. data/lib/webapp/admin/tabular.xsl +141 -0
  63. data/lib/webapp/admin/threaddump.jsp +110 -0
  64. data/lib/webapp/admin/threaddump.xsl +103 -0
  65. data/lib/webapp/favicon.ico +0 -0
  66. data/lib/webapp/index.jsp +42 -0
  67. metadata +120 -0
@@ -0,0 +1,34 @@
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
+ <xsl:stylesheet
18
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
19
+ version="1.0">
20
+
21
+ <xsl:output
22
+ method="html"
23
+ encoding="utf-8"
24
+ media-type="text/html; charset=UTF-8"
25
+ indent="yes"
26
+ doctype-public="-//W3C//DTD HTML 4.01//EN"
27
+ doctype-system="http://www.w3.org/TR/html4/strict.dtd" />
28
+
29
+ <xsl:template match="solr/meta">
30
+ <xsl:value-of select="host" />:<xsl:value-of select="port" />
31
+ cwd=<xsl:value-of select="cwd" /> SolrHome=<xsl:value-of select="solrHome" />
32
+ </xsl:template>
33
+
34
+ </xsl:stylesheet>
@@ -0,0 +1,65 @@
1
+ <%@ page contentType="text/xml; charset=utf-8" pageEncoding="UTF-8" language="java" %>
2
+ <%--
3
+ Licensed to the Apache Software Foundation (ASF) under one or more
4
+ contributor license agreements. See the NOTICE file distributed with
5
+ this work for additional information regarding copyright ownership.
6
+ The ASF licenses this file to You under the Apache License, Version 2.0
7
+ (the "License"); you may not use this file except in compliance with
8
+ the License. You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software
13
+ distributed under the License is distributed on an "AS IS" BASIS,
14
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ See the License for the specific language governing permissions and
16
+ limitations under the License.
17
+ --%>
18
+ <%@ page import="org.apache.solr.core.SolrConfig,
19
+ org.apache.solr.core.SolrCore,
20
+ org.apache.solr.common.util.XML,
21
+ org.apache.solr.common.SolrException"%>
22
+ <%@ page import="org.apache.solr.request.LocalSolrQueryRequest"%>
23
+ <%@ page import="org.apache.solr.request.SolrQueryResponse"%>
24
+ <%@ page import="org.apache.solr.request.ServletSolrParams"%>
25
+ <%@ page import="org.apache.solr.request.SolrQueryRequest"%>
26
+
27
+ <%@include file="_info.jsp" %>
28
+ <?xml-stylesheet type="text/xsl" href="ping.xsl"?>
29
+
30
+ <solr>
31
+ <core><%=core.getName()%></core>
32
+ <ping>
33
+ <%
34
+ SolrQueryRequest req = core.getPingQueryRequest();
35
+ SolrQueryResponse resp = new SolrQueryResponse();
36
+ try {
37
+ core.execute(req,resp);
38
+ if (resp.getException() == null) {
39
+ // No need for explicit status in the body, when the standard HTTP
40
+ // response codes already transmit success/failure message
41
+ // out.println("<status>200</status>");
42
+ }
43
+ else if (resp.getException() != null) {
44
+ // No need for explicit status in the body, when the standard HTTP
45
+ // response codes already transmit success/failure message
46
+ // out.println("<status>500</status>");
47
+ out.println("<error>");
48
+ XML.escapeCharData(SolrException.toStr(resp.getException()), out);
49
+ out.println("</error>");
50
+ response.sendError(500);
51
+ }
52
+ } catch (Throwable t) {
53
+ // No need for explicit status in the body, when the standard HTTP
54
+ // response codes already transmit success/failure message
55
+ // out.println("<status>500</status>");
56
+ out.println("<error>");
57
+ XML.escapeCharData(SolrException.toStr(t), out);
58
+ out.println("</error>");
59
+ response.sendError(500);
60
+ } finally {
61
+ req.close();
62
+ }
63
+ %>
64
+ </ping>
65
+ </solr>
@@ -0,0 +1,71 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!--
3
+ Licensed to the Apache Software Foundation (ASF) under one or more
4
+ contributor license agreements. See the NOTICE file distributed with
5
+ this work for additional information regarding copyright ownership.
6
+ The ASF licenses this file to You under the Apache License, Version 2.0
7
+ (the "License"); you may not use this file except in compliance with
8
+ the License. You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software
13
+ distributed under the License is distributed on an "AS IS" BASIS,
14
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ See the License for the specific language governing permissions and
16
+ limitations under the License.
17
+ -->
18
+ <!-- $Id$ -->
19
+ <!-- $URL$ -->
20
+
21
+ <xsl:stylesheet
22
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
23
+ version="1.0">
24
+
25
+ <xsl:output
26
+ method="html"
27
+ indent="yes"
28
+ encoding="utf-8"
29
+ media-type="text/html; charset=UTF-8"
30
+ doctype-public="-//W3C//DTD HTML 4.01//EN"
31
+ doctype-system="http://www.w3.org/TR/html4/strict.dtd" />
32
+
33
+ <xsl:template match="/">
34
+ <html>
35
+ <head>
36
+ <link rel="stylesheet" type="text/css" href="solr-admin.css"></link>
37
+ <link rel="icon" href="favicon.ico" type="image/ico"></link>
38
+ <link rel="shortcut icon" href="favicon.ico" type="image/ico"></link>
39
+ <title>Solr Admin: Ping</title>
40
+ </head>
41
+ <body>
42
+ <a href=".">
43
+ <img border="0" align="right" height="61" width="142" src="solr-head.gif" alt="SOLR">
44
+ </img>
45
+ </a>
46
+ <h1>Solr Admin (<xsl:value-of select="solr/meta/collection" />)</h1>
47
+ <div style="margin-top: 1em;">
48
+ <xsl:apply-templates/>
49
+ <div>
50
+ </div>
51
+ <a href=".">Return to Admin Page</a>
52
+ </div>
53
+ </body>
54
+ </html>
55
+ </xsl:template>
56
+
57
+ <xsl:include href="meta.xsl"/>
58
+
59
+ <xsl:template match="solr/ping">
60
+ <table>
61
+ <tr>
62
+ <td>
63
+ <H3>Ping</H3>
64
+ </td>
65
+ <td>
66
+ <xsl:value-of select="error" />
67
+ </td>
68
+ </tr>
69
+ </table>
70
+ </xsl:template>
71
+ </xsl:stylesheet>
@@ -0,0 +1,38 @@
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
+ <%@ page import="org.apache.solr.core.SolrCore,
18
+ org.apache.solr.schema.IndexSchema"%>
19
+ <%@ page import="java.io.InputStreamReader"%>
20
+ <%@ page import="java.io.Reader"%>
21
+ <%@ page import="java.util.logging.Logger"%>
22
+ <%@ page contentType="text/plain;charset=UTF-8" language="java" %>
23
+ <%@include file="_info.jsp" %>
24
+ <%!
25
+ static Logger log = Logger.getLogger(SolrCore.class.getName());
26
+ %>
27
+ <%
28
+ // NOTE -- this file will be removed in a future release
29
+ log.warning("Using deprecated JSP: " + request.getRequestURL().append("?").append(request.getQueryString()) + " -- check the ShowFileRequestHandler" );
30
+
31
+ Reader input = new InputStreamReader(schema.getInputStream());
32
+ char[] buf = new char[4096];
33
+ while (true) {
34
+ int len = input.read(buf);
35
+ if (len<=0) break;
36
+ out.write(buf,0,len);
37
+ }
38
+ %>
@@ -0,0 +1,107 @@
1
+ <%@ page contentType="text/xml; charset=utf-8" pageEncoding="UTF-8" language="java" %>
2
+ <%--
3
+ Licensed to the Apache Software Foundation (ASF) under one or more
4
+ contributor license agreements. See the NOTICE file distributed with
5
+ this work for additional information regarding copyright ownership.
6
+ The ASF licenses this file to You under the Apache License, Version 2.0
7
+ (the "License"); you may not use this file except in compliance with
8
+ the License. You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software
13
+ distributed under the License is distributed on an "AS IS" BASIS,
14
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ See the License for the specific language governing permissions and
16
+ limitations under the License.
17
+ --%>
18
+ <%@ page import="org.apache.solr.core.SolrInfoMBean,
19
+ org.apache.solr.core.SolrInfoRegistry,
20
+ java.net.URL,
21
+ java.util.Date,
22
+ java.util.Map"%>
23
+ <?xml-stylesheet type="text/xsl" href="registry.xsl"?>
24
+
25
+ <%@include file="_info.jsp" %>
26
+
27
+ <solr>
28
+ <core><%= core.getName()%></core>
29
+ <schema><%= collectionName %></schema>
30
+ <host><%= hostname %></host>
31
+ <now><%= new Date().toString() %></now>
32
+ <start><%= new Date(core.getStartTime()) %></start>
33
+ <solr-spec-version><%= solrSpecVersion %></solr-spec-version>
34
+ <solr-impl-version><%= solrImplVersion %></solr-impl-version>
35
+ <lucene-spec-version><%= luceneSpecVersion %></lucene-spec-version>
36
+ <lucene-impl-version><%= luceneImplVersion %></lucene-impl-version>
37
+ <solr-info>
38
+ <%
39
+ for (SolrInfoMBean.Category cat : SolrInfoMBean.Category.values()) {
40
+ %>
41
+ <<%= cat.toString() %>>
42
+ <%
43
+ Map<String, SolrInfoMBean> reg = SolrInfoRegistry.getRegistry();
44
+ synchronized(reg) {
45
+ for (Map.Entry<String,SolrInfoMBean> entry : reg.entrySet()) {
46
+ String key = entry.getKey();
47
+ SolrInfoMBean m = entry.getValue();
48
+
49
+ if (m.getCategory() != cat) continue;
50
+
51
+ String na = "None Provided";
52
+ String name = (m.getName()!=null ? m.getName() : na);
53
+ String vers = (m.getVersion()!=null ? m.getVersion() : na);
54
+ String desc = (m.getDescription()!=null ? m.getDescription() : na);
55
+ String srcId = (m.getSourceId()!=null ? m.getSourceId() : na);
56
+ String src = (m.getSource()!=null ? m.getSource() : na);
57
+ // print
58
+ %>
59
+ <entry>
60
+ <name>
61
+ <%= key %>
62
+ </name>
63
+ <class>
64
+ <%= name %>
65
+ </class>
66
+ <version>
67
+ <%= vers %>
68
+ </version>
69
+ <description>
70
+ <%= desc %>
71
+ </description>
72
+ <sourceid>
73
+ <%= srcId %>
74
+ </sourceid>
75
+ <source>
76
+ <%= src %>
77
+ </source>
78
+
79
+ <%
80
+ URL[] urls = m.getDocs();
81
+ if ((urls != null) && (urls.length != 0)) {
82
+ %>
83
+ <urls>
84
+ <%
85
+ for (URL u : urls) {
86
+ %>
87
+ <url>
88
+ <%= u.toString() %>
89
+ </url>
90
+ <%
91
+ }
92
+ %>
93
+ </urls>
94
+ <%
95
+ }
96
+ %>
97
+ </entry>
98
+ <%
99
+ }
100
+ }
101
+ %>
102
+ </<%= cat.toString() %>>
103
+ <%
104
+ }
105
+ %>
106
+ </solr-info>
107
+ </solr>
@@ -0,0 +1,287 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!--
3
+ Licensed to the Apache Software Foundation (ASF) under one or more
4
+ contributor license agreements. See the NOTICE file distributed with
5
+ this work for additional information regarding copyright ownership.
6
+ The ASF licenses this file to You under the Apache License, Version 2.0
7
+ (the "License"); you may not use this file except in compliance with
8
+ the License. You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software
13
+ distributed under the License is distributed on an "AS IS" BASIS,
14
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ See the License for the specific language governing permissions and
16
+ limitations under the License.
17
+ -->
18
+ <!-- $Id: registry.xsl 692778 2008-09-07 05:58:25Z shalin $ -->
19
+ <!-- $URL: http://svn.apache.org/repos/asf/lucene/solr/tags/release-1.3.0/src/webapp/web/admin/registry.xsl $ -->
20
+
21
+ <xsl:stylesheet
22
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
23
+ version="1.0">
24
+
25
+
26
+ <xsl:output
27
+ method="html"
28
+ encoding="utf-8"
29
+ media-type="text/html; charset=UTF-8"
30
+ indent="yes"
31
+ doctype-public="-//W3C//DTD HTML 4.01//EN"
32
+ doctype-system="http://www.w3.org/TR/html4/strict.dtd" />
33
+
34
+
35
+ <xsl:template match="/">
36
+ <html>
37
+ <head>
38
+ <link rel="stylesheet" type="text/css" href="solr-admin.css"></link>
39
+ <link rel="icon" href="favicon.ico" type="image/ico"></link>
40
+ <link rel="shortcut icon" href="favicon.ico" type="image/ico"></link>
41
+ <title>SOLR Info</title>
42
+ </head>
43
+ <body>
44
+ <a href=".">
45
+ <img border="0" align="right" height="61" width="142" src="solr-head.gif" alt="SOLR">
46
+ </img>
47
+ </a>
48
+ <h1>SOLR Info (<xsl:value-of select="solr/schema" />)</h1>
49
+ <xsl:value-of select="solr/host" />
50
+ <br clear="all" />
51
+ <xsl:apply-templates/>
52
+ <br /><br />
53
+ <a href="">Return to Admin Page</a>
54
+ </body>
55
+ </html>
56
+ </xsl:template>
57
+
58
+ <xsl:template match="solr">
59
+ <table>
60
+ <tr>
61
+ <td>
62
+ <H3>Category</H3>
63
+ </td>
64
+ <td>
65
+ [<a href="#core">Core</a>]
66
+ [<a href="#cache">Cache</a>]
67
+ [<a href="#query">Query</a>]
68
+ [<a href="#update">Update</a>]
69
+ [<a href="#other">Other</a>]
70
+ </td>
71
+ </tr>
72
+ <tr><td></td>
73
+ <td>Solr Specification Version:
74
+ <xsl:value-of select="solr-spec-version" />
75
+ </td>
76
+ </tr>
77
+ <tr><td></td>
78
+ <td>Solr Implementation Version:
79
+ <xsl:value-of select="solr-impl-version" />
80
+ </td>
81
+ </tr>
82
+ <tr><td></td>
83
+ <td>Lucene Specification Version:
84
+ <xsl:value-of select="lucene-spec-version" />
85
+ </td>
86
+ </tr>
87
+ <tr><td></td>
88
+ <td>Lucene Implementation Version:
89
+ <xsl:value-of select="lucene-impl-version" />
90
+ </td>
91
+ </tr>
92
+ <tr>
93
+ <td>
94
+ </td>
95
+ <td>
96
+ Current Time: <xsl:value-of select="now" />
97
+ </td>
98
+ </tr>
99
+ <tr>
100
+ <td>
101
+ </td>
102
+ <td>
103
+ Server Start Time:<xsl:value-of select="start" />
104
+ </td>
105
+ </tr>
106
+ </table>
107
+ <xsl:apply-templates/>
108
+ </xsl:template>
109
+
110
+ <xsl:template match="solr/*" priority="-1" />
111
+
112
+ <xsl:template match="solr/solr-info">
113
+ <xsl:apply-templates/>
114
+ </xsl:template>
115
+
116
+ <xsl:template match="solr/solr-info/CORE">
117
+ <br />
118
+ <a name="core"><h2>Core</h2></a>
119
+ <table>
120
+ <tr>
121
+ <td align="right">
122
+ &#xa0;
123
+ </td>
124
+ <td>
125
+ </td>
126
+ </tr>
127
+ <xsl:apply-templates/>
128
+ </table>
129
+ </xsl:template>
130
+
131
+ <xsl:template match="solr/solr-info/CORE/entry">
132
+ <xsl:for-each select="*">
133
+ <tr>
134
+ <td align="right">
135
+ <strong><xsl:value-of select="name()"/>:&#xa0;</strong>
136
+ </td>
137
+ <td>
138
+ <tt><xsl:value-of select="."/>&#xa0;</tt>
139
+ </td>
140
+ </tr>
141
+ </xsl:for-each>
142
+ <tr>
143
+ <td align="right">
144
+ </td>
145
+ <td>
146
+ </td>
147
+ </tr>
148
+ </xsl:template>
149
+
150
+ <xsl:template match="solr/solr-info/CACHE">
151
+ <br />
152
+ <a name="cache"><h2>Cache</h2></a>
153
+ <table>
154
+ <tr>
155
+ <td align="right">
156
+ &#xa0;
157
+ </td>
158
+ <td>
159
+ </td>
160
+ </tr>
161
+ <xsl:apply-templates/>
162
+ </table>
163
+ </xsl:template>
164
+
165
+ <xsl:template match="solr/solr-info/CACHE/entry">
166
+ <xsl:for-each select="*">
167
+ <tr>
168
+ <td align="right">
169
+ <strong><xsl:value-of select="name()"/>:&#xa0;</strong>
170
+ </td>
171
+ <td>
172
+ <tt><xsl:value-of select="."/>&#xa0;</tt>
173
+ </td>
174
+ </tr>
175
+ </xsl:for-each>
176
+ <tr>
177
+ <td align="right">
178
+ </td>
179
+ <td>
180
+ </td>
181
+ </tr>
182
+ </xsl:template>
183
+
184
+ <xsl:template match="solr/solr-info/QUERYHANDLER">
185
+ <br />
186
+ <a name="query"><h2>Query Handlers</h2></a>
187
+ <table>
188
+ <tr>
189
+ <td align="right">
190
+ &#xa0;
191
+ </td>
192
+ <td>
193
+ </td>
194
+ </tr>
195
+ <xsl:apply-templates/>
196
+ </table>
197
+ </xsl:template>
198
+
199
+ <xsl:template match="solr/solr-info/QUERYHANDLER/entry">
200
+ <xsl:for-each select="*">
201
+ <tr>
202
+ <td align="right">
203
+ <strong><xsl:value-of select="name()"/>:&#xa0;</strong>
204
+ </td>
205
+ <td>
206
+ <tt><xsl:value-of select="."/>&#xa0;</tt>
207
+ </td>
208
+ </tr>
209
+ </xsl:for-each>
210
+ <tr>
211
+ <td align="right">
212
+ </td>
213
+ <td>
214
+ </td>
215
+ </tr>
216
+ </xsl:template>
217
+
218
+ <xsl:template match="solr/solr-info/UPDATEHANDLER">
219
+ <br />
220
+ <a name="update"><h2>Update Handlers</h2></a>
221
+ <table>
222
+ <tr>
223
+ <td align="right">
224
+ &#xa0;
225
+ </td>
226
+ <td>
227
+ </td>
228
+ </tr>
229
+ <xsl:apply-templates/>
230
+ </table>
231
+ </xsl:template>
232
+
233
+ <xsl:template match="solr/solr-info/UPDATEHANDLER/entry">
234
+ <xsl:for-each select="*">
235
+ <tr>
236
+ <td align="right">
237
+ <strong><xsl:value-of select="name()"/>:&#xa0;</strong>
238
+ </td>
239
+ <td>
240
+ <tt><xsl:value-of select="."/>&#xa0;</tt>
241
+ </td>
242
+ </tr>
243
+ </xsl:for-each>
244
+ <tr>
245
+ <td align="right">
246
+ </td>
247
+ <td>
248
+ </td>
249
+ </tr>
250
+ </xsl:template>
251
+
252
+ <xsl:template match="solr/solr-info/OTHER">
253
+ <br />
254
+ <a name="other"><h2>Other</h2></a>
255
+ <table>
256
+ <tr>
257
+ <td align="right">
258
+ &#xa0;
259
+ </td>
260
+ <td>
261
+ </td>
262
+ </tr>
263
+ <xsl:apply-templates/>
264
+ </table>
265
+ </xsl:template>
266
+
267
+ <xsl:template match="solr/solr-info/OTHER/entry">
268
+ <xsl:for-each select="*">
269
+ <tr>
270
+ <td align="right">
271
+ <strong><xsl:value-of select="name()"/>:&#xa0;</strong>
272
+ </td>
273
+ <td>
274
+ <tt><xsl:value-of select="."/>&#xa0;</tt>
275
+ </td>
276
+ </tr>
277
+ </xsl:for-each>
278
+ <tr>
279
+ <td align="right">
280
+ </td>
281
+ <td>
282
+ </td>
283
+ </tr>
284
+ </xsl:template>
285
+
286
+
287
+ </xsl:stylesheet>