rjack-solr 4.0.0.0-java → 4.1.0.0-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. data/History.rdoc +5 -0
  2. data/Manifest.txt +5 -4
  3. data/README.rdoc +1 -1
  4. data/init/rjack-solr +1 -1
  5. data/lib/rjack-solr/base.rb +1 -1
  6. data/lib/rjack-solr/solr-core-4.1.0.jar +0 -0
  7. data/lib/rjack-solr/solr-solrj-4.1.0.jar +0 -0
  8. data/pom.xml +2 -2
  9. data/webapp/META-INF/MANIFEST.MF +3 -3
  10. data/webapp/META-INF/NOTICE.txt +2 -2
  11. data/webapp/admin.html +1 -0
  12. data/webapp/css/styles/cloud.css +8 -1
  13. data/webapp/css/styles/common.css +21 -0
  14. data/webapp/css/styles/dashboard.css +2 -2
  15. data/webapp/css/styles/dataimport.css +183 -21
  16. data/webapp/css/styles/menu.css +2 -0
  17. data/webapp/css/styles/query.css +9 -3
  18. data/webapp/css/styles/schema-browser.css +12 -0
  19. data/webapp/img/ico/cross-button.png +0 -0
  20. data/webapp/img/ico/hammer.png +0 -0
  21. data/webapp/js/lib/console.js +11 -9
  22. data/webapp/js/lib/highlight.js +1 -1
  23. data/webapp/js/lib/jquery.autogrow.js +132 -0
  24. data/webapp/js/main.js +1 -0
  25. data/webapp/js/require.js +3 -1
  26. data/webapp/js/scripts/analysis.js +2 -2
  27. data/webapp/js/scripts/app.js +183 -78
  28. data/webapp/js/scripts/cloud.js +41 -20
  29. data/webapp/js/scripts/cores.js +5 -2
  30. data/webapp/js/scripts/dashboard.js +2 -1
  31. data/webapp/js/scripts/dataimport.js +415 -162
  32. data/webapp/js/scripts/file.js +1 -1
  33. data/webapp/js/scripts/index.js +3 -5
  34. data/webapp/js/scripts/logging.js +8 -0
  35. data/webapp/js/scripts/plugins.js +47 -7
  36. data/webapp/js/scripts/query.js +75 -49
  37. data/webapp/js/scripts/replication.js +4 -47
  38. data/webapp/js/scripts/schema-browser.js +46 -23
  39. data/webapp/tpl/cores.html +5 -0
  40. data/webapp/tpl/dashboard.html +4 -1
  41. data/webapp/tpl/dataimport.html +72 -12
  42. data/webapp/tpl/query.html +38 -3
  43. data/webapp/tpl/schema-browser.html +6 -0
  44. metadata +15 -12
  45. data/lib/rjack-solr/solr-core-4.0.0.jar +0 -0
  46. data/lib/rjack-solr/solr-solrj-4.0.0.jar +0 -0
@@ -1,3 +1,8 @@
1
+ === 4.1.0.0 (2013-2-6)
2
+ * Upgrade to Solr 4.1.0
3
+ * Upgrades httpclient-4 ~> 4.2.3, zookeeper ~> 3.4.5,
4
+ commons-codec ~> 1.7.0
5
+
1
6
  === 4.0.0.0 (2013-1-3)
2
7
  * Upgrade to Solr 4.0.0
3
8
  * Introduces new dependencies on lucene ~> 4.0.0,
@@ -21,9 +21,7 @@ webapp/WEB-INF
21
21
  webapp/WEB-INF/lib
22
22
  webapp/WEB-INF/web.xml
23
23
  webapp/WEB-INF/weblogic.xml
24
- webapp/admin
25
24
  webapp/admin.html
26
- webapp/admin/replication
27
25
  webapp/css
28
26
  webapp/css/chosen.css
29
27
  webapp/css/styles
@@ -158,6 +156,7 @@ webapp/img/ico/clock-select.png
158
156
  webapp/img/ico/construction.png
159
157
  webapp/img/ico/cross-0.png
160
158
  webapp/img/ico/cross-1.png
159
+ webapp/img/ico/cross-button.png
161
160
  webapp/img/ico/cross.png
162
161
  webapp/img/ico/dashboard.png
163
162
  webapp/img/ico/database.png
@@ -179,6 +178,7 @@ webapp/img/ico/gear.png
179
178
  webapp/img/ico/globe-network.png
180
179
  webapp/img/ico/globe.png
181
180
  webapp/img/ico/hammer-screwdriver.png
181
+ webapp/img/ico/hammer.png
182
182
  webapp/img/ico/hand.png
183
183
  webapp/img/ico/highlighter-text.png
184
184
  webapp/img/ico/hourglass--exclamation.png
@@ -257,6 +257,7 @@ webapp/js/lib/console.js
257
257
  webapp/js/lib/d3.js
258
258
  webapp/js/lib/highlight.js
259
259
  webapp/js/lib/jquery-1.7.2.min.js
260
+ webapp/js/lib/jquery.autogrow.js
260
261
  webapp/js/lib/jquery.blockUI.js
261
262
  webapp/js/lib/jquery.cookie.js
262
263
  webapp/js/lib/jquery.form.js
@@ -302,5 +303,5 @@ lib/rjack-solr/commons-cli-1.2.jar
302
303
  lib/rjack-solr/commons-fileupload-1.2.1.jar
303
304
  lib/rjack-solr/commons-io-2.1.jar
304
305
  lib/rjack-solr/commons-lang-2.6.jar
305
- lib/rjack-solr/solr-core-4.0.0.jar
306
- lib/rjack-solr/solr-solrj-4.0.0.jar
306
+ lib/rjack-solr/solr-core-4.1.0.jar
307
+ lib/rjack-solr/solr-solrj-4.1.0.jar
@@ -16,7 +16,7 @@ release's sample config:
16
16
 
17
17
  % mkdir -p /var/local/rjack-solr
18
18
  % cd /var/local/rjack-solr
19
- % svn checkout http://svn.apache.org/repos/asf/lucene/dev/tags/lucene_solr_4_0_0/solr/example/solr/collection1
19
+ % svn checkout http://svn.apache.org/repos/asf/lucene/dev/tags/lucene_solr_4_1_0/solr/example/solr/collection1
20
20
 
21
21
  # Edit collection1/conf/schema.xml and remove/comment out the text_ja fieldType
22
22
  # The Kuromoji Japanese Morphological is not included in
@@ -23,7 +23,7 @@
23
23
  #++
24
24
 
25
25
  require 'rubygems'
26
- gem( "rjack-solr", "= 4.0.0.0" )
26
+ gem( "rjack-solr", "= 4.1.0.0" )
27
27
 
28
28
  module BinScript
29
29
 
@@ -18,7 +18,7 @@ module RJack
18
18
  module Solr
19
19
 
20
20
  # SOLR (java) version
21
- CORE_VERSION = '4.0.0'
21
+ CORE_VERSION = '4.1.0'
22
22
 
23
23
  # rjack gem version
24
24
  VERSION = CORE_VERSION + '.0'
data/pom.xml CHANGED
@@ -15,7 +15,7 @@
15
15
  <dependency>
16
16
  <groupId>org.apache.solr</groupId>
17
17
  <artifactId>solr-core</artifactId>
18
- <version>4.0.0</version>
18
+ <version>4.1.0</version>
19
19
  <exclusions>
20
20
  <!-- <exclusion>
21
21
  <groupId>com.google.guava</groupId>
@@ -51,7 +51,7 @@
51
51
  <dependency>
52
52
  <groupId>org.apache.solr</groupId>
53
53
  <artifactId>solr</artifactId>
54
- <version>4.0.0</version>
54
+ <version>4.1.0</version>
55
55
  <type>war</type>
56
56
  </dependency>
57
57
  </dependencies>
@@ -1,12 +1,12 @@
1
1
  Manifest-Version: 1.0
2
2
  Ant-Version: Apache Ant 1.8.2
3
- Created-By: 1.6.0_27-b07 (Sun Microsystems Inc.)
3
+ Created-By: 1.6.0_37-b06-434-11M3909 (Apple Inc.)
4
4
  Extension-Name: org.apache.solr
5
5
  Specification-Title: Apache Solr Search Server
6
- Specification-Version: 4.0.0.2012.10.06.03.05.54
6
+ Specification-Version: 4.1.0.2013.01.16.17.23.22
7
7
  Specification-Vendor: The Apache Software Foundation
8
8
  Implementation-Title: org.apache.solr
9
- Implementation-Version: 4.0.0 1394950 - rmuir - 2012-10-06 03:05:54
9
+ Implementation-Version: 4.1.0 1434440 - sarowe - 2013-01-16 17:23:22
10
10
  Implementation-Vendor: The Apache Software Foundation
11
11
  X-Compile-Source-JDK: 1.6
12
12
  X-Compile-Target-JDK: 1.6
@@ -1,6 +1,6 @@
1
1
  ==============================================================
2
2
  Apache Solr
3
- Copyright 2006-2012 The Apache Software Foundation
3
+ Copyright 2006-2013 The Apache Software Foundation
4
4
  ==============================================================
5
5
 
6
6
  This product includes software developed by
@@ -41,7 +41,7 @@ License: http://hsqldb.org/web/hsqlLicense.html
41
41
  =========================================================================
42
42
 
43
43
  Apache Lucene
44
- Copyright 2012 The Apache Software Foundation
44
+ Copyright 2013 The Apache Software Foundation
45
45
 
46
46
  This product includes software developed by
47
47
  The Apache Software Foundation (http://www.apache.org/).
@@ -1,3 +1,4 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
1
2
  <html>
2
3
 
3
4
  <!--
@@ -18,7 +18,7 @@
18
18
  {
19
19
  background-color: #f00;
20
20
  background-image: url( ../../img/ico/construction.png );
21
- background-position: 10px 50%;
21
+ background-position: 10px 12px;
22
22
  color: #fff;
23
23
  font-weight: bold;
24
24
  margin-bottom: 20px;
@@ -26,6 +26,13 @@
26
26
  padding-left: 35px;
27
27
  }
28
28
 
29
+ #content #cloud #error .msg
30
+ {
31
+ font-style: italic;
32
+ font-weight: normal;
33
+ margin-top: 10px;
34
+ }
35
+
29
36
  #content #cloud #debug
30
37
  {
31
38
  background-color: #fff;
@@ -417,6 +417,16 @@ pre.syntax .hexcolor
417
417
  color: #40a070;
418
418
  }
419
419
 
420
+ pre.syntax.language-json .number
421
+ {
422
+ color: blue;
423
+ }
424
+
425
+ pre.syntax.language-json .literal
426
+ {
427
+ color: firebrick;
428
+ }
429
+
420
430
  pre.syntax .string,
421
431
  pre.syntax .tag .value,
422
432
  pre.syntax .phpdoc,
@@ -425,6 +435,11 @@ pre.syntax .tex .formula
425
435
  color: #d14;
426
436
  }
427
437
 
438
+ pre.syntax.language-json .string
439
+ {
440
+ color: green;
441
+ }
442
+
428
443
  pre.syntax .title,
429
444
  pre.syntax .id
430
445
  {
@@ -464,6 +479,12 @@ pre.syntax .lisp .body
464
479
  color: #008080;
465
480
  }
466
481
 
482
+ pre.syntax.language-json .attribute
483
+ {
484
+ color: black;
485
+ font-weight: bold;
486
+ }
487
+
467
488
  pre.syntax .regexp
468
489
  {
469
490
  color: #009926;
@@ -108,8 +108,8 @@
108
108
  #content #dashboard #system h2 { background-image: url( ../../img/ico/server.png ); }
109
109
  #content #dashboard #statistics h2 { background-image: url( ../../img/ico/chart.png ); }
110
110
  #content #dashboard #replication h2 { background-image: url( ../../img/ico/node.png ); }
111
- #content #dashboard #replication.is-master h2 { background-image: url( ../../img/ico/node-master.png ); }
112
- #content #dashboard #replication.is-slave h2 { background-image: url( ../../img/ico/node-slave.png ); }
111
+ #content #dashboard #replication.master h2 { background-image: url( ../../img/ico/node-master.png ); }
112
+ #content #dashboard #replication.slave h2 { background-image: url( ../../img/ico/node-slave.png ); }
113
113
  #content #dashboard #dataimport h2 { background-image: url( ../../img/ico/document-import.png ); }
114
114
  #content #dashboard #admin-extra h2 { background-image: url( ../../img/ico/plus-button.png ); }
115
115
 
@@ -29,7 +29,7 @@
29
29
 
30
30
  #content #dataimport #form #navigation .current a
31
31
  {
32
- background-image: url( ../../img/ico/document-import.png );
32
+ background-image: url( ../../img/ico/status.png );
33
33
  }
34
34
 
35
35
  #content #dataimport #form form
@@ -60,27 +60,41 @@
60
60
  width: 100%;
61
61
  }
62
62
 
63
+ #content #dataimport #form input
64
+ {
65
+ width: 98%;
66
+ }
67
+
63
68
  #content #dataimport #form button
64
69
  {
65
70
  margin-top: 10px;
66
71
  }
67
72
 
68
- #content #dataimport #form button.loader
73
+ #content #dataimport #form .execute span
69
74
  {
70
- background-position: 2px 50%;
71
- padding-left: 23px;
75
+ background-image: url( ../../img/ico/document-import.png );
76
+ }
77
+
78
+ #content #dataimport #form .refresh-status span
79
+ {
80
+ background-image: url( ../../img/ico/arrow-circle.png );
81
+ }
82
+
83
+ #content #dataimport #form .refresh-status span.success
84
+ {
85
+ background-image: url( ../../img/ico/tick.png );
72
86
  }
73
87
 
74
88
  #content #dataimport #form #start
75
89
  {
76
90
  float: left;
77
- margin-right: 2%;
78
- width: 49%;
91
+ width: 47%;
79
92
  }
80
93
 
81
94
  #content #dataimport #form #rows
82
95
  {
83
- width: 49%;
96
+ float: right;
97
+ width: 47%;
84
98
  }
85
99
 
86
100
  #content #dataimport #form .checkbox input
@@ -89,9 +103,33 @@
89
103
  width: auto;
90
104
  }
91
105
 
106
+ #content #dataimport #form #auto-refresh-status
107
+ {
108
+ margin-top: 20px;
109
+ }
110
+
111
+ #content #dataimport #form #auto-refresh-status a
112
+ {
113
+ background-image: url( ../../img/ico/ui-check-box-uncheck.png );
114
+ background-position: 0 50%;
115
+ color: #c0c0c0;
116
+ display: block;
117
+ padding-left: 21px;
118
+ }
119
+
120
+ #content #dataimport #form #auto-refresh-status a.on,
121
+ #content #dataimport #form #auto-refresh-status a:hover
122
+ {
123
+ color: #333;
124
+ }
125
+
126
+ #content #dataimport #form #auto-refresh-status a.on
127
+ {
128
+ background-image: url( ../../img/ico/ui-check-box.png );
129
+ }
130
+
92
131
  #content #dataimport #current_state
93
132
  {
94
- display: none;
95
133
  padding: 10px;
96
134
  margin-bottom: 20px;
97
135
  }
@@ -101,14 +139,14 @@
101
139
  display: none !important;
102
140
  }
103
141
 
104
- #content #dataimport #current_state .time,
142
+ #content #dataimport #current_state .last_update,
105
143
  #content #dataimport #current_state .info
106
144
  {
107
145
  display: block;
108
146
  padding-left: 21px;
109
147
  }
110
148
 
111
- #content #dataimport #current_state .time
149
+ #content #dataimport #current_state .last_update
112
150
  {
113
151
  color: #c0c0c0;
114
152
  font-size: 11px;
@@ -117,6 +155,30 @@
117
155
  #content #dataimport #current_state .info
118
156
  {
119
157
  background-position: 0 1px;
158
+ position: relative;
159
+ }
160
+
161
+ #content #dataimport #current_state .info .details span
162
+ {
163
+ color: #c0c0c0;
164
+ }
165
+
166
+ #content #dataimport #current_state .info .abort-import
167
+ {
168
+ display: none;
169
+ position: absolute;
170
+ right: 0px;
171
+ top: 0px;
172
+ }
173
+
174
+ #content #dataimport #current_state .info .abort-import span
175
+ {
176
+ background-image: url( ../../img/ico/cross.png );
177
+ }
178
+
179
+ #content #dataimport #current_state .info .abort-import.success span
180
+ {
181
+ background-image: url( ../../img/ico/tick.png );
120
182
  }
121
183
 
122
184
  #content #dataimport #current_state.indexing
@@ -124,6 +186,16 @@
124
186
  background-color: #f9f9f9;
125
187
  }
126
188
 
189
+ #content #dataimport #current_state.indexing .info
190
+ {
191
+ background-image: url( ../../img/ico/hourglass.png );
192
+ }
193
+
194
+ #content #dataimport #current_state.indexing .info .abort-import
195
+ {
196
+ display: block;
197
+ }
198
+
127
199
  #content #dataimport #current_state.success
128
200
  {
129
201
  background-color: #e6f3e6;
@@ -139,6 +211,21 @@
139
211
  color: #080;
140
212
  }
141
213
 
214
+ #content #dataimport #current_state.aborted
215
+ {
216
+ background-color: #f3e6e6;
217
+ }
218
+
219
+ #content #dataimport #current_state.aborted .info
220
+ {
221
+ background-image: url( ../../img/ico/slash.png );
222
+ }
223
+
224
+ #content #dataimport #current_state.aborted .info strong
225
+ {
226
+ color: #800;
227
+ }
228
+
142
229
  #content #dataimport #current_state.failure
143
230
  {
144
231
  background-color: #f3e6e6;
@@ -146,7 +233,7 @@
146
233
 
147
234
  #content #dataimport #current_state.failure .info
148
235
  {
149
- background-image: url( ../../img/ico/slash.png );
236
+ background-image: url( ../../img/ico/cross-button.png );
150
237
  }
151
238
 
152
239
  #content #dataimport #current_state.failure .info strong
@@ -154,7 +241,17 @@
154
241
  color: #800;
155
242
  }
156
243
 
157
- #content #dataimport #config-error
244
+ #content #dataimport #current_state.idle
245
+ {
246
+ background-color: #e6e6ff;
247
+ }
248
+
249
+ #content #dataimport #current_state.idle .info
250
+ {
251
+ background-image: url( ../../img/ico/information.png );
252
+ }
253
+
254
+ #content #dataimport #error
158
255
  {
159
256
  background-color: #f00;
160
257
  background-image: url( ../../img/ico/construction.png );
@@ -167,37 +264,43 @@
167
264
  padding-left: 35px;
168
265
  }
169
266
 
170
- #content #dataimport #config h2
267
+ #content #dataimport .block h2
171
268
  {
172
269
  border-color: #c0c0c0;
173
270
  padding-left: 5px;
174
271
  position: relative;
175
272
  }
176
273
 
177
- #content #dataimport #config.hidden h2
274
+ #content #dataimport .block.hidden h2
178
275
  {
179
276
  border-color: #fafafa;
180
277
  }
181
278
 
182
- #content #dataimport #config h2 a.toggle
279
+ #content #dataimport .block h2 a.toggle
183
280
  {
184
281
  background-image: url( ../../img/ico/toggle-small.png );
185
282
  background-position: 0 50%;
186
283
  padding-left: 21px;
187
284
  }
188
285
 
189
- #content #dataimport #config.hidden h2 a.toggle
286
+ #content #dataimport .block.hidden h2 a.toggle
190
287
  {
191
288
  background-image: url( ../../img/ico/toggle-small-expand.png );
192
289
  }
193
290
 
291
+ #content #dataimport #config h2 a.r
292
+ {
293
+ background-position: 3px 50%;
294
+ display: block;
295
+ float: right;
296
+ margin-left: 10px;
297
+ padding-left: 24px;
298
+ padding-right: 3px;
299
+ }
300
+
194
301
  #content #dataimport #config h2 a.reload_config
195
302
  {
196
303
  background-image: url( ../../img/ico/arrow-circle.png );
197
- padding-left: 21px;
198
- position: absolute;
199
- right: 5px;
200
- top: 5px;
201
304
  }
202
305
 
203
306
  #content #dataimport #config h2 a.reload_config.success
@@ -210,13 +313,72 @@
210
313
  background-image: url( ../../img/ico/slash.png );
211
314
  }
212
315
 
213
- #content #dataimport #config.hidden .content
316
+ #content #dataimport #config h2 a.debug_mode
317
+ {
318
+ background-image: url( ../../img/ico/hammer.png );
319
+ color: #c0c0c0;
320
+ }
321
+
322
+ #content #dataimport #config.debug_mode h2 a.debug_mode
323
+ {
324
+ background-color: #ff0;
325
+ background-image: url( ../../img/ico/hammer-screwdriver.png );
326
+ color: #333;
327
+ }
328
+
329
+ #content #dataimport .block.hidden .content
214
330
  {
215
331
  display: none;
216
332
  }
217
333
 
334
+ #content #dataimport #config .content
335
+ {
336
+ padding: 5px 2px;
337
+ }
338
+
218
339
  #content #dataimport #dataimport_config .loader
219
340
  {
220
341
  background-position: 0 50%;
221
342
  padding-left: 21px;
343
+ }
344
+
345
+ #content #dataimport #dataimport_config .formatted
346
+ {
347
+ border: 1px solid #fff;
348
+ display: block;
349
+ padding: 2px;
350
+ }
351
+
352
+ #content #dataimport .debug_mode #dataimport_config .formatted
353
+ {
354
+ display: none;
355
+ }
356
+
357
+ #content #dataimport #dataimport_config .editable
358
+ {
359
+ display: none;
360
+ }
361
+
362
+ #content #dataimport .debug_mode #dataimport_config .editable
363
+ {
364
+ display: block;
365
+ }
366
+
367
+ #content #dataimport #dataimport_config .editable textarea
368
+ {
369
+ font-family: monospace;
370
+ height: 120px;
371
+ min-height: 60px;
372
+ width: 100%;
373
+ }
374
+
375
+ #content #dataimport #debug_response
376
+ {
377
+ display: none;
378
+ }
379
+
380
+ #content #dataimport #debug_response em
381
+ {
382
+ color: #c0c0c0;
383
+ font-style: normal;
222
384
  }