enju_ndl 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +14 -0
  3. data/Rakefile +1 -1
  4. data/lib/enju_ndl.rb +0 -2
  5. data/lib/enju_ndl/crd.rb +1 -1
  6. data/lib/enju_ndl/ndl_search.rb +2 -2
  7. data/lib/enju_ndl/version.rb +1 -1
  8. data/spec/dummy/app/models/application_record.rb +3 -0
  9. data/spec/dummy/app/models/user.rb +1 -1
  10. data/spec/dummy/db/migrate/20190818075603_add_memo_to_manifestation.rb +5 -0
  11. data/spec/dummy/db/migrate/20190818075628_add_memo_to_item.rb +5 -0
  12. data/spec/dummy/db/migrate/20191219122214_create_custom_properties.rb +12 -0
  13. data/spec/dummy/db/schema.rb +12 -1
  14. metadata +472 -479
  15. data/README.rdoc +0 -10
  16. data/spec/dummy/config/initializers/session_store.rb +0 -8
  17. data/spec/dummy/db/test.sqlite3 +0 -0
  18. data/spec/dummy/solr/configsets/sunspot/conf/_rest_managed.json +0 -1
  19. data/spec/dummy/solr/configsets/sunspot/conf/admin-extra.html +0 -31
  20. data/spec/dummy/solr/configsets/sunspot/conf/currency.xml +0 -67
  21. data/spec/dummy/solr/configsets/sunspot/conf/elevate.xml +0 -36
  22. data/spec/dummy/solr/configsets/sunspot/conf/lang/stopwords_en.txt +0 -54
  23. data/spec/dummy/solr/configsets/sunspot/conf/mapping-ISOLatin1Accent.txt +0 -246
  24. data/spec/dummy/solr/configsets/sunspot/conf/protwords.txt +0 -21
  25. data/spec/dummy/solr/configsets/sunspot/conf/schema.xml +0 -278
  26. data/spec/dummy/solr/configsets/sunspot/conf/scripts.conf +0 -24
  27. data/spec/dummy/solr/configsets/sunspot/conf/solrconfig.xml +0 -631
  28. data/spec/dummy/solr/configsets/sunspot/conf/spellings.txt +0 -2
  29. data/spec/dummy/solr/configsets/sunspot/conf/synonyms.txt +0 -29
  30. data/spec/dummy/solr/default/data/index/segments_1 +0 -0
  31. data/spec/dummy/solr/default/data/index/write.lock +0 -0
  32. data/spec/dummy/solr/development/data/index/segments_1 +0 -0
  33. data/spec/dummy/solr/development/data/index/write.lock +0 -0
  34. data/spec/dummy/solr/pids/test/sunspot-solr-test.pid +0 -1
  35. data/spec/dummy/solr/solr.xml +0 -51
  36. data/spec/dummy/solr/test/data/index/_1p8.fdt +0 -0
  37. data/spec/dummy/solr/test/data/index/_1p8.fdx +0 -0
  38. data/spec/dummy/solr/test/data/index/_1p8.fnm +0 -0
  39. data/spec/dummy/solr/test/data/index/_1p8.nvd +0 -0
  40. data/spec/dummy/solr/test/data/index/_1p8.nvm +0 -0
  41. data/spec/dummy/solr/test/data/index/_1p8.si +0 -0
  42. data/spec/dummy/solr/test/data/index/_1p8_2.liv +0 -0
  43. data/spec/dummy/solr/test/data/index/_1p8_Lucene50_0.doc +0 -0
  44. data/spec/dummy/solr/test/data/index/_1p8_Lucene50_0.pos +0 -0
  45. data/spec/dummy/solr/test/data/index/_1p8_Lucene50_0.tim +0 -0
  46. data/spec/dummy/solr/test/data/index/_1p8_Lucene50_0.tip +0 -0
  47. data/spec/dummy/solr/test/data/index/_1pe.fdt +0 -0
  48. data/spec/dummy/solr/test/data/index/_1pe.fdx +0 -0
  49. data/spec/dummy/solr/test/data/index/_1pe.fnm +0 -0
  50. data/spec/dummy/solr/test/data/index/_1pe.nvd +0 -0
  51. data/spec/dummy/solr/test/data/index/_1pe.nvm +0 -0
  52. data/spec/dummy/solr/test/data/index/_1pe.si +0 -0
  53. data/spec/dummy/solr/test/data/index/_1pe_Lucene50_0.doc +0 -0
  54. data/spec/dummy/solr/test/data/index/_1pe_Lucene50_0.pos +0 -0
  55. data/spec/dummy/solr/test/data/index/_1pe_Lucene50_0.tim +0 -0
  56. data/spec/dummy/solr/test/data/index/_1pe_Lucene50_0.tip +0 -0
  57. data/spec/dummy/solr/test/data/index/_1pf.fdt +0 -0
  58. data/spec/dummy/solr/test/data/index/_1pf.fdx +0 -0
  59. data/spec/dummy/solr/test/data/index/_1pf.fnm +0 -0
  60. data/spec/dummy/solr/test/data/index/_1pf.nvd +0 -0
  61. data/spec/dummy/solr/test/data/index/_1pf.nvm +0 -0
  62. data/spec/dummy/solr/test/data/index/_1pf.si +0 -0
  63. data/spec/dummy/solr/test/data/index/_1pf_Lucene50_0.doc +0 -0
  64. data/spec/dummy/solr/test/data/index/_1pf_Lucene50_0.pos +0 -0
  65. data/spec/dummy/solr/test/data/index/_1pf_Lucene50_0.tim +0 -0
  66. data/spec/dummy/solr/test/data/index/_1pf_Lucene50_0.tip +0 -0
  67. data/spec/dummy/solr/test/data/index/segments_1p0 +0 -0
  68. data/spec/dummy/solr/test/data/index/write.lock +0 -0
  69. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000002916 +0 -0
  70. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000002918 +0 -0
  71. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000002919 +0 -0
  72. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000002920 +0 -0
  73. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000002921 +0 -0
  74. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000002922 +0 -0
  75. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000002924 +0 -0
  76. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000002925 +0 -0
  77. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000002926 +0 -0
  78. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000002927 +0 -0
data/README.rdoc DELETED
@@ -1,10 +0,0 @@
1
- = EnjuNdl
2
- {<img src="https://travis-ci.org/next-l/enju_ndl.svg?branch=1.3" alt="Build Status" />}[https://travis-ci.org/next-l/enju_ndl]
3
- {<img src="https://coveralls.io/repos/next-l/enju_ndl/badge.svg?branch=1.3&service=github" alt="Coverage Status" />}[https://coveralls.io/github/next-l/enju_ndl?branch=1.3]
4
- {<img src="https://hakiri.io/github/next-l/enju_ndl/1.3.svg" alt="security" />}[https://hakiri.io/github/next-l/enju_ndl/1.3]
5
-
6
- This project rocks and uses MIT-LICENSE.
7
-
8
- == 製作者・貢献者 (Authors and contributors)
9
- * {TANABE, Kosuke}[https://github.com/nabeta] ({@nabeta}[https://twitter.com/nabeta])
10
- * {Project Next-L}[https://www.next-l.jp] ({@ProjectNextL}[https://twitter.com/ProjectNextL])
@@ -1,8 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- Dummy::Application.config.session_store :cookie_store, :key => '_dummy_session'
4
-
5
- # Use the database for sessions instead of the cookie-based default,
6
- # which shouldn't be used to store highly confidential information
7
- # (create the session table with "rails generate session_migration")
8
- # Dummy::Application.config.session_store :active_record_store
Binary file
@@ -1 +0,0 @@
1
- {"initArgs":{},"managedList":[]}
@@ -1,31 +0,0 @@
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
- <!-- The content of this page will be statically included into the top
19
- of the admin page. Uncomment this as an example to see there the content
20
- will show up.
21
-
22
- <hr>
23
- <i>This line will appear before the first table</i>
24
- <tr>
25
- <td colspan="2">
26
- This row will be appended to the end of the first table
27
- </td>
28
- </tr>
29
- <hr>
30
-
31
- -->
@@ -1,67 +0,0 @@
1
- <?xml version="1.0" ?>
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
-
19
- <!-- Example exchange rates file for CurrencyField type named "currency" in example schema -->
20
-
21
- <currencyConfig version="1.0">
22
- <rates>
23
- <!-- Updated from http://www.exchangerate.com/ at 2011-09-27 -->
24
- <rate from="USD" to="ARS" rate="4.333871" comment="ARGENTINA Peso" />
25
- <rate from="USD" to="AUD" rate="1.025768" comment="AUSTRALIA Dollar" />
26
- <rate from="USD" to="EUR" rate="0.743676" comment="European Euro" />
27
- <rate from="USD" to="BRL" rate="1.881093" comment="BRAZIL Real" />
28
- <rate from="USD" to="CAD" rate="1.030815" comment="CANADA Dollar" />
29
- <rate from="USD" to="CLP" rate="519.0996" comment="CHILE Peso" />
30
- <rate from="USD" to="CNY" rate="6.387310" comment="CHINA Yuan" />
31
- <rate from="USD" to="CZK" rate="18.47134" comment="CZECH REP. Koruna" />
32
- <rate from="USD" to="DKK" rate="5.515436" comment="DENMARK Krone" />
33
- <rate from="USD" to="HKD" rate="7.801922" comment="HONG KONG Dollar" />
34
- <rate from="USD" to="HUF" rate="215.6169" comment="HUNGARY Forint" />
35
- <rate from="USD" to="ISK" rate="118.1280" comment="ICELAND Krona" />
36
- <rate from="USD" to="INR" rate="49.49088" comment="INDIA Rupee" />
37
- <rate from="USD" to="XDR" rate="0.641358" comment="INTNL MON. FUND SDR" />
38
- <rate from="USD" to="ILS" rate="3.709739" comment="ISRAEL Sheqel" />
39
- <rate from="USD" to="JPY" rate="76.32419" comment="JAPAN Yen" />
40
- <rate from="USD" to="KRW" rate="1169.173" comment="KOREA (SOUTH) Won" />
41
- <rate from="USD" to="KWD" rate="0.275142" comment="KUWAIT Dinar" />
42
- <rate from="USD" to="MXN" rate="13.85895" comment="MEXICO Peso" />
43
- <rate from="USD" to="NZD" rate="1.285159" comment="NEW ZEALAND Dollar" />
44
- <rate from="USD" to="NOK" rate="5.859035" comment="NORWAY Krone" />
45
- <rate from="USD" to="PKR" rate="87.57007" comment="PAKISTAN Rupee" />
46
- <rate from="USD" to="PEN" rate="2.730683" comment="PERU Sol" />
47
- <rate from="USD" to="PHP" rate="43.62039" comment="PHILIPPINES Peso" />
48
- <rate from="USD" to="PLN" rate="3.310139" comment="POLAND Zloty" />
49
- <rate from="USD" to="RON" rate="3.100932" comment="ROMANIA Leu" />
50
- <rate from="USD" to="RUB" rate="32.14663" comment="RUSSIA Ruble" />
51
- <rate from="USD" to="SAR" rate="3.750465" comment="SAUDI ARABIA Riyal" />
52
- <rate from="USD" to="SGD" rate="1.299352" comment="SINGAPORE Dollar" />
53
- <rate from="USD" to="ZAR" rate="8.329761" comment="SOUTH AFRICA Rand" />
54
- <rate from="USD" to="SEK" rate="6.883442" comment="SWEDEN Krona" />
55
- <rate from="USD" to="CHF" rate="0.906035" comment="SWITZERLAND Franc" />
56
- <rate from="USD" to="TWD" rate="30.40283" comment="TAIWAN Dollar" />
57
- <rate from="USD" to="THB" rate="30.89487" comment="THAILAND Baht" />
58
- <rate from="USD" to="AED" rate="3.672955" comment="U.A.E. Dirham" />
59
- <rate from="USD" to="UAH" rate="7.988582" comment="UKRAINE Hryvnia" />
60
- <rate from="USD" to="GBP" rate="0.647910" comment="UNITED KINGDOM Pound" />
61
-
62
- <!-- Cross-rates for some common currencies -->
63
- <rate from="EUR" to="GBP" rate="0.869914" />
64
- <rate from="EUR" to="NOK" rate="7.800095" />
65
- <rate from="GBP" to="NOK" rate="8.966508" />
66
- </rates>
67
- </currencyConfig>
@@ -1,36 +0,0 @@
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
-
19
- <!-- If this file is found in the config directory, it will only be
20
- loaded once at startup. If it is found in Solr's data
21
- directory, it will be re-loaded every commit.
22
- -->
23
-
24
- <elevate>
25
- <query text="foo bar">
26
- <doc id="1" />
27
- <doc id="2" />
28
- <doc id="3" />
29
- </query>
30
-
31
- <query text="ipod">
32
- <doc id="MA147LL/A" /> <!-- put the actual ipod at the top -->
33
- <doc id="IW-02" exclude="true" /> <!-- exclude this cable -->
34
- </query>
35
-
36
- </elevate>
@@ -1,54 +0,0 @@
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
@@ -1,246 +0,0 @@
1
- # The ASF licenses this file to You under the Apache License, Version 2.0
2
- # (the "License"); you may not use this file except in compliance with
3
- # the License. You may obtain a copy of the License at
4
- #
5
- # http://www.apache.org/licenses/LICENSE-2.0
6
- #
7
- # Unless required by applicable law or agreed to in writing, software
8
- # distributed under the License is distributed on an "AS IS" BASIS,
9
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10
- # See the License for the specific language governing permissions and
11
- # limitations under the License.
12
-
13
- # Syntax:
14
- # "source" => "target"
15
- # "source".length() > 0 (source cannot be empty.)
16
- # "target".length() >= 0 (target can be empty.)
17
-
18
- # example:
19
- # "À" => "A"
20
- # "\u00C0" => "A"
21
- # "\u00C0" => "\u0041"
22
- # "ß" => "ss"
23
- # "\t" => " "
24
- # "\n" => ""
25
-
26
- # À => A
27
- "\u00C0" => "A"
28
-
29
- # Á => A
30
- "\u00C1" => "A"
31
-
32
- # Â => A
33
- "\u00C2" => "A"
34
-
35
- # Ã => A
36
- "\u00C3" => "A"
37
-
38
- # Ä => A
39
- "\u00C4" => "A"
40
-
41
- # Å => A
42
- "\u00C5" => "A"
43
-
44
- # Æ => AE
45
- "\u00C6" => "AE"
46
-
47
- # Ç => C
48
- "\u00C7" => "C"
49
-
50
- # È => E
51
- "\u00C8" => "E"
52
-
53
- # É => E
54
- "\u00C9" => "E"
55
-
56
- # Ê => E
57
- "\u00CA" => "E"
58
-
59
- # Ë => E
60
- "\u00CB" => "E"
61
-
62
- # Ì => I
63
- "\u00CC" => "I"
64
-
65
- # Í => I
66
- "\u00CD" => "I"
67
-
68
- # Î => I
69
- "\u00CE" => "I"
70
-
71
- # Ï => I
72
- "\u00CF" => "I"
73
-
74
- # IJ => IJ
75
- "\u0132" => "IJ"
76
-
77
- # Ð => D
78
- "\u00D0" => "D"
79
-
80
- # Ñ => N
81
- "\u00D1" => "N"
82
-
83
- # Ò => O
84
- "\u00D2" => "O"
85
-
86
- # Ó => O
87
- "\u00D3" => "O"
88
-
89
- # Ô => O
90
- "\u00D4" => "O"
91
-
92
- # Õ => O
93
- "\u00D5" => "O"
94
-
95
- # Ö => O
96
- "\u00D6" => "O"
97
-
98
- # Ø => O
99
- "\u00D8" => "O"
100
-
101
- # Œ => OE
102
- "\u0152" => "OE"
103
-
104
- # Þ
105
- "\u00DE" => "TH"
106
-
107
- # Ù => U
108
- "\u00D9" => "U"
109
-
110
- # Ú => U
111
- "\u00DA" => "U"
112
-
113
- # Û => U
114
- "\u00DB" => "U"
115
-
116
- # Ü => U
117
- "\u00DC" => "U"
118
-
119
- # Ý => Y
120
- "\u00DD" => "Y"
121
-
122
- # Ÿ => Y
123
- "\u0178" => "Y"
124
-
125
- # à => a
126
- "\u00E0" => "a"
127
-
128
- # á => a
129
- "\u00E1" => "a"
130
-
131
- # â => a
132
- "\u00E2" => "a"
133
-
134
- # ã => a
135
- "\u00E3" => "a"
136
-
137
- # ä => a
138
- "\u00E4" => "a"
139
-
140
- # å => a
141
- "\u00E5" => "a"
142
-
143
- # æ => ae
144
- "\u00E6" => "ae"
145
-
146
- # ç => c
147
- "\u00E7" => "c"
148
-
149
- # è => e
150
- "\u00E8" => "e"
151
-
152
- # é => e
153
- "\u00E9" => "e"
154
-
155
- # ê => e
156
- "\u00EA" => "e"
157
-
158
- # ë => e
159
- "\u00EB" => "e"
160
-
161
- # ì => i
162
- "\u00EC" => "i"
163
-
164
- # í => i
165
- "\u00ED" => "i"
166
-
167
- # î => i
168
- "\u00EE" => "i"
169
-
170
- # ï => i
171
- "\u00EF" => "i"
172
-
173
- # ij => ij
174
- "\u0133" => "ij"
175
-
176
- # ð => d
177
- "\u00F0" => "d"
178
-
179
- # ñ => n
180
- "\u00F1" => "n"
181
-
182
- # ò => o
183
- "\u00F2" => "o"
184
-
185
- # ó => o
186
- "\u00F3" => "o"
187
-
188
- # ô => o
189
- "\u00F4" => "o"
190
-
191
- # õ => o
192
- "\u00F5" => "o"
193
-
194
- # ö => o
195
- "\u00F6" => "o"
196
-
197
- # ø => o
198
- "\u00F8" => "o"
199
-
200
- # œ => oe
201
- "\u0153" => "oe"
202
-
203
- # ß => ss
204
- "\u00DF" => "ss"
205
-
206
- # þ => th
207
- "\u00FE" => "th"
208
-
209
- # ù => u
210
- "\u00F9" => "u"
211
-
212
- # ú => u
213
- "\u00FA" => "u"
214
-
215
- # û => u
216
- "\u00FB" => "u"
217
-
218
- # ü => u
219
- "\u00FC" => "u"
220
-
221
- # ý => y
222
- "\u00FD" => "y"
223
-
224
- # ÿ => y
225
- "\u00FF" => "y"
226
-
227
- # ff => ff
228
- "\uFB00" => "ff"
229
-
230
- # fi => fi
231
- "\uFB01" => "fi"
232
-
233
- # fl => fl
234
- "\uFB02" => "fl"
235
-
236
- # ffi => ffi
237
- "\uFB03" => "ffi"
238
-
239
- # ffl => ffl
240
- "\uFB04" => "ffl"
241
-
242
- # ſt => ft
243
- "\uFB05" => "ft"
244
-
245
- # st => st
246
- "\uFB06" => "st"