rjack-solr 4.0.0.0-java → 4.1.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.
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
@@ -184,6 +184,11 @@ limitations under the License.
184
184
  <dd></dd>
185
185
  </dl></li>
186
186
 
187
+ <li class="deletedDocs"><dl class="clearfix">
188
+ <dt><span>deletedDocs:</span></dt>
189
+ <dd></dd>
190
+ </dl></li>
191
+
187
192
  <li class="optimized"><dl class="clearfix">
188
193
  <dt><span>optimized:</span></dt>
189
194
  <dd class="ico"><span></span></dd>
@@ -39,6 +39,9 @@ limitations under the License.
39
39
  <dt class="index_max-doc">Max Doc:</dt>
40
40
  <dd class="index_max-doc value"></dd>
41
41
 
42
+ <dt class="index_deleted-docs">Deleted Docs:</dt>
43
+ <dd class="index_deleted-docs value"></dd>
44
+
42
45
  <dt class="index_version">Version:</dt>
43
46
  <dd class="index_version value"></dd>
44
47
 
@@ -161,4 +164,4 @@ limitations under the License.
161
164
  </div>
162
165
 
163
166
 
164
- </div>
167
+ </div>
@@ -18,27 +18,49 @@ limitations under the License.
18
18
 
19
19
  <div id="frame">
20
20
 
21
+ <div id="error"></div>
22
+
21
23
  <div id="current_state">
22
24
 
23
- <span class="time"></span>
25
+ <p class="last_update">Last Update: <abbr>Unknown</abbr></p>
24
26
  <div class="info">
27
+
25
28
  <strong></strong>
26
- <div class="details"></div>
29
+ <div class="details">
30
+ <div class="docs"></div>
31
+ <div class="dates"></div>
32
+ </div>
33
+
34
+ <button class="abort-import warn"><span data-aborting="Aborting Import">Abort Import</span></button>
35
+
27
36
  </div>
28
37
 
29
38
  </div>
30
39
 
31
- <div id="config-error">
40
+ <div class="block hidden" id="raw_output">
32
41
 
33
- Dataimport XML-Configuration is not valid
42
+ <h2>
43
+ <a class="toggle"><span>Raw Status-Output</span></a>
44
+ </h2>
45
+
46
+ <div class="message-container">
47
+ <div class="message"></div>
48
+ </div>
34
49
 
50
+ <div class="content">
51
+
52
+ <div id="raw_output_container"></div>
53
+
54
+ </div>
55
+
35
56
  </div>
36
57
 
37
58
  <div class="block hidden" id="config">
38
59
 
39
- <h2>
40
- <a class="toggle"><span>Dataimport Configuration</span></a>
41
- <a class="reload_config" title="Reload Configuration">Reload</a>
60
+ <h2 class="clearfix">
61
+ <a class="toggle"><span>Configuration</span></a>
62
+ <a class="r reload_config" title="Reload Configuration">Reload</a>
63
+ <a class="r debug_mode">Debug-Mode</a>
42
64
  </h2>
43
65
 
44
66
  <div class="message-container">
@@ -49,13 +71,41 @@ limitations under the License.
49
71
 
50
72
  <div id="dataimport_config">
51
73
 
52
- <div class="loader">Loading ...</div>
53
-
74
+ <div class="formatted">
75
+
76
+ <div class="loader">Loading ...</div>
77
+
78
+ </div>
79
+
80
+ <div class="editable">
81
+
82
+ <textarea></textarea>
83
+
84
+ </div>
85
+
54
86
  </div>
55
87
 
56
88
  </div>
57
89
 
58
90
  </div>
91
+
92
+ <div class="block hidden" id="debug_response">
93
+
94
+ <h2>
95
+ <a class="toggle"><span>Raw Debug-Response</span></a>
96
+ </h2>
97
+
98
+ <div class="message-container">
99
+ <div class="message"></div>
100
+ </div>
101
+
102
+ <div class="content">
103
+
104
+ <em>No Request executed</em>
105
+
106
+ </div>
107
+
108
+ </div>
59
109
 
60
110
  </div>
61
111
 
@@ -97,6 +147,11 @@ limitations under the License.
97
147
  <a rel="help">Optimize</a>
98
148
  </label>
99
149
 
150
+ <label for="debug" class="checkbox">
151
+ <input type="checkbox" name="debug" id="debug" value="true">
152
+ <a rel="help">Debug</a>
153
+ </label>
154
+
100
155
  <label for="entity">
101
156
  <a rel="help">Entity</a>
102
157
  </label>
@@ -106,17 +161,22 @@ limitations under the License.
106
161
  <a rel="help">Start</a>,
107
162
  <a rel="help">Rows</a>
108
163
  </label>
109
- <input type="text" id="start" placeholder="0">
110
- <input type="text" id="rows" placeholder="10">
164
+ <div class="clearfix">
165
+ <input type="text" id="start" placeholder="0">
166
+ <input type="text" id="rows" placeholder="10">
167
+ </div>
111
168
 
112
169
  <label for="custom_parameters">
113
170
  <a rel="help">Custom Parameters</a>
114
171
  </label>
115
172
  <input type="text" id="custom_parameters" value="" placeholder="key1=val1&amp;key2=val2">
116
173
 
117
- <button type="submit">Execute Import</button>
174
+ <button class="execute" type="submit"><span data-debugmode="Execute with this Configuration →">Execute</span></button>
175
+ <button class="refresh-status"><span>Refresh Status</span></button>
118
176
 
119
177
  </form>
178
+
179
+ <p id="auto-refresh-status"><a>Auto-Refresh Status</a></p>
120
180
 
121
181
  </div>
122
182
 
@@ -48,8 +48,10 @@ limitations under the License.
48
48
  <a rel="help">start</a>,
49
49
  <a rel="help">rows</a>
50
50
  </label>
51
- <input type="text" name="start" id="start" placeholder="0" pattern="[0-9]+" title="Number of leading documents to skip. (Integer)">
52
- <input type="text" name="rows" id="rows" placeholder="10" pattern="[0-9]+" title="Number of documents to return after 'start'. (Integer)">
51
+ <div class="clearfix">
52
+ <input type="text" name="start" id="start" placeholder="0" pattern="[0-9]+" title="Number of leading documents to skip. (Integer)">
53
+ <input type="text" name="rows" id="rows" placeholder="10" pattern="[0-9]+" title="Number of documents to return after 'start'. (Integer)">
54
+ </div>
53
55
 
54
56
  <label for="fl">
55
57
  <a rel="help">fl</a>
@@ -61,6 +63,11 @@ limitations under the License.
61
63
  </label>
62
64
  <input type="text" name="df" id="df" value="" title="Default search field">
63
65
 
66
+ <label for="custom_parameters">
67
+ <a rel="help">Raw Query Parameters</a>
68
+ </label>
69
+ <input type="text" id="custom_parameters" value="" placeholder="key1=val1&amp;key2=val2">
70
+
64
71
  <label for="wt">
65
72
  <a rel="help">wt</a>
66
73
  </label>
@@ -74,7 +81,7 @@ limitations under the License.
74
81
  </select>
75
82
 
76
83
  <label for="indent" class="checkbox">
77
- <input type="checkbox" name="indent" id="indent" value="true" title="Indent results.">
84
+ <input type="checkbox" name="indent" id="indent" value="true" title="Indent results." checked="checked">
78
85
  <a rel="help">indent</a>
79
86
  </label>
80
87
 
@@ -160,6 +167,34 @@ limitations under the License.
160
167
 
161
168
  <label for="edismax_bf">bf</label>
162
169
  <input type="text" name="bf" id="edismax_bf" title="Boost function (added).">
170
+
171
+ <label for="edismax_uf" title="User Fields">uf</label>
172
+ <input type="text" name="uf" id="edismax_uf">
173
+
174
+ <label for="edismax_pf2" title="bigram phrase boost fields">pf2</label>
175
+ <input type="text" name="pf2" id="edismax_pf2">
176
+
177
+ <label for="edismax_pf3" title="trigram phrase boost fields">pf3</label>
178
+ <input type="text" name="pf3" id="edismax_pf3">
179
+
180
+ <label for="edismax_ps2" title="phrase slop for bigram phrases">ps2</label>
181
+ <input type="text" name="ps2" id="edismax_ps2">
182
+
183
+ <label for="edismax_ps3" title="phrase slop for trigram phrases">ps3</label>
184
+ <input type="text" name="ps3" id="edismax_ps3">
185
+
186
+ <label for="edismax_boost" title="multiplicative boost function">boost</label>
187
+ <input type="text" name="boost" id="edismax_boost">
188
+
189
+ <label for="edismax_stopwords" class="checkbox" title="remove stopwords from mandatory 'matching' component">
190
+ <input type="checkbox" name="stopwords" id="edismax_stopwords" value="true" checked="checked">
191
+ stopwords
192
+ </label>
193
+
194
+ <label for="edismax_lowercaseOperators" class="checkbox" title="Enable lower-case 'and' and 'or' as operators">
195
+ <input type="checkbox" name="lowercaseOperators" id="edismax_lowercaseOperators" value="true" checked="checked">
196
+ lowercaseOperators
197
+ </label>
163
198
 
164
199
  </div>
165
200
  </fieldset>
@@ -31,6 +31,12 @@ limitations under the License.
31
31
  </h2>
32
32
  </div>
33
33
 
34
+ <div class="partial">
35
+
36
+ <p>Because your Index is empty, we have not enough Information about this Field</p>
37
+
38
+ </div>
39
+
34
40
  <dl class="options clearfix">
35
41
 
36
42
  <dt class="field-type">Field-Type:</dt>
metadata CHANGED
@@ -2,14 +2,14 @@
2
2
  name: rjack-solr
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 4.0.0.0
5
+ version: 4.1.0.0
6
6
  platform: java
7
7
  authors:
8
8
  - David Kellum
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-03 00:00:00.000000000 Z
12
+ date: 2013-02-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rjack-commons-codec
@@ -17,13 +17,13 @@ dependencies:
17
17
  requirements:
18
18
  - - ~>
19
19
  - !ruby/object:Gem::Version
20
- version: 1.6.0
20
+ version: 1.7.0
21
21
  none: false
22
22
  requirement: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ~>
25
25
  - !ruby/object:Gem::Version
26
- version: 1.6.0
26
+ version: 1.7.0
27
27
  none: false
28
28
  prerelease: false
29
29
  type: :runtime
@@ -33,13 +33,13 @@ dependencies:
33
33
  requirements:
34
34
  - - ~>
35
35
  - !ruby/object:Gem::Version
36
- version: 4.0.0
36
+ version: 4.1.0
37
37
  none: false
38
38
  requirement: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - ~>
41
41
  - !ruby/object:Gem::Version
42
- version: 4.0.0
42
+ version: 4.1.0
43
43
  none: false
44
44
  prerelease: false
45
45
  type: :runtime
@@ -93,13 +93,13 @@ dependencies:
93
93
  requirements:
94
94
  - - ~>
95
95
  - !ruby/object:Gem::Version
96
- version: 4.2.1
96
+ version: 4.2.3
97
97
  none: false
98
98
  requirement: !ruby/object:Gem::Requirement
99
99
  requirements:
100
100
  - - ~>
101
101
  - !ruby/object:Gem::Version
102
- version: 4.2.1
102
+ version: 4.2.3
103
103
  none: false
104
104
  prerelease: false
105
105
  type: :runtime
@@ -109,13 +109,13 @@ dependencies:
109
109
  requirements:
110
110
  - - ~>
111
111
  - !ruby/object:Gem::Version
112
- version: 3.3.6
112
+ version: 3.4.5
113
113
  none: false
114
114
  requirement: !ruby/object:Gem::Requirement
115
115
  requirements:
116
116
  - - ~>
117
117
  - !ruby/object:Gem::Version
118
- version: 3.3.6
118
+ version: 3.4.5
119
119
  none: false
120
120
  prerelease: false
121
121
  type: :runtime
@@ -381,6 +381,7 @@ files:
381
381
  - webapp/img/ico/construction.png
382
382
  - webapp/img/ico/cross-0.png
383
383
  - webapp/img/ico/cross-1.png
384
+ - webapp/img/ico/cross-button.png
384
385
  - webapp/img/ico/cross.png
385
386
  - webapp/img/ico/dashboard.png
386
387
  - webapp/img/ico/database.png
@@ -402,6 +403,7 @@ files:
402
403
  - webapp/img/ico/globe-network.png
403
404
  - webapp/img/ico/globe.png
404
405
  - webapp/img/ico/hammer-screwdriver.png
406
+ - webapp/img/ico/hammer.png
405
407
  - webapp/img/ico/hand.png
406
408
  - webapp/img/ico/highlighter-text.png
407
409
  - webapp/img/ico/hourglass--exclamation.png
@@ -478,6 +480,7 @@ files:
478
480
  - webapp/js/lib/d3.js
479
481
  - webapp/js/lib/highlight.js
480
482
  - webapp/js/lib/jquery-1.7.2.min.js
483
+ - webapp/js/lib/jquery.autogrow.js
481
484
  - webapp/js/lib/jquery.blockUI.js
482
485
  - webapp/js/lib/jquery.cookie.js
483
486
  - webapp/js/lib/jquery.form.js
@@ -521,8 +524,8 @@ files:
521
524
  - lib/rjack-solr/commons-fileupload-1.2.1.jar
522
525
  - lib/rjack-solr/commons-io-2.1.jar
523
526
  - lib/rjack-solr/commons-lang-2.6.jar
524
- - lib/rjack-solr/solr-core-4.0.0.jar
525
- - lib/rjack-solr/solr-solrj-4.0.0.jar
527
+ - lib/rjack-solr/solr-core-4.1.0.jar
528
+ - lib/rjack-solr/solr-solrj-4.1.0.jar
526
529
  homepage: http://rjack.rubyforge.org/solr
527
530
  licenses: []
528
531
  post_install_message: