solrium 0.1.0
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/LICENSE.txt +712 -0
- data/README.markdown +51 -0
- data/Rakefile +24 -0
- data/VERSION.yml +4 -0
- data/bin/solr +9 -0
- data/lib/jars/jetty/ant-1.6.5.jar +0 -0
- data/lib/jars/jetty/commons-codec-1.3.jar +0 -0
- data/lib/jars/jetty/commons-fileupload-1.2.jar +0 -0
- data/lib/jars/jetty/jetty-7.0.0.pre5.jar +0 -0
- data/lib/jars/jetty/jetty-util-7.0.0.pre5.jar +0 -0
- data/lib/jars/jetty/jsp-2.1.jar +0 -0
- data/lib/jars/jetty/jsp-api-2.1.jar +0 -0
- data/lib/jars/jetty/servlet-api-3.0.pre4.jar +0 -0
- data/lib/jars/lucene/lucene-analyzers-2.4-dev.jar +0 -0
- data/lib/jars/lucene/lucene-core-2.4-dev.jar +0 -0
- data/lib/jars/lucene/lucene-highlighter-2.4-dev.jar +0 -0
- data/lib/jars/lucene/lucene-memory-2.4-dev.jar +0 -0
- data/lib/jars/lucene/lucene-queries-2.4-dev.jar +0 -0
- data/lib/jars/lucene/lucene-snowball-2.4-dev.jar +0 -0
- data/lib/jars/lucene/lucene-spellchecker-2.4-dev.jar +0 -0
- data/lib/jars/solr/apache-solr-common-1.3.0.jar +0 -0
- data/lib/jars/solr/apache-solr-core-1.3.0.jar +0 -0
- data/lib/jars/solr/commons-io-1.2.jar +0 -0
- data/lib/jars/solr/stax-1.2.0-dev.jar +0 -0
- data/lib/jars/solr/stax-api-1.0.jar +0 -0
- data/lib/jars/solr/stax-utils.jar +0 -0
- data/lib/jars/solr/xpp3-1.1.3.4.O.jar +0 -0
- data/lib/jetty.rb +83 -0
- data/lib/lucene.rb +33 -0
- data/lib/queries.rb +60 -0
- data/lib/remote.rb +22 -0
- data/lib/solr.rb +69 -0
- data/lib/solr_ext.rb +81 -0
- data/lib/webapp/admin/_info.jsp +110 -0
- data/lib/webapp/admin/action.jsp +116 -0
- data/lib/webapp/admin/analysis.jsp +456 -0
- data/lib/webapp/admin/analysis.xsl +179 -0
- data/lib/webapp/admin/distributiondump.jsp +158 -0
- data/lib/webapp/admin/favicon.ico +0 -0
- data/lib/webapp/admin/form.jsp +129 -0
- data/lib/webapp/admin/get-file.jsp +72 -0
- data/lib/webapp/admin/get-properties.jsp +24 -0
- data/lib/webapp/admin/header.jsp +41 -0
- data/lib/webapp/admin/index.jsp +154 -0
- data/lib/webapp/admin/jquery-1.2.3.min.js +32 -0
- data/lib/webapp/admin/logging.jsp +50 -0
- data/lib/webapp/admin/logging.xsl +91 -0
- data/lib/webapp/admin/meta.xsl +34 -0
- data/lib/webapp/admin/ping.jsp +65 -0
- data/lib/webapp/admin/ping.xsl +71 -0
- data/lib/webapp/admin/raw-schema.jsp +38 -0
- data/lib/webapp/admin/registry.jsp +107 -0
- data/lib/webapp/admin/registry.xsl +287 -0
- data/lib/webapp/admin/schema.jsp +661 -0
- data/lib/webapp/admin/solr-admin.css +206 -0
- data/lib/webapp/admin/solr-head.gif +0 -0
- data/lib/webapp/admin/solr-head.png +0 -0
- data/lib/webapp/admin/solr-lowercase.gif +0 -0
- data/lib/webapp/admin/solr-lowercase.png +0 -0
- data/lib/webapp/admin/stats.jsp +94 -0
- data/lib/webapp/admin/stats.xsl +220 -0
- data/lib/webapp/admin/tabular.xsl +141 -0
- data/lib/webapp/admin/threaddump.jsp +110 -0
- data/lib/webapp/admin/threaddump.xsl +103 -0
- data/lib/webapp/favicon.ico +0 -0
- data/lib/webapp/index.jsp +42 -0
- metadata +120 -0
@@ -0,0 +1,141 @@
|
|
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: tabular.xsl 673168 2008-07-01 18:41:41Z hossman $ -->
|
19
|
+
<!-- $URL: http://svn.apache.org/repos/asf/lucene/solr/tags/release-1.3.0/src/webapp/web/admin/tabular.xsl $ -->
|
20
|
+
|
21
|
+
|
22
|
+
<xsl:stylesheet
|
23
|
+
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
24
|
+
version="1.0">
|
25
|
+
|
26
|
+
|
27
|
+
<xsl:output
|
28
|
+
method="html"
|
29
|
+
encoding="utf-8"
|
30
|
+
media-type="text/html; charset=UTF-8"
|
31
|
+
indent="yes"
|
32
|
+
doctype-public="-//W3C//DTD HTML 4.01//EN"
|
33
|
+
doctype-system="http://www.w3.org/TR/html4/strict.dtd" />
|
34
|
+
|
35
|
+
|
36
|
+
<xsl:template match="/">
|
37
|
+
<html>
|
38
|
+
<head>
|
39
|
+
<link rel="stylesheet" type="text/css" href="solr-admin.css"></link>
|
40
|
+
<link rel="icon" href="favicon.ico" type="image/ico"></link>
|
41
|
+
<link rel="shortcut icon" href="favicon.ico" type="image/ico"></link>
|
42
|
+
<title>SOLR Search Results</title>
|
43
|
+
</head>
|
44
|
+
<body>
|
45
|
+
<a href=".">
|
46
|
+
<img border="0" align="right" height="61" width="142" src="solr-head.gif" alt="SOLR">
|
47
|
+
</img>
|
48
|
+
</a>
|
49
|
+
<h1>SOLR Search Results</h1>
|
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
|
+
|
59
|
+
<xsl:template match="responseHeader">
|
60
|
+
<table name="responseHeader">
|
61
|
+
<xsl:apply-templates/>
|
62
|
+
</table>
|
63
|
+
</xsl:template>
|
64
|
+
|
65
|
+
|
66
|
+
<xsl:template match="status">
|
67
|
+
<tr>
|
68
|
+
<td name="responseHeader"><strong>Status: </strong></td>
|
69
|
+
<td><xsl:value-of select="."></xsl:value-of></td>
|
70
|
+
</tr>
|
71
|
+
</xsl:template>
|
72
|
+
|
73
|
+
|
74
|
+
<xsl:template match="numFields">
|
75
|
+
<tr>
|
76
|
+
<td name="responseHeader"><strong>Number of Fields: </strong></td>
|
77
|
+
<td><xsl:value-of select="."></xsl:value-of></td>
|
78
|
+
</tr>
|
79
|
+
</xsl:template>
|
80
|
+
|
81
|
+
|
82
|
+
<xsl:template match="numRecords">
|
83
|
+
<tr>
|
84
|
+
<td name="responseHeader"><strong>Records Returned: </strong></td>
|
85
|
+
<td><xsl:value-of select="."></xsl:value-of></td>
|
86
|
+
</tr>
|
87
|
+
</xsl:template>
|
88
|
+
|
89
|
+
|
90
|
+
<xsl:template match="numFound">
|
91
|
+
<tr>
|
92
|
+
<td name="responseHeader"><strong>Records Found: </strong></td>
|
93
|
+
<td><xsl:value-of select="."></xsl:value-of></td>
|
94
|
+
</tr>
|
95
|
+
</xsl:template>
|
96
|
+
|
97
|
+
|
98
|
+
<xsl:template match="QTime">
|
99
|
+
<tr>
|
100
|
+
<td name="responseHeader"><strong>Query time: </strong></td>
|
101
|
+
<td><xsl:value-of select="."></xsl:value-of>(ms)</td>
|
102
|
+
</tr>
|
103
|
+
</xsl:template>
|
104
|
+
|
105
|
+
<!-- YCS.. match everything. How to match only what is not
|
106
|
+
matched above???
|
107
|
+
-->
|
108
|
+
<xsl:template match="responseHeader/*">
|
109
|
+
<tr>
|
110
|
+
<td name="responseHeader"><strong><xsl:value-of select="name(.)"></xsl:value-of>: </strong></td>
|
111
|
+
<td><xsl:value-of select="."></xsl:value-of></td>
|
112
|
+
</tr>
|
113
|
+
</xsl:template>
|
114
|
+
|
115
|
+
<xsl:template match="responseBody">
|
116
|
+
<br></br><br></br>
|
117
|
+
<table border="2">
|
118
|
+
|
119
|
+
<!-- table headers -->
|
120
|
+
<tr>
|
121
|
+
<xsl:for-each select="record[1]/field">
|
122
|
+
<th><xsl:value-of select="name"></xsl:value-of></th>
|
123
|
+
</xsl:for-each>
|
124
|
+
</tr>
|
125
|
+
|
126
|
+
<!-- table rows -->
|
127
|
+
<xsl:for-each select="record">
|
128
|
+
<tr>
|
129
|
+
<xsl:for-each select="field">
|
130
|
+
<td><xsl:value-of select="value"></xsl:value-of> </td>
|
131
|
+
</xsl:for-each>
|
132
|
+
</tr>
|
133
|
+
</xsl:for-each>
|
134
|
+
|
135
|
+
</table>
|
136
|
+
|
137
|
+
|
138
|
+
</xsl:template>
|
139
|
+
|
140
|
+
|
141
|
+
</xsl:stylesheet>
|
@@ -0,0 +1,110 @@
|
|
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.SolrCore,
|
19
|
+
java.lang.management.ManagementFactory,
|
20
|
+
java.lang.management.ThreadMXBean,
|
21
|
+
java.lang.management.ThreadInfo,
|
22
|
+
java.io.IOException,
|
23
|
+
org.apache.solr.common.util.XML"%>
|
24
|
+
<%@include file="_info.jsp" %>
|
25
|
+
|
26
|
+
|
27
|
+
<?xml-stylesheet type="text/xsl" href="threaddump.xsl"?>
|
28
|
+
<%!
|
29
|
+
static ThreadMXBean tmbean = ManagementFactory.getThreadMXBean();
|
30
|
+
%>
|
31
|
+
<solr>
|
32
|
+
<core><%= collectionName %></core>
|
33
|
+
<system>
|
34
|
+
<jvm>
|
35
|
+
<version><%=System.getProperty("java.vm.version")%></version>
|
36
|
+
<name><%=System.getProperty("java.vm.name")%></name>
|
37
|
+
</jvm>
|
38
|
+
<threadCount>
|
39
|
+
<current><%=tmbean.getThreadCount()%></current>
|
40
|
+
<peak><%=tmbean.getPeakThreadCount()%></peak>
|
41
|
+
<daemon><%=tmbean.getDaemonThreadCount()%></daemon>
|
42
|
+
</threadCount>
|
43
|
+
<%
|
44
|
+
long[] tids;
|
45
|
+
ThreadInfo[] tinfos;
|
46
|
+
tids = tmbean.findMonitorDeadlockedThreads();
|
47
|
+
if (tids != null) {
|
48
|
+
out.println(" <deadlocks>");
|
49
|
+
tinfos = tmbean.getThreadInfo(tids, Integer.MAX_VALUE);
|
50
|
+
for (ThreadInfo ti : tinfos) {
|
51
|
+
printThreadInfo(ti, out);
|
52
|
+
}
|
53
|
+
out.println(" </deadlocks>");
|
54
|
+
}
|
55
|
+
%>
|
56
|
+
<%
|
57
|
+
tids = tmbean.getAllThreadIds();
|
58
|
+
tinfos = tmbean.getThreadInfo(tids, Integer.MAX_VALUE);
|
59
|
+
out.println(" <threadDump>");
|
60
|
+
for (ThreadInfo ti : tinfos) {
|
61
|
+
printThreadInfo(ti, out);
|
62
|
+
}
|
63
|
+
out.println(" </threadDump>");
|
64
|
+
%>
|
65
|
+
</system>
|
66
|
+
</solr>
|
67
|
+
|
68
|
+
<%!
|
69
|
+
static void printThreadInfo(ThreadInfo ti, JspWriter out) throws IOException {
|
70
|
+
long tid = ti.getThreadId();
|
71
|
+
out.println(" <thread>");
|
72
|
+
out.println(" <id>" + tid + "</id>");
|
73
|
+
out.print(" <name>");
|
74
|
+
XML.escapeCharData(ti.getThreadName(), out);
|
75
|
+
out.println("</name>");
|
76
|
+
out.println(" <state>" + ti.getThreadState() + "</state>");
|
77
|
+
if (ti.getLockName() != null) {
|
78
|
+
out.println(" <lock>" + ti.getLockName() + "</lock>");
|
79
|
+
}
|
80
|
+
if (ti.isSuspended()) {
|
81
|
+
out.println(" <suspended/>");
|
82
|
+
}
|
83
|
+
if (ti.isInNative()) {
|
84
|
+
out.println(" <inNative/>");
|
85
|
+
}
|
86
|
+
if (tmbean.isThreadCpuTimeSupported()) {
|
87
|
+
out.println(" <cpuTime>" + formatNanos(tmbean.getThreadCpuTime(tid)) + "</cpuTime>");
|
88
|
+
out.println(" <userTime>" + formatNanos(tmbean.getThreadUserTime(tid)) + "</userTime>");
|
89
|
+
}
|
90
|
+
|
91
|
+
if (ti.getLockOwnerName() != null) {
|
92
|
+
out.println(" <owner>");
|
93
|
+
out.println(" <name>" + ti.getLockOwnerName() + "</name>");
|
94
|
+
out.println(" <id>" + ti.getLockOwnerId() + "</id>");
|
95
|
+
out.println(" </owner>");
|
96
|
+
}
|
97
|
+
out.println(" <stackTrace>");
|
98
|
+
for (StackTraceElement ste : ti.getStackTrace()) {
|
99
|
+
out.print(" <line>");
|
100
|
+
XML.escapeCharData("at " + ste.toString(), out);
|
101
|
+
out.println(" </line>");
|
102
|
+
}
|
103
|
+
out.println(" </stackTrace>");
|
104
|
+
out.println(" </thread>");
|
105
|
+
}
|
106
|
+
|
107
|
+
static String formatNanos(long ns) {
|
108
|
+
return String.format("%.4fms", ns / (double) 1000000);
|
109
|
+
}
|
110
|
+
%>
|
@@ -0,0 +1,103 @@
|
|
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 Info</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
|
+
</a>
|
45
|
+
<h1>Solr Admin (<xsl:value-of select="solr/meta/collection" />)</h1>
|
46
|
+
<h2>Thread Dump</h2>
|
47
|
+
<div style="margin-top: 1em;">
|
48
|
+
<table>
|
49
|
+
<xsl:apply-templates/>
|
50
|
+
</table>
|
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/system/jvm">
|
60
|
+
<tr>
|
61
|
+
<td><xsl:value-of select="name"/> <xsl:value-of select="version"/></td>
|
62
|
+
</tr>
|
63
|
+
</xsl:template>
|
64
|
+
|
65
|
+
<xsl:template match="solr/system/threadCount">
|
66
|
+
<tr>
|
67
|
+
<td>
|
68
|
+
Thread Count:
|
69
|
+
current=<xsl:value-of select="current"/>,
|
70
|
+
peak=<xsl:value-of select="peak"/>,
|
71
|
+
daemon=<xsl:value-of select="daemon"/></td>
|
72
|
+
</tr>
|
73
|
+
</xsl:template>
|
74
|
+
|
75
|
+
<xsl:template match="solr/system/threadDump">
|
76
|
+
<div>Full Thread Dump:</div>
|
77
|
+
<xsl:for-each select="thread">
|
78
|
+
<!-- OG: TODO: add suspended/native conditionals -->
|
79
|
+
<tr>
|
80
|
+
<td style="margin-left: 1em; font-weight: bold;">
|
81
|
+
'<xsl:value-of select="name"/>'
|
82
|
+
Id=<xsl:value-of select="id"/>,
|
83
|
+
<xsl:value-of select="state"/>
|
84
|
+
on lock=<xsl:value-of select="lock"/>,
|
85
|
+
total cpu time=<xsl:value-of select="cpuTime"/>
|
86
|
+
user time=<xsl:value-of select="userTime"/>
|
87
|
+
</td>
|
88
|
+
</tr>
|
89
|
+
<xsl:apply-templates select="stackTrace"/>
|
90
|
+
</xsl:for-each>
|
91
|
+
</xsl:template>
|
92
|
+
|
93
|
+
<xsl:template match="stackTrace">
|
94
|
+
<tr>
|
95
|
+
<td style="margin-left: 1em;">
|
96
|
+
<xsl:for-each select="line">
|
97
|
+
<xsl:value-of select="."/><br/>
|
98
|
+
</xsl:for-each>
|
99
|
+
</td>
|
100
|
+
</tr>
|
101
|
+
</xsl:template>
|
102
|
+
|
103
|
+
</xsl:stylesheet>
|
Binary file
|
@@ -0,0 +1,42 @@
|
|
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
|
+
<html>
|
19
|
+
<head>
|
20
|
+
<link rel="stylesheet" type="text/css" href="solr-admin.css">
|
21
|
+
<link rel="icon" href="favicon.ico" type="image/ico"></link>
|
22
|
+
<link rel="shortcut icon" href="favicon.ico" type="image/ico"></link>
|
23
|
+
<title>Welcome to Solr</title>
|
24
|
+
</head>
|
25
|
+
|
26
|
+
<body>
|
27
|
+
<h1>Welcome to Solr!</h1>
|
28
|
+
<a href="."><img border="0" align="right" height="61" width="142" src="admin/solr-head.gif" alt="Solr"/></a>
|
29
|
+
|
30
|
+
<%
|
31
|
+
org.apache.solr.core.CoreContainer cores = (org.apache.solr.core.CoreContainer)request.getAttribute("org.apache.solr.CoreContainer");
|
32
|
+
if( cores != null
|
33
|
+
&& cores.getCores().size() > 0 // HACK! check that we have valid names...
|
34
|
+
&& cores.getCores().iterator().next().getName().length() != 0 ) {
|
35
|
+
for( org.apache.solr.core.SolrCore core : cores.getCores() ) {%>
|
36
|
+
<a href="<%= core.getName() %>/admin/">Admin <%= core.getName() %></a><br/>
|
37
|
+
<% }} else { %>
|
38
|
+
<a href="admin/">Solr Admin</a>
|
39
|
+
<% } %>
|
40
|
+
|
41
|
+
</body>
|
42
|
+
</html>
|
metadata
ADDED
@@ -0,0 +1,120 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
extensions: []
|
3
|
+
|
4
|
+
homepage: http://github.com/jberkel/solrium
|
5
|
+
executables:
|
6
|
+
- solr
|
7
|
+
version: !ruby/object:Gem::Version
|
8
|
+
version: 0.1.0
|
9
|
+
post_install_message:
|
10
|
+
date: 2009-05-16 23:00:00 +00:00
|
11
|
+
files:
|
12
|
+
- LICENSE.txt
|
13
|
+
- README.markdown
|
14
|
+
- Rakefile
|
15
|
+
- VERSION.yml
|
16
|
+
- bin/solr
|
17
|
+
- lib/jars/jetty/ant-1.6.5.jar
|
18
|
+
- lib/jars/jetty/commons-codec-1.3.jar
|
19
|
+
- lib/jars/jetty/commons-fileupload-1.2.jar
|
20
|
+
- lib/jars/jetty/jetty-7.0.0.pre5.jar
|
21
|
+
- lib/jars/jetty/jetty-util-7.0.0.pre5.jar
|
22
|
+
- lib/jars/jetty/jsp-2.1.jar
|
23
|
+
- lib/jars/jetty/jsp-api-2.1.jar
|
24
|
+
- lib/jars/jetty/servlet-api-3.0.pre4.jar
|
25
|
+
- lib/jars/lucene/lucene-analyzers-2.4-dev.jar
|
26
|
+
- lib/jars/lucene/lucene-core-2.4-dev.jar
|
27
|
+
- lib/jars/lucene/lucene-highlighter-2.4-dev.jar
|
28
|
+
- lib/jars/lucene/lucene-memory-2.4-dev.jar
|
29
|
+
- lib/jars/lucene/lucene-queries-2.4-dev.jar
|
30
|
+
- lib/jars/lucene/lucene-snowball-2.4-dev.jar
|
31
|
+
- lib/jars/lucene/lucene-spellchecker-2.4-dev.jar
|
32
|
+
- lib/jars/solr/apache-solr-common-1.3.0.jar
|
33
|
+
- lib/jars/solr/apache-solr-core-1.3.0.jar
|
34
|
+
- lib/jars/solr/commons-io-1.2.jar
|
35
|
+
- lib/jars/solr/stax-1.2.0-dev.jar
|
36
|
+
- lib/jars/solr/stax-api-1.0.jar
|
37
|
+
- lib/jars/solr/stax-utils.jar
|
38
|
+
- lib/jars/solr/xpp3-1.1.3.4.O.jar
|
39
|
+
- lib/jetty.rb
|
40
|
+
- lib/lucene.rb
|
41
|
+
- lib/queries.rb
|
42
|
+
- lib/remote.rb
|
43
|
+
- lib/solr.rb
|
44
|
+
- lib/solr_ext.rb
|
45
|
+
- lib/webapp/admin/_info.jsp
|
46
|
+
- lib/webapp/admin/action.jsp
|
47
|
+
- lib/webapp/admin/analysis.jsp
|
48
|
+
- lib/webapp/admin/analysis.xsl
|
49
|
+
- lib/webapp/admin/distributiondump.jsp
|
50
|
+
- lib/webapp/admin/favicon.ico
|
51
|
+
- lib/webapp/admin/form.jsp
|
52
|
+
- lib/webapp/admin/get-file.jsp
|
53
|
+
- lib/webapp/admin/get-properties.jsp
|
54
|
+
- lib/webapp/admin/header.jsp
|
55
|
+
- lib/webapp/admin/index.jsp
|
56
|
+
- lib/webapp/admin/jquery-1.2.3.min.js
|
57
|
+
- lib/webapp/admin/logging.jsp
|
58
|
+
- lib/webapp/admin/logging.xsl
|
59
|
+
- lib/webapp/admin/meta.xsl
|
60
|
+
- lib/webapp/admin/ping.jsp
|
61
|
+
- lib/webapp/admin/ping.xsl
|
62
|
+
- lib/webapp/admin/raw-schema.jsp
|
63
|
+
- lib/webapp/admin/registry.jsp
|
64
|
+
- lib/webapp/admin/registry.xsl
|
65
|
+
- lib/webapp/admin/schema.jsp
|
66
|
+
- lib/webapp/admin/solr-admin.css
|
67
|
+
- lib/webapp/admin/solr-head.gif
|
68
|
+
- lib/webapp/admin/solr-head.png
|
69
|
+
- lib/webapp/admin/solr-lowercase.gif
|
70
|
+
- lib/webapp/admin/solr-lowercase.png
|
71
|
+
- lib/webapp/admin/stats.jsp
|
72
|
+
- lib/webapp/admin/stats.xsl
|
73
|
+
- lib/webapp/admin/tabular.xsl
|
74
|
+
- lib/webapp/admin/threaddump.jsp
|
75
|
+
- lib/webapp/admin/threaddump.xsl
|
76
|
+
- lib/webapp/favicon.ico
|
77
|
+
- lib/webapp/index.jsp
|
78
|
+
rubygems_version: 1.3.1
|
79
|
+
rdoc_options:
|
80
|
+
- --charset=UTF-8
|
81
|
+
signing_key:
|
82
|
+
cert_chain: []
|
83
|
+
|
84
|
+
name: solrium
|
85
|
+
has_rdoc: true
|
86
|
+
platform: ruby
|
87
|
+
summary: TODO
|
88
|
+
default_executable: solr
|
89
|
+
bindir: bin
|
90
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
91
|
+
version:
|
92
|
+
requirements:
|
93
|
+
- - '>='
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: "0"
|
96
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
97
|
+
version:
|
98
|
+
requirements:
|
99
|
+
- - '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: "0"
|
102
|
+
require_paths:
|
103
|
+
- lib
|
104
|
+
specification_version: 2
|
105
|
+
test_files: []
|
106
|
+
|
107
|
+
dependencies: []
|
108
|
+
|
109
|
+
description: A JRuby integration layer for Apache Solr/Lucene with a focus on irb
|
110
|
+
integration.
|
111
|
+
email: jan.berkel@gmail.com
|
112
|
+
authors:
|
113
|
+
- Jan Berkel
|
114
|
+
extra_rdoc_files:
|
115
|
+
- LICENSE.txt
|
116
|
+
- README.markdown
|
117
|
+
requirements: []
|
118
|
+
|
119
|
+
rubyforge_project:
|
120
|
+
autorequire:
|