rere 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (168) hide show
  1. data/.classpath +260 -0
  2. data/.gitignore +28 -0
  3. data/.project +14 -0
  4. data/.ruby-version +1 -0
  5. data/.settings/org.eclim.prefs +3 -0
  6. data/.settings/org.eclipse.jdt.core.prefs +5 -0
  7. data/.settings/org.eclipse.jdt.ui.prefs +2 -0
  8. data/Gemfile +7 -0
  9. data/LICENSE +22 -0
  10. data/README.md +44 -0
  11. data/Rakefile +65 -0
  12. data/bin/solr +61 -0
  13. data/example/config/solr.yml +23 -0
  14. data/example/log/.gitkeep +0 -0
  15. data/example/solr/README.txt +63 -0
  16. data/example/solr/collection1/README.txt +50 -0
  17. data/example/solr/collection1/conf/admin-extra.html +24 -0
  18. data/example/solr/collection1/conf/admin-extra.menu-bottom.html +25 -0
  19. data/example/solr/collection1/conf/admin-extra.menu-top.html +25 -0
  20. data/example/solr/collection1/conf/currency.xml +67 -0
  21. data/example/solr/collection1/conf/elevate.xml +38 -0
  22. data/example/solr/collection1/conf/lang/contractions_ca.txt +8 -0
  23. data/example/solr/collection1/conf/lang/contractions_fr.txt +15 -0
  24. data/example/solr/collection1/conf/lang/contractions_ga.txt +5 -0
  25. data/example/solr/collection1/conf/lang/contractions_it.txt +23 -0
  26. data/example/solr/collection1/conf/lang/hyphenations_ga.txt +5 -0
  27. data/example/solr/collection1/conf/lang/stemdict_nl.txt +6 -0
  28. data/example/solr/collection1/conf/lang/stoptags_ja.txt +420 -0
  29. data/example/solr/collection1/conf/lang/stopwords_ar.txt +125 -0
  30. data/example/solr/collection1/conf/lang/stopwords_bg.txt +193 -0
  31. data/example/solr/collection1/conf/lang/stopwords_ca.txt +220 -0
  32. data/example/solr/collection1/conf/lang/stopwords_cz.txt +172 -0
  33. data/example/solr/collection1/conf/lang/stopwords_da.txt +108 -0
  34. data/example/solr/collection1/conf/lang/stopwords_de.txt +292 -0
  35. data/example/solr/collection1/conf/lang/stopwords_el.txt +78 -0
  36. data/example/solr/collection1/conf/lang/stopwords_en.txt +54 -0
  37. data/example/solr/collection1/conf/lang/stopwords_es.txt +354 -0
  38. data/example/solr/collection1/conf/lang/stopwords_eu.txt +99 -0
  39. data/example/solr/collection1/conf/lang/stopwords_fa.txt +313 -0
  40. data/example/solr/collection1/conf/lang/stopwords_fi.txt +95 -0
  41. data/example/solr/collection1/conf/lang/stopwords_fr.txt +184 -0
  42. data/example/solr/collection1/conf/lang/stopwords_ga.txt +110 -0
  43. data/example/solr/collection1/conf/lang/stopwords_gl.txt +161 -0
  44. data/example/solr/collection1/conf/lang/stopwords_hi.txt +235 -0
  45. data/example/solr/collection1/conf/lang/stopwords_hu.txt +209 -0
  46. data/example/solr/collection1/conf/lang/stopwords_hy.txt +46 -0
  47. data/example/solr/collection1/conf/lang/stopwords_id.txt +359 -0
  48. data/example/solr/collection1/conf/lang/stopwords_it.txt +301 -0
  49. data/example/solr/collection1/conf/lang/stopwords_ja.txt +127 -0
  50. data/example/solr/collection1/conf/lang/stopwords_lv.txt +172 -0
  51. data/example/solr/collection1/conf/lang/stopwords_nl.txt +117 -0
  52. data/example/solr/collection1/conf/lang/stopwords_no.txt +192 -0
  53. data/example/solr/collection1/conf/lang/stopwords_pt.txt +251 -0
  54. data/example/solr/collection1/conf/lang/stopwords_ro.txt +233 -0
  55. data/example/solr/collection1/conf/lang/stopwords_ru.txt +241 -0
  56. data/example/solr/collection1/conf/lang/stopwords_sv.txt +131 -0
  57. data/example/solr/collection1/conf/lang/stopwords_th.txt +119 -0
  58. data/example/solr/collection1/conf/lang/stopwords_tr.txt +212 -0
  59. data/example/solr/collection1/conf/lang/userdict_ja.txt +29 -0
  60. data/example/solr/collection1/conf/mapping-FoldToASCII.txt +3813 -0
  61. data/example/solr/collection1/conf/mapping-ISOLatin1Accent.txt +246 -0
  62. data/example/solr/collection1/conf/protwords.txt +21 -0
  63. data/example/solr/collection1/conf/schema.xml +1125 -0
  64. data/example/solr/collection1/conf/scripts.conf +24 -0
  65. data/example/solr/collection1/conf/solrconfig.xml +1816 -0
  66. data/example/solr/collection1/conf/spellings.txt +2 -0
  67. data/example/solr/collection1/conf/stopwords.txt +14 -0
  68. data/example/solr/collection1/conf/synonyms.txt +29 -0
  69. data/example/solr/collection1/conf/update-script.js +53 -0
  70. data/example/solr/collection1/conf/velocity/VM_global_library.vm +170 -0
  71. data/example/solr/collection1/conf/velocity/browse.vm +50 -0
  72. data/example/solr/collection1/conf/velocity/cluster.vm +9 -0
  73. data/example/solr/collection1/conf/velocity/clusterResults.vm +12 -0
  74. data/example/solr/collection1/conf/velocity/debug.vm +17 -0
  75. data/example/solr/collection1/conf/velocity/did_you_mean.vm +4 -0
  76. data/example/solr/collection1/conf/velocity/facet_fields.vm +15 -0
  77. data/example/solr/collection1/conf/velocity/facet_pivot.vm +3 -0
  78. data/example/solr/collection1/conf/velocity/facet_queries.vm +3 -0
  79. data/example/solr/collection1/conf/velocity/facet_ranges.vm +15 -0
  80. data/example/solr/collection1/conf/velocity/facets.vm +5 -0
  81. data/example/solr/collection1/conf/velocity/footer.vm +17 -0
  82. data/example/solr/collection1/conf/velocity/head.vm +32 -0
  83. data/example/solr/collection1/conf/velocity/header.vm +3 -0
  84. data/example/solr/collection1/conf/velocity/hit.vm +11 -0
  85. data/example/solr/collection1/conf/velocity/hitGrouped.vm +24 -0
  86. data/example/solr/collection1/conf/velocity/join-doc.vm +4 -0
  87. data/example/solr/collection1/conf/velocity/jquery.autocomplete.css +48 -0
  88. data/example/solr/collection1/conf/velocity/jquery.autocomplete.js +763 -0
  89. data/example/solr/collection1/conf/velocity/layout.vm +20 -0
  90. data/example/solr/collection1/conf/velocity/main.css +208 -0
  91. data/example/solr/collection1/conf/velocity/product-doc.vm +27 -0
  92. data/example/solr/collection1/conf/velocity/query.vm +42 -0
  93. data/example/solr/collection1/conf/velocity/queryGroup.vm +19 -0
  94. data/example/solr/collection1/conf/velocity/querySpatial.vm +40 -0
  95. data/example/solr/collection1/conf/velocity/richtext-doc.vm +114 -0
  96. data/example/solr/collection1/conf/velocity/suggest.vm +3 -0
  97. data/example/solr/collection1/conf/velocity/tabs.vm +6 -0
  98. data/example/solr/collection1/conf/xslt/example.xsl +132 -0
  99. data/example/solr/collection1/conf/xslt/example_atom.xsl +67 -0
  100. data/example/solr/collection1/conf/xslt/example_rss.xsl +66 -0
  101. data/example/solr/collection1/conf/xslt/luke.xsl +337 -0
  102. data/example/solr/collection1/conf/xslt/updateXml.xsl +70 -0
  103. data/example/solr/collection1/data/index/segments.gen +0 -0
  104. data/example/solr/collection1/data/index/segments_1 +0 -0
  105. data/example/solr/data/development/index/segments.gen +0 -0
  106. data/example/solr/data/development/index/segments_1 +0 -0
  107. data/example/solr/solr.xml +53 -0
  108. data/example/solr/zoo.cfg +17 -0
  109. data/lib/rere.rb +66 -0
  110. data/lib/rere/railtie.rb +8 -0
  111. data/lib/rere/server.rb +380 -0
  112. data/lib/rere/tasks/solr.rake +47 -0
  113. data/lib/rere/version.rb +3 -0
  114. data/pom.xml +168 -0
  115. data/rere.gemspec +26 -0
  116. data/server/README.txt +78 -0
  117. data/server/cloud-scripts/zkcli.bat +12 -0
  118. data/server/cloud-scripts/zkcli.sh +14 -0
  119. data/server/contexts/solr-jetty-context.xml +8 -0
  120. data/server/etc/create-solrtest.keystore.sh +37 -0
  121. data/server/etc/jetty.xml +205 -0
  122. data/server/etc/logging.properties +38 -0
  123. data/server/etc/solrtest.keystore +0 -0
  124. data/server/etc/webdefault.xml +527 -0
  125. data/server/exampledocs/books.csv +11 -0
  126. data/server/exampledocs/books.json +51 -0
  127. data/server/exampledocs/gb18030-example.xml +32 -0
  128. data/server/exampledocs/hd.xml +56 -0
  129. data/server/exampledocs/ipod_other.xml +60 -0
  130. data/server/exampledocs/ipod_video.xml +40 -0
  131. data/server/exampledocs/manufacturers.xml +75 -0
  132. data/server/exampledocs/mem.xml +77 -0
  133. data/server/exampledocs/money.xml +65 -0
  134. data/server/exampledocs/monitor.xml +35 -0
  135. data/server/exampledocs/monitor2.xml +34 -0
  136. data/server/exampledocs/mp500.xml +43 -0
  137. data/server/exampledocs/post.jar +0 -0
  138. data/server/exampledocs/post.sh +30 -0
  139. data/server/exampledocs/sd500.xml +38 -0
  140. data/server/exampledocs/solr.xml +38 -0
  141. data/server/exampledocs/test_utf8.sh +93 -0
  142. data/server/exampledocs/utf8-example.xml +42 -0
  143. data/server/exampledocs/vidcard.xml +62 -0
  144. data/server/lib/ext/jcl-over-slf4j-1.6.6.jar +0 -0
  145. data/server/lib/ext/jul-to-slf4j-1.6.6.jar +0 -0
  146. data/server/lib/ext/log4j-1.2.16.jar +0 -0
  147. data/server/lib/ext/slf4j-api-1.6.6.jar +0 -0
  148. data/server/lib/ext/slf4j-log4j12-1.6.6.jar +0 -0
  149. data/server/lib/jetty-continuation-8.1.8.v20121106.jar +0 -0
  150. data/server/lib/jetty-deploy-8.1.8.v20121106.jar +0 -0
  151. data/server/lib/jetty-http-8.1.8.v20121106.jar +0 -0
  152. data/server/lib/jetty-io-8.1.8.v20121106.jar +0 -0
  153. data/server/lib/jetty-jmx-8.1.8.v20121106.jar +0 -0
  154. data/server/lib/jetty-security-8.1.8.v20121106.jar +0 -0
  155. data/server/lib/jetty-server-8.1.8.v20121106.jar +0 -0
  156. data/server/lib/jetty-servlet-8.1.8.v20121106.jar +0 -0
  157. data/server/lib/jetty-util-8.1.8.v20121106.jar +0 -0
  158. data/server/lib/jetty-webapp-8.1.8.v20121106.jar +0 -0
  159. data/server/lib/jetty-xml-8.1.8.v20121106.jar +0 -0
  160. data/server/lib/servlet-api-3.0.jar +0 -0
  161. data/server/resources/log4j.properties +19 -0
  162. data/server/solr/README.txt +63 -0
  163. data/server/solr/solr.xml +53 -0
  164. data/server/solr/zoo.cfg +17 -0
  165. data/server/start.jar +0 -0
  166. data/server/webapps/solr.war +0 -0
  167. data/solr/lib/solr-winds-0.1.jar +0 -0
  168. metadata +284 -0
@@ -0,0 +1,54 @@
1
+ # Licensed to the Apache Software Foundation (ASF) under one or more
2
+ # contributor license agreements. See the NOTICE file distributed with
3
+ # this work for additional information regarding copyright ownership.
4
+ # The ASF licenses this file to You under the Apache License, Version 2.0
5
+ # (the "License"); you may not use this file except in compliance with
6
+ # the License. You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+ # a couple of test stopwords to test that the words are really being
17
+ # configured from this file:
18
+ stopworda
19
+ stopwordb
20
+
21
+ # Standard english stop words taken from Lucene's StopAnalyzer
22
+ a
23
+ an
24
+ and
25
+ are
26
+ as
27
+ at
28
+ be
29
+ but
30
+ by
31
+ for
32
+ if
33
+ in
34
+ into
35
+ is
36
+ it
37
+ no
38
+ not
39
+ of
40
+ on
41
+ or
42
+ such
43
+ that
44
+ the
45
+ their
46
+ then
47
+ there
48
+ these
49
+ they
50
+ this
51
+ to
52
+ was
53
+ will
54
+ with
@@ -0,0 +1,354 @@
1
+ | From svn.tartarus.org/snowball/trunk/website/algorithms/spanish/stop.txt
2
+ | This file is distributed under the BSD License.
3
+ | See http://snowball.tartarus.org/license.php
4
+ | Also see http://www.opensource.org/licenses/bsd-license.html
5
+ | - Encoding was converted to UTF-8.
6
+ | - This notice was added.
7
+
8
+ | A Spanish stop word list. Comments begin with vertical bar. Each stop
9
+ | word is at the start of a line.
10
+
11
+
12
+ | The following is a ranked list (commonest to rarest) of stopwords
13
+ | deriving from a large sample of text.
14
+
15
+ | Extra words have been added at the end.
16
+
17
+ de | from, of
18
+ la | the, her
19
+ que | who, that
20
+ el | the
21
+ en | in
22
+ y | and
23
+ a | to
24
+ los | the, them
25
+ del | de + el
26
+ se | himself, from him etc
27
+ las | the, them
28
+ por | for, by, etc
29
+ un | a
30
+ para | for
31
+ con | with
32
+ no | no
33
+ una | a
34
+ su | his, her
35
+ al | a + el
36
+ | es from SER
37
+ lo | him
38
+ como | how
39
+ más | more
40
+ pero | pero
41
+ sus | su plural
42
+ le | to him, her
43
+ ya | already
44
+ o | or
45
+ | fue from SER
46
+ este | this
47
+ | ha from HABER
48
+ sí | himself etc
49
+ porque | because
50
+ esta | this
51
+ | son from SER
52
+ entre | between
53
+ | está from ESTAR
54
+ cuando | when
55
+ muy | very
56
+ sin | without
57
+ sobre | on
58
+ | ser from SER
59
+ | tiene from TENER
60
+ también | also
61
+ me | me
62
+ hasta | until
63
+ hay | there is/are
64
+ donde | where
65
+ | han from HABER
66
+ quien | whom, that
67
+ | están from ESTAR
68
+ | estado from ESTAR
69
+ desde | from
70
+ todo | all
71
+ nos | us
72
+ durante | during
73
+ | estados from ESTAR
74
+ todos | all
75
+ uno | a
76
+ les | to them
77
+ ni | nor
78
+ contra | against
79
+ otros | other
80
+ | fueron from SER
81
+ ese | that
82
+ eso | that
83
+ | había from HABER
84
+ ante | before
85
+ ellos | they
86
+ e | and (variant of y)
87
+ esto | this
88
+ mí | me
89
+ antes | before
90
+ algunos | some
91
+ qué | what?
92
+ unos | a
93
+ yo | I
94
+ otro | other
95
+ otras | other
96
+ otra | other
97
+ él | he
98
+ tanto | so much, many
99
+ esa | that
100
+ estos | these
101
+ mucho | much, many
102
+ quienes | who
103
+ nada | nothing
104
+ muchos | many
105
+ cual | who
106
+ | sea from SER
107
+ poco | few
108
+ ella | she
109
+ estar | to be
110
+ | haber from HABER
111
+ estas | these
112
+ | estaba from ESTAR
113
+ | estamos from ESTAR
114
+ algunas | some
115
+ algo | something
116
+ nosotros | we
117
+
118
+ | other forms
119
+
120
+ mi | me
121
+ mis | mi plural
122
+ tú | thou
123
+ te | thee
124
+ ti | thee
125
+ tu | thy
126
+ tus | tu plural
127
+ ellas | they
128
+ nosotras | we
129
+ vosotros | you
130
+ vosotras | you
131
+ os | you
132
+ mío | mine
133
+ mía |
134
+ míos |
135
+ mías |
136
+ tuyo | thine
137
+ tuya |
138
+ tuyos |
139
+ tuyas |
140
+ suyo | his, hers, theirs
141
+ suya |
142
+ suyos |
143
+ suyas |
144
+ nuestro | ours
145
+ nuestra |
146
+ nuestros |
147
+ nuestras |
148
+ vuestro | yours
149
+ vuestra |
150
+ vuestros |
151
+ vuestras |
152
+ esos | those
153
+ esas | those
154
+
155
+ | forms of estar, to be (not including the infinitive):
156
+ estoy
157
+ estás
158
+ está
159
+ estamos
160
+ estáis
161
+ están
162
+ esté
163
+ estés
164
+ estemos
165
+ estéis
166
+ estén
167
+ estaré
168
+ estarás
169
+ estará
170
+ estaremos
171
+ estaréis
172
+ estarán
173
+ estaría
174
+ estarías
175
+ estaríamos
176
+ estaríais
177
+ estarían
178
+ estaba
179
+ estabas
180
+ estábamos
181
+ estabais
182
+ estaban
183
+ estuve
184
+ estuviste
185
+ estuvo
186
+ estuvimos
187
+ estuvisteis
188
+ estuvieron
189
+ estuviera
190
+ estuvieras
191
+ estuviéramos
192
+ estuvierais
193
+ estuvieran
194
+ estuviese
195
+ estuvieses
196
+ estuviésemos
197
+ estuvieseis
198
+ estuviesen
199
+ estando
200
+ estado
201
+ estada
202
+ estados
203
+ estadas
204
+ estad
205
+
206
+ | forms of haber, to have (not including the infinitive):
207
+ he
208
+ has
209
+ ha
210
+ hemos
211
+ habéis
212
+ han
213
+ haya
214
+ hayas
215
+ hayamos
216
+ hayáis
217
+ hayan
218
+ habré
219
+ habrás
220
+ habrá
221
+ habremos
222
+ habréis
223
+ habrán
224
+ habría
225
+ habrías
226
+ habríamos
227
+ habríais
228
+ habrían
229
+ había
230
+ habías
231
+ habíamos
232
+ habíais
233
+ habían
234
+ hube
235
+ hubiste
236
+ hubo
237
+ hubimos
238
+ hubisteis
239
+ hubieron
240
+ hubiera
241
+ hubieras
242
+ hubiéramos
243
+ hubierais
244
+ hubieran
245
+ hubiese
246
+ hubieses
247
+ hubiésemos
248
+ hubieseis
249
+ hubiesen
250
+ habiendo
251
+ habido
252
+ habida
253
+ habidos
254
+ habidas
255
+
256
+ | forms of ser, to be (not including the infinitive):
257
+ soy
258
+ eres
259
+ es
260
+ somos
261
+ sois
262
+ son
263
+ sea
264
+ seas
265
+ seamos
266
+ seáis
267
+ sean
268
+ seré
269
+ serás
270
+ será
271
+ seremos
272
+ seréis
273
+ serán
274
+ sería
275
+ serías
276
+ seríamos
277
+ seríais
278
+ serían
279
+ era
280
+ eras
281
+ éramos
282
+ erais
283
+ eran
284
+ fui
285
+ fuiste
286
+ fue
287
+ fuimos
288
+ fuisteis
289
+ fueron
290
+ fuera
291
+ fueras
292
+ fuéramos
293
+ fuerais
294
+ fueran
295
+ fuese
296
+ fueses
297
+ fuésemos
298
+ fueseis
299
+ fuesen
300
+ siendo
301
+ sido
302
+ | sed also means 'thirst'
303
+
304
+ | forms of tener, to have (not including the infinitive):
305
+ tengo
306
+ tienes
307
+ tiene
308
+ tenemos
309
+ tenéis
310
+ tienen
311
+ tenga
312
+ tengas
313
+ tengamos
314
+ tengáis
315
+ tengan
316
+ tendré
317
+ tendrás
318
+ tendrá
319
+ tendremos
320
+ tendréis
321
+ tendrán
322
+ tendría
323
+ tendrías
324
+ tendríamos
325
+ tendríais
326
+ tendrían
327
+ tenía
328
+ tenías
329
+ teníamos
330
+ teníais
331
+ tenían
332
+ tuve
333
+ tuviste
334
+ tuvo
335
+ tuvimos
336
+ tuvisteis
337
+ tuvieron
338
+ tuviera
339
+ tuvieras
340
+ tuviéramos
341
+ tuvierais
342
+ tuvieran
343
+ tuviese
344
+ tuvieses
345
+ tuviésemos
346
+ tuvieseis
347
+ tuviesen
348
+ teniendo
349
+ tenido
350
+ tenida
351
+ tenidos
352
+ tenidas
353
+ tened
354
+
@@ -0,0 +1,99 @@
1
+ # example set of basque stopwords
2
+ al
3
+ anitz
4
+ arabera
5
+ asko
6
+ baina
7
+ bat
8
+ batean
9
+ batek
10
+ bati
11
+ batzuei
12
+ batzuek
13
+ batzuetan
14
+ batzuk
15
+ bera
16
+ beraiek
17
+ berau
18
+ berauek
19
+ bere
20
+ berori
21
+ beroriek
22
+ beste
23
+ bezala
24
+ da
25
+ dago
26
+ dira
27
+ ditu
28
+ du
29
+ dute
30
+ edo
31
+ egin
32
+ ere
33
+ eta
34
+ eurak
35
+ ez
36
+ gainera
37
+ gu
38
+ gutxi
39
+ guzti
40
+ haiei
41
+ haiek
42
+ haietan
43
+ hainbeste
44
+ hala
45
+ han
46
+ handik
47
+ hango
48
+ hara
49
+ hari
50
+ hark
51
+ hartan
52
+ hau
53
+ hauei
54
+ hauek
55
+ hauetan
56
+ hemen
57
+ hemendik
58
+ hemengo
59
+ hi
60
+ hona
61
+ honek
62
+ honela
63
+ honetan
64
+ honi
65
+ hor
66
+ hori
67
+ horiei
68
+ horiek
69
+ horietan
70
+ horko
71
+ horra
72
+ horrek
73
+ horrela
74
+ horretan
75
+ horri
76
+ hortik
77
+ hura
78
+ izan
79
+ ni
80
+ noiz
81
+ nola
82
+ non
83
+ nondik
84
+ nongo
85
+ nor
86
+ nora
87
+ ze
88
+ zein
89
+ zen
90
+ zenbait
91
+ zenbat
92
+ zer
93
+ zergatik
94
+ ziren
95
+ zituen
96
+ zu
97
+ zuek
98
+ zuen
99
+ zuten