isomorfeus-ferret 0.12.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.
Files changed (222) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +612 -0
  3. data/README.md +44 -0
  4. data/ext/isomorfeus_ferret_ext/benchmark.c +223 -0
  5. data/ext/isomorfeus_ferret_ext/benchmark.h +45 -0
  6. data/ext/isomorfeus_ferret_ext/benchmarks_all.h +25 -0
  7. data/ext/isomorfeus_ferret_ext/bm_bitvector.c +123 -0
  8. data/ext/isomorfeus_ferret_ext/bm_hash.c +118 -0
  9. data/ext/isomorfeus_ferret_ext/bm_micro_string.c +40 -0
  10. data/ext/isomorfeus_ferret_ext/bm_store.c +93 -0
  11. data/ext/isomorfeus_ferret_ext/email.rl +21 -0
  12. data/ext/isomorfeus_ferret_ext/extconf.rb +5 -0
  13. data/ext/isomorfeus_ferret_ext/fio_tmpfile.h +53 -0
  14. data/ext/isomorfeus_ferret_ext/frb_analysis.c +2577 -0
  15. data/ext/isomorfeus_ferret_ext/frb_index.c +3457 -0
  16. data/ext/isomorfeus_ferret_ext/frb_lang.c +9 -0
  17. data/ext/isomorfeus_ferret_ext/frb_lang.h +17 -0
  18. data/ext/isomorfeus_ferret_ext/frb_qparser.c +629 -0
  19. data/ext/isomorfeus_ferret_ext/frb_search.c +4460 -0
  20. data/ext/isomorfeus_ferret_ext/frb_store.c +515 -0
  21. data/ext/isomorfeus_ferret_ext/frb_threading.h +30 -0
  22. data/ext/isomorfeus_ferret_ext/frb_utils.c +1127 -0
  23. data/ext/isomorfeus_ferret_ext/frt_analysis.c +1644 -0
  24. data/ext/isomorfeus_ferret_ext/frt_analysis.h +247 -0
  25. data/ext/isomorfeus_ferret_ext/frt_array.c +124 -0
  26. data/ext/isomorfeus_ferret_ext/frt_array.h +54 -0
  27. data/ext/isomorfeus_ferret_ext/frt_bitvector.c +95 -0
  28. data/ext/isomorfeus_ferret_ext/frt_bitvector.h +586 -0
  29. data/ext/isomorfeus_ferret_ext/frt_compound_io.c +374 -0
  30. data/ext/isomorfeus_ferret_ext/frt_config.h +44 -0
  31. data/ext/isomorfeus_ferret_ext/frt_document.c +134 -0
  32. data/ext/isomorfeus_ferret_ext/frt_document.h +52 -0
  33. data/ext/isomorfeus_ferret_ext/frt_except.c +95 -0
  34. data/ext/isomorfeus_ferret_ext/frt_except.h +188 -0
  35. data/ext/isomorfeus_ferret_ext/frt_field_index.c +233 -0
  36. data/ext/isomorfeus_ferret_ext/frt_field_index.h +42 -0
  37. data/ext/isomorfeus_ferret_ext/frt_filter.c +157 -0
  38. data/ext/isomorfeus_ferret_ext/frt_fs_store.c +502 -0
  39. data/ext/isomorfeus_ferret_ext/frt_global.c +427 -0
  40. data/ext/isomorfeus_ferret_ext/frt_global.h +290 -0
  41. data/ext/isomorfeus_ferret_ext/frt_hash.c +518 -0
  42. data/ext/isomorfeus_ferret_ext/frt_hash.h +466 -0
  43. data/ext/isomorfeus_ferret_ext/frt_hashset.c +191 -0
  44. data/ext/isomorfeus_ferret_ext/frt_hashset.h +206 -0
  45. data/ext/isomorfeus_ferret_ext/frt_helper.c +62 -0
  46. data/ext/isomorfeus_ferret_ext/frt_helper.h +13 -0
  47. data/ext/isomorfeus_ferret_ext/frt_ind.c +353 -0
  48. data/ext/isomorfeus_ferret_ext/frt_ind.h +54 -0
  49. data/ext/isomorfeus_ferret_ext/frt_index.c +6377 -0
  50. data/ext/isomorfeus_ferret_ext/frt_index.h +880 -0
  51. data/ext/isomorfeus_ferret_ext/frt_lang.c +104 -0
  52. data/ext/isomorfeus_ferret_ext/frt_lang.h +44 -0
  53. data/ext/isomorfeus_ferret_ext/frt_mempool.c +87 -0
  54. data/ext/isomorfeus_ferret_ext/frt_mempool.h +33 -0
  55. data/ext/isomorfeus_ferret_ext/frt_multimapper.c +349 -0
  56. data/ext/isomorfeus_ferret_ext/frt_multimapper.h +52 -0
  57. data/ext/isomorfeus_ferret_ext/frt_posh.c +1006 -0
  58. data/ext/isomorfeus_ferret_ext/frt_posh.h +973 -0
  59. data/ext/isomorfeus_ferret_ext/frt_priorityqueue.c +147 -0
  60. data/ext/isomorfeus_ferret_ext/frt_priorityqueue.h +147 -0
  61. data/ext/isomorfeus_ferret_ext/frt_q_boolean.c +1612 -0
  62. data/ext/isomorfeus_ferret_ext/frt_q_const_score.c +157 -0
  63. data/ext/isomorfeus_ferret_ext/frt_q_filtered_query.c +209 -0
  64. data/ext/isomorfeus_ferret_ext/frt_q_fuzzy.c +281 -0
  65. data/ext/isomorfeus_ferret_ext/frt_q_match_all.c +147 -0
  66. data/ext/isomorfeus_ferret_ext/frt_q_multi_term.c +672 -0
  67. data/ext/isomorfeus_ferret_ext/frt_q_parser.c +3084 -0
  68. data/ext/isomorfeus_ferret_ext/frt_q_phrase.c +1182 -0
  69. data/ext/isomorfeus_ferret_ext/frt_q_prefix.c +98 -0
  70. data/ext/isomorfeus_ferret_ext/frt_q_range.c +665 -0
  71. data/ext/isomorfeus_ferret_ext/frt_q_span.c +2386 -0
  72. data/ext/isomorfeus_ferret_ext/frt_q_term.c +311 -0
  73. data/ext/isomorfeus_ferret_ext/frt_q_wildcard.c +166 -0
  74. data/ext/isomorfeus_ferret_ext/frt_ram_store.c +460 -0
  75. data/ext/isomorfeus_ferret_ext/frt_scanner.c +899 -0
  76. data/ext/isomorfeus_ferret_ext/frt_scanner.h +28 -0
  77. data/ext/isomorfeus_ferret_ext/frt_scanner_mb.c +6705 -0
  78. data/ext/isomorfeus_ferret_ext/frt_scanner_utf8.c +4419 -0
  79. data/ext/isomorfeus_ferret_ext/frt_search.c +1824 -0
  80. data/ext/isomorfeus_ferret_ext/frt_search.h +924 -0
  81. data/ext/isomorfeus_ferret_ext/frt_similarity.c +150 -0
  82. data/ext/isomorfeus_ferret_ext/frt_similarity.h +79 -0
  83. data/ext/isomorfeus_ferret_ext/frt_sort.c +796 -0
  84. data/ext/isomorfeus_ferret_ext/frt_stopwords.c +395 -0
  85. data/ext/isomorfeus_ferret_ext/frt_store.c +680 -0
  86. data/ext/isomorfeus_ferret_ext/frt_store.h +789 -0
  87. data/ext/isomorfeus_ferret_ext/frt_term_vectors.c +72 -0
  88. data/ext/isomorfeus_ferret_ext/frt_threading.h +23 -0
  89. data/ext/isomorfeus_ferret_ext/frt_win32.h +54 -0
  90. data/ext/isomorfeus_ferret_ext/isomorfeus_ferret.c +409 -0
  91. data/ext/isomorfeus_ferret_ext/isomorfeus_ferret.h +95 -0
  92. data/ext/isomorfeus_ferret_ext/libstemmer.c +93 -0
  93. data/ext/isomorfeus_ferret_ext/libstemmer.h +73 -0
  94. data/ext/isomorfeus_ferret_ext/q_parser.y +1366 -0
  95. data/ext/isomorfeus_ferret_ext/scanner.h +28 -0
  96. data/ext/isomorfeus_ferret_ext/scanner.in +43 -0
  97. data/ext/isomorfeus_ferret_ext/scanner.rl +84 -0
  98. data/ext/isomorfeus_ferret_ext/scanner_mb.rl +200 -0
  99. data/ext/isomorfeus_ferret_ext/scanner_utf8.rl +85 -0
  100. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_danish.c +324 -0
  101. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_danish.h +7 -0
  102. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_dutch.c +610 -0
  103. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_dutch.h +6 -0
  104. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_english.c +1104 -0
  105. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_english.h +6 -0
  106. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_finnish.c +749 -0
  107. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_finnish.h +7 -0
  108. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_french.c +1233 -0
  109. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_french.h +6 -0
  110. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_german.c +490 -0
  111. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_german.h +6 -0
  112. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_hungarian.c +1217 -0
  113. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_hungarian.h +7 -0
  114. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_italian.c +1052 -0
  115. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_italian.h +6 -0
  116. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_norwegian.c +283 -0
  117. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_norwegian.h +6 -0
  118. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_porter.c +735 -0
  119. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_porter.h +6 -0
  120. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_portuguese.c +1003 -0
  121. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_portuguese.h +7 -0
  122. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_spanish.c +1079 -0
  123. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_spanish.h +6 -0
  124. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_swedish.c +293 -0
  125. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_swedish.h +6 -0
  126. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_2_romanian.c +984 -0
  127. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_2_romanian.h +6 -0
  128. data/ext/isomorfeus_ferret_ext/stem_KOI8_R_russian.c +686 -0
  129. data/ext/isomorfeus_ferret_ext/stem_KOI8_R_russian.h +6 -0
  130. data/ext/isomorfeus_ferret_ext/stem_UTF_8_danish.c +325 -0
  131. data/ext/isomorfeus_ferret_ext/stem_UTF_8_danish.h +6 -0
  132. data/ext/isomorfeus_ferret_ext/stem_UTF_8_dutch.c +620 -0
  133. data/ext/isomorfeus_ferret_ext/stem_UTF_8_dutch.h +6 -0
  134. data/ext/isomorfeus_ferret_ext/stem_UTF_8_english.c +1111 -0
  135. data/ext/isomorfeus_ferret_ext/stem_UTF_8_english.h +6 -0
  136. data/ext/isomorfeus_ferret_ext/stem_UTF_8_finnish.c +754 -0
  137. data/ext/isomorfeus_ferret_ext/stem_UTF_8_finnish.h +6 -0
  138. data/ext/isomorfeus_ferret_ext/stem_UTF_8_french.c +1242 -0
  139. data/ext/isomorfeus_ferret_ext/stem_UTF_8_french.h +6 -0
  140. data/ext/isomorfeus_ferret_ext/stem_UTF_8_german.c +495 -0
  141. data/ext/isomorfeus_ferret_ext/stem_UTF_8_german.h +6 -0
  142. data/ext/isomorfeus_ferret_ext/stem_UTF_8_hungarian.c +1220 -0
  143. data/ext/isomorfeus_ferret_ext/stem_UTF_8_hungarian.h +6 -0
  144. data/ext/isomorfeus_ferret_ext/stem_UTF_8_italian.c +1059 -0
  145. data/ext/isomorfeus_ferret_ext/stem_UTF_8_italian.h +6 -0
  146. data/ext/isomorfeus_ferret_ext/stem_UTF_8_norwegian.c +285 -0
  147. data/ext/isomorfeus_ferret_ext/stem_UTF_8_norwegian.h +6 -0
  148. data/ext/isomorfeus_ferret_ext/stem_UTF_8_porter.c +741 -0
  149. data/ext/isomorfeus_ferret_ext/stem_UTF_8_porter.h +6 -0
  150. data/ext/isomorfeus_ferret_ext/stem_UTF_8_portuguese.c +1009 -0
  151. data/ext/isomorfeus_ferret_ext/stem_UTF_8_portuguese.h +6 -0
  152. data/ext/isomorfeus_ferret_ext/stem_UTF_8_romanian.c +990 -0
  153. data/ext/isomorfeus_ferret_ext/stem_UTF_8_romanian.h +6 -0
  154. data/ext/isomorfeus_ferret_ext/stem_UTF_8_russian.c +680 -0
  155. data/ext/isomorfeus_ferret_ext/stem_UTF_8_russian.h +6 -0
  156. data/ext/isomorfeus_ferret_ext/stem_UTF_8_spanish.c +1083 -0
  157. data/ext/isomorfeus_ferret_ext/stem_UTF_8_spanish.h +6 -0
  158. data/ext/isomorfeus_ferret_ext/stem_UTF_8_swedish.c +294 -0
  159. data/ext/isomorfeus_ferret_ext/stem_UTF_8_swedish.h +6 -0
  160. data/ext/isomorfeus_ferret_ext/stem_UTF_8_turkish.c +2191 -0
  161. data/ext/isomorfeus_ferret_ext/stem_UTF_8_turkish.h +6 -0
  162. data/ext/isomorfeus_ferret_ext/stem_api.c +66 -0
  163. data/ext/isomorfeus_ferret_ext/stem_api.h +26 -0
  164. data/ext/isomorfeus_ferret_ext/stem_header.h +57 -0
  165. data/ext/isomorfeus_ferret_ext/stem_modules.h +190 -0
  166. data/ext/isomorfeus_ferret_ext/stem_modules.txt +50 -0
  167. data/ext/isomorfeus_ferret_ext/stem_utilities.c +478 -0
  168. data/ext/isomorfeus_ferret_ext/test.c +850 -0
  169. data/ext/isomorfeus_ferret_ext/test.h +416 -0
  170. data/ext/isomorfeus_ferret_ext/test_1710.c +63 -0
  171. data/ext/isomorfeus_ferret_ext/test_analysis.c +1221 -0
  172. data/ext/isomorfeus_ferret_ext/test_array.c +272 -0
  173. data/ext/isomorfeus_ferret_ext/test_bitvector.c +600 -0
  174. data/ext/isomorfeus_ferret_ext/test_compound_io.c +170 -0
  175. data/ext/isomorfeus_ferret_ext/test_document.c +156 -0
  176. data/ext/isomorfeus_ferret_ext/test_except.c +244 -0
  177. data/ext/isomorfeus_ferret_ext/test_fields.c +522 -0
  178. data/ext/isomorfeus_ferret_ext/test_file_deleter.c +185 -0
  179. data/ext/isomorfeus_ferret_ext/test_filter.c +331 -0
  180. data/ext/isomorfeus_ferret_ext/test_fs_store.c +25 -0
  181. data/ext/isomorfeus_ferret_ext/test_global.c +299 -0
  182. data/ext/isomorfeus_ferret_ext/test_hash.c +485 -0
  183. data/ext/isomorfeus_ferret_ext/test_hashset.c +288 -0
  184. data/ext/isomorfeus_ferret_ext/test_helper.c +47 -0
  185. data/ext/isomorfeus_ferret_ext/test_highlighter.c +548 -0
  186. data/ext/isomorfeus_ferret_ext/test_index.c +2323 -0
  187. data/ext/isomorfeus_ferret_ext/test_lang.c +74 -0
  188. data/ext/isomorfeus_ferret_ext/test_mempool.c +102 -0
  189. data/ext/isomorfeus_ferret_ext/test_multimapper.c +64 -0
  190. data/ext/isomorfeus_ferret_ext/test_priorityqueue.c +213 -0
  191. data/ext/isomorfeus_ferret_ext/test_q_const_score.c +84 -0
  192. data/ext/isomorfeus_ferret_ext/test_q_filtered.c +61 -0
  193. data/ext/isomorfeus_ferret_ext/test_q_fuzzy.c +241 -0
  194. data/ext/isomorfeus_ferret_ext/test_q_parser.c +464 -0
  195. data/ext/isomorfeus_ferret_ext/test_q_span.c +575 -0
  196. data/ext/isomorfeus_ferret_ext/test_ram_store.c +77 -0
  197. data/ext/isomorfeus_ferret_ext/test_search.c +1874 -0
  198. data/ext/isomorfeus_ferret_ext/test_segments.c +167 -0
  199. data/ext/isomorfeus_ferret_ext/test_similarity.c +25 -0
  200. data/ext/isomorfeus_ferret_ext/test_sort.c +333 -0
  201. data/ext/isomorfeus_ferret_ext/test_store.c +591 -0
  202. data/ext/isomorfeus_ferret_ext/test_store.h +3 -0
  203. data/ext/isomorfeus_ferret_ext/test_term.c +351 -0
  204. data/ext/isomorfeus_ferret_ext/test_term_vectors.c +373 -0
  205. data/ext/isomorfeus_ferret_ext/test_test.c +83 -0
  206. data/ext/isomorfeus_ferret_ext/test_threading.c +188 -0
  207. data/ext/isomorfeus_ferret_ext/testhelper.c +561 -0
  208. data/ext/isomorfeus_ferret_ext/testhelper.h +25 -0
  209. data/ext/isomorfeus_ferret_ext/tests_all.h +87 -0
  210. data/ext/isomorfeus_ferret_ext/uchar-ucs4.rl +1854 -0
  211. data/ext/isomorfeus_ferret_ext/uchar-utf8.rl +1999 -0
  212. data/ext/isomorfeus_ferret_ext/url.rl +27 -0
  213. data/ext/isomorfeus_ferret_ext/word_list.h +15156 -0
  214. data/lib/isomorfeus/ferret/document.rb +132 -0
  215. data/lib/isomorfeus/ferret/field_symbol.rb +85 -0
  216. data/lib/isomorfeus/ferret/index/field_infos.rb +48 -0
  217. data/lib/isomorfeus/ferret/index/index.rb +970 -0
  218. data/lib/isomorfeus/ferret/monitor.rb +323 -0
  219. data/lib/isomorfeus/ferret/stdlib_patches.rb +151 -0
  220. data/lib/isomorfeus/ferret/version.rb +5 -0
  221. data/lib/isomorfeus-ferret.rb +8 -0
  222. metadata +307 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 640f7cdb49df03f056f6c1a99ede0d18aee007f09d7ead12ddac15d95f45cfcb
4
+ data.tar.gz: 2089beb5f98c3c3c504da4438db9060ed53883f100ea7dcd283bd3f4521d8d6a
5
+ SHA512:
6
+ metadata.gz: 538f86f27a69b4e491a88ead851da9f5e3480c13619586c22a15b7da5fc41165a861cd4b4c00dba5d313dd1580a01f74c086e75ffd06744abfe49be9339aa5f2
7
+ data.tar.gz: 20687382ceb881d0fd1f96641d888df0d896fe9e3b2ec3d34c99b39d006e2b8ce3acfd2d334b96bc3321a8aadf4a404881d2eb5728271938c53a0eb509b9fb84
data/LICENSE ADDED
@@ -0,0 +1,612 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2021 Jan Biedermann
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
23
+
24
+ Most files originally taken from https://github.com/dbalmain/ferret:
25
+
26
+ Copyright (c) 2005-2006 David Balmain
27
+
28
+ MIT License as above
29
+
30
+
31
+ stemmer files in ext/isomorfeus_ferret originally taken from https://github.com/dbalmain/ferret:
32
+
33
+ Copyright (c) 2001, Dr Martin Porter
34
+ Copyright (c) 2004,2005, Richard Boulton
35
+ Copyright (c) 2013, Yoshiki Shibukawa
36
+ Copyright (c) 2006,2007,2009,2010,2011,2014-2019, Olly Betts
37
+ All rights reserved.
38
+
39
+ Redistribution and use in source and binary forms, with or without
40
+ modification, are permitted provided that the following conditions
41
+ are met:
42
+
43
+ 1. Redistributions of source code must retain the above copyright notice,
44
+ this list of conditions and the following disclaimer.
45
+ 2. Redistributions in binary form must reproduce the above copyright notice,
46
+ this list of conditions and the following disclaimer in the documentation
47
+ and/or other materials provided with the distribution.
48
+ 3. Neither the name of the Snowball project nor the names of its contributors
49
+ may be used to endorse or promote products derived from this software
50
+ without specific prior written permission.
51
+
52
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
53
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
54
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
55
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
56
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
57
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
58
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
59
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
60
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
61
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
62
+
63
+
64
+ lib/isomorfeus/ferret/monitor.rb originally taken from the gem 'monitor':
65
+
66
+ Copyright (C) 1993-2013 Yukihiro Matsumoto. All rights reserved.
67
+
68
+ Redistribution and use in source and binary forms, with or without
69
+ modification, are permitted provided that the following conditions
70
+ are met:
71
+ 1. Redistributions of source code must retain the above copyright
72
+ notice, this list of conditions and the following disclaimer.
73
+ 2. Redistributions in binary form must reproduce the above copyright
74
+ notice, this list of conditions and the following disclaimer in the
75
+ documentation and/or other materials provided with the distribution.
76
+
77
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
78
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
79
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
80
+ ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
81
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
82
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
83
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
84
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
85
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
86
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
87
+ SUCH DAMAGE.
88
+
89
+
90
+ For the Reuter-21578 files in the misc/ferret_vs_lucene directory (corpus, etc.),
91
+ used for research for developing search engine technology:
92
+
93
+ The copyright for the text of newswire articles and Reuters
94
+ annotations in the Reuters-21578 collection resides with Reuters Ltd.
95
+ Reuters Ltd. and Carnegie Group, Inc. have agreed to allow the free
96
+ distribution of this data *for research purposes only*.
97
+ If you publish results based on this data set, please acknowledge
98
+ its use, refer to the data set by the name "Reuters-21578,
99
+ Distribution 1.0", and inform your readers of the current location of
100
+ the data set (see "Availability & Questions").
101
+
102
+
103
+ Apache Lucene jars in the misc/ferret_vs_lucene directory:
104
+
105
+
106
+ Apache License
107
+ Version 2.0, January 2004
108
+ http://www.apache.org/licenses/
109
+
110
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
111
+
112
+ 1. Definitions.
113
+
114
+ "License" shall mean the terms and conditions for use, reproduction,
115
+ and distribution as defined by Sections 1 through 9 of this document.
116
+
117
+ "Licensor" shall mean the copyright owner or entity authorized by
118
+ the copyright owner that is granting the License.
119
+
120
+ "Legal Entity" shall mean the union of the acting entity and all
121
+ other entities that control, are controlled by, or are under common
122
+ control with that entity. For the purposes of this definition,
123
+ "control" means (i) the power, direct or indirect, to cause the
124
+ direction or management of such entity, whether by contract or
125
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
126
+ outstanding shares, or (iii) beneficial ownership of such entity.
127
+
128
+ "You" (or "Your") shall mean an individual or Legal Entity
129
+ exercising permissions granted by this License.
130
+
131
+ "Source" form shall mean the preferred form for making modifications,
132
+ including but not limited to software source code, documentation
133
+ source, and configuration files.
134
+
135
+ "Object" form shall mean any form resulting from mechanical
136
+ transformation or translation of a Source form, including but
137
+ not limited to compiled object code, generated documentation,
138
+ and conversions to other media types.
139
+
140
+ "Work" shall mean the work of authorship, whether in Source or
141
+ Object form, made available under the License, as indicated by a
142
+ copyright notice that is included in or attached to the work
143
+ (an example is provided in the Appendix below).
144
+
145
+ "Derivative Works" shall mean any work, whether in Source or Object
146
+ form, that is based on (or derived from) the Work and for which the
147
+ editorial revisions, annotations, elaborations, or other modifications
148
+ represent, as a whole, an original work of authorship. For the purposes
149
+ of this License, Derivative Works shall not include works that remain
150
+ separable from, or merely link (or bind by name) to the interfaces of,
151
+ the Work and Derivative Works thereof.
152
+
153
+ "Contribution" shall mean any work of authorship, including
154
+ the original version of the Work and any modifications or additions
155
+ to that Work or Derivative Works thereof, that is intentionally
156
+ submitted to Licensor for inclusion in the Work by the copyright owner
157
+ or by an individual or Legal Entity authorized to submit on behalf of
158
+ the copyright owner. For the purposes of this definition, "submitted"
159
+ means any form of electronic, verbal, or written communication sent
160
+ to the Licensor or its representatives, including but not limited to
161
+ communication on electronic mailing lists, source code control systems,
162
+ and issue tracking systems that are managed by, or on behalf of, the
163
+ Licensor for the purpose of discussing and improving the Work, but
164
+ excluding communication that is conspicuously marked or otherwise
165
+ designated in writing by the copyright owner as "Not a Contribution."
166
+
167
+ "Contributor" shall mean Licensor and any individual or Legal Entity
168
+ on behalf of whom a Contribution has been received by Licensor and
169
+ subsequently incorporated within the Work.
170
+
171
+ 2. Grant of Copyright License. Subject to the terms and conditions of
172
+ this License, each Contributor hereby grants to You a perpetual,
173
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
174
+ copyright license to reproduce, prepare Derivative Works of,
175
+ publicly display, publicly perform, sublicense, and distribute the
176
+ Work and such Derivative Works in Source or Object form.
177
+
178
+ 3. Grant of Patent License. Subject to the terms and conditions of
179
+ this License, each Contributor hereby grants to You a perpetual,
180
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
181
+ (except as stated in this section) patent license to make, have made,
182
+ use, offer to sell, sell, import, and otherwise transfer the Work,
183
+ where such license applies only to those patent claims licensable
184
+ by such Contributor that are necessarily infringed by their
185
+ Contribution(s) alone or by combination of their Contribution(s)
186
+ with the Work to which such Contribution(s) was submitted. If You
187
+ institute patent litigation against any entity (including a
188
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
189
+ or a Contribution incorporated within the Work constitutes direct
190
+ or contributory patent infringement, then any patent licenses
191
+ granted to You under this License for that Work shall terminate
192
+ as of the date such litigation is filed.
193
+
194
+ 4. Redistribution. You may reproduce and distribute copies of the
195
+ Work or Derivative Works thereof in any medium, with or without
196
+ modifications, and in Source or Object form, provided that You
197
+ meet the following conditions:
198
+
199
+ (a) You must give any other recipients of the Work or
200
+ Derivative Works a copy of this License; and
201
+
202
+ (b) You must cause any modified files to carry prominent notices
203
+ stating that You changed the files; and
204
+
205
+ (c) You must retain, in the Source form of any Derivative Works
206
+ that You distribute, all copyright, patent, trademark, and
207
+ attribution notices from the Source form of the Work,
208
+ excluding those notices that do not pertain to any part of
209
+ the Derivative Works; and
210
+
211
+ (d) If the Work includes a "NOTICE" text file as part of its
212
+ distribution, then any Derivative Works that You distribute must
213
+ include a readable copy of the attribution notices contained
214
+ within such NOTICE file, excluding those notices that do not
215
+ pertain to any part of the Derivative Works, in at least one
216
+ of the following places: within a NOTICE text file distributed
217
+ as part of the Derivative Works; within the Source form or
218
+ documentation, if provided along with the Derivative Works; or,
219
+ within a display generated by the Derivative Works, if and
220
+ wherever such third-party notices normally appear. The contents
221
+ of the NOTICE file are for informational purposes only and
222
+ do not modify the License. You may add Your own attribution
223
+ notices within Derivative Works that You distribute, alongside
224
+ or as an addendum to the NOTICE text from the Work, provided
225
+ that such additional attribution notices cannot be construed
226
+ as modifying the License.
227
+
228
+ You may add Your own copyright statement to Your modifications and
229
+ may provide additional or different license terms and conditions
230
+ for use, reproduction, or distribution of Your modifications, or
231
+ for any such Derivative Works as a whole, provided Your use,
232
+ reproduction, and distribution of the Work otherwise complies with
233
+ the conditions stated in this License.
234
+
235
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
236
+ any Contribution intentionally submitted for inclusion in the Work
237
+ by You to the Licensor shall be under the terms and conditions of
238
+ this License, without any additional terms or conditions.
239
+ Notwithstanding the above, nothing herein shall supersede or modify
240
+ the terms of any separate license agreement you may have executed
241
+ with Licensor regarding such Contributions.
242
+
243
+ 6. Trademarks. This License does not grant permission to use the trade
244
+ names, trademarks, service marks, or product names of the Licensor,
245
+ except as required for reasonable and customary use in describing the
246
+ origin of the Work and reproducing the content of the NOTICE file.
247
+
248
+ 7. Disclaimer of Warranty. Unless required by applicable law or
249
+ agreed to in writing, Licensor provides the Work (and each
250
+ Contributor provides its Contributions) on an "AS IS" BASIS,
251
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
252
+ implied, including, without limitation, any warranties or conditions
253
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
254
+ PARTICULAR PURPOSE. You are solely responsible for determining the
255
+ appropriateness of using or redistributing the Work and assume any
256
+ risks associated with Your exercise of permissions under this License.
257
+
258
+ 8. Limitation of Liability. In no event and under no legal theory,
259
+ whether in tort (including negligence), contract, or otherwise,
260
+ unless required by applicable law (such as deliberate and grossly
261
+ negligent acts) or agreed to in writing, shall any Contributor be
262
+ liable to You for damages, including any direct, indirect, special,
263
+ incidental, or consequential damages of any character arising as a
264
+ result of this License or out of the use or inability to use the
265
+ Work (including but not limited to damages for loss of goodwill,
266
+ work stoppage, computer failure or malfunction, or any and all
267
+ other commercial damages or losses), even if such Contributor
268
+ has been advised of the possibility of such damages.
269
+
270
+ 9. Accepting Warranty or Additional Liability. While redistributing
271
+ the Work or Derivative Works thereof, You may choose to offer,
272
+ and charge a fee for, acceptance of support, warranty, indemnity,
273
+ or other liability obligations and/or rights consistent with this
274
+ License. However, in accepting such obligations, You may act only
275
+ on Your own behalf and on Your sole responsibility, not on behalf
276
+ of any other Contributor, and only if You agree to indemnify,
277
+ defend, and hold each Contributor harmless for any liability
278
+ incurred by, or claims asserted against, such Contributor by reason
279
+ of your accepting any such warranty or additional liability.
280
+
281
+ END OF TERMS AND CONDITIONS
282
+
283
+ APPENDIX: How to apply the Apache License to your work.
284
+
285
+ To apply the Apache License to your work, attach the following
286
+ boilerplate notice, with the fields enclosed by brackets "[]"
287
+ replaced with your own identifying information. (Don't include
288
+ the brackets!) The text should be enclosed in the appropriate
289
+ comment syntax for the file format. We also recommend that a
290
+ file or class name and description of purpose be included on the
291
+ same "printed page" as the copyright notice for easier
292
+ identification within third-party archives.
293
+
294
+ Copyright [yyyy] [name of copyright owner]
295
+
296
+ Licensed under the Apache License, Version 2.0 (the "License");
297
+ you may not use this file except in compliance with the License.
298
+ You may obtain a copy of the License at
299
+
300
+ http://www.apache.org/licenses/LICENSE-2.0
301
+
302
+ Unless required by applicable law or agreed to in writing, software
303
+ distributed under the License is distributed on an "AS IS" BASIS,
304
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
305
+ See the License for the specific language governing permissions and
306
+ limitations under the License.
307
+
308
+
309
+
310
+ Some code in core/src/java/org/apache/lucene/util/UnicodeUtil.java was
311
+ derived from unicode conversion examples available at
312
+ http://www.unicode.org/Public/PROGRAMS/CVTUTF. Here is the copyright
313
+ from those sources:
314
+
315
+ /*
316
+ * Copyright 2001-2004 Unicode, Inc.
317
+ *
318
+ * Disclaimer
319
+ *
320
+ * This source code is provided as is by Unicode, Inc. No claims are
321
+ * made as to fitness for any particular purpose. No warranties of any
322
+ * kind are expressed or implied. The recipient agrees to determine
323
+ * applicability of information provided. If this file has been
324
+ * purchased on magnetic or optical media from Unicode, Inc., the
325
+ * sole remedy for any claim will be exchange of defective media
326
+ * within 90 days of receipt.
327
+ *
328
+ * Limitations on Rights to Redistribute This Code
329
+ *
330
+ * Unicode, Inc. hereby grants the right to freely use the information
331
+ * supplied in this file in the creation of products supporting the
332
+ * Unicode Standard, and to make copies of this file in any form
333
+ * for internal or external distribution as long as this notice
334
+ * remains attached.
335
+ */
336
+
337
+
338
+ Some code in core/src/java/org/apache/lucene/util/ArrayUtil.java was
339
+ derived from Python 2.4.2 sources available at
340
+ http://www.python.org. Full license is here:
341
+
342
+ http://www.python.org/download/releases/2.4.2/license/
343
+
344
+ Some code in core/src/java/org/apache/lucene/util/UnicodeUtil.java was
345
+ derived from Python 3.1.2 sources available at
346
+ http://www.python.org. Full license is here:
347
+
348
+ http://www.python.org/download/releases/3.1.2/license/
349
+
350
+ Some code in core/src/java/org/apache/lucene/util/automaton was
351
+ derived from Brics automaton sources available at
352
+ www.brics.dk/automaton/. Here is the copyright from those sources:
353
+
354
+ /*
355
+ * Copyright (c) 2001-2009 Anders Moeller
356
+ * All rights reserved.
357
+ *
358
+ * Redistribution and use in source and binary forms, with or without
359
+ * modification, are permitted provided that the following conditions
360
+ * are met:
361
+ * 1. Redistributions of source code must retain the above copyright
362
+ * notice, this list of conditions and the following disclaimer.
363
+ * 2. Redistributions in binary form must reproduce the above copyright
364
+ * notice, this list of conditions and the following disclaimer in the
365
+ * documentation and/or other materials provided with the distribution.
366
+ * 3. The name of the author may not be used to endorse or promote products
367
+ * derived from this software without specific prior written permission.
368
+ *
369
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
370
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
371
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
372
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
373
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
374
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
375
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
376
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
377
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
378
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
379
+ */
380
+
381
+ The levenshtein automata tables in core/src/java/org/apache/lucene/util/automaton
382
+ were automatically generated with the moman/finenight FSA package.
383
+ Here is the copyright for those sources:
384
+
385
+ # Copyright (c) 2010, Jean-Philippe Barrette-LaPierre, <jpb@rrette.com>
386
+ #
387
+ # Permission is hereby granted, free of charge, to any person
388
+ # obtaining a copy of this software and associated documentation
389
+ # files (the "Software"), to deal in the Software without
390
+ # restriction, including without limitation the rights to use,
391
+ # copy, modify, merge, publish, distribute, sublicense, and/or sell
392
+ # copies of the Software, and to permit persons to whom the
393
+ # Software is furnished to do so, subject to the following
394
+ # conditions:
395
+ #
396
+ # The above copyright notice and this permission notice shall be
397
+ # included in all copies or substantial portions of the Software.
398
+ #
399
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
400
+ # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
401
+ # OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
402
+ # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
403
+ # HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
404
+ # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
405
+ # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
406
+ # OTHER DEALINGS IN THE SOFTWARE.
407
+
408
+ Some code in core/src/java/org/apache/lucene/util/UnicodeUtil.java was
409
+ derived from ICU (http://www.icu-project.org)
410
+ The full license is available here:
411
+ http://source.icu-project.org/repos/icu/icu/trunk/license.html
412
+
413
+ /*
414
+ * Copyright (C) 1999-2010, International Business Machines
415
+ * Corporation and others. All Rights Reserved.
416
+ *
417
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
418
+ * of this software and associated documentation files (the "Software"), to deal
419
+ * in the Software without restriction, including without limitation the rights
420
+ * to use, copy, modify, merge, publish, distribute, and/or sell copies of the
421
+ * Software, and to permit persons to whom the Software is furnished to do so,
422
+ * provided that the above copyright notice(s) and this permission notice appear
423
+ * in all copies of the Software and that both the above copyright notice(s) and
424
+ * this permission notice appear in supporting documentation.
425
+ *
426
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
427
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
428
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS.
429
+ * IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE
430
+ * LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR
431
+ * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
432
+ * IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
433
+ * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
434
+ *
435
+ * Except as contained in this notice, the name of a copyright holder shall not
436
+ * be used in advertising or otherwise to promote the sale, use or other
437
+ * dealings in this Software without prior written authorization of the
438
+ * copyright holder.
439
+ */
440
+
441
+ The following license applies to the Snowball stemmers:
442
+
443
+ Copyright (c) 2001, Dr Martin Porter
444
+ Copyright (c) 2002, Richard Boulton
445
+ All rights reserved.
446
+
447
+ Redistribution and use in source and binary forms, with or without
448
+ modification, are permitted provided that the following conditions are met:
449
+
450
+ * Redistributions of source code must retain the above copyright notice,
451
+ * this list of conditions and the following disclaimer.
452
+ * Redistributions in binary form must reproduce the above copyright
453
+ * notice, this list of conditions and the following disclaimer in the
454
+ * documentation and/or other materials provided with the distribution.
455
+ * Neither the name of the copyright holders nor the names of its contributors
456
+ * may be used to endorse or promote products derived from this software
457
+ * without specific prior written permission.
458
+
459
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
460
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
461
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
462
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
463
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
464
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
465
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
466
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
467
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
468
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
469
+
470
+ The following license applies to the KStemmer:
471
+
472
+ Copyright © 2003,
473
+ Center for Intelligent Information Retrieval,
474
+ University of Massachusetts, Amherst.
475
+ All rights reserved.
476
+
477
+ Redistribution and use in source and binary forms, with or without modification,
478
+ are permitted provided that the following conditions are met:
479
+
480
+ 1. Redistributions of source code must retain the above copyright notice, this
481
+ list of conditions and the following disclaimer.
482
+
483
+ 2. Redistributions in binary form must reproduce the above copyright notice,
484
+ this list of conditions and the following disclaimer in the documentation
485
+ and/or other materials provided with the distribution.
486
+
487
+ 3. The names "Center for Intelligent Information Retrieval" and
488
+ "University of Massachusetts" must not be used to endorse or promote products
489
+ derived from this software without prior written permission. To obtain
490
+ permission, contact info@ciir.cs.umass.edu.
491
+
492
+ THIS SOFTWARE IS PROVIDED BY UNIVERSITY OF MASSACHUSETTS AND OTHER CONTRIBUTORS
493
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
494
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
495
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
496
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
497
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
498
+ GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
499
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
500
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
501
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
502
+ SUCH DAMAGE.
503
+
504
+ The following license applies to the Morfologik project:
505
+
506
+ Copyright (c) 2006 Dawid Weiss
507
+ Copyright (c) 2007-2011 Dawid Weiss, Marcin Miłkowski
508
+ All rights reserved.
509
+
510
+ Redistribution and use in source and binary forms, with or without modification,
511
+ are permitted provided that the following conditions are met:
512
+
513
+ * Redistributions of source code must retain the above copyright notice,
514
+ this list of conditions and the following disclaimer.
515
+
516
+ * Redistributions in binary form must reproduce the above copyright notice,
517
+ this list of conditions and the following disclaimer in the documentation
518
+ and/or other materials provided with the distribution.
519
+
520
+ * Neither the name of Morfologik nor the names of its contributors
521
+ may be used to endorse or promote products derived from this software
522
+ without specific prior written permission.
523
+
524
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
525
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
526
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
527
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
528
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
529
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
530
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
531
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
532
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
533
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
534
+
535
+ ---
536
+
537
+ The dictionary comes from Morfologik project. Morfologik uses data from
538
+ Polish ispell/myspell dictionary hosted at http://www.sjp.pl/slownik/en/ and
539
+ is licenced on the terms of (inter alia) LGPL and Creative Commons
540
+ ShareAlike. The part-of-speech tags were added in Morfologik project and
541
+ are not found in the data from sjp.pl. The tagset is similar to IPI PAN
542
+ tagset.
543
+
544
+ ---
545
+
546
+ The following license applies to the Morfeusz project,
547
+ used by org.apache.lucene.analysis.morfologik.
548
+
549
+ BSD-licensed dictionary of Polish (SGJP)
550
+ http://sgjp.pl/morfeusz/
551
+
552
+ Copyright © 2011 Zygmunt Saloni, Włodzimierz Gruszczyński,
553
+ Marcin Woliński, Robert Wołosz
554
+
555
+ All rights reserved.
556
+
557
+ Redistribution and use in source and binary forms, with or without
558
+ modification, are permitted provided that the following conditions are
559
+ met:
560
+
561
+ 1. Redistributions of source code must retain the above copyright
562
+ notice, this list of conditions and the following disclaimer.
563
+
564
+ 2. Redistributions in binary form must reproduce the above copyright
565
+ notice, this list of conditions and the following disclaimer in the
566
+ documentation and/or other materials provided with the
567
+ distribution.
568
+
569
+ THIS SOFTWARE IS PROVIDED BY COPYRIGHT HOLDERS “AS IS” AND ANY EXPRESS
570
+ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
571
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
572
+ DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS OR CONTRIBUTORS BE
573
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
574
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
575
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
576
+ BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
577
+ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
578
+ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
579
+ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
580
+
581
+ ---
582
+
583
+ core/src/java/org/apache/lucene/util/compress/LZ4.java is a Java
584
+ implementation of the LZ4 (https://github.com/lz4/lz4/tree/dev/lib)
585
+ compression format for Lucene's DataInput/DataOutput abstractions.
586
+
587
+ LZ4 Library
588
+ Copyright (c) 2011-2016, Yann Collet
589
+ All rights reserved.
590
+
591
+ Redistribution and use in source and binary forms, with or without modification,
592
+ are permitted provided that the following conditions are met:
593
+
594
+ * Redistributions of source code must retain the above copyright notice, this
595
+ list of conditions and the following disclaimer.
596
+
597
+ * Redistributions in binary form must reproduce the above copyright notice, this
598
+ list of conditions and the following disclaimer in the documentation and/or
599
+ other materials provided with the distribution.
600
+
601
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
602
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
603
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
604
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
605
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
606
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
607
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
608
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
609
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
610
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
611
+
612
+
data/README.md ADDED
@@ -0,0 +1,44 @@
1
+ # isomorfeus-ferret
2
+
3
+ Convenient and well performing indexing and search.
4
+
5
+ ### Community and Support
6
+ At the [Isomorfeus Framework Project](http://isomorfeus.com)
7
+
8
+ ## About this project
9
+
10
+ Isomorfeus-Ferret is a revived version of the original ferret gem created by Dave Balmain.
11
+ During revival many things havbe been fixed, now all tests pass, no crashes and it
12
+ successfully compiles and runs with rubys >3. Its no loger a goal to have
13
+ a c library available, but instead the usage is meant as ruby gem with a c extension only.
14
+
15
+ It should work on *nixes and *nuxes and also works on Windows.
16
+
17
+ However, the revival is still fresh and although it appears to be working, issues have to be expected.
18
+
19
+
20
+ ## Documentation
21
+
22
+ The documentations is currently scattered throughout the repo.
23
+
24
+ For a quick start its best to read:
25
+ https://github.com/isomorfeus/isomorfeus-ferret/blob/master/TUTORIAL.md
26
+
27
+ Further:
28
+ https://github.com/isomorfeus/isomorfeus-ferret/blob/master/lib/isomorfeus/ferret/index/index.rb
29
+ https://github.com/isomorfeus/isomorfeus-ferret/blob/master/lib/isomorfeus/ferret/document.rb
30
+
31
+ The query language and parser are documented here:
32
+ https://github.com/isomorfeus/isomorfeus-ferret/blob/master/ext/isomorfeus_ferret_ext/frb_qparser.c
33
+
34
+ Examples can be found in the 'test' directory or in 'misc/ferret_vs_lucene'.
35
+ ## Future
36
+
37
+ Lots of things to do:
38
+ - Bring documentation in order in a docs directory
39
+ - Review code (especially for memory/stack issues, typical c issues)
40
+ - Take care of ruby GVL and threading
41
+ - Check locking (thread and filesystem)
42
+ - See todo directory: https://github.com/isomorfeus/isomorfeus-ferret/tree/master/misc/todo
43
+
44
+ Any help, support much appreciated!