@delali/narsil 0.3.1-next.155 → 0.3.1-next.157
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.
- package/NOTICE +45 -0
- package/dist/{analysis-change-3TFIHT5E.mjs → analysis-change-CKEMM2MC.mjs} +25 -18
- package/dist/{react-native/chunks/analysis-change-entry-JLL42PH6.mjs → analysis-change-entry-SEDMJ6MW.mjs} +1 -1
- package/dist/browser/{analysis-change-TC36BU47.mjs → analysis-change-ZKGJFENM.mjs} +42 -32
- package/dist/{analysis-change-entry-KA6JAO4X.mjs → browser/analysis-change-entry-5BFUVMHJ.mjs} +1 -1
- package/dist/browser/{chunk-KKAMCABR.mjs → chunk-25MTVDYD.mjs} +1 -1
- package/dist/browser/{chunk-K5AXJBLL.mjs → chunk-3NLMB5CC.mjs} +3 -3
- package/dist/browser/{chunk-23XRXIBW.mjs → chunk-5YWB3E2W.mjs} +8 -1
- package/dist/browser/chunk-AI5UI46D.mjs +12 -0
- package/dist/browser/{chunk-A5KUEGDY.mjs → chunk-BLT4RHCJ.mjs} +3 -3
- package/dist/browser/{chunk-RRO3EV4C.mjs → chunk-C26SPCGQ.mjs} +8 -7
- package/dist/browser/{chunk-ABCXENU5.mjs → chunk-C4FJ3WDY.mjs} +1 -1
- package/dist/browser/{chunk-3UIEB4QF.mjs → chunk-CXNTHHA7.mjs} +2 -2
- package/dist/browser/{chunk-JIJXMI42.mjs → chunk-DUH6QUVU.mjs} +547 -2
- package/dist/browser/chunk-EKMGCRSR.mjs +61 -0
- package/dist/browser/{chunk-JVBP5EYO.mjs → chunk-GFAZPSWK.mjs} +7 -7
- package/dist/browser/{chunk-CJSYBQ4J.mjs → chunk-HUCSHDTB.mjs} +1 -1
- package/dist/browser/{chunk-RND5CLX3.mjs → chunk-K3IPRX6D.mjs} +52 -21
- package/dist/browser/chunk-MY2XKH22.mjs +40 -0
- package/dist/browser/{chunk-SMEQ36NT.mjs → chunk-N23GL72Q.mjs} +629 -1416
- package/dist/browser/{chunk-LFIWRCEA.mjs → chunk-NXQG7DRA.mjs} +29 -6
- package/dist/browser/{chunk-26A5JFT2.mjs → chunk-TK63WFXK.mjs} +2 -1
- package/dist/browser/{chunk-4EWUGZYZ.mjs → chunk-U4YDIBUT.mjs} +2 -2
- package/dist/browser/{chunk-RQBUNZQW.mjs → chunk-UATIJ4KU.mjs} +2 -2
- package/dist/browser/{chunk-BXM5XOCA.mjs → chunk-UKOWD2K5.mjs} +3 -3
- package/dist/browser/{chunk-FNIFPFB7.mjs → chunk-UTMHUHUV.mjs} +2 -2
- package/dist/browser/{chunk-56W3HQVJ.mjs → chunk-V43N6TZO.mjs} +5 -5
- package/dist/browser/{chunk-K4GCSZLI.mjs → chunk-VLJQW4J6.mjs} +2985 -2985
- package/dist/browser/{chunk-IKDKX5VQ.mjs → chunk-VY5KW3HN.mjs} +3 -3
- package/dist/browser/{chunk-5TCXK5SB.mjs → chunk-WN464PTL.mjs} +1 -1
- package/dist/browser/{chunk-SUDNZKPL.mjs → chunk-X7TXYUKO.mjs} +1 -1
- package/dist/browser/{chunk-XY4VVBBO.mjs → chunk-Y6IBAUNO.mjs} +2 -86
- package/dist/browser/{cold-module-NEUGHUPA.mjs → cold-module-YNUUDNOM.mjs} +18 -15
- package/dist/browser/{durability-wiring-CVGPRO6D.mjs → durability-wiring-GVZEE46O.mjs} +71 -27
- package/dist/browser/{engine-hooks-YXMPHZKZ.mjs → engine-hooks-HBVS6YM4.mjs} +8 -6
- package/dist/browser/geo-index-OTV7VPIR.mjs +1387 -0
- package/dist/browser/{import-OM6QAW45.mjs → import-5ESVMFDJ.mjs} +9 -7
- package/dist/browser/{module-E33X4AOK.mjs → module-NDSQLPMQ.mjs} +14 -11
- package/dist/browser/{module-3HNFCBJ5.mjs → module-TCT66FWA.mjs} +6 -6
- package/dist/browser/{phrase-module-ZXXU7S3B.mjs → phrase-module-HAT3TLZN.mjs} +1 -1
- package/dist/{release-BH3DKW3T.mjs → browser/release-HYXPVJVS.mjs} +0 -1
- package/dist/browser/{restore-hooks-IF2ZROUP.mjs → restore-hooks-IE3GGYHG.mjs} +11 -9
- package/dist/browser/{restore-queue-ZBS7CJA6.mjs → restore-queue-LQBBTODR.mjs} +3 -3
- package/dist/browser/{retention-ASWUHAYI.mjs → retention-TY3L3BFN.mjs} +11 -9
- package/dist/browser/{snapshot-PN7ZW6Q4.mjs → snapshot-5FHPPCNZ.mjs} +27 -24
- package/dist/browser/{start-ZIRB7MQ2.mjs → start-2UZTOBG5.mjs} +12 -10
- package/dist/browser/{write-HMDYCTV2.mjs → write-ULXAN5B4.mjs} +14 -11
- package/dist/{capabilities-Da4ywVVl.d.ts → capabilities-D3AoBJoF.d.ts} +2 -2
- package/dist/{chunk-KBKEXQZA.mjs → chunk-24FNVRKB.mjs} +1 -1
- package/dist/{chunk-VHBNF4MA.mjs → chunk-2ROUFMQX.mjs} +2 -2
- package/dist/{chunk-AILVAOLX.mjs → chunk-4B7JIGQD.mjs} +2 -2
- package/dist/{chunk-DCNKVEDB.mjs → chunk-4LMSZAK6.mjs} +16 -6
- package/dist/{chunk-RSVULW4Q.mjs → chunk-4ZTHGTVX.mjs} +4 -4
- package/dist/{chunk-VQEUR6T6.mjs → chunk-5VV4R6P7.mjs} +3040 -3040
- package/dist/chunk-6HTGOXIK.mjs +875 -0
- package/dist/chunk-7GFE3PEY.mjs +40 -0
- package/dist/{chunk-JUKYYXSP.mjs → chunk-7V5IUP2T.mjs} +1 -31
- package/dist/{chunk-4BYWRYPM.mjs → chunk-A4L7YTKX.mjs} +52 -89
- package/dist/{chunk-J4IWBIVY.mjs → chunk-BNL5OPRV.mjs} +6 -6
- package/dist/{chunk-BY6ZDGYS.mjs → chunk-C7XQYG6U.mjs} +2 -2
- package/dist/{chunk-LC3FDWTX.mjs → chunk-CITFCZKF.mjs} +3 -2
- package/dist/{chunk-KXCVQWOR.mjs → chunk-CQZXZ75V.mjs} +3 -97
- package/dist/{chunk-SY3EWKQY.mjs → chunk-CWS55TEX.mjs} +2 -2
- package/dist/{chunk-3HHQLEEQ.mjs → chunk-EYD7K3H6.mjs} +7 -7
- package/dist/chunk-FB6463IN.mjs +1499 -0
- package/dist/{chunk-KFLK5NA2.mjs → chunk-FCJ553HS.mjs} +1 -1
- package/dist/{chunk-KMUNHGBQ.mjs → chunk-FEZVDOWX.mjs} +169 -253
- package/dist/{chunk-SG3JBNHY.mjs → chunk-FJKKCV4D.mjs} +1 -1
- package/dist/{chunk-BDRIVYOK.mjs → chunk-FUD5XSZ5.mjs} +1 -1
- package/dist/chunk-G6HRSGOU.mjs +74 -0
- package/dist/{chunk-S2EQU2GE.mjs → chunk-GPWMUPCA.mjs} +10 -10
- package/dist/{chunk-ZHCUZZE5.mjs → chunk-HHBUCIUY.mjs} +1 -1
- package/dist/{chunk-YEDIDCR7.mjs → chunk-I5B7RXU7.mjs} +91 -22
- package/dist/{chunk-2MANFZJ3.mjs → chunk-IIRIG7H5.mjs} +1 -1
- package/dist/{react-native/chunks/chunk-KWRW5U65.mjs → chunk-J4IJTTEX.mjs} +1 -1
- package/dist/{chunk-Q622CTMC.mjs → chunk-JSV6OQ4C.mjs} +1 -1
- package/dist/{chunk-NF4DT3IH.mjs → chunk-JTYPJF3T.mjs} +8 -1
- package/dist/chunk-KCQYFO4K.mjs +62 -0
- package/dist/{chunk-Q7G3BV3Y.mjs → chunk-KKQC526K.mjs} +19 -11
- package/dist/{chunk-PCRA7HTI.mjs → chunk-LDNCLRZU.mjs} +1 -1
- package/dist/{chunk-U4BS74YN.mjs → chunk-MW6BR4QP.mjs} +2 -2
- package/dist/{chunk-DIBHI6W5.mjs → chunk-MWD5VPN7.mjs} +2 -2
- package/dist/{chunk-UZRZKNNZ.mjs → chunk-ODYKO5TO.mjs} +1 -1
- package/dist/{chunk-PHQNACDT.mjs → chunk-OG7UGJ6F.mjs} +2 -2
- package/dist/{chunk-QH3YIQP4.mjs → chunk-OQLD2BSW.mjs} +2 -2
- package/dist/chunk-ORN5BLL7.mjs +11 -0
- package/dist/{chunk-L7ZD4L3K.mjs → chunk-OYABFKTW.mjs} +7 -6
- package/dist/{chunk-KBDBPVLN.mjs → chunk-P5LANSH6.mjs} +1 -1
- package/dist/{chunk-ZAUJFLEN.mjs → chunk-PIH5SJ4N.mjs} +122 -1697
- package/dist/{chunk-DUOLGBTE.mjs → chunk-PSZI4O24.mjs} +51 -4
- package/dist/{chunk-4KRC2APY.mjs → chunk-PV2CG7EJ.mjs} +5 -567
- package/dist/{chunk-6L3XJXGU.mjs → chunk-PWGYQXML.mjs} +1 -1
- package/dist/{chunk-5FVU47TB.mjs → chunk-QLDABJZM.mjs} +3 -3
- package/dist/{chunk-KPIV4RUC.mjs → chunk-RCX4WNLC.mjs} +2 -2
- package/dist/{chunk-3HB3PEC6.mjs → chunk-RIHIVFIQ.mjs} +6 -6
- package/dist/chunk-RLOES5SX.mjs +31 -0
- package/dist/{chunk-H6VIGE62.mjs → chunk-RWURUDSP.mjs} +10 -9
- package/dist/{chunk-ZTW5WTGG.mjs → chunk-SMOOSIAW.mjs} +4 -4
- package/dist/{chunk-MT2NRTA6.mjs → chunk-SOI6LTHM.mjs} +3 -3
- package/dist/chunk-SQJWAIF4.mjs +12 -0
- package/dist/{react-native/chunks/chunk-PPEPTUVV.mjs → chunk-TBC3XUL2.mjs} +29 -6
- package/dist/chunk-TDIK6NTV.mjs +10 -0
- package/dist/{react-native/chunks/chunk-JV6VQY2S.mjs → chunk-U55XJEIG.mjs} +2 -1
- package/dist/{chunk-H4KHPLHJ.mjs → chunk-UD5HIS4U.mjs} +1 -1
- package/dist/{chunk-HW5TNXBO.mjs → chunk-UJDJB3NE.mjs} +40 -31
- package/dist/{chunk-QUJHMPTP.mjs → chunk-VSLSGASN.mjs} +2 -2
- package/dist/{chunk-Z2BE2MAM.mjs → chunk-VZ2ONHEE.mjs} +32 -15
- package/dist/chunk-W5EB5XKI.mjs +741 -0
- package/dist/{chunk-3R4UZWQG.mjs → chunk-W7OSSKH5.mjs} +50 -20
- package/dist/{chunk-SMVH6JBE.mjs → chunk-XXJZMTZT.mjs} +1 -1
- package/dist/{chunk-VGF7CFRP.mjs → chunk-ZPZ3YGXV.mjs} +5 -4
- package/dist/{client-DRv7UVeY.d.ts → client-kqSMevVi.d.ts} +15 -3
- package/dist/client.d.ts +6 -6
- package/dist/client.mjs +4 -0
- package/dist/{cold-module-7XXCEGTZ.mjs → cold-module-VOJXMNZB.mjs} +31 -24
- package/dist/{config-DMwffLKn.d.ts → config-B4v_Htpu.d.ts} +1 -1
- package/dist/{config-CoSig5Ox.d.ts → config-CTP01fns.d.ts} +1 -1
- package/dist/direct-executor-V5DRIECI.mjs +34 -0
- package/dist/distribution/coordinator/etcd.mjs +2 -2
- package/dist/distribution/coordinator/in-memory.mjs +2 -2
- package/dist/distribution.d.ts +4 -4
- package/dist/distribution.mjs +94 -80
- package/dist/{durability-wiring-NCKUC5EO.mjs → durability-wiring-3TD62MBI.mjs} +57 -42
- package/dist/{engine-CFxPYqEk.d.ts → engine-CkPn2PWE.d.ts} +1 -1
- package/dist/{engine-hooks-DHCMOADY.mjs → engine-hooks-HA3SBOBR.mjs} +24 -17
- package/dist/geo-index-MRH5JMIR.mjs +1387 -0
- package/dist/{import-NBFXFCSG.mjs → import-GPKLTSKA.mjs} +24 -17
- package/dist/index.browser.mjs +7 -5
- package/dist/index.d.ts +131 -6
- package/dist/index.mjs +23 -16
- package/dist/index.react-native.mjs +12 -10
- package/dist/invalidation/filesystem.mjs +2 -2
- package/dist/{long-query-thread-J4DVRM4A.mjs → long-query-thread-QDFQSJD6.mjs} +26 -21
- package/dist/{module-DWKPBSMN.mjs → module-JYHFTVPS.mjs} +28 -20
- package/dist/{module-UN76TF7I.mjs → module-N55W4Q5C.mjs} +9 -9
- package/dist/{paged-partition-archive-DPNWVSK2.mjs → paged-partition-archive-RLRGOXDX.mjs} +33 -27
- package/dist/partial-words.mjs +8 -6
- package/dist/pattern.mjs +4 -3
- package/dist/persistence/durability/checkpoint-worker.mjs +32 -22
- package/dist/{phrase-module-ZI4WSQVH.mjs → phrase-module-XW5MKWP5.mjs} +3 -2
- package/dist/query-suggestions/merge-worker.mjs +25 -18
- package/dist/query-suggestions.browser.mjs +13 -11
- package/dist/query-suggestions.d.ts +1 -1
- package/dist/query-suggestions.mjs +34 -27
- package/dist/react-native/chunks/{analysis-change-6BPDPH6K.mjs → analysis-change-QUVDNABS.mjs} +46 -36
- package/dist/{browser/analysis-change-entry-4MH3CZXH.mjs → react-native/chunks/analysis-change-entry-OC4XASBF.mjs} +1 -1
- package/dist/react-native/chunks/{chunk-7PXRWYUU.mjs → chunk-2PRHILX3.mjs} +53 -19
- package/dist/{chunk-R6A773WK.mjs → react-native/chunks/chunk-3WI35N75.mjs} +1 -1
- package/dist/react-native/chunks/{chunk-GIZTJXYW.mjs → chunk-4AV5PPH6.mjs} +2 -2
- package/dist/react-native/chunks/{chunk-4Y53T4YE.mjs → chunk-4COWCEY7.mjs} +189 -178
- package/dist/react-native/chunks/{chunk-OL3WDV53.mjs → chunk-4NWR3NGS.mjs} +3 -3
- package/dist/react-native/chunks/{chunk-C3PTWYKT.mjs → chunk-5MSX5FRT.mjs} +5 -5
- package/dist/react-native/chunks/{chunk-6WA3C3DV.mjs → chunk-6OFDUYVX.mjs} +8 -1
- package/dist/react-native/chunks/{chunk-4LCEN2IU.mjs → chunk-6ZELFCK5.mjs} +2 -2
- package/dist/react-native/chunks/{chunk-CUH5F57W.mjs → chunk-BITYFZSZ.mjs} +2 -2
- package/dist/react-native/chunks/{chunk-TYIRMPD3.mjs → chunk-DMIFXZ3Q.mjs} +1 -1
- package/dist/react-native/chunks/chunk-DXRSEWA2.mjs +12 -0
- package/dist/{chunk-YTJCGKM4.mjs → react-native/chunks/chunk-EJ33LCHV.mjs} +29 -6
- package/dist/react-native/chunks/{chunk-EIOYM5TO.mjs → chunk-ENLMYKSX.mjs} +3024 -3054
- package/dist/react-native/chunks/chunk-FHPW7P2O.mjs +40 -0
- package/dist/{chunk-4UMZ7KQL.mjs → react-native/chunks/chunk-FTZHMRD2.mjs} +2 -1
- package/dist/react-native/chunks/{chunk-ALOIBXWN.mjs → chunk-IAENKE2D.mjs} +2 -2
- package/dist/react-native/chunks/{chunk-QJXTNPLQ.mjs → chunk-KSBYEMCB.mjs} +1 -1
- package/dist/react-native/chunks/chunk-KU646XXT.mjs +164 -0
- package/dist/react-native/chunks/{chunk-HUOYZJ3Q.mjs → chunk-OCSLSH27.mjs} +1561 -933
- package/dist/react-native/chunks/chunk-OXM66LO6.mjs +62 -0
- package/dist/react-native/chunks/{chunk-KTTAU63H.mjs → chunk-SK2PWYDH.mjs} +2 -2
- package/dist/react-native/chunks/{chunk-PEHS2UO3.mjs → chunk-TORU2OHQ.mjs} +3 -3
- package/dist/react-native/chunks/{chunk-VXGE4ZXL.mjs → chunk-WVWJNUMN.mjs} +51 -21
- package/dist/react-native/chunks/{chunk-KJIG57UD.mjs → chunk-WW2X2AEI.mjs} +7 -7
- package/dist/react-native/chunks/{chunk-JLIIWJUV.mjs → chunk-YZW4CHM6.mjs} +50 -11
- package/dist/react-native/chunks/{chunk-GJFXPHXI.mjs → chunk-ZNZ6CPAZ.mjs} +2 -87
- package/dist/react-native/chunks/{chunk-7GRCBBME.mjs → chunk-ZVQMBF2H.mjs} +2 -2
- package/dist/react-native/chunks/{chunk-N2WUOWLL.mjs → chunk-ZWAIN4GG.mjs} +7 -7
- package/dist/react-native/chunks/{cold-module-5PHF6DZR.mjs → cold-module-N6KFNNZA.mjs} +20 -17
- package/dist/react-native/chunks/{durability-wiring-KO565FZC.mjs → durability-wiring-RN64S2TL.mjs} +76 -32
- package/dist/react-native/chunks/{engine-hooks-MVRRHH6B.mjs → engine-hooks-CWA5CKCA.mjs} +13 -11
- package/dist/react-native/chunks/geo-index-PX3BIHAH.mjs +1387 -0
- package/dist/react-native/chunks/{import-YVZA4V4V.mjs → import-5UAWBRJP.mjs} +14 -12
- package/dist/react-native/chunks/{module-ZL5ZG6YB.mjs → module-6RP4ZCBW.mjs} +17 -14
- package/dist/react-native/chunks/{module-H5MVPSP2.mjs → module-TTEVPRCW.mjs} +8 -8
- package/dist/react-native/chunks/{phrase-module-RTVKEWJT.mjs → phrase-module-QK22HSQ2.mjs} +1 -1
- package/dist/react-native/chunks/{release-D7ZTIANM.mjs → release-2SIHZWDO.mjs} +0 -1
- package/dist/react-native/chunks/{restore-hooks-SILFPU6B.mjs → restore-hooks-ENFMDTWC.mjs} +17 -15
- package/dist/react-native/chunks/{restore-queue-HSYP2AEC.mjs → restore-queue-4R6AASE5.mjs} +3 -3
- package/dist/react-native/chunks/{retention-7I7UAWYK.mjs → retention-5GTFT3GR.mjs} +18 -16
- package/dist/react-native/chunks/{snapshot-EZYB6SLF.mjs → snapshot-5LGPQXFS.mjs} +32 -29
- package/dist/react-native/chunks/{start-SHVZ72I5.mjs → start-ZQJVZ5DN.mjs} +18 -16
- package/dist/react-native/chunks/{write-JUESXHDL.mjs → write-6BRYIIZ7.mjs} +17 -14
- package/dist/react-native/partial-words.mjs +7 -6
- package/dist/react-native/pattern.mjs +1 -1
- package/dist/react-native/query-suggestions.mjs +19 -17
- package/dist/react-native/sync.mjs +47 -13
- package/dist/react-native/synonyms.mjs +92 -24
- package/dist/react.d.ts +7 -7
- package/dist/{browser/release-76MXRPGV.mjs → release-SMR4WJD4.mjs} +0 -1
- package/dist/{restore-hooks-HZ3ILAMO.mjs → restore-hooks-HXLIEB4A.mjs} +28 -21
- package/dist/{restore-queue-JVGENGGE.mjs → restore-queue-LZH7LMLR.mjs} +3 -3
- package/dist/{retention-HROPV2QU.mjs → retention-3K7ARGAG.mjs} +29 -22
- package/dist/server.d.ts +10 -8
- package/dist/server.mjs +55 -41
- package/dist/{snapshot-4HS2G2UM.mjs → snapshot-O7ICP7NJ.mjs} +46 -39
- package/dist/{start-UTWHGH42.mjs → start-S4PFP6RS.mjs} +31 -24
- package/dist/sync/filesystem.d.ts +2 -2
- package/dist/sync/filesystem.mjs +3 -3
- package/dist/sync/indexeddb.d.ts +2 -2
- package/dist/sync.browser.mjs +46 -12
- package/dist/sync.d.ts +3 -3
- package/dist/sync.mjs +46 -12
- package/dist/synonyms.mjs +7 -6
- package/dist/{tasks-qrJojgST.d.ts → tasks-CoNjxbop.d.ts} +2 -2
- package/dist/{thread-6MOXY2KD.mjs → thread-YLJ3ZPQ3.mjs} +25 -20
- package/dist/{types-BZCGjfLn.d.ts → types-DPMjfOr_.d.ts} +1 -1
- package/dist/vector/search-worker.mjs +6 -6
- package/dist/workers/entry.mjs +17 -6
- package/dist/{write-GTTWWRRG.mjs → write-2OBJGLFS.mjs} +27 -19
- package/openapi.json +71 -0
- package/package.json +15 -8
- package/dist/chunk-DJHHF2L5.mjs +0 -17
- package/dist/chunk-HNVVEQP7.mjs +0 -44
- package/dist/chunk-WQRN64Q6.mjs +0 -196
- package/dist/direct-executor-G5TK7NLA.mjs +0 -29
- package/dist/react-native/chunks/chunk-3JIBF3XT.mjs +0 -191
- package/dist/browser/{chunk-4WCVMOU3.mjs → chunk-XAWNZ4G2.mjs} +10 -10
|
@@ -1,24 +1,23 @@
|
|
|
1
|
-
import { loadVectorField, VECTOR_FILE_ENVELOPE_VERSION, GRAPH_PART_ENVELOPE_VERSION } from './chunk-
|
|
2
|
-
import { gunzip, gzip } from './chunk-ZXNNR73R.mjs';
|
|
3
|
-
import { SEGMENT_PAGE_BYTES, RECORD_PAGE_BYTES } from './chunk-WZ7YV54N.mjs';
|
|
1
|
+
import { loadVectorField, VECTOR_FILE_ENVELOPE_VERSION, GRAPH_PART_ENVELOPE_VERSION } from './chunk-P5LANSH6.mjs';
|
|
4
2
|
import { defaultQuantizationFor } from './chunk-MATMVH65.mjs';
|
|
5
3
|
import { DEFAULT_VECTOR_METRIC } from './chunk-VD7J552I.mjs';
|
|
6
|
-
import {
|
|
4
|
+
import { gunzip, gzip } from './chunk-ZXNNR73R.mjs';
|
|
5
|
+
import { SEGMENT_PAGE_BYTES, RECORD_PAGE_BYTES } from './chunk-WZ7YV54N.mjs';
|
|
6
|
+
import { decodeSegmentManifest } from './chunk-CWS55TEX.mjs';
|
|
7
7
|
import { isSyncEpoch } from './chunk-BUMREPLU.mjs';
|
|
8
|
-
import { readSegmentFile, STABLE_HEAD_ATTEMPTS } from './chunk-
|
|
9
|
-
import { manifestKey, segmentsPrefix, vectorFileKey, graphPartKey } from './chunk-
|
|
10
|
-
import { storedStateToWire, storedStateFromWire } from './chunk-
|
|
11
|
-
import { VERSION, rulesOfStoredSynonyms, engineVersionParts, packChecksummedEnvelope, packEnvelopeWithChecksum } from './chunk-
|
|
12
|
-
import { decodeEveryStoredDocument, createSharedFrozenSegment, shareSegmentArrays } from './chunk-
|
|
13
|
-
import { DEFAULT_BM25_B, DEFAULT_BM25_K1 } from './chunk-ZAUJFLEN.mjs';
|
|
8
|
+
import { readSegmentFile, STABLE_HEAD_ATTEMPTS } from './chunk-BNL5OPRV.mjs';
|
|
9
|
+
import { manifestKey, segmentsPrefix, vectorFileKey, graphPartKey } from './chunk-JTYPJF3T.mjs';
|
|
10
|
+
import { storedStateToWire, storedStateFromWire } from './chunk-ODYKO5TO.mjs';
|
|
11
|
+
import { VERSION, rulesOfStoredSynonyms, engineVersionParts, packChecksummedEnvelope, packEnvelopeWithChecksum } from './chunk-FEZVDOWX.mjs';
|
|
12
|
+
import { decodeEveryStoredDocument, createSharedFrozenSegment, shareSegmentArrays } from './chunk-VZ2ONHEE.mjs';
|
|
14
13
|
import { readHeader, HEADER_SIZE, writeHeader, checksumOfChunks } from './chunk-3OH67G7R.mjs';
|
|
15
14
|
import { crc32 } from './chunk-7GXJUJ24.mjs';
|
|
16
|
-
import { isQuantizationMode, isStorageMode } from './chunk-
|
|
17
|
-
import {
|
|
15
|
+
import { flattenSchema, requireValidFieldTypes, isQuantizationMode, isStorageMode } from './chunk-W5EB5XKI.mjs';
|
|
16
|
+
import { DEFAULT_BM25_B, DEFAULT_BM25_K1 } from './chunk-FB6463IN.mjs';
|
|
18
17
|
import { VECTOR_PATTERN } from './chunk-L5ORED7V.mjs';
|
|
19
18
|
import { VALID_HNSW_METRICS } from './chunk-U476IXKQ.mjs';
|
|
20
19
|
import { NarsilError, ErrorCodes } from './chunk-MP7ABPTD.mjs';
|
|
21
|
-
import { compareCodePoints } from './chunk-
|
|
20
|
+
import { compareCodePoints } from './chunk-TBC3XUL2.mjs';
|
|
22
21
|
import { decode, encode } from '@msgpack/msgpack';
|
|
23
22
|
|
|
24
23
|
// src/engine/durability-metadata.ts
|
|
@@ -1289,23 +1288,50 @@ function removeFromPartition(manager, partitionId, docIds) {
|
|
|
1289
1288
|
}
|
|
1290
1289
|
}
|
|
1291
1290
|
async function attachPagedSegment(directory, ref, partitionId, manager, options) {
|
|
1292
|
-
const { checkPagedSegmentFully, createPagedFrozenSegment, openPagedSnapshot, pagedListingOf } = await import('./module-
|
|
1291
|
+
const { checkPagedSegmentFully, createPagedFrozenSegment, openPagedSnapshot, pagedListingOf } = await import('./module-JYHFTVPS.mjs');
|
|
1293
1292
|
if (options.decodesEveryDocument) await checkPagedSegmentFully(directory, ref);
|
|
1294
1293
|
const snapshot = openPagedSnapshot(await pagedListingOf(directory, ref));
|
|
1295
1294
|
requireAgreedSchema(options.schema, snapshot.schema, ref.key);
|
|
1296
1295
|
const segment = createPagedFrozenSegment(snapshot);
|
|
1297
1296
|
removeFromPartition(manager, partitionId, snapshot.tombstones);
|
|
1298
1297
|
options.writeRecords?.loadPagedSegment(manager.indexName, partitionId, segment);
|
|
1299
|
-
if (snapshot.documentCount > 0)
|
|
1300
|
-
|
|
1298
|
+
if (snapshot.documentCount > 0) {
|
|
1299
|
+
manager.attachFrozenSegment(partitionId, segment);
|
|
1300
|
+
return segment;
|
|
1301
|
+
}
|
|
1302
|
+
segment.paged?.close();
|
|
1303
|
+
return null;
|
|
1304
|
+
}
|
|
1305
|
+
function documentsHeldBefore(manager, partitionId) {
|
|
1306
|
+
const held = manager.partitionAt(partitionId);
|
|
1307
|
+
return held === void 0 ? [] : [...held.docIds()];
|
|
1308
|
+
}
|
|
1309
|
+
function removeDocumentsMissingFromLoadedSegments(manager, partitionId, heldBefore, loaded) {
|
|
1310
|
+
const absent = heldBefore.filter(
|
|
1311
|
+
(docId) => manager.partitionIdOf(docId) === partitionId && !loaded.some((segment) => segment.hasDocument(docId))
|
|
1312
|
+
);
|
|
1313
|
+
if (absent.length === 0) return;
|
|
1314
|
+
manager.beginBatchRemove();
|
|
1315
|
+
try {
|
|
1316
|
+
for (const docId of absent) manager.remove(docId);
|
|
1317
|
+
} finally {
|
|
1318
|
+
manager.endBatchRemove();
|
|
1319
|
+
}
|
|
1301
1320
|
}
|
|
1302
1321
|
async function loadPartitionSegments(store, partition, manager, options) {
|
|
1322
|
+
const heldBefore = documentsHeldBefore(manager, partition.partitionId);
|
|
1323
|
+
const loaded = await attachPartitionSegments(store, partition, manager, options);
|
|
1324
|
+
removeDocumentsMissingFromLoadedSegments(manager, partition.partitionId, heldBefore, loaded);
|
|
1325
|
+
}
|
|
1326
|
+
async function attachPartitionSegments(store, partition, manager, options) {
|
|
1327
|
+
const loaded = [];
|
|
1303
1328
|
const { directory } = store;
|
|
1304
1329
|
for (const ref of partition.segments) {
|
|
1305
1330
|
if (manager.config.textStorage === "disk" && directory !== void 0) {
|
|
1306
|
-
const { isPagedSegmentFile } = await import('./module-
|
|
1331
|
+
const { isPagedSegmentFile } = await import('./module-JYHFTVPS.mjs');
|
|
1307
1332
|
if (await isPagedSegmentFile(directory, ref.key)) {
|
|
1308
|
-
await attachPagedSegment(directory, ref, partition.partitionId, manager, options);
|
|
1333
|
+
const paged = await attachPagedSegment(directory, ref, partition.partitionId, manager, options);
|
|
1334
|
+
if (paged !== null) loaded.push(paged);
|
|
1309
1335
|
await yieldToEventLoop();
|
|
1310
1336
|
continue;
|
|
1311
1337
|
}
|
|
@@ -1316,9 +1342,13 @@ async function loadPartitionSegments(store, partition, manager, options) {
|
|
|
1316
1342
|
const segment = createSharedFrozenSegment(shareSegmentArrays(contents.arrays, manager.partialWordAnalysis));
|
|
1317
1343
|
removeWhatTheSegmentReplaces(manager, segment, contents);
|
|
1318
1344
|
options.writeRecords?.loadSegment(manager.indexName, partition.partitionId, segment, contents);
|
|
1319
|
-
if (contents.arrays.documentCount > 0)
|
|
1345
|
+
if (contents.arrays.documentCount > 0) {
|
|
1346
|
+
manager.attachFrozenSegment(partition.partitionId, segment);
|
|
1347
|
+
loaded.push(segment);
|
|
1348
|
+
}
|
|
1320
1349
|
await yieldToEventLoop();
|
|
1321
1350
|
}
|
|
1351
|
+
return loaded;
|
|
1322
1352
|
}
|
|
1323
1353
|
|
|
1324
1354
|
// src/persistence/durability/segment/load.ts
|
|
@@ -1359,7 +1389,7 @@ async function loadSegmentedCheckpoint(store, indexName, manifest, deps, decodes
|
|
|
1359
1389
|
(field) => deps.vectorIndexes.get(field.fieldPath)?.storage === "disk" && field.files.some((file) => file.headOffset !== void 0)
|
|
1360
1390
|
);
|
|
1361
1391
|
if (!decodesEveryDocument && directory !== void 0 && opensVectorsOnDemand) {
|
|
1362
|
-
const { startReadingOpeningSectionsAhead } = await import('./module-
|
|
1392
|
+
const { startReadingOpeningSectionsAhead } = await import('./module-JYHFTVPS.mjs');
|
|
1363
1393
|
await startReadingOpeningSectionsAhead(directory, manifest);
|
|
1364
1394
|
}
|
|
1365
1395
|
for (const partition of manifest.partitions) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { sendError, RELAY_STREAM_CHUNKS_IN_FLIGHT } from './chunk-
|
|
1
|
+
import { sendError, RELAY_STREAM_CHUNKS_IN_FLIGHT } from './chunk-4LMSZAK6.mjs';
|
|
2
2
|
import { ServerErrorCodes } from './chunk-MP7ABPTD.mjs';
|
|
3
3
|
import { rm } from 'fs/promises';
|
|
4
4
|
import path from 'path';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { withRerankQueryText } from './chunk-KZ3NX2P7.mjs';
|
|
2
|
-
import { sendRelayed, parseJson, validateQuery, rejectInvalid, refuseRegex, respondJson, withServerRerankWindow, respondError, loadUWebSockets, childAppOf, createRouteRunner, corsHeaderReader, createSharedBodyBudget, createSharedRequestGate, registerFeedRoute, registerServerRoutes, closeWhenTheProcessExits, statusLine, sendError, REQUEST_THREAD_MOVE_AFTER_MS, MAX_LONG_QUERIES_IN_FLIGHT, createDocumentReadHandlers, SERVER_CAPABILITIES, versionReport, serverRoutes, validateSuggest, isMainFeedNote, SEARCH_CLOCK_SAMPLE_UNITS, awaitDepartureConfirmation, departureConfirmation, REQUEST_THREAD_DEPARTURE_DRAIN_MS, departureConfirmed } from './chunk-
|
|
2
|
+
import { sendRelayed, parseJson, validateQuery, rejectInvalid, refuseRegex, respondJson, withServerRerankWindow, respondError, loadUWebSockets, childAppOf, createRouteRunner, corsHeaderReader, createSharedBodyBudget, createSharedRequestGate, registerFeedRoute, registerServerRoutes, closeWhenTheProcessExits, statusLine, sendError, REQUEST_THREAD_MOVE_AFTER_MS, MAX_LONG_QUERIES_IN_FLIGHT, createDocumentReadHandlers, SERVER_CAPABILITIES, versionReport, serverRoutes, validateSuggest, isMainFeedNote, SEARCH_CLOCK_SAMPLE_UNITS, awaitDepartureConfirmation, departureConfirmation, REQUEST_THREAD_DEPARTURE_DRAIN_MS, departureConfirmed } from './chunk-4LMSZAK6.mjs';
|
|
3
3
|
import { SYNC_CLOSE_GOING_AWAY, encodeJson } from './chunk-KYYABCSW.mjs';
|
|
4
|
-
import { executeListDocuments, executeSuggest, executeQuery, lazyQueryBinding, executePreflight } from './chunk-
|
|
5
|
-
import {
|
|
6
|
-
import { extractVectorFieldsFromSchema } from './chunk-
|
|
4
|
+
import { executeListDocuments, executeSuggest, executeQuery, lazyQueryBinding, executePreflight } from './chunk-OYABFKTW.mjs';
|
|
5
|
+
import { resolveProjection, projectionKeepsField, setNestedValue } from './chunk-PIH5SJ4N.mjs';
|
|
6
|
+
import { extractVectorFieldsFromSchema } from './chunk-W5EB5XKI.mjs';
|
|
7
|
+
import { holdsQuotedText } from './chunk-FB6463IN.mjs';
|
|
7
8
|
import { ServerErrorCodes, ErrorCodes, NarsilError, isNarsilError } from './chunk-MP7ABPTD.mjs';
|
|
8
9
|
|
|
9
10
|
// src/server/request-threads/feed-relay.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { P as PartitionConfig, B as BM25Params, A as AnyDocument, a as InsertOptions, W as WriteOptions } from './schema-Jwt928nJ.js';
|
|
2
|
-
import { e as SnapshotOptions, V as VectorMaintenanceResult, B as BatchResult, L as ListParams, l as ListResult, I as IndexInfo, p as IndexStats, P as PartitionStatsResult, Q as QueryParams,
|
|
2
|
+
import { e as SnapshotOptions, V as VectorMaintenanceResult, B as BatchResult, L as ListParams, l as ListResult, I as IndexInfo, p as IndexStats, P as PartitionStatsResult, Q as QueryParams, j as QueryResult, o as PreflightResult, m as SuggestParams, n as SuggestResult, g as SyncStatus, f as SyncSetting } from './engine-CkPn2PWE.js';
|
|
3
3
|
import { a as SynonymRule } from './synonyms-CpOAHPa-.js';
|
|
4
|
-
import { f as TaskRecord, a as ChangeAnalysisBody, M as MemoryStatsResponse, m as CreateBackupBody, R as RestoreBackupBody, c as ImportResult, H as HttpIndexConfig, d as TaskListQuery, T as TaskListPage } from './tasks-
|
|
5
|
-
import { B as BackupListing } from './config-
|
|
4
|
+
import { f as TaskRecord, a as ChangeAnalysisBody, M as MemoryStatsResponse, m as CreateBackupBody, R as RestoreBackupBody, c as ImportResult, H as HttpIndexConfig, d as TaskListQuery, T as TaskListPage } from './tasks-CoNjxbop.js';
|
|
5
|
+
import { B as BackupListing } from './config-B4v_Htpu.js';
|
|
6
6
|
import { d as QuerySuggestionsSetting, e as QuerySuggestionsStatus, f as RecordQueryResult, c as QuerySuggestionsPreview, M as ManualQuerySuggestion } from './query-suggestions-CBYkrQ5T.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -1087,6 +1087,18 @@ interface SyncSnapshotDownload {
|
|
|
1087
1087
|
* @public
|
|
1088
1088
|
*/
|
|
1089
1089
|
interface SyncSettingOperations {
|
|
1090
|
+
/**
|
|
1091
|
+
* Returns the device sync state of an index, as {@link SyncOperations.getSync}
|
|
1092
|
+
* does on the engine.
|
|
1093
|
+
*
|
|
1094
|
+
* @param indexName - The server reports the state of this index.
|
|
1095
|
+
* @param options - This sets the signal, the deadline, and the headers for
|
|
1096
|
+
* this request.
|
|
1097
|
+
* @returns The setting, whether a device has asked for the published
|
|
1098
|
+
* snapshot, and the epoch.
|
|
1099
|
+
* @throws A `NarsilError` with `INDEX_NOT_FOUND` when no index has that name.
|
|
1100
|
+
*/
|
|
1101
|
+
getSync(indexName: string, options?: RequestOptions): Promise<SyncStatus>;
|
|
1090
1102
|
/**
|
|
1091
1103
|
* Replaces the device sync setting of an index. Turning sync on gives the
|
|
1092
1104
|
* index a new epoch, and turning it off deletes the published snapshot and
|
package/dist/client.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { B as BackupListing, a as BackupSummary, D as DamagedBackup } from './config-
|
|
2
|
-
export { C as ClientErrorCode, a as ClientErrorCodes, E as ErrorCode, b as ErrorCodes, N as NarsilError, c as NarsilErrorCode, S as ServerErrorCode, d as ServerErrorCodes, e as SnapshotOptions, f as SyncSetting, i as isNarsilError } from './engine-
|
|
3
|
-
export { A as ASYNC_IMPORT_CAPABILITY, B as BM25_TUNING_CAPABILITY, C as CHANGE_ANALYSIS_CAPABILITY, D as DOCUMENT_EXPORT_CAPABILITY, E as ErrorEnvelope, I as INDEX_LIFECYCLE_CAPABILITY, R as REBUILD_ANALYSIS_CAPABILITY, S as SERVER_CAPABILITIES, a as SYNONYMS_CAPABILITY, T as TASK_CANCEL_CAPABILITY, b as TASK_FILTER_CAPABILITY } from './capabilities-
|
|
4
|
-
export { B as BackupListResponse, C as CapabilitiesResponse, a as ChangeAnalysisBody, b as CreateIndexEmbedding, E as ErrorDetail, H as HttpIndexConfig, I as ImportError, c as ImportResult, M as MemoryStatsResponse, R as RestoreBackupBody, T as TaskListPage, d as TaskListQuery, e as TaskProgress, f as TaskRecord, g as TaskStatus, h as TaskStepProgress, i as TaskType } from './tasks-
|
|
1
|
+
export { B as BackupListing, a as BackupSummary, D as DamagedBackup } from './config-B4v_Htpu.js';
|
|
2
|
+
export { C as ClientErrorCode, a as ClientErrorCodes, E as ErrorCode, b as ErrorCodes, N as NarsilError, c as NarsilErrorCode, S as ServerErrorCode, d as ServerErrorCodes, e as SnapshotOptions, f as SyncSetting, g as SyncStatus, i as isNarsilError } from './engine-CkPn2PWE.js';
|
|
3
|
+
export { A as ASYNC_IMPORT_CAPABILITY, B as BM25_TUNING_CAPABILITY, C as CHANGE_ANALYSIS_CAPABILITY, D as DOCUMENT_EXPORT_CAPABILITY, E as ErrorEnvelope, I as INDEX_LIFECYCLE_CAPABILITY, R as REBUILD_ANALYSIS_CAPABILITY, S as SERVER_CAPABILITIES, a as SYNONYMS_CAPABILITY, T as TASK_CANCEL_CAPABILITY, b as TASK_FILTER_CAPABILITY } from './capabilities-D3AoBJoF.js';
|
|
4
|
+
export { B as BackupListResponse, C as CapabilitiesResponse, a as ChangeAnalysisBody, b as CreateIndexEmbedding, E as ErrorDetail, H as HttpIndexConfig, I as ImportError, c as ImportResult, M as MemoryStatsResponse, R as RestoreBackupBody, T as TaskListPage, d as TaskListQuery, e as TaskProgress, f as TaskRecord, g as TaskStatus, h as TaskStepProgress, i as TaskType } from './tasks-CoNjxbop.js';
|
|
5
5
|
export { M as ManualQuerySuggestion, Q as QuerySuggestionPreviewEntry, a as QuerySuggestionsBuild, b as QuerySuggestionsBuildTrigger, c as QuerySuggestionsPreview, d as QuerySuggestionsSetting, e as QuerySuggestionsStatus, R as RecordQueryOutcome, f as RecordQueryResult } from './query-suggestions-CBYkrQ5T.js';
|
|
6
|
-
export { A as AdminOperations, B as BackupOperations, a as BulkOperations, D as DocumentOperations, F as FetchFunction, I as ImportSource, b as IndexOperations, N as NarsilClient, c as NarsilClientOptions, P as PutResult, Q as QuerySuggestionOperations, R as RequestOptions, S as SearchOperations, d as ServerOperations, e as ServerVersion, f as SyncSettingOperations, g as SyncSnapshotDownload, h as SyncSnapshotResume, T as TaskOperations, W as WaitForTaskOptions, i as createNarsilClient } from './client-
|
|
7
|
-
import './config-
|
|
6
|
+
export { A as AdminOperations, B as BackupOperations, a as BulkOperations, D as DocumentOperations, F as FetchFunction, I as ImportSource, b as IndexOperations, N as NarsilClient, c as NarsilClientOptions, P as PutResult, Q as QuerySuggestionOperations, R as RequestOptions, S as SearchOperations, d as ServerOperations, e as ServerVersion, f as SyncSettingOperations, g as SyncSnapshotDownload, h as SyncSnapshotResume, T as TaskOperations, W as WaitForTaskOptions, i as createNarsilClient } from './client-kqSMevVi.js';
|
|
7
|
+
import './config-CTP01fns.js';
|
|
8
8
|
import './adapters-pljAqmrC.js';
|
|
9
9
|
import './schema-Jwt928nJ.js';
|
|
10
10
|
import './synonyms-CpOAHPa-.js';
|
package/dist/client.mjs
CHANGED
|
@@ -1097,6 +1097,10 @@ function invalidDownload(message, path) {
|
|
|
1097
1097
|
}
|
|
1098
1098
|
function createSyncSettingOperations(transport) {
|
|
1099
1099
|
return {
|
|
1100
|
+
async getSync(indexName, options) {
|
|
1101
|
+
const path = `${indexPath(indexName)}/sync`;
|
|
1102
|
+
return readBody(await transport.json({ method: "GET", path, options }), path);
|
|
1103
|
+
},
|
|
1100
1104
|
async updateSync(indexName, setting, options) {
|
|
1101
1105
|
const path = `${indexPath(indexName)}/sync`;
|
|
1102
1106
|
await transport.json({ method: "PUT", path, body: encodeJson(setting), contentType: "application/json", options });
|
|
@@ -1,64 +1,71 @@
|
|
|
1
|
-
import { readWholeSectionChecked, checkEverySectionPage, readFileRange, openPagedFile, readCacheOfThisThread, createSectionReader, closePagedFile } from './chunk-
|
|
2
|
-
export { actionPartitionsOf, adoptSegmentsOnWorker, bytesThatSegmentsHoldInMemory, checkPagedSegmentFully, closeUnusedSegments, countsAsLatestHolder, createPagedFrozenSegment, isPagedSegmentFile, keysThatSegmentsStillRead, mergePagedWindow, openFileVectorReads, openPagedSegmentScan, openPagedSnapshot, openRewriteSpill, pagedListingOf, pagedPartitionLines, pagedTombstonesFor, prepareDiskAdoption, startReadingOpeningSectionsAhead, swapPreparedPartitions, writePagedSegment } from './chunk-
|
|
1
|
+
import { readWholeSectionChecked, checkEverySectionPage, readFileRange, openPagedFile, readCacheOfThisThread, createSectionReader, closePagedFile } from './chunk-RWURUDSP.mjs';
|
|
2
|
+
export { actionPartitionsOf, adoptSegmentsOnWorker, bytesThatSegmentsHoldInMemory, checkPagedSegmentFully, closeUnusedSegments, countsAsLatestHolder, createPagedFrozenSegment, isPagedSegmentFile, keysThatSegmentsStillRead, mergePagedWindow, openFileVectorReads, openPagedSegmentScan, openPagedSnapshot, openRewriteSpill, pagedListingOf, pagedPartitionLines, pagedTombstonesFor, prepareDiskAdoption, startReadingOpeningSectionsAhead, swapPreparedPartitions, writePagedSegment } from './chunk-RWURUDSP.mjs';
|
|
3
3
|
import './chunk-6RC4K46J.mjs';
|
|
4
4
|
import './chunk-TQXHPFWT.mjs';
|
|
5
5
|
import { loadFailed, decodeSections, SEGMENT_PAGE_BYTES, RECORD_PAGE_BYTES } from './chunk-WZ7YV54N.mjs';
|
|
6
6
|
import { isDead, VECTOR_FILE_PAYLOAD_VERSION, bytesToVectors } from './chunk-K4ZIGL2O.mjs';
|
|
7
7
|
import './chunk-FOCV4CBZ.mjs';
|
|
8
|
-
import { magnitude, defaultRescoreDepth, defaultEfSearch, computeCodeBlockLayout, toScore, osqQuantize, createOsqScratch, scalarQueryProducts, osqEstimate, osqDistance, toDistance } from './chunk-
|
|
9
|
-
export { createHNSWIndex, osqBitsOf } from './chunk-
|
|
10
|
-
import './chunk-DJHHF2L5.mjs';
|
|
8
|
+
import { magnitude, defaultRescoreDepth, defaultEfSearch, computeCodeBlockLayout, toScore, osqQuantize, createOsqScratch, scalarQueryProducts, osqEstimate, osqDistance, toDistance } from './chunk-5VV4R6P7.mjs';
|
|
9
|
+
export { createHNSWIndex, osqBitsOf } from './chunk-5VV4R6P7.mjs';
|
|
11
10
|
import { stageQueryLevels, readTrailer } from './chunk-37CD3OKS.mjs';
|
|
12
|
-
import { COLD_LOAD_WAIT_WITHOUT_SEARCH_MS, COLD_WALK_NODES_READ_AHEAD } from './chunk-
|
|
13
|
-
import './chunk-
|
|
11
|
+
import { COLD_LOAD_WAIT_WITHOUT_SEARCH_MS, COLD_WALK_NODES_READ_AHEAD } from './chunk-BNL5OPRV.mjs';
|
|
12
|
+
import './chunk-CQZXZ75V.mjs';
|
|
14
13
|
import './chunk-UHICS3JI.mjs';
|
|
15
|
-
import './chunk-
|
|
14
|
+
import './chunk-KCQYFO4K.mjs';
|
|
15
|
+
import './chunk-JTYPJF3T.mjs';
|
|
16
16
|
import './chunk-QDZJM7NI.mjs';
|
|
17
|
-
import { yieldToEventLoop } from './chunk-
|
|
18
|
-
import './chunk-
|
|
17
|
+
import { yieldToEventLoop } from './chunk-FEZVDOWX.mjs';
|
|
18
|
+
import './chunk-OYABFKTW.mjs';
|
|
19
19
|
import './chunk-HJSN7UYG.mjs';
|
|
20
20
|
import './chunk-LHKOSI2J.mjs';
|
|
21
21
|
import './chunk-XIHUI4KB.mjs';
|
|
22
22
|
import './chunk-3MXV3VHR.mjs';
|
|
23
23
|
import './chunk-EEBCDP36.mjs';
|
|
24
|
-
import './chunk-
|
|
25
|
-
import './chunk-
|
|
24
|
+
import './chunk-VZ2ONHEE.mjs';
|
|
25
|
+
import './chunk-PIH5SJ4N.mjs';
|
|
26
26
|
import './chunk-GH4WQ22V.mjs';
|
|
27
27
|
import { HEADER_SIZE, readHeader } from './chunk-3OH67G7R.mjs';
|
|
28
28
|
import './chunk-IPN7S4KX.mjs';
|
|
29
29
|
import './chunk-KAKQ74LS.mjs';
|
|
30
30
|
import { crc32 } from './chunk-7GXJUJ24.mjs';
|
|
31
31
|
import './chunk-Q2UL2TPC.mjs';
|
|
32
|
-
import './chunk-
|
|
33
|
-
import './chunk-
|
|
34
|
-
import './chunk-
|
|
32
|
+
import './chunk-CITFCZKF.mjs';
|
|
33
|
+
import './chunk-RLOES5SX.mjs';
|
|
34
|
+
import './chunk-PV2CG7EJ.mjs';
|
|
35
35
|
import './chunk-FQBFZAWG.mjs';
|
|
36
|
-
import './chunk-
|
|
36
|
+
import './chunk-W5EB5XKI.mjs';
|
|
37
|
+
import './chunk-SQJWAIF4.mjs';
|
|
37
38
|
import './chunk-GES7U2PM.mjs';
|
|
38
39
|
import './chunk-I54T6CQP.mjs';
|
|
39
|
-
import './chunk-
|
|
40
|
-
import './chunk-X5CV2E2B.mjs';
|
|
40
|
+
import './chunk-I5B7RXU7.mjs';
|
|
41
41
|
import './chunk-Y4WPNHMC.mjs';
|
|
42
42
|
import './chunk-RZWWB2XR.mjs';
|
|
43
43
|
import './chunk-TGP5M5R7.mjs';
|
|
44
|
-
import './chunk-
|
|
45
|
-
import './chunk-4UMZ7KQL.mjs';
|
|
44
|
+
import './chunk-G6HRSGOU.mjs';
|
|
46
45
|
import './chunk-U2BKYEC7.mjs';
|
|
46
|
+
import './chunk-6HTGOXIK.mjs';
|
|
47
47
|
import './chunk-QHPYS427.mjs';
|
|
48
48
|
import './chunk-QYRNLLLI.mjs';
|
|
49
|
-
import './chunk-
|
|
49
|
+
import './chunk-TDIK6NTV.mjs';
|
|
50
|
+
import './chunk-FB6463IN.mjs';
|
|
51
|
+
import './chunk-7GFE3PEY.mjs';
|
|
50
52
|
import './chunk-ZXNQEW43.mjs';
|
|
53
|
+
import './chunk-7V5IUP2T.mjs';
|
|
51
54
|
import './chunk-L5ORED7V.mjs';
|
|
55
|
+
import './chunk-X5CV2E2B.mjs';
|
|
56
|
+
import './chunk-A4L7YTKX.mjs';
|
|
57
|
+
import './chunk-U55XJEIG.mjs';
|
|
52
58
|
import './chunk-KOKM4PQN.mjs';
|
|
53
|
-
import './chunk-
|
|
59
|
+
import './chunk-ORN5BLL7.mjs';
|
|
54
60
|
import './chunk-BTPGQC6Z.mjs';
|
|
55
61
|
import './chunk-LQG5G2LY.mjs';
|
|
56
62
|
import './chunk-ZXX5GZEX.mjs';
|
|
57
63
|
import './chunk-RFBLQLLZ.mjs';
|
|
64
|
+
import './chunk-KKQC526K.mjs';
|
|
58
65
|
import './chunk-U476IXKQ.mjs';
|
|
59
66
|
import { NarsilError, ErrorCodes } from './chunk-MP7ABPTD.mjs';
|
|
60
|
-
import './chunk-
|
|
61
|
-
import { compareCodePoints } from './chunk-
|
|
67
|
+
import './chunk-J4IJTTEX.mjs';
|
|
68
|
+
import { compareCodePoints } from './chunk-TBC3XUL2.mjs';
|
|
62
69
|
import { decode, decodeMulti } from '@msgpack/msgpack';
|
|
63
70
|
|
|
64
71
|
// src/persistence/paged/cold-search.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as NarsilConfig } from './config-
|
|
1
|
+
import { N as NarsilConfig } from './config-CTP01fns.js';
|
|
2
2
|
import { P as PersistenceAdapter } from './adapters-pljAqmrC.js';
|
|
3
3
|
import { A as AllocationConstraints, a as AllocationTable, N as NodeRole, b as NodeRegistration, C as ClusterCoordinator, c as NodeCapacity } from './index-C4AmUnl1.js';
|
|
4
4
|
import { N as NodeTransport } from './types-DvncmvuQ.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { P as PersistenceAdapter, I as InvalidationAdapter, E as EmbeddingAdapter, R as RerankAdapter } from './adapters-pljAqmrC.js';
|
|
2
|
-
import { Q as QueryParams,
|
|
2
|
+
import { Q as QueryParams, j as QueryResult, k as NarsilEventHandlers } from './engine-CkPn2PWE.js';
|
|
3
3
|
import { I as IndexConfig, A as AnyDocument } from './schema-Jwt928nJ.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export { createDirectExecutor } from './chunk-VZ2ONHEE.mjs';
|
|
2
|
+
import './chunk-PIH5SJ4N.mjs';
|
|
3
|
+
import './chunk-IPN7S4KX.mjs';
|
|
4
|
+
import './chunk-KAKQ74LS.mjs';
|
|
5
|
+
import './chunk-Q2UL2TPC.mjs';
|
|
6
|
+
import './chunk-CITFCZKF.mjs';
|
|
7
|
+
import './chunk-RLOES5SX.mjs';
|
|
8
|
+
import './chunk-PV2CG7EJ.mjs';
|
|
9
|
+
import './chunk-FQBFZAWG.mjs';
|
|
10
|
+
import './chunk-W5EB5XKI.mjs';
|
|
11
|
+
import './chunk-SQJWAIF4.mjs';
|
|
12
|
+
import './chunk-GES7U2PM.mjs';
|
|
13
|
+
import './chunk-I54T6CQP.mjs';
|
|
14
|
+
import './chunk-I5B7RXU7.mjs';
|
|
15
|
+
import './chunk-Y4WPNHMC.mjs';
|
|
16
|
+
import './chunk-RZWWB2XR.mjs';
|
|
17
|
+
import './chunk-TGP5M5R7.mjs';
|
|
18
|
+
import './chunk-G6HRSGOU.mjs';
|
|
19
|
+
import './chunk-U2BKYEC7.mjs';
|
|
20
|
+
import './chunk-TDIK6NTV.mjs';
|
|
21
|
+
import './chunk-FB6463IN.mjs';
|
|
22
|
+
import './chunk-7GFE3PEY.mjs';
|
|
23
|
+
import './chunk-ZXNQEW43.mjs';
|
|
24
|
+
import './chunk-7V5IUP2T.mjs';
|
|
25
|
+
import './chunk-L5ORED7V.mjs';
|
|
26
|
+
import './chunk-X5CV2E2B.mjs';
|
|
27
|
+
import './chunk-A4L7YTKX.mjs';
|
|
28
|
+
import './chunk-U55XJEIG.mjs';
|
|
29
|
+
import './chunk-LQG5G2LY.mjs';
|
|
30
|
+
import './chunk-ZXX5GZEX.mjs';
|
|
31
|
+
import './chunk-U476IXKQ.mjs';
|
|
32
|
+
import './chunk-MP7ABPTD.mjs';
|
|
33
|
+
import './chunk-J4IJTTEX.mjs';
|
|
34
|
+
import './chunk-TBC3XUL2.mjs';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { INDEX_METADATA_KEY_PREFIX, indexNameOfMetadataSuffix } from '../../chunk-Q2AP2FSN.mjs';
|
|
2
2
|
import { MAX_NODE_ID_LENGTH, CONTROLLER_LEASE_KEY, MAX_WATCHERS } from '../../chunk-44W3CBNG.mjs';
|
|
3
3
|
import { NarsilError, ErrorCodes, describeError } from '../../chunk-MP7ABPTD.mjs';
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import { compareCodePoints } from '../../chunk-
|
|
4
|
+
import '../../chunk-J4IJTTEX.mjs';
|
|
5
|
+
import { compareCodePoints } from '../../chunk-TBC3XUL2.mjs';
|
|
6
6
|
import { encode, decode } from '@msgpack/msgpack';
|
|
7
7
|
|
|
8
8
|
// src/distribution/coordinator/etcd/constants.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { indexNameOfMetadataKey } from '../../chunk-Q2AP2FSN.mjs';
|
|
2
2
|
import { CONTROLLER_LEASE_KEY, NODE_HEARTBEAT_TTL_MS } from '../../chunk-44W3CBNG.mjs';
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import { compareCodePoints } from '../../chunk-
|
|
3
|
+
import '../../chunk-J4IJTTEX.mjs';
|
|
4
|
+
import { compareCodePoints } from '../../chunk-TBC3XUL2.mjs';
|
|
5
5
|
|
|
6
6
|
// src/distribution/coordinator/index-metadata-watchers.ts
|
|
7
7
|
function createIndexMetadataWatchers() {
|
package/dist/distribution.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { c as CreateIndexOptions, C as ClusterNamespace, d as ClusterNodeConfig } from './config-
|
|
2
|
-
export { B as BackupListing, e as BackupOperationOptions, f as BackupProgress, a as BackupSummary, g as ClusterBackupConfig, h as ClusterControllerConfig, i as ClusterHealth, j as ClusterHealthStatus, k as ClusterMemoryConfig, l as ClusterMetrics, b as ClusterNodeInfo, m as ClusterQueryConfig, n as CommitPointFigure, o as CoordinatorRequestFigure, p as CreateBackupOptions, D as DamagedBackup, I as IndexHealth, N as NodeReadiness, P as PartitionReplicationFigure, R as ReplicaLagFigure, q as ReplicationConfig, r as RestoreBackupOptions, V as VectorRebuildWaitFigure } from './config-
|
|
1
|
+
import { c as CreateIndexOptions, C as ClusterNamespace, d as ClusterNodeConfig } from './config-B4v_Htpu.js';
|
|
2
|
+
export { B as BackupListing, e as BackupOperationOptions, f as BackupProgress, a as BackupSummary, g as ClusterBackupConfig, h as ClusterControllerConfig, i as ClusterHealth, j as ClusterHealthStatus, k as ClusterMemoryConfig, l as ClusterMetrics, b as ClusterNodeInfo, m as ClusterQueryConfig, n as CommitPointFigure, o as CoordinatorRequestFigure, p as CreateBackupOptions, D as DamagedBackup, I as IndexHealth, N as NodeReadiness, P as PartitionReplicationFigure, R as ReplicaLagFigure, q as ReplicationConfig, r as RestoreBackupOptions, V as VectorRebuildWaitFigure } from './config-B4v_Htpu.js';
|
|
3
3
|
import { R as RerankAdapter } from './adapters-pljAqmrC.js';
|
|
4
|
-
import { f as SyncSetting,
|
|
4
|
+
import { f as SyncSetting, g as SyncStatus, B as BatchResult, L as ListParams, l as ListResult, m as SuggestParams, n as SuggestResult, Q as QueryParams, o as PreflightResult, I as IndexInfo, A as AnalysisChange, p as IndexStats, P as PartitionStatsResult, M as MemoryStats, q as NarsilEventMap, j as QueryResult, h as Narsil } from './engine-CkPn2PWE.js';
|
|
5
5
|
import { B as BM25Params, I as IndexConfig, A as AnyDocument, a as InsertOptions } from './schema-Jwt928nJ.js';
|
|
6
6
|
import { c as NodeCapacity, N as NodeRole } from './index-C4AmUnl1.js';
|
|
7
7
|
export { A as AllocationConstraints, e as AllocationEvent, a as AllocationTable, C as ClusterCoordinator, I as IndexMetadataEvent, f as IndexMetadataWatch, g as IndexPartitionBytes, h as NodeEvent, d as NodeMemoryReport, b as NodeRegistration, P as PartitionAssignment, i as PartitionState, R as RegistrationLease, S as SchemaEvent, U as UnassignedReason } from './index-C4AmUnl1.js';
|
|
8
8
|
import { a as SynonymRule } from './synonyms-CpOAHPa-.js';
|
|
9
9
|
export { L as ListenHandler, N as NodeTransport, R as RespondFn, T as TransportConfig, a as TransportMessage } from './types-DvncmvuQ.js';
|
|
10
|
-
import './config-
|
|
10
|
+
import './config-CTP01fns.js';
|
|
11
11
|
import './query-suggestions-CBYkrQ5T.js';
|
|
12
12
|
|
|
13
13
|
/**
|