@delali/narsil 0.3.1-next.193 → 0.3.1-next.196

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 (77) hide show
  1. package/dist/browser/{chunk-UQG4HUGQ.mjs → chunk-YKHBTLYW.mjs} +15 -6
  2. package/dist/browser/{storage-leaf-N3JMQ6CF.mjs → storage-leaf-KIPJKTWU.mjs} +68 -39
  3. package/dist/{chunk-2HVQYOOD.mjs → chunk-23UYFZXF.mjs} +2 -2
  4. package/dist/{chunk-62X472AC.mjs → chunk-23WLACOL.mjs} +1 -1
  5. package/dist/{chunk-JXINPXRS.mjs → chunk-2TWR6YCG.mjs} +1 -1
  6. package/dist/{chunk-D2EJUM4A.mjs → chunk-2WKZM3FS.mjs} +21 -5
  7. package/dist/{chunk-YPEJ6ODL.mjs → chunk-3CRBNUPW.mjs} +9 -9
  8. package/dist/{chunk-6MC6BCXK.mjs → chunk-7BCL5QK5.mjs} +2 -2
  9. package/dist/{chunk-5CIHQIA4.mjs → chunk-D2H5RN3Q.mjs} +4 -4
  10. package/dist/{chunk-ZVZYJIIP.mjs → chunk-D4PSKC3O.mjs} +2 -2
  11. package/dist/{chunk-FGOGT273.mjs → chunk-DEKP2BZO.mjs} +2 -2
  12. package/dist/{chunk-HHYQMGPW.mjs → chunk-F62PEMTB.mjs} +1 -1
  13. package/dist/{chunk-TSE2VWPX.mjs → chunk-FIMLVUHE.mjs} +1 -1
  14. package/dist/{chunk-SHES4VP5.mjs → chunk-IC6LWK2D.mjs} +5 -5
  15. package/dist/{chunk-SB5HCIIO.mjs → chunk-IQAV6Z3Y.mjs} +2 -2
  16. package/dist/{chunk-GLXLSPLO.mjs → chunk-JYIH6G2H.mjs} +2 -2
  17. package/dist/{chunk-HSA3H3VW.mjs → chunk-K2KNE7W2.mjs} +22 -13
  18. package/dist/{chunk-SM2SYVIX.mjs → chunk-KFU4KW77.mjs} +1 -1
  19. package/dist/{chunk-Z6SIJH5O.mjs → chunk-NTO2EMWZ.mjs} +2 -2
  20. package/dist/{chunk-JENWA4WX.mjs → chunk-NVGSHRLW.mjs} +1 -1
  21. package/dist/{chunk-PAPQGC6I.mjs → chunk-QRKC25IO.mjs} +1 -1
  22. package/dist/{chunk-7X4IIREW.mjs → chunk-RDGMV4R3.mjs} +3 -3
  23. package/dist/{chunk-KOA6T2IC.mjs → chunk-SUFAI37B.mjs} +1 -1
  24. package/dist/{chunk-K5GNK5GE.mjs → chunk-TQ5EEJEO.mjs} +2 -2
  25. package/dist/{chunk-3N5GUXBI.mjs → chunk-V24XTYHX.mjs} +2 -2
  26. package/dist/{chunk-SIIDIGKI.mjs → chunk-V6H3ZFC3.mjs} +1 -1
  27. package/dist/{chunk-SMLUZGSI.mjs → chunk-V76B76ML.mjs} +3 -3
  28. package/dist/{direct-executor-WSZALYCV.mjs → direct-executor-7EROGEUZ.mjs} +1 -1
  29. package/dist/distribution.mjs +25 -25
  30. package/dist/index.browser.mjs +1 -1
  31. package/dist/index.mjs +1 -1
  32. package/dist/index.react-native.mjs +1 -1
  33. package/dist/{long-query-thread-N2DNPEA3.mjs → long-query-thread-DNQR25LY.mjs} +10 -10
  34. package/dist/{optional-writes-CGDBJBHQ.mjs → optional-writes-3CFEDQ7M.mjs} +3 -3
  35. package/dist/{paged-partition-archive-UK44CVXG.mjs → paged-partition-archive-YXXCF5WC.mjs} +9 -9
  36. package/dist/partial-words.browser.mjs +1 -1
  37. package/dist/partial-words.mjs +1 -1
  38. package/dist/persistence/durability/checkpoint-worker.mjs +7 -7
  39. package/dist/{query-actions-7BL3YZDW.mjs → query-actions-QCR7WPSV.mjs} +1 -1
  40. package/dist/query-suggestions/merge-worker.mjs +4 -4
  41. package/dist/query-suggestions.browser.mjs +1 -1
  42. package/dist/query-suggestions.mjs +2 -2
  43. package/dist/react-native/chunks/{chunk-LOKGE4OQ.mjs → chunk-2CDDI2XI.mjs} +2 -2
  44. package/dist/react-native/chunks/{chunk-63DZ26X5.mjs → chunk-FXZ3AFKS.mjs} +22 -13
  45. package/dist/react-native/chunks/{chunk-IP3QLETQ.mjs → chunk-HE4S2X7Q.mjs} +1 -1
  46. package/dist/react-native/chunks/{chunk-XHYOQ4K4.mjs → chunk-WDR5JEUM.mjs} +1 -1
  47. package/dist/react-native/chunks/{chunk-UYAZLGEM.mjs → chunk-YVCOZKVC.mjs} +1 -1
  48. package/dist/react-native/chunks/{chunk-BNFGA7TY.mjs → chunk-ZBY7QVQ5.mjs} +1 -1
  49. package/dist/react-native/chunks/{optional-writes-GC6JWMAF.mjs → optional-writes-ONME3PSY.mjs} +2 -2
  50. package/dist/react-native/chunks/{restore-queue-2ACONS4W.mjs → restore-queue-OGKLTLU5.mjs} +4 -4
  51. package/dist/react-native/chunks/{segment-codec-leaf-SSIWXVUG.mjs → segment-codec-leaf-PAE2HHEQ.mjs} +2 -2
  52. package/dist/react-native/chunks/{segment-merge-leaf-I2WDFE6O.mjs → segment-merge-leaf-72FIRC26.mjs} +3 -3
  53. package/dist/react-native/chunks/{storage-leaf-YXXMG4VR.mjs → storage-leaf-2T5ZTSNK.mjs} +73 -44
  54. package/dist/react-native/chunks/{store-leaf-FS7A4PZA.mjs → store-leaf-BC77ZO4Z.mjs} +3 -3
  55. package/dist/react-native/chunks/{suggestions-leaf-PSFCT5EX.mjs → suggestions-leaf-QL3H332L.mjs} +3 -3
  56. package/dist/react-native/chunks/{worker-copies-QRMISMEL.mjs → worker-copies-WIJCP6YJ.mjs} +2 -2
  57. package/dist/react-native/partial-words.mjs +1 -1
  58. package/dist/react-native/query-suggestions.mjs +1 -1
  59. package/dist/react-native/sync.mjs +1 -1
  60. package/dist/react-native/synonyms.mjs +1 -1
  61. package/dist/{rerank-4GFC26FD.mjs → rerank-GVUOXQCU.mjs} +1 -1
  62. package/dist/{restore-queue-E4EIUYVV.mjs → restore-queue-FVVCUHIY.mjs} +4 -4
  63. package/dist/{segment-codec-leaf-MP6DILVE.mjs → segment-codec-leaf-KXZPLILR.mjs} +2 -2
  64. package/dist/{segment-merge-leaf-ED2NMUC5.mjs → segment-merge-leaf-MLX5VM3E.mjs} +2 -2
  65. package/dist/server.mjs +15 -15
  66. package/dist/{storage-leaf-HQFO37W7.mjs → storage-leaf-S2RWQ63Q.mjs} +70 -57
  67. package/dist/{store-leaf-PL2G7RM5.mjs → store-leaf-JBMZL6QN.mjs} +3 -3
  68. package/dist/{suggestions-leaf-I3MEHACP.mjs → suggestions-leaf-MA2PUFB5.mjs} +5 -5
  69. package/dist/sync/filesystem.mjs +4 -4
  70. package/dist/sync.browser.mjs +1 -1
  71. package/dist/sync.mjs +1 -1
  72. package/dist/synonyms.browser.mjs +1 -1
  73. package/dist/synonyms.mjs +1 -1
  74. package/dist/{thread-LTFI3RK5.mjs → thread-LDS6OTXA.mjs} +9 -9
  75. package/dist/{worker-copies-P7YWXEP5.mjs → worker-copies-4T3SR5XZ.mjs} +4 -4
  76. package/dist/workers/entry.mjs +7 -7
  77. package/package.json +5 -5
@@ -1,4 +1,4 @@
1
- import { withOpenIndex, oneAtATime, resolveIndexAnalysis, loadStorageCode, emitSyncChange, encodeStringBlob, tokenize, typedRegion, regionsOverlap, encodeLookupKey } from './browser/chunk-UQG4HUGQ.mjs';
1
+ import { withOpenIndex, oneAtATime, resolveIndexAnalysis, loadStorageCode, emitSyncChange, encodeStringBlob, tokenize, typedRegion, regionsOverlap, encodeLookupKey } from './browser/chunk-YKHBTLYW.mjs';
2
2
  import { storedText } from './browser/chunk-QAOVAYAG.mjs';
3
3
  import './browser/chunk-YJHGOJAC.mjs';
4
4
  import { NarsilError, ErrorCodes, requireLoadedMessagePack, compareCodePoints } from './browser/chunk-YINZFPLT.mjs';
package/dist/synonyms.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { synonymSearchModule } from './chunk-HSA3H3VW.mjs';
1
+ import { synonymSearchModule } from './chunk-K2KNE7W2.mjs';
2
2
  import './chunk-2CKDCC65.mjs';
3
3
  import './chunk-AOYQTX6W.mjs';
4
4
  import './chunk-GXCDWLQI.mjs';
@@ -1,18 +1,18 @@
1
- export { closeRequestThread, searchHandler, serveRequests } from './chunk-SB5HCIIO.mjs';
2
- import './chunk-7X4IIREW.mjs';
1
+ export { closeRequestThread, searchHandler, serveRequests } from './chunk-IQAV6Z3Y.mjs';
2
+ import './chunk-RDGMV4R3.mjs';
3
3
  import './chunk-F6F4G322.mjs';
4
- import './chunk-JXINPXRS.mjs';
5
- import './chunk-Z6SIJH5O.mjs';
6
- import './chunk-TSE2VWPX.mjs';
4
+ import './chunk-2TWR6YCG.mjs';
5
+ import './chunk-NTO2EMWZ.mjs';
6
+ import './chunk-FIMLVUHE.mjs';
7
7
  import './chunk-S5QMWECL.mjs';
8
8
  import './chunk-LNGE7SLY.mjs';
9
9
  import './chunk-R2PJKSNL.mjs';
10
- import './chunk-62X472AC.mjs';
11
- import './chunk-SIIDIGKI.mjs';
10
+ import './chunk-23WLACOL.mjs';
11
+ import './chunk-V6H3ZFC3.mjs';
12
12
  import './chunk-KBU3ZFJN.mjs';
13
13
  import './chunk-V6EUBAIT.mjs';
14
- import './chunk-KOA6T2IC.mjs';
15
- import './chunk-HSA3H3VW.mjs';
14
+ import './chunk-SUFAI37B.mjs';
15
+ import './chunk-K2KNE7W2.mjs';
16
16
  import './chunk-2CKDCC65.mjs';
17
17
  import './chunk-AOYQTX6W.mjs';
18
18
  import './chunk-GXCDWLQI.mjs';
@@ -1,7 +1,7 @@
1
- import { holdCopyPublication, copyGenerationOf, transferIndexToPool, executeRetained, loadIndexOntoWorkers } from './chunk-SM2SYVIX.mjs';
2
- export { emptySerializablePartition, loadIndexOntoWorkers, transferIndexToPool } from './chunk-SM2SYVIX.mjs';
3
- import { growPartitionsTo, isCompositePartition, createSharedFrozenSegment, loadStorageCode, resolvePartitionInsertOptions, buildSegmentPayloads, freezeSegmentShared, DEFAULT_COPY_THRESHOLD, workersEnabledByDefault, POOL_RESTART_DELAY_MS, createRequestId, mergeSegmentContents, freezeEncodedSegmentShared, SegmentRefusal, NO_REMOVED_SPELLINGS, DEFAULT_COPY_IDLE_TIMEOUT_MS, LONG_QUERY_THREADS, toError, isDeterministicFailure, workerIneligibility, reportIneligible, fnv1a, selectionKeeps, prepareDocumentVectors, MAX_PENDING_REPLICATION_DOCUMENTS, MAIN_COPY_LONE_QUERY_DOCUMENTS, returnsEveryMatch, oversampledFacetConfig, afterCurrentTurn, LOAD_BUFFER_YIELD_INTERVAL, yieldToEventLoop, IDLE_MERGE_DELAY_MS, alreadyPresentOnWorker, REPLICATION_WINDOW, RETIRED_THREADS_EXIT_WAIT_MS, eligibleIndexNames, createWorkerFactory, availablePatternSearch, patternHost, kWayMerge, mergeFacets, generateId, POOL_RESTART_DELAY_MAX_MS, COMPACTION_SEGMENT_TRIGGER, LIVE_TAIL_FREEZE_FLOOR, requireLoadedVectorCode, LIVE_TAIL_FLUSH_DOCUMENTS, SEGMENTS_PER_MERGE } from './chunk-HSA3H3VW.mjs';
4
- export { bindWorkerCopiesHost, createWorkerExecutor } from './chunk-HSA3H3VW.mjs';
1
+ import { holdCopyPublication, copyGenerationOf, transferIndexToPool, executeRetained, loadIndexOntoWorkers } from './chunk-KFU4KW77.mjs';
2
+ export { emptySerializablePartition, loadIndexOntoWorkers, transferIndexToPool } from './chunk-KFU4KW77.mjs';
3
+ import { growPartitionsTo, isCompositePartition, createSharedFrozenSegment, loadStorageCode, resolvePartitionInsertOptions, buildSegmentPayloads, freezeSegmentShared, DEFAULT_COPY_THRESHOLD, workersEnabledByDefault, POOL_RESTART_DELAY_MS, createRequestId, mergeSegmentContents, freezeEncodedSegmentShared, SegmentRefusal, NO_REMOVED_SPELLINGS, DEFAULT_COPY_IDLE_TIMEOUT_MS, LONG_QUERY_THREADS, toError, isDeterministicFailure, workerIneligibility, reportIneligible, fnv1a, selectionKeeps, prepareDocumentVectors, MAX_PENDING_REPLICATION_DOCUMENTS, MAIN_COPY_LONE_QUERY_DOCUMENTS, returnsEveryMatch, oversampledFacetConfig, afterCurrentTurn, LOAD_BUFFER_YIELD_INTERVAL, yieldToEventLoop, IDLE_MERGE_DELAY_MS, alreadyPresentOnWorker, REPLICATION_WINDOW, RETIRED_THREADS_EXIT_WAIT_MS, eligibleIndexNames, createWorkerFactory, availablePatternSearch, patternHost, kWayMerge, mergeFacets, generateId, POOL_RESTART_DELAY_MAX_MS, COMPACTION_SEGMENT_TRIGGER, LIVE_TAIL_FREEZE_FLOOR, requireLoadedVectorCode, LIVE_TAIL_FLUSH_DOCUMENTS, SEGMENTS_PER_MERGE } from './chunk-K2KNE7W2.mjs';
4
+ export { bindWorkerCopiesHost, createWorkerExecutor } from './chunk-K2KNE7W2.mjs';
5
5
  import './chunk-2CKDCC65.mjs';
6
6
  import './chunk-AOYQTX6W.mjs';
7
7
  import './chunk-GXCDWLQI.mjs';
@@ -1,4 +1,4 @@
1
- import { requireSearchBackendSettings, loadVectorCode, loadGeoCode, importOptionalReads, initializeCopyPublication, publishCopyAction, isValidWorkerAction } from '../chunk-HSA3H3VW.mjs';
1
+ import { requireSearchBackendSettings, loadVectorCode, loadGeoCode, importOptionalReads, initializeCopyPublication, publishCopyAction, isValidWorkerAction } from '../chunk-K2KNE7W2.mjs';
2
2
  import '../chunk-2CKDCC65.mjs';
3
3
  import '../chunk-AOYQTX6W.mjs';
4
4
  import '../chunk-GXCDWLQI.mjs';
@@ -32,9 +32,9 @@ async function importBootstrapModule(moduleUrl) {
32
32
  await import(moduleUrl);
33
33
  }
34
34
  async function stopServingRequests() {
35
- const { closeRequestThread } = await import('../thread-LTFI3RK5.mjs');
35
+ const { closeRequestThread } = await import('../thread-LDS6OTXA.mjs');
36
36
  closeRequestThread();
37
- const { closeLongQueryThread } = await import('../long-query-thread-N2DNPEA3.mjs');
37
+ const { closeLongQueryThread } = await import('../long-query-thread-DNQR25LY.mjs');
38
38
  closeLongQueryThread();
39
39
  }
40
40
  function holdsCopies(executor) {
@@ -87,7 +87,7 @@ function createActionHandler(executor) {
87
87
  if (!holdsCopies(executor)) {
88
88
  throw new NarsilError(ErrorCodes.CONFIG_INVALID, "This executor holds no copies to answer requests from");
89
89
  }
90
- const starting = import('../thread-LTFI3RK5.mjs').then(
90
+ const starting = import('../thread-LDS6OTXA.mjs').then(
91
91
  ({ serveRequests }) => serveRequests(executor, action.settings)
92
92
  );
93
93
  serving.start = starting.then(
@@ -104,7 +104,7 @@ function createActionHandler(executor) {
104
104
  if (!holdsCopies(executor)) {
105
105
  throw new NarsilError(ErrorCodes.CONFIG_INVALID, "This executor holds no copies to answer long queries from");
106
106
  }
107
- const { serveLongQueries } = await import('../long-query-thread-N2DNPEA3.mjs');
107
+ const { serveLongQueries } = await import('../long-query-thread-DNQR25LY.mjs');
108
108
  serveLongQueries(executor, action.settings);
109
109
  servingRequests = true;
110
110
  post(buildSuccessResponse(action.requestId, void 0));
@@ -152,8 +152,8 @@ async function setup() {
152
152
  }
153
153
  requireSearchBackendSettings();
154
154
  const [{ createDirectExecutor }, { runQueryAction }] = await Promise.all([
155
- import('../direct-executor-WSZALYCV.mjs'),
156
- import('../query-actions-7BL3YZDW.mjs'),
155
+ import('../direct-executor-7EROGEUZ.mjs'),
156
+ import('../query-actions-QCR7WPSV.mjs'),
157
157
  loadVectorCode(),
158
158
  loadGeoCode(),
159
159
  importOptionalReads(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@delali/narsil",
3
- "version": "0.3.1-next.193",
3
+ "version": "0.3.1-next.196",
4
4
  "type": "module",
5
5
  "description": "Distributed search engine with full-text, vector, hybrid, and geosearch. One engine, embedded or on a server, with a cross-language .nrsl format.",
6
6
  "author": "Delali (https://sondelali.com)",
@@ -653,9 +653,9 @@
653
653
  }
654
654
  },
655
655
  "optionalDependencies": {
656
- "@delali/narsil-native-linux-arm64": "0.3.1-next.193",
657
- "@delali/narsil-native-linux-x64": "0.3.1-next.193",
658
- "@delali/narsil-native-win32-arm64": "0.3.1-next.193",
659
- "@delali/narsil-native-win32-x64": "0.3.1-next.193"
656
+ "@delali/narsil-native-linux-arm64": "0.3.1-next.196",
657
+ "@delali/narsil-native-linux-x64": "0.3.1-next.196",
658
+ "@delali/narsil-native-win32-arm64": "0.3.1-next.196",
659
+ "@delali/narsil-native-win32-x64": "0.3.1-next.196"
660
660
  }
661
661
  }