@leemour/cli-messaging 0.126.0 → 0.127.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 (80) hide show
  1. package/THIRD_PARTY_NOTICES +711 -0
  2. package/dist/cli/messenger/messages-command.d.ts.map +1 -1
  3. package/dist/cli/messenger/messages-command.js +2 -79
  4. package/dist/cli/messenger/messages-command.js.map +1 -1
  5. package/dist/cli/messenger/messages-search-command.d.ts +4 -0
  6. package/dist/cli/messenger/messages-search-command.d.ts.map +1 -0
  7. package/dist/cli/messenger/messages-search-command.js +99 -0
  8. package/dist/cli/messenger/messages-search-command.js.map +1 -0
  9. package/dist/mcp/tool.d.ts +1 -0
  10. package/dist/mcp/tool.d.ts.map +1 -1
  11. package/dist/mcp/tool.js +3 -1
  12. package/dist/mcp/tool.js.map +1 -1
  13. package/dist/mcp/tools/messages.d.ts.map +1 -1
  14. package/dist/mcp/tools/messages.js +14 -10
  15. package/dist/mcp/tools/messages.js.map +1 -1
  16. package/dist/search/legacy-regex.d.ts +7 -0
  17. package/dist/search/legacy-regex.d.ts.map +1 -0
  18. package/dist/search/legacy-regex.js +48 -0
  19. package/dist/search/legacy-regex.js.map +1 -0
  20. package/dist/search/lucene/automaton.d.ts +12 -0
  21. package/dist/search/lucene/automaton.d.ts.map +1 -0
  22. package/dist/search/lucene/automaton.js +295 -0
  23. package/dist/search/lucene/automaton.js.map +1 -0
  24. package/dist/search/lucene/dates.d.ts +15 -0
  25. package/dist/search/lucene/dates.d.ts.map +1 -0
  26. package/dist/search/lucene/dates.js +82 -0
  27. package/dist/search/lucene/dates.js.map +1 -0
  28. package/dist/search/lucene/migration.d.ts +21 -0
  29. package/dist/search/lucene/migration.d.ts.map +1 -0
  30. package/dist/search/lucene/migration.js +30 -0
  31. package/dist/search/lucene/migration.js.map +1 -0
  32. package/dist/search/lucene/parser.d.ts +3 -0
  33. package/dist/search/lucene/parser.d.ts.map +1 -0
  34. package/dist/search/lucene/parser.js +271 -0
  35. package/dist/search/lucene/parser.js.map +1 -0
  36. package/dist/search/lucene/presets.d.ts +6 -0
  37. package/dist/search/lucene/presets.d.ts.map +1 -0
  38. package/dist/search/lucene/presets.js +53 -0
  39. package/dist/search/lucene/presets.js.map +1 -0
  40. package/dist/search/lucene/registry.d.ts +201 -0
  41. package/dist/search/lucene/registry.d.ts.map +1 -0
  42. package/dist/search/lucene/registry.js +309 -0
  43. package/dist/search/lucene/registry.js.map +1 -0
  44. package/dist/search/lucene/resolved.d.ts +43 -0
  45. package/dist/search/lucene/resolved.d.ts.map +1 -0
  46. package/dist/search/lucene/resolved.js +2 -0
  47. package/dist/search/lucene/resolved.js.map +1 -0
  48. package/dist/search/lucene/types.d.ts +46 -0
  49. package/dist/search/lucene/types.d.ts.map +1 -0
  50. package/dist/search/lucene/types.js +31 -0
  51. package/dist/search/lucene/types.js.map +1 -0
  52. package/dist/services/index.d.ts +5 -0
  53. package/dist/services/index.d.ts.map +1 -1
  54. package/dist/services/index.js +4 -0
  55. package/dist/services/index.js.map +1 -1
  56. package/dist/services/messages-search.d.ts +21 -0
  57. package/dist/services/messages-search.d.ts.map +1 -0
  58. package/dist/services/messages-search.js +165 -0
  59. package/dist/services/messages-search.js.map +1 -0
  60. package/dist/services/messages.d.ts +18 -1
  61. package/dist/services/messages.d.ts.map +1 -1
  62. package/dist/services/messages.js +16 -3
  63. package/dist/services/messages.js.map +1 -1
  64. package/dist/store/sqlite/legacy-regex.d.ts +7 -0
  65. package/dist/store/sqlite/legacy-regex.d.ts.map +1 -0
  66. package/dist/store/sqlite/legacy-regex.js +42 -0
  67. package/dist/store/sqlite/legacy-regex.js.map +1 -0
  68. package/dist/store/sqlite/lucene.d.ts +6 -0
  69. package/dist/store/sqlite/lucene.d.ts.map +1 -0
  70. package/dist/store/sqlite/lucene.js +318 -0
  71. package/dist/store/sqlite/lucene.js.map +1 -0
  72. package/dist/store/sqlite/search.d.ts.map +1 -1
  73. package/dist/store/sqlite/search.js +6 -30
  74. package/dist/store/sqlite/search.js.map +1 -1
  75. package/dist/store/store.d.ts +3 -0
  76. package/dist/store/store.d.ts.map +1 -1
  77. package/dist/store/store.js +4 -1
  78. package/dist/store/store.js.map +1 -1
  79. package/package.json +6 -4
  80. package/parity.json +1 -4
@@ -0,0 +1,711 @@
1
+ Ports of Apache Lucene 9.12.3 query syntax, Boolean clause processing and regular-expression grammar.
2
+
3
+ Apache Lucene
4
+ Copyright 2001-2024 The Apache Software Foundation
5
+
6
+ This product includes software developed at
7
+ The Apache Software Foundation (http://www.apache.org/).
8
+
9
+ Includes software from other Apache Software Foundation projects,
10
+ including, but not limited to:
11
+ - Apache Jakarta Regexp
12
+ - Apache Commons
13
+ - Apache Xerces
14
+
15
+ ICU4J, (under analysis/icu) is licensed under an MIT styles license
16
+ and Copyright (c) 1995-2008 International Business Machines Corporation and others
17
+
18
+ Some data files (under analysis/icu/src/data) are derived from Unicode data such
19
+ as the Unicode Character Database. See http://unicode.org/copyright.html for more
20
+ details.
21
+
22
+ Brics Automaton (under core/src/java/org/apache/lucene/util/automaton) is
23
+ BSD-licensed, created by Anders Møller. See http://www.brics.dk/automaton/
24
+
25
+ The levenshtein automata tables (under core/src/java/org/apache/lucene/util/automaton) were
26
+ automatically generated with the moman/finenight FSA library, created by
27
+ Jean-Philippe Barrette-LaPierre. This library is available under an MIT license,
28
+ see http://sites.google.com/site/rrettesite/moman and
29
+ http://bitbucket.org/jpbarrette/moman/overview/
30
+
31
+ The class org.apache.lucene.util.WeakIdentityMap was derived from
32
+ the Apache CXF project and is Apache License 2.0.
33
+
34
+ The class org.apache.lucene.util.compress.LZ4 is a Java rewrite of the LZ4
35
+ compression library (https://github.com/lz4/lz4/tree/dev/lib) that is licensed
36
+ under the 2-clause BSD license.
37
+ (https://opensource.org/licenses/bsd-license.php)
38
+
39
+ The Google Code Prettify is Apache License 2.0.
40
+ See http://code.google.com/p/google-code-prettify/
41
+
42
+ This product includes code (JaspellTernarySearchTrie) from Java Spelling Checkin
43
+ g Package (jaspell): http://jaspell.sourceforge.net/
44
+ License: The BSD License (http://www.opensource.org/licenses/bsd-license.php)
45
+
46
+ The snowball stemmers in
47
+ analysis/common/src/java/net/sf/snowball
48
+ were developed by Martin Porter and Richard Boulton.
49
+ The snowball stopword lists in
50
+ analysis/common/src/resources/org/apache/lucene/analysis/snowball
51
+ were developed by Martin Porter and Richard Boulton.
52
+ The full snowball package is available from
53
+ https://snowballstem.org/
54
+
55
+ The KStem stemmer in
56
+ analysis/common/src/org/apache/lucene/analysis/en
57
+ was developed by Bob Krovetz and Sergio Guzman-Lara (CIIR-UMass Amherst)
58
+ under the BSD-license.
59
+
60
+ The Arabic,Persian,Romanian,Bulgarian, Hindi and Bengali analyzers (common) come with a default
61
+ stopword list that is BSD-licensed created by Jacques Savoy. These files reside in:
62
+ analysis/common/src/resources/org/apache/lucene/analysis/ar/stopwords.txt,
63
+ analysis/common/src/resources/org/apache/lucene/analysis/fa/stopwords.txt,
64
+ analysis/common/src/resources/org/apache/lucene/analysis/ro/stopwords.txt,
65
+ analysis/common/src/resources/org/apache/lucene/analysis/bg/stopwords.txt,
66
+ analysis/common/src/resources/org/apache/lucene/analysis/hi/stopwords.txt,
67
+ analysis/common/src/resources/org/apache/lucene/analysis/bn/stopwords.txt
68
+ See http://members.unine.ch/jacques.savoy/clef/index.html.
69
+
70
+ The German,Spanish,Finnish,French,Hungarian,Italian,Portuguese,Russian and Swedish light stemmers
71
+ (common) are based on BSD-licensed reference implementations created by Jacques Savoy and
72
+ Ljiljana Dolamic. These files reside in:
73
+ analysis/common/src/java/org/apache/lucene/analysis/de/GermanLightStemmer.java
74
+ analysis/common/src/java/org/apache/lucene/analysis/de/GermanMinimalStemmer.java
75
+ analysis/common/src/java/org/apache/lucene/analysis/es/SpanishLightStemmer.java
76
+ analysis/common/src/java/org/apache/lucene/analysis/fi/FinnishLightStemmer.java
77
+ analysis/common/src/java/org/apache/lucene/analysis/fr/FrenchLightStemmer.java
78
+ analysis/common/src/java/org/apache/lucene/analysis/fr/FrenchMinimalStemmer.java
79
+ analysis/common/src/java/org/apache/lucene/analysis/hu/HungarianLightStemmer.java
80
+ analysis/common/src/java/org/apache/lucene/analysis/it/ItalianLightStemmer.java
81
+ analysis/common/src/java/org/apache/lucene/analysis/pt/PortugueseLightStemmer.java
82
+ analysis/common/src/java/org/apache/lucene/analysis/ru/RussianLightStemmer.java
83
+ analysis/common/src/java/org/apache/lucene/analysis/sv/SwedishLightStemmer.java
84
+
85
+ The Stempel analyzer (stempel) includes BSD-licensed software developed
86
+ by the Egothor project http://egothor.sf.net/, created by Leo Galambos, Martin Kvapil,
87
+ and Edmond Nolan.
88
+
89
+ The Polish analyzer (stempel) comes with a default
90
+ stopword list that is BSD-licensed created by the Carrot2 project. The file resides
91
+ in stempel/src/resources/org/apache/lucene/analysis/pl/stopwords.txt.
92
+ See https://github.com/carrot2/carrot2.
93
+
94
+ The SmartChineseAnalyzer source code (smartcn) was
95
+ provided by Xiaoping Gao and copyright 2009 by www.imdict.net.
96
+
97
+ WordBreakTestUnicode_*.java (under modules/analysis/common/src/test/)
98
+ is derived from Unicode data such as the Unicode Character Database.
99
+ See http://unicode.org/copyright.html for more details.
100
+
101
+ The Morfologik analyzer (morfologik) includes BSD-licensed software
102
+ developed by Dawid Weiss and Marcin Miłkowski
103
+ (https://github.com/morfologik/morfologik-stemming) and uses
104
+ data from the BSD-licensed dictionary of Polish (SGJP, http://sgjp.pl/morfeusz/).
105
+
106
+ Servlet-api.jar and javax.servlet-*.jar are under the CDDL license, the original
107
+ source code for this can be found at http://www.eclipse.org/jetty/downloads.php
108
+
109
+ ===========================================================================
110
+ Kuromoji Japanese Morphological Analyzer - Apache Lucene Integration
111
+ ===========================================================================
112
+
113
+ This software includes a binary and/or source version of data from
114
+
115
+ mecab-ipadic-2.7.0-20070801
116
+
117
+ which can be obtained from
118
+
119
+ http://atilika.com/releases/mecab-ipadic/mecab-ipadic-2.7.0-20070801.tar.gz
120
+
121
+ or
122
+
123
+ http://jaist.dl.sourceforge.net/project/mecab/mecab-ipadic/2.7.0-20070801/mecab-ipadic-2.7.0-20070801.tar.gz
124
+
125
+ ===========================================================================
126
+ mecab-ipadic-2.7.0-20070801 Notice
127
+ ===========================================================================
128
+
129
+ Nara Institute of Science and Technology (NAIST),
130
+ the copyright holders, disclaims all warranties with regard to this
131
+ software, including all implied warranties of merchantability and
132
+ fitness, in no event shall NAIST be liable for
133
+ any special, indirect or consequential damages or any damages
134
+ whatsoever resulting from loss of use, data or profits, whether in an
135
+ action of contract, negligence or other tortuous action, arising out
136
+ of or in connection with the use or performance of this software.
137
+
138
+ A large portion of the dictionary entries
139
+ originate from ICOT Free Software. The following conditions for ICOT
140
+ Free Software applies to the current dictionary as well.
141
+
142
+ Each User may also freely distribute the Program, whether in its
143
+ original form or modified, to any third party or parties, PROVIDED
144
+ that the provisions of Section 3 ("NO WARRANTY") will ALWAYS appear
145
+ on, or be attached to, the Program, which is distributed substantially
146
+ in the same form as set out herein and that such intended
147
+ distribution, if actually made, will neither violate or otherwise
148
+ contravene any of the laws and regulations of the countries having
149
+ jurisdiction over the User or the intended distribution itself.
150
+
151
+ NO WARRANTY
152
+
153
+ The program was produced on an experimental basis in the course of the
154
+ research and development conducted during the project and is provided
155
+ to users as so produced on an experimental basis. Accordingly, the
156
+ program is provided without any warranty whatsoever, whether express,
157
+ implied, statutory or otherwise. The term "warranty" used herein
158
+ includes, but is not limited to, any warranty of the quality,
159
+ performance, merchantability and fitness for a particular purpose of
160
+ the program and the nonexistence of any infringement or violation of
161
+ any right of any third party.
162
+
163
+ Each user of the program will agree and understand, and be deemed to
164
+ have agreed and understood, that there is no warranty whatsoever for
165
+ the program and, accordingly, the entire risk arising from or
166
+ otherwise connected with the program is assumed by the user.
167
+
168
+ Therefore, neither ICOT, the copyright holder, or any other
169
+ organization that participated in or was otherwise related to the
170
+ development of the program and their respective officials, directors,
171
+ officers and other employees shall be held liable for any and all
172
+ damages, including, without limitation, general, special, incidental
173
+ and consequential damages, arising out of or otherwise in connection
174
+ with the use or inability to use the program or any product, material
175
+ or result produced or otherwise obtained by using the program,
176
+ regardless of whether they have been advised of, or otherwise had
177
+ knowledge of, the possibility of such damages at any time during the
178
+ project or thereafter. Each user will be deemed to have agreed to the
179
+ foregoing by his or her commencement of use of the program. The term
180
+ "use" as used herein includes, but is not limited to, the use,
181
+ modification, copying and distribution of the program and the
182
+ production of secondary products from the program.
183
+
184
+ In the case where the program, whether in its original form or
185
+ modified, was distributed or delivered to or received by a user from
186
+ any person, organization or entity other than ICOT, unless it makes or
187
+ grants independently of ICOT any specific warranty to the user in
188
+ writing, such person, organization or entity, will also be exempted
189
+ from and not be held liable to the user for any such damages as noted
190
+ above as far as the program is concerned.
191
+
192
+ ===========================================================================
193
+ Nori Korean Morphological Analyzer - Apache Lucene Integration
194
+ ===========================================================================
195
+
196
+ This software includes a binary and/or source version of data from
197
+
198
+ mecab-ko-dic-2.0.3-20170922
199
+
200
+ which can be obtained from
201
+
202
+ https://bitbucket.org/eunjeon/mecab-ko-dic/downloads/mecab-ko-dic-2.0.3-20170922.tar.gz
203
+
204
+
205
+
206
+ Apache License
207
+ Version 2.0, January 2004
208
+ http://www.apache.org/licenses/
209
+
210
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
211
+
212
+ 1. Definitions.
213
+
214
+ "License" shall mean the terms and conditions for use, reproduction,
215
+ and distribution as defined by Sections 1 through 9 of this document.
216
+
217
+ "Licensor" shall mean the copyright owner or entity authorized by
218
+ the copyright owner that is granting the License.
219
+
220
+ "Legal Entity" shall mean the union of the acting entity and all
221
+ other entities that control, are controlled by, or are under common
222
+ control with that entity. For the purposes of this definition,
223
+ "control" means (i) the power, direct or indirect, to cause the
224
+ direction or management of such entity, whether by contract or
225
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
226
+ outstanding shares, or (iii) beneficial ownership of such entity.
227
+
228
+ "You" (or "Your") shall mean an individual or Legal Entity
229
+ exercising permissions granted by this License.
230
+
231
+ "Source" form shall mean the preferred form for making modifications,
232
+ including but not limited to software source code, documentation
233
+ source, and configuration files.
234
+
235
+ "Object" form shall mean any form resulting from mechanical
236
+ transformation or translation of a Source form, including but
237
+ not limited to compiled object code, generated documentation,
238
+ and conversions to other media types.
239
+
240
+ "Work" shall mean the work of authorship, whether in Source or
241
+ Object form, made available under the License, as indicated by a
242
+ copyright notice that is included in or attached to the work
243
+ (an example is provided in the Appendix below).
244
+
245
+ "Derivative Works" shall mean any work, whether in Source or Object
246
+ form, that is based on (or derived from) the Work and for which the
247
+ editorial revisions, annotations, elaborations, or other modifications
248
+ represent, as a whole, an original work of authorship. For the purposes
249
+ of this License, Derivative Works shall not include works that remain
250
+ separable from, or merely link (or bind by name) to the interfaces of,
251
+ the Work and Derivative Works thereof.
252
+
253
+ "Contribution" shall mean any work of authorship, including
254
+ the original version of the Work and any modifications or additions
255
+ to that Work or Derivative Works thereof, that is intentionally
256
+ submitted to Licensor for inclusion in the Work by the copyright owner
257
+ or by an individual or Legal Entity authorized to submit on behalf of
258
+ the copyright owner. For the purposes of this definition, "submitted"
259
+ means any form of electronic, verbal, or written communication sent
260
+ to the Licensor or its representatives, including but not limited to
261
+ communication on electronic mailing lists, source code control systems,
262
+ and issue tracking systems that are managed by, or on behalf of, the
263
+ Licensor for the purpose of discussing and improving the Work, but
264
+ excluding communication that is conspicuously marked or otherwise
265
+ designated in writing by the copyright owner as "Not a Contribution."
266
+
267
+ "Contributor" shall mean Licensor and any individual or Legal Entity
268
+ on behalf of whom a Contribution has been received by Licensor and
269
+ subsequently incorporated within the Work.
270
+
271
+ 2. Grant of Copyright License. Subject to the terms and conditions of
272
+ this License, each Contributor hereby grants to You a perpetual,
273
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
274
+ copyright license to reproduce, prepare Derivative Works of,
275
+ publicly display, publicly perform, sublicense, and distribute the
276
+ Work and such Derivative Works in Source or Object form.
277
+
278
+ 3. Grant of Patent License. Subject to the terms and conditions of
279
+ this License, each Contributor hereby grants to You a perpetual,
280
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
281
+ (except as stated in this section) patent license to make, have made,
282
+ use, offer to sell, sell, import, and otherwise transfer the Work,
283
+ where such license applies only to those patent claims licensable
284
+ by such Contributor that are necessarily infringed by their
285
+ Contribution(s) alone or by combination of their Contribution(s)
286
+ with the Work to which such Contribution(s) was submitted. If You
287
+ institute patent litigation against any entity (including a
288
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
289
+ or a Contribution incorporated within the Work constitutes direct
290
+ or contributory patent infringement, then any patent licenses
291
+ granted to You under this License for that Work shall terminate
292
+ as of the date such litigation is filed.
293
+
294
+ 4. Redistribution. You may reproduce and distribute copies of the
295
+ Work or Derivative Works thereof in any medium, with or without
296
+ modifications, and in Source or Object form, provided that You
297
+ meet the following conditions:
298
+
299
+ (a) You must give any other recipients of the Work or
300
+ Derivative Works a copy of this License; and
301
+
302
+ (b) You must cause any modified files to carry prominent notices
303
+ stating that You changed the files; and
304
+
305
+ (c) You must retain, in the Source form of any Derivative Works
306
+ that You distribute, all copyright, patent, trademark, and
307
+ attribution notices from the Source form of the Work,
308
+ excluding those notices that do not pertain to any part of
309
+ the Derivative Works; and
310
+
311
+ (d) If the Work includes a "NOTICE" text file as part of its
312
+ distribution, then any Derivative Works that You distribute must
313
+ include a readable copy of the attribution notices contained
314
+ within such NOTICE file, excluding those notices that do not
315
+ pertain to any part of the Derivative Works, in at least one
316
+ of the following places: within a NOTICE text file distributed
317
+ as part of the Derivative Works; within the Source form or
318
+ documentation, if provided along with the Derivative Works; or,
319
+ within a display generated by the Derivative Works, if and
320
+ wherever such third-party notices normally appear. The contents
321
+ of the NOTICE file are for informational purposes only and
322
+ do not modify the License. You may add Your own attribution
323
+ notices within Derivative Works that You distribute, alongside
324
+ or as an addendum to the NOTICE text from the Work, provided
325
+ that such additional attribution notices cannot be construed
326
+ as modifying the License.
327
+
328
+ You may add Your own copyright statement to Your modifications and
329
+ may provide additional or different license terms and conditions
330
+ for use, reproduction, or distribution of Your modifications, or
331
+ for any such Derivative Works as a whole, provided Your use,
332
+ reproduction, and distribution of the Work otherwise complies with
333
+ the conditions stated in this License.
334
+
335
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
336
+ any Contribution intentionally submitted for inclusion in the Work
337
+ by You to the Licensor shall be under the terms and conditions of
338
+ this License, without any additional terms or conditions.
339
+ Notwithstanding the above, nothing herein shall supersede or modify
340
+ the terms of any separate license agreement you may have executed
341
+ with Licensor regarding such Contributions.
342
+
343
+ 6. Trademarks. This License does not grant permission to use the trade
344
+ names, trademarks, service marks, or product names of the Licensor,
345
+ except as required for reasonable and customary use in describing the
346
+ origin of the Work and reproducing the content of the NOTICE file.
347
+
348
+ 7. Disclaimer of Warranty. Unless required by applicable law or
349
+ agreed to in writing, Licensor provides the Work (and each
350
+ Contributor provides its Contributions) on an "AS IS" BASIS,
351
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
352
+ implied, including, without limitation, any warranties or conditions
353
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
354
+ PARTICULAR PURPOSE. You are solely responsible for determining the
355
+ appropriateness of using or redistributing the Work and assume any
356
+ risks associated with Your exercise of permissions under this License.
357
+
358
+ 8. Limitation of Liability. In no event and under no legal theory,
359
+ whether in tort (including negligence), contract, or otherwise,
360
+ unless required by applicable law (such as deliberate and grossly
361
+ negligent acts) or agreed to in writing, shall any Contributor be
362
+ liable to You for damages, including any direct, indirect, special,
363
+ incidental, or consequential damages of any character arising as a
364
+ result of this License or out of the use or inability to use the
365
+ Work (including but not limited to damages for loss of goodwill,
366
+ work stoppage, computer failure or malfunction, or any and all
367
+ other commercial damages or losses), even if such Contributor
368
+ has been advised of the possibility of such damages.
369
+
370
+ 9. Accepting Warranty or Additional Liability. While redistributing
371
+ the Work or Derivative Works thereof, You may choose to offer,
372
+ and charge a fee for, acceptance of support, warranty, indemnity,
373
+ or other liability obligations and/or rights consistent with this
374
+ License. However, in accepting such obligations, You may act only
375
+ on Your own behalf and on Your sole responsibility, not on behalf
376
+ of any other Contributor, and only if You agree to indemnify,
377
+ defend, and hold each Contributor harmless for any liability
378
+ incurred by, or claims asserted against, such Contributor by reason
379
+ of your accepting any such warranty or additional liability.
380
+
381
+ END OF TERMS AND CONDITIONS
382
+
383
+ APPENDIX: How to apply the Apache License to your work.
384
+
385
+ To apply the Apache License to your work, attach the following
386
+ boilerplate notice, with the fields enclosed by brackets "[]"
387
+ replaced with your own identifying information. (Don't include
388
+ the brackets!) The text should be enclosed in the appropriate
389
+ comment syntax for the file format. We also recommend that a
390
+ file or class name and description of purpose be included on the
391
+ same "printed page" as the copyright notice for easier
392
+ identification within third-party archives.
393
+
394
+ Copyright [yyyy] [name of copyright owner]
395
+
396
+ Licensed under the Apache License, Version 2.0 (the "License");
397
+ you may not use this file except in compliance with the License.
398
+ You may obtain a copy of the License at
399
+
400
+ http://www.apache.org/licenses/LICENSE-2.0
401
+
402
+ Unless required by applicable law or agreed to in writing, software
403
+ distributed under the License is distributed on an "AS IS" BASIS,
404
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
405
+ See the License for the specific language governing permissions and
406
+ limitations under the License.
407
+
408
+
409
+
410
+ Some code in core/src/java/org/apache/lucene/util/UnicodeUtil.java was
411
+ derived from unicode conversion examples available at
412
+ http://www.unicode.org/Public/PROGRAMS/CVTUTF. Here is the copyright
413
+ from those sources:
414
+
415
+ /*
416
+ * Copyright 2001-2004 Unicode, Inc.
417
+ *
418
+ * Disclaimer
419
+ *
420
+ * This source code is provided as is by Unicode, Inc. No claims are
421
+ * made as to fitness for any particular purpose. No warranties of any
422
+ * kind are expressed or implied. The recipient agrees to determine
423
+ * applicability of information provided. If this file has been
424
+ * purchased on magnetic or optical media from Unicode, Inc., the
425
+ * sole remedy for any claim will be exchange of defective media
426
+ * within 90 days of receipt.
427
+ *
428
+ * Limitations on Rights to Redistribute This Code
429
+ *
430
+ * Unicode, Inc. hereby grants the right to freely use the information
431
+ * supplied in this file in the creation of products supporting the
432
+ * Unicode Standard, and to make copies of this file in any form
433
+ * for internal or external distribution as long as this notice
434
+ * remains attached.
435
+ */
436
+
437
+
438
+ Some code in core/src/java/org/apache/lucene/util/ArrayUtil.java was
439
+ derived from Python 2.4.2 sources available at
440
+ http://www.python.org. Full license is here:
441
+
442
+ http://www.python.org/download/releases/2.4.2/license/
443
+
444
+ Some code in core/src/java/org/apache/lucene/util/UnicodeUtil.java was
445
+ derived from Python 3.1.2 sources available at
446
+ http://www.python.org. Full license is here:
447
+
448
+ http://www.python.org/download/releases/3.1.2/license/
449
+
450
+ Some code in core/src/java/org/apache/lucene/util/automaton was
451
+ derived from Brics automaton sources available at
452
+ www.brics.dk/automaton/. Here is the copyright from those sources:
453
+
454
+ /*
455
+ * Copyright (c) 2001-2009 Anders Moeller
456
+ * All rights reserved.
457
+ *
458
+ * Redistribution and use in source and binary forms, with or without
459
+ * modification, are permitted provided that the following conditions
460
+ * are met:
461
+ * 1. Redistributions of source code must retain the above copyright
462
+ * notice, this list of conditions and the following disclaimer.
463
+ * 2. Redistributions in binary form must reproduce the above copyright
464
+ * notice, this list of conditions and the following disclaimer in the
465
+ * documentation and/or other materials provided with the distribution.
466
+ * 3. The name of the author may not be used to endorse or promote products
467
+ * derived from this software without specific prior written permission.
468
+ *
469
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
470
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
471
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
472
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
473
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
474
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
475
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
476
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
477
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
478
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
479
+ */
480
+
481
+ The levenshtein automata tables in core/src/java/org/apache/lucene/util/automaton
482
+ were automatically generated with the moman/finenight FSA package.
483
+ Here is the copyright for those sources:
484
+
485
+ # Copyright (c) 2010, Jean-Philippe Barrette-LaPierre, <jpb@rrette.com>
486
+ #
487
+ # Permission is hereby granted, free of charge, to any person
488
+ # obtaining a copy of this software and associated documentation
489
+ # files (the "Software"), to deal in the Software without
490
+ # restriction, including without limitation the rights to use,
491
+ # copy, modify, merge, publish, distribute, sublicense, and/or sell
492
+ # copies of the Software, and to permit persons to whom the
493
+ # Software is furnished to do so, subject to the following
494
+ # conditions:
495
+ #
496
+ # The above copyright notice and this permission notice shall be
497
+ # included in all copies or substantial portions of the Software.
498
+ #
499
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
500
+ # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
501
+ # OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
502
+ # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
503
+ # HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
504
+ # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
505
+ # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
506
+ # OTHER DEALINGS IN THE SOFTWARE.
507
+
508
+ Some code in core/src/java/org/apache/lucene/util/UnicodeUtil.java was
509
+ derived from ICU (http://www.icu-project.org)
510
+ The full license is available here:
511
+ https://github.com/unicode-org/icu/blob/main/icu4c/LICENSE
512
+
513
+ /*
514
+ * Copyright (C) 1999-2010, International Business Machines
515
+ * Corporation and others. All Rights Reserved.
516
+ *
517
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
518
+ * of this software and associated documentation files (the "Software"), to deal
519
+ * in the Software without restriction, including without limitation the rights
520
+ * to use, copy, modify, merge, publish, distribute, and/or sell copies of the
521
+ * Software, and to permit persons to whom the Software is furnished to do so,
522
+ * provided that the above copyright notice(s) and this permission notice appear
523
+ * in all copies of the Software and that both the above copyright notice(s) and
524
+ * this permission notice appear in supporting documentation.
525
+ *
526
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
527
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
528
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS.
529
+ * IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE
530
+ * LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR
531
+ * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
532
+ * IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
533
+ * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
534
+ *
535
+ * Except as contained in this notice, the name of a copyright holder shall not
536
+ * be used in advertising or otherwise to promote the sale, use or other
537
+ * dealings in this Software without prior written authorization of the
538
+ * copyright holder.
539
+ */
540
+
541
+ The following license applies to the Snowball stemmers:
542
+
543
+ Copyright (c) 2001, Dr Martin Porter
544
+ Copyright (c) 2002, Richard Boulton
545
+ All rights reserved.
546
+
547
+ Redistribution and use in source and binary forms, with or without
548
+ modification, are permitted provided that the following conditions are met:
549
+
550
+ * Redistributions of source code must retain the above copyright notice,
551
+ * this list of conditions and the following disclaimer.
552
+ * Redistributions in binary form must reproduce the above copyright
553
+ * notice, this list of conditions and the following disclaimer in the
554
+ * documentation and/or other materials provided with the distribution.
555
+ * Neither the name of the copyright holders nor the names of its contributors
556
+ * may be used to endorse or promote products derived from this software
557
+ * without specific prior written permission.
558
+
559
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
560
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
561
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
562
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
563
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
564
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
565
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
566
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
567
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
568
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
569
+
570
+ The following license applies to the KStemmer:
571
+
572
+ Copyright © 2003,
573
+ Center for Intelligent Information Retrieval,
574
+ University of Massachusetts, Amherst.
575
+ All rights reserved.
576
+
577
+ Redistribution and use in source and binary forms, with or without modification,
578
+ are permitted provided that the following conditions are met:
579
+
580
+ 1. Redistributions of source code must retain the above copyright notice, this
581
+ list of conditions and the following disclaimer.
582
+
583
+ 2. Redistributions in binary form must reproduce the above copyright notice,
584
+ this list of conditions and the following disclaimer in the documentation
585
+ and/or other materials provided with the distribution.
586
+
587
+ 3. The names "Center for Intelligent Information Retrieval" and
588
+ "University of Massachusetts" must not be used to endorse or promote products
589
+ derived from this software without prior written permission. To obtain
590
+ permission, contact info@ciir.cs.umass.edu.
591
+
592
+ THIS SOFTWARE IS PROVIDED BY UNIVERSITY OF MASSACHUSETTS AND OTHER CONTRIBUTORS
593
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
594
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
595
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
596
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
597
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
598
+ GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
599
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
600
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
601
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
602
+ SUCH DAMAGE.
603
+
604
+ The following license applies to the Morfologik project:
605
+
606
+ Copyright (c) 2006 Dawid Weiss
607
+ Copyright (c) 2007-2011 Dawid Weiss, Marcin Miłkowski
608
+ All rights reserved.
609
+
610
+ Redistribution and use in source and binary forms, with or without modification,
611
+ are permitted provided that the following conditions are met:
612
+
613
+ * Redistributions of source code must retain the above copyright notice,
614
+ this list of conditions and the following disclaimer.
615
+
616
+ * Redistributions in binary form must reproduce the above copyright notice,
617
+ this list of conditions and the following disclaimer in the documentation
618
+ and/or other materials provided with the distribution.
619
+
620
+ * Neither the name of Morfologik nor the names of its contributors
621
+ may be used to endorse or promote products derived from this software
622
+ without specific prior written permission.
623
+
624
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
625
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
626
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
627
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
628
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
629
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
630
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
631
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
632
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
633
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
634
+
635
+ ---
636
+
637
+ The dictionary comes from Morfologik project. Morfologik uses data from
638
+ Polish ispell/myspell dictionary hosted at http://www.sjp.pl/slownik/en/ and
639
+ is licenced on the terms of (inter alia) LGPL and Creative Commons
640
+ ShareAlike. The part-of-speech tags were added in Morfologik project and
641
+ are not found in the data from sjp.pl. The tagset is similar to IPI PAN
642
+ tagset.
643
+
644
+ ---
645
+
646
+ The following license applies to the Morfeusz project,
647
+ used by org.apache.lucene.analysis.morfologik.
648
+
649
+ BSD-licensed dictionary of Polish (SGJP)
650
+ http://sgjp.pl/morfeusz/
651
+
652
+ Copyright © 2011 Zygmunt Saloni, Włodzimierz Gruszczyński,
653
+ Marcin Woliński, Robert Wołosz
654
+
655
+ All rights reserved.
656
+
657
+ Redistribution and use in source and binary forms, with or without
658
+ modification, are permitted provided that the following conditions are
659
+ met:
660
+
661
+ 1. Redistributions of source code must retain the above copyright
662
+ notice, this list of conditions and the following disclaimer.
663
+
664
+ 2. Redistributions in binary form must reproduce the above copyright
665
+ notice, this list of conditions and the following disclaimer in the
666
+ documentation and/or other materials provided with the
667
+ distribution.
668
+
669
+ THIS SOFTWARE IS PROVIDED BY COPYRIGHT HOLDERS “AS IS” AND ANY EXPRESS
670
+ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
671
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
672
+ DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS OR CONTRIBUTORS BE
673
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
674
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
675
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
676
+ BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
677
+ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
678
+ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
679
+ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
680
+
681
+ ---
682
+
683
+ core/src/java/org/apache/lucene/util/compress/LZ4.java is a Java
684
+ implementation of the LZ4 (https://github.com/lz4/lz4/tree/dev/lib)
685
+ compression format for Lucene's DataInput/DataOutput abstractions.
686
+
687
+ LZ4 Library
688
+ Copyright (c) 2011-2016, Yann Collet
689
+ All rights reserved.
690
+
691
+ Redistribution and use in source and binary forms, with or without modification,
692
+ are permitted provided that the following conditions are met:
693
+
694
+ * Redistributions of source code must retain the above copyright notice, this
695
+ list of conditions and the following disclaimer.
696
+
697
+ * Redistributions in binary form must reproduce the above copyright notice, this
698
+ list of conditions and the following disclaimer in the documentation and/or
699
+ other materials provided with the distribution.
700
+
701
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
702
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
703
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
704
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
705
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
706
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
707
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
708
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
709
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
710
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
711
+