@delali/narsil 0.3.0 → 0.3.1-next.101

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 (165) hide show
  1. package/README.md +9 -8
  2. package/dist/adapters/filesystem.d.ts +1 -1
  3. package/dist/adapters/filesystem.mjs +1 -1
  4. package/dist/adapters/indexeddb.d.ts +1 -1
  5. package/dist/adapters/indexeddb.mjs +1 -1
  6. package/dist/adapters/memory.d.ts +1 -1
  7. package/dist/{adapters-79OIa4xm.d.ts → adapters-BQFQ4PRz.d.ts} +27 -1
  8. package/dist/browser/chunk-BDOSMEEP.mjs +493 -0
  9. package/dist/browser/chunk-EJDUFWSO.mjs +602 -0
  10. package/dist/browser/chunk-HOZW3PKP.mjs +9 -0
  11. package/dist/browser/chunk-JOVZ6HMT.mjs +4358 -0
  12. package/dist/browser/chunk-JPTQZWJQ.mjs +10 -0
  13. package/dist/browser/chunk-KPJMDPHG.mjs +24558 -0
  14. package/dist/browser/chunk-PGIM3HIM.mjs +2743 -0
  15. package/dist/browser/chunk-RHG4O77A.mjs +206 -0
  16. package/dist/browser/chunk-RIJSLY2I.mjs +360 -0
  17. package/dist/browser/durability-wiring-SRUYT3VV.mjs +3875 -0
  18. package/dist/browser/module-CBB2ETYP.mjs +3111 -0
  19. package/dist/browser/release-76MXRPGV.mjs +33 -0
  20. package/dist/browser/replace-RURXTGVG.mjs +57 -0
  21. package/dist/browser/restore-queue-EEZQO6RF.mjs +35 -0
  22. package/dist/browser/runtime-7ZAHCHWR.mjs +557 -0
  23. package/dist/browser/snapshot-OAAA5UJ7.mjs +1210 -0
  24. package/dist/browser/write-7D6VIK6O.mjs +208 -0
  25. package/dist/{capabilities-DSsOGz6F.d.ts → capabilities-DiGlB6Sr.d.ts} +68 -7
  26. package/dist/chunk-2RIRGOUL.mjs +113 -0
  27. package/dist/chunk-37CD3OKS.mjs +87 -0
  28. package/dist/chunk-44W3CBNG.mjs +7 -0
  29. package/dist/chunk-46D6JQIG.mjs +426 -0
  30. package/dist/{chunk-VMRR3DQU.mjs → chunk-5JNA5SKS.mjs} +546 -35
  31. package/dist/chunk-747OHOUA.mjs +11 -0
  32. package/dist/chunk-75XIEF6H.mjs +126 -0
  33. package/dist/chunk-7X5JST5L.mjs +114 -0
  34. package/dist/chunk-BOFBLJFZ.mjs +209 -0
  35. package/dist/{chunk-USKFU7J5.mjs → chunk-BWJVNZPR.mjs} +8 -1
  36. package/dist/chunk-C7SLA6CM.mjs +19 -0
  37. package/dist/{chunk-POWOTUKJ.mjs → chunk-CQUMNIIG.mjs} +3 -6
  38. package/dist/chunk-CVXLLEQ3.mjs +1011 -0
  39. package/dist/chunk-DJHHF2L5.mjs +17 -0
  40. package/dist/chunk-E74YLAIG.mjs +24 -0
  41. package/dist/{chunk-UXNWQZST.mjs → chunk-EMRMGYRE.mjs} +236 -18
  42. package/dist/chunk-EWZLIYHV.mjs +57 -0
  43. package/dist/chunk-GBEEG5AN.mjs +35 -0
  44. package/dist/chunk-GES7U2PM.mjs +68 -0
  45. package/dist/chunk-HJSN7UYG.mjs +10 -0
  46. package/dist/chunk-HLPRHOSO.mjs +17 -0
  47. package/dist/chunk-HMFNFVP7.mjs +14 -0
  48. package/dist/chunk-J5QP52HA.mjs +1751 -0
  49. package/dist/{chunk-YNVIUGF5.mjs → chunk-JZVARCRZ.mjs} +3 -28
  50. package/dist/chunk-KOKM4PQN.mjs +52 -0
  51. package/dist/{chunk-B2TFROFX.mjs → chunk-KWTW6VTG.mjs} +465 -250
  52. package/dist/chunk-KZ3NX2P7.mjs +21 -0
  53. package/dist/chunk-L5ORED7V.mjs +25 -0
  54. package/dist/{chunk-THYRHHO2.mjs → chunk-LGAMKHA2.mjs} +2009 -2351
  55. package/dist/chunk-LKOB5COA.mjs +117 -0
  56. package/dist/chunk-LPQOEU5M.mjs +96 -0
  57. package/dist/{chunk-3LHGNRYE.mjs → chunk-LXWDQLTW.mjs} +7 -2
  58. package/dist/{chunk-L6TNPLAR.mjs → chunk-OEYI3KRB.mjs} +270 -108
  59. package/dist/chunk-OM362BRO.mjs +948 -0
  60. package/dist/chunk-OZDFA4WC.mjs +67 -0
  61. package/dist/chunk-P36MUFEJ.mjs +10 -0
  62. package/dist/chunk-PC2G76VW.mjs +2540 -0
  63. package/dist/{chunk-GCM3JFVA.mjs → chunk-PNEYIHA4.mjs} +11 -2
  64. package/dist/chunk-PNFKUCG3.mjs +1130 -0
  65. package/dist/chunk-Q6XWVUZX.mjs +44 -0
  66. package/dist/chunk-R27EMH5M.mjs +617 -0
  67. package/dist/{chunk-YMZCMH5M.mjs → chunk-R6A773WK.mjs} +19 -24
  68. package/dist/chunk-RF7PLG43.mjs +106 -0
  69. package/dist/chunk-RFBLQLLZ.mjs +16 -0
  70. package/dist/{chunk-Y3L5MDRV.mjs → chunk-RFVUDM5E.mjs} +17 -2
  71. package/dist/chunk-S7FL6UAH.mjs +521 -0
  72. package/dist/chunk-S7GNDRPS.mjs +651 -0
  73. package/dist/chunk-SP3NM3ZG.mjs +3537 -0
  74. package/dist/chunk-U476IXKQ.mjs +10 -0
  75. package/dist/chunk-UA3AUGNV.mjs +462 -0
  76. package/dist/chunk-UTG5YNXV.mjs +507 -0
  77. package/dist/chunk-VI4R6W25.mjs +8484 -0
  78. package/dist/chunk-WQBCBKY3.mjs +8 -0
  79. package/dist/{chunk-24RXHMEL.mjs → chunk-WVCOCKBU.mjs} +3794 -7570
  80. package/dist/chunk-X5CV2E2B.mjs +1 -0
  81. package/dist/chunk-XADZPPZI.mjs +614 -0
  82. package/dist/chunk-YEEQHT4V.mjs +212 -0
  83. package/dist/chunk-YTJCGKM4.mjs +56 -0
  84. package/dist/chunk-YYQIODMF.mjs +275 -0
  85. package/dist/chunk-ZI34TVOA.mjs +144 -0
  86. package/dist/{chunk-OOSIDHA3.mjs → chunk-ZKWYWW4Y.mjs} +1 -1
  87. package/dist/chunk-ZM7KU4YW.mjs +35 -0
  88. package/dist/{client-BQK6Tf6A.d.ts → client-BOStAkc5.d.ts} +160 -37
  89. package/dist/client.d.ts +11 -10
  90. package/dist/client.mjs +209 -45
  91. package/dist/{config-DmXULPa-.d.ts → config-Cjvzbs_j.d.ts} +51 -3
  92. package/dist/config-DffQlmRq.d.ts +421 -0
  93. package/dist/direct-executor-ZD64PPEZ.mjs +24 -0
  94. package/dist/distribution/coordinator/etcd.d.ts +79 -18
  95. package/dist/distribution/coordinator/etcd.mjs +553 -109
  96. package/dist/distribution/coordinator/in-memory.d.ts +4 -3
  97. package/dist/distribution/coordinator/in-memory.mjs +22 -3
  98. package/dist/distribution/transport/grpc.d.ts +2 -2
  99. package/dist/distribution/transport/grpc.mjs +79 -14
  100. package/dist/distribution/transport/in-memory.d.ts +2 -2
  101. package/dist/distribution/transport/in-memory.mjs +12 -7
  102. package/dist/distribution/transport/tcp.d.ts +2 -2
  103. package/dist/distribution/transport/tcp.mjs +50 -28
  104. package/dist/distribution.d.ts +144 -23
  105. package/dist/distribution.mjs +14479 -8173
  106. package/dist/durability-wiring-FEUBR5BT.mjs +3330 -0
  107. package/dist/embeddings/openai.d.ts +2 -2
  108. package/dist/embeddings/openai.mjs +22 -133
  109. package/dist/{engine-CIOyFozK.d.ts → engine-rC0vjjY-.d.ts} +165 -141
  110. package/dist/{memory-yFaVn2xZ.d.ts → events-DqOIg5xa.d.ts} +645 -136
  111. package/dist/{types-DAK7mnUZ.d.ts → index-Bkdt8nDw.d.ts} +182 -45
  112. package/dist/index.browser.mjs +4 -32180
  113. package/dist/index.d.ts +91 -20
  114. package/dist/index.mjs +33 -16
  115. package/dist/invalidation/broadcast-channel.d.ts +1 -1
  116. package/dist/invalidation/filesystem.d.ts +1 -1
  117. package/dist/invalidation/filesystem.mjs +2 -1
  118. package/dist/invalidation/noop.d.ts +1 -1
  119. package/dist/module-3S65MVCM.mjs +2151 -0
  120. package/dist/partial-words-DTIHO8G4.d.ts +19 -0
  121. package/dist/partial-words.d.ts +22 -0
  122. package/dist/partial-words.mjs +17 -0
  123. package/dist/pattern-Cledccbl.d.ts +18 -0
  124. package/dist/pattern.d.ts +22 -0
  125. package/dist/pattern.mjs +12 -0
  126. package/dist/persistence/durability/checkpoint-worker.d.ts +119 -72
  127. package/dist/persistence/durability/checkpoint-worker.mjs +51 -18
  128. package/dist/react.d.ts +279 -183
  129. package/dist/react.mjs +201 -48
  130. package/dist/release-BH3DKW3T.mjs +33 -0
  131. package/dist/replace-CEO5KJJ3.mjs +57 -0
  132. package/dist/rerank-K7C4WZFG.mjs +60 -0
  133. package/dist/rerankers/http.d.ts +50 -0
  134. package/dist/rerankers/http.mjs +104 -0
  135. package/dist/restore-queue-KQHA7ZV2.mjs +35 -0
  136. package/dist/runtime-6Y4ZYXOG.mjs +177 -0
  137. package/dist/{schema-d5Afu03A.d.ts → schema-4W_7tk1f.d.ts} +81 -11
  138. package/dist/server.d.ts +13 -12
  139. package/dist/server.mjs +611 -80
  140. package/dist/snapshot-QGZPODM5.mjs +799 -0
  141. package/dist/synonyms-CpOAHPa-.d.ts +52 -0
  142. package/dist/synonyms.d.ts +22 -0
  143. package/dist/synonyms.mjs +12 -0
  144. package/dist/{tasks-CH2Dod8w.d.ts → tasks-CwPTz-tP.d.ts} +10 -3
  145. package/dist/thread-N3IUGUS3.mjs +697 -0
  146. package/dist/{types-BQDlIvfS.d.ts → types-2qoitTXg.d.ts} +1 -1
  147. package/dist/{types-D5OwhtsQ.d.ts → types-Cz5okLml.d.ts} +2 -2
  148. package/dist/vector/search-worker.d.ts +46 -4
  149. package/dist/vector/search-worker.mjs +21 -11
  150. package/dist/workers/entry.mjs +9 -6
  151. package/dist/write-U5RI7MAX.mjs +241 -0
  152. package/package.json +55 -9
  153. package/dist/chunk-3L4U6EJQ.mjs +0 -49
  154. package/dist/chunk-IFBKLBGB.mjs +0 -7
  155. package/dist/chunk-ORBLD3EL.mjs +0 -6
  156. package/dist/chunk-U7KYW4BA.mjs +0 -135
  157. package/dist/chunk-ZJ4CSAB2.mjs +0 -13
  158. package/dist/chunk-ZNZBXMP5.mjs +0 -2117
  159. package/dist/chunk-ZZT3EAUC.mjs +0 -11168
  160. package/dist/config-BhldZgaK.d.ts +0 -194
  161. package/dist/direct-executor-ALAVE7FC.mjs +0 -12
  162. package/dist/serialization/crc32-worker.d.ts +0 -20
  163. package/dist/serialization/crc32-worker.mjs +0 -62
  164. package/dist/simd-DW5AtJ6B.d.ts +0 -41
  165. package/dist/thread-DYHEQRVY.mjs +0 -402
package/dist/index.d.ts CHANGED
@@ -1,14 +1,17 @@
1
- import { b as StopWordOverride, C as CustomTokenizer } from './schema-d5Afu03A.js';
2
- export { A as AnyDocument, B as BM25Params, E as EmbeddingFieldConfig, F as FieldType, I as IndexConfig, a as InsertOptions, P as PartitionConfig, S as SchemaDefinition, c as ScoringMode, V as VectorIndexConfig, d as VectorQuantizationMode, e as VectorStorageMode, W as WriteOptions } from './schema-d5Afu03A.js';
1
+ import { b as StopWordOverride, C as CustomTokenizer } from './schema-4W_7tk1f.js';
2
+ export { A as AnyDocument, B as BM25Params, E as EmbeddingFieldConfig, F as FieldOptionChain, c as FieldType, I as IndexConfig, a as InsertOptions, P as PartitionConfig, S as SchemaDefinition, d as ScoringMode, T as TextFieldOption, V as VectorIndexConfig, e as VectorQuantizationMode, f as VectorStorageMode, W as WriteOptions } from './schema-4W_7tk1f.js';
3
+ import { P as PartialWordSearch } from './partial-words-DTIHO8G4.js';
4
+ import { P as PatternSearch } from './pattern-Cledccbl.js';
5
+ import { S as SynonymSearch } from './synonyms-CpOAHPa-.js';
6
+ export { O as OneWaySynonymRule, a as SynonymRule, T as TwoWaySynonymRule } from './synonyms-CpOAHPa-.js';
3
7
  import { L as LanguageModule } from './language-DB8KG1z5.js';
4
8
  export { T as TokenizerConfig } from './language-DB8KG1z5.js';
5
- export { A as ArrayFilter, B as BatchResult, C as ClientErrorCode, a as ClientErrorCodes, l as ComparisonFilter, D as DocumentProjection, E as ErrorCode, b as ErrorCodes, F as FacetConfig, m as FacetResult, n as FieldFilter, o as FilterExpression, G as GeoFilter, p as GeoPolygonFilter, q as GeoRadiusFilter, r as GroupConfig, s as GroupReducer, t as GroupResult, H as HighlightConfig, u as HighlightMatch, v as Hit, w as HybridConfig, I as IndexInfo, f as IndexStats, L as ListParams, g as ListResult, x as ListedDocument, M as MemoryStats, N as NarsilError, c as NarsilErrorCode, P as PartitionStatsResult, h as PreflightResult, y as PresenceFilter, z as ProcessMemoryReport, J as QueryCoverage, Q as QueryParams, e as QueryResult, K as ScoreComponents, O as SearchMode, S as ServerErrorCode, d as ServerErrorCodes, R as SortField, T as SortSpec, U as StringFilter, j as SuggestParams, k as SuggestResult, W as TermMatchPolicy, V as VectorMaintenanceResult, X as VectorQueryConfig, Y as WorkerCopyReport, i as isNarsilError } from './memory-yFaVn2xZ.js';
6
- import { N as NarsilConfig } from './config-DmXULPa-.js';
7
- export { A as AnalysisConfig, D as DurabilityConfig, I as IndexContext, a as IndexLifecycleConfig, b as InsertContext, M as MainCopyQueries, c as NarsilPlugin, P as PartitionContext, R as RemoveContext, S as SearchContext, d as StaleAnalysis, U as UpdateContext, W as WorkerConfig, e as WorkerContext } from './config-DmXULPa-.js';
8
- import { a as Narsil } from './engine-CIOyFozK.js';
9
- export { D as DocumentWriteOperations, I as IndexLifecycleOperations, N as NarsilEventMap } from './engine-CIOyFozK.js';
10
- export { E as EmbeddingAdapter, I as InvalidationAdapter, a as InvalidationEvent, b as PartitionStatistics, P as PersistenceAdapter } from './adapters-79OIa4xm.js';
11
- export { i as isSimdAvailable } from './simd-DW5AtJ6B.js';
9
+ export { A as ArrayFilter, B as BatchResult, C as ClientErrorCode, a as ClientErrorCodes, n as ComparisonFilter, D as DocumentImportResult, o as DocumentProjection, E as ErrorCode, b as ErrorCodes, F as FacetConfig, p as FacetResult, q as FieldFilter, r as FilterExpression, G as GeoFilter, s as GeoPolygonFilter, t as GeoRadiusFilter, u as GroupConfig, v as GroupReducer, w as GroupResult, H as HeldCheckpointReport, x as HighlightConfig, y as HighlightMatch, z as Hit, J as HybridConfig, I as IndexInfo, k as IndexStats, L as ListParams, g as ListResult, K as ListedDocument, M as MemoryStats, N as NarsilError, c as NarsilErrorCode, f as NarsilEventHandlers, m as NarsilEventMap, l as PartitionStatsResult, P as PreflightResult, O as PresenceFilter, R as ProcessMemoryReport, T as QueryCoverage, Q as QueryParams, e as QueryResult, U as RerankConfig, W as ScoreComponents, X as SearchMode, S as ServerErrorCode, d as ServerErrorCodes, Y as SortField, Z as SortSpec, _ as StringFilter, h as SuggestParams, j as SuggestResult, $ as TermMatchPolicy, V as VectorMaintenanceResult, a0 as VectorQueryConfig, a1 as WorkerCopyReport, i as isNarsilError } from './events-DqOIg5xa.js';
10
+ import { N as NarsilConfig } from './config-Cjvzbs_j.js';
11
+ export { A as AnalysisConfig, D as DurabilityConfig, I as IndexContext, a as IndexLifecycleConfig, b as InsertContext, M as MainCopyQueries, c as NarsilPlugin, P as PartitionContext, R as RemoveContext, S as SearchContext, d as StaleAnalysis, U as UpdateContext, W as WorkerConfig, e as WorkerContext } from './config-Cjvzbs_j.js';
12
+ import { N as Narsil } from './engine-rC0vjjY-.js';
13
+ export { A as AdapterRegistrationOperations, B as ByteSource, D as DocumentWriteOperations, I as IndexLifecycleOperations, S as SynonymOperations } from './engine-rC0vjjY-.js';
14
+ export { E as EmbeddingAdapter, I as InvalidationAdapter, a as InvalidationEvent, b as PartitionStatistics, P as PersistenceAdapter, R as RerankAdapter } from './adapters-BQFQ4PRz.js';
12
15
 
13
16
  /**
14
17
  * Registers a tokeniser under a name that an index config can then reference.
@@ -81,6 +84,76 @@ declare function getTokenizer(name: string): CustomTokenizer;
81
84
  */
82
85
  declare function getStopWords(name: string): StopWordOverride;
83
86
 
87
+ /**
88
+ * Creates a search engine that runs inside your process, with no server to
89
+ * provision.
90
+ *
91
+ * The engine holds every index you create, so an application usually keeps one
92
+ * instance for its lifetime. When you configure persistence, this recovers the
93
+ * indexes already on disk before it resolves. Lifecycle settings register
94
+ * those indexes as closed and load each one when its first request arrives.
95
+ *
96
+ * @param config - This carries the persistence, partitioning, and worker
97
+ * invalidation settings. Omit it for an engine that keeps everything in memory.
98
+ * @returns The engine, ready for {@link Narsil.createIndex} to run against.
99
+ *
100
+ * @public
101
+ */
102
+ declare function createNarsil(config?: NarsilConfig): Promise<Narsil>;
103
+
104
+ /**
105
+ * Call this to give the engine the partial-word search code, so that it can
106
+ * create and load an index with a field whose type includes `partial`.
107
+ *
108
+ * A Node process loads that code by itself, so only a browser app has to
109
+ * make this call. In a browser, import `partialWordSearch` from
110
+ * `@delali/narsil/partial-words` and pass it here before the app creates or
111
+ * loads an index with a `partial` field.
112
+ *
113
+ * @param module - Pass the `partialWordSearch` object that
114
+ * `@delali/narsil/partial-words` exports.
115
+ * @throws The engine throws a `NarsilError` with `CONFIG_INVALID` for any
116
+ * other object.
117
+ *
118
+ * @public
119
+ */
120
+ declare function registerPartialWordSearch(module: PartialWordSearch): void;
121
+
122
+ /**
123
+ * This makes pattern search available to every index whose schema declares a
124
+ * pattern field, meaning a `verbatim` field or a text field whose type
125
+ * includes `pattern`.
126
+ *
127
+ * A Node process needs no such call, because it loads the pattern search code
128
+ * by itself. A browser app has to import `patternSearch` from
129
+ * `@delali/narsil/pattern` and pass it to this function before it creates or
130
+ * loads an index with a pattern field.
131
+ *
132
+ * @param module - The `patternSearch` object that `@delali/narsil/pattern`
133
+ * exports.
134
+ * @throws A `NarsilError` with `CONFIG_INVALID` for any other object.
135
+ *
136
+ * @public
137
+ */
138
+ declare function registerPatternSearch(module: PatternSearch): void;
139
+
140
+ /**
141
+ * Call this to give the engine its synonym code, so that it can create and
142
+ * load an index that holds a synonym set.
143
+ *
144
+ * A Node process loads that code by itself, so only a browser app has to make
145
+ * this call. In a browser, import `synonyms` from `@delali/narsil/synonyms` and
146
+ * pass it here before the app creates or loads an index with a synonym set.
147
+ *
148
+ * @param module - Pass the `synonyms` object that `@delali/narsil/synonyms`
149
+ * exports.
150
+ * @throws The engine throws a `NarsilError` with `CONFIG_INVALID` for any
151
+ * other object.
152
+ *
153
+ * @public
154
+ */
155
+ declare function registerSynonyms(module: SynonymSearch): void;
156
+
84
157
  /**
85
158
  * Sets how many normalised tokens the engine keeps cached.
86
159
  *
@@ -150,21 +223,19 @@ declare function registerLanguage(module: LanguageModule): void;
150
223
  declare function getLanguage(name: string): LanguageModule;
151
224
 
152
225
  /**
153
- * Creates a search engine that runs inside your process, with no server to
154
- * provision.
226
+ * Reports whether the runtime can run the SIMD module that speeds up vector
227
+ * distance work.
155
228
  *
156
- * The engine holds every index you create, so an application usually keeps one
157
- * instance for its lifetime. When you configure persistence, this recovers the
158
- * indexes already on disk before it resolves. Lifecycle settings register
159
- * those indexes as closed and load each one when its first request arrives.
229
+ * Vector search works either way, so read this to explain a difference in
230
+ * search latency between two hosts rather than to decide whether to search.
160
231
  *
161
- * @param config - This carries the persistence, partitioning, and worker
162
- * invalidation settings. Omit it for an engine that keeps everything in memory.
163
- * @returns The engine, ready for {@link Narsil.createIndex} to run against.
232
+ * @returns True when the runtime can compile and start a WebAssembly module
233
+ * that uses SIMD instructions, and false once the vector code fails to load its
234
+ * own SIMD module.
164
235
  *
165
236
  * @public
166
237
  */
167
- declare function createNarsil(config?: NarsilConfig): Promise<Narsil>;
238
+ declare function isSimdAvailable(): boolean;
168
239
 
169
240
  /**
170
241
  * Engine version written into the engine-version bytes of every `.nrsl` file,
@@ -178,4 +249,4 @@ declare function createNarsil(config?: NarsilConfig): Promise<Narsil>;
178
249
  */
179
250
  declare const VERSION = "0.1.0";
180
251
 
181
- export { CustomTokenizer, LanguageModule, Narsil, NarsilConfig, StopWordOverride, VERSION, clearNormalizationCache, configureNormalizationCache, createNarsil, getLanguage, getNormalizationCacheSize, getStopWords, getTokenizer, hasStopWords, hasTokenizer, registerLanguage, registerStopWords, registerTokenizer, resetNormalizationCache };
252
+ export { CustomTokenizer, LanguageModule, Narsil, NarsilConfig, PartialWordSearch, PatternSearch, StopWordOverride, SynonymSearch, VERSION, clearNormalizationCache, configureNormalizationCache, createNarsil, getLanguage, getNormalizationCacheSize, getStopWords, getTokenizer, hasStopWords, hasTokenizer, isSimdAvailable, registerLanguage, registerPartialWordSearch, registerPatternSearch, registerStopWords, registerSynonyms, registerTokenizer, resetNormalizationCache };
package/dist/index.mjs CHANGED
@@ -1,19 +1,36 @@
1
- export { VERSION, createNarsil } from './chunk-24RXHMEL.mjs';
2
- import './chunk-GCM3JFVA.mjs';
3
- import './chunk-UXNWQZST.mjs';
4
- export { getLanguage, getStopWords, getTokenizer, hasStopWords, hasTokenizer, registerLanguage, registerStopWords, registerTokenizer } from './chunk-ZZT3EAUC.mjs';
1
+ export { VERSION, createNarsil } from './chunk-WVCOCKBU.mjs';
2
+ import './chunk-KWTW6VTG.mjs';
3
+ import './chunk-EMRMGYRE.mjs';
4
+ import './chunk-OZDFA4WC.mjs';
5
5
  import './chunk-AV4IJKD2.mjs';
6
- import './chunk-B2TFROFX.mjs';
7
- import './chunk-3LHGNRYE.mjs';
8
- export { clearNormalizationCache, configureNormalizationCache, getNormalizationCacheSize, resetNormalizationCache } from './chunk-ZNZBXMP5.mjs';
9
- import './chunk-L6TNPLAR.mjs';
6
+ export { registerSynonyms } from './chunk-SP3NM3ZG.mjs';
7
+ export { registerPartialWordSearch, registerPatternSearch } from './chunk-VI4R6W25.mjs';
8
+ export { getLanguage, registerLanguage } from './chunk-ZM7KU4YW.mjs';
9
+ import './chunk-LPQOEU5M.mjs';
10
+ import './chunk-HJSN7UYG.mjs';
11
+ import './chunk-LXWDQLTW.mjs';
10
12
  import './chunk-TGP5M5R7.mjs';
11
- export { isSimdAvailable } from './chunk-THYRHHO2.mjs';
12
- import './chunk-ZJ4CSAB2.mjs';
13
- import './chunk-YNVIUGF5.mjs';
14
- import './chunk-3L4U6EJQ.mjs';
15
- import './chunk-IFBKLBGB.mjs';
16
13
  import './chunk-U2BKYEC7.mjs';
17
- import './chunk-YMZCMH5M.mjs';
18
- import './chunk-POWOTUKJ.mjs';
19
- export { ClientErrorCodes, ErrorCodes, NarsilError, ServerErrorCodes, isNarsilError } from './chunk-USKFU7J5.mjs';
14
+ export { isSimdAvailable } from './chunk-KOKM4PQN.mjs';
15
+ import './chunk-GBEEG5AN.mjs';
16
+ import './chunk-JZVARCRZ.mjs';
17
+ import './chunk-PC2G76VW.mjs';
18
+ import './chunk-WQBCBKY3.mjs';
19
+ import './chunk-OM362BRO.mjs';
20
+ import './chunk-OEYI3KRB.mjs';
21
+ import './chunk-U476IXKQ.mjs';
22
+ import './chunk-E74YLAIG.mjs';
23
+ import './chunk-HMFNFVP7.mjs';
24
+ import './chunk-GES7U2PM.mjs';
25
+ import './chunk-LKOB5COA.mjs';
26
+ export { getStopWords, getTokenizer, hasStopWords, hasTokenizer, registerStopWords, registerTokenizer } from './chunk-46D6JQIG.mjs';
27
+ import './chunk-X5CV2E2B.mjs';
28
+ import './chunk-7X5JST5L.mjs';
29
+ export { clearNormalizationCache, configureNormalizationCache, getNormalizationCacheSize, resetNormalizationCache } from './chunk-UTG5YNXV.mjs';
30
+ import './chunk-R6A773WK.mjs';
31
+ import './chunk-YTJCGKM4.mjs';
32
+ import './chunk-CQUMNIIG.mjs';
33
+ import './chunk-Q6XWVUZX.mjs';
34
+ import './chunk-RFBLQLLZ.mjs';
35
+ import './chunk-L5ORED7V.mjs';
36
+ export { ClientErrorCodes, ErrorCodes, NarsilError, ServerErrorCodes, isNarsilError } from './chunk-BWJVNZPR.mjs';
@@ -1,4 +1,4 @@
1
- import { I as InvalidationAdapter } from '../adapters-79OIa4xm.js';
1
+ import { I as InvalidationAdapter } from '../adapters-BQFQ4PRz.js';
2
2
 
3
3
  /**
4
4
  * Which channel {@link createBroadcastChannelInvalidation} publishes on.
@@ -1,4 +1,4 @@
1
- import { I as InvalidationAdapter } from '../adapters-79OIa4xm.js';
1
+ import { I as InvalidationAdapter } from '../adapters-BQFQ4PRz.js';
2
2
 
3
3
  /**
4
4
  * How {@link createFilesystemInvalidation} exchanges events between processes.
@@ -1,4 +1,5 @@
1
- import { compareCodePoints } from '../chunk-YMZCMH5M.mjs';
1
+ import '../chunk-R6A773WK.mjs';
2
+ import { compareCodePoints } from '../chunk-YTJCGKM4.mjs';
2
3
  import { DEFAULT_POLL_INTERVAL_MS, MARKER_MAX_AGE_MS } from '../chunk-YEO6G2NG.mjs';
3
4
 
4
5
  // src/invalidation/filesystem.ts
@@ -1,4 +1,4 @@
1
- import { I as InvalidationAdapter } from '../adapters-79OIa4xm.js';
1
+ import { I as InvalidationAdapter } from '../adapters-BQFQ4PRz.js';
2
2
 
3
3
  /**
4
4
  * Builds an invalidation adapter that discards every event, which suits a