@delali/narsil 0.3.1-next.153 → 0.3.1-next.155
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/README.md +3 -1
- package/dist/adapters/filesystem.mjs +2 -2
- package/dist/adapters/gcs.mjs +2 -2
- package/dist/adapters/indexeddb.mjs +1 -1
- package/dist/adapters/s3.mjs +2 -2
- package/dist/{analysis-change-2OYM7ARW.mjs → analysis-change-3TFIHT5E.mjs} +32 -23
- package/dist/{react-native/chunks/analysis-change-entry-CXNRW324.mjs → analysis-change-entry-KA6JAO4X.mjs} +1 -1
- package/dist/archive-history-E4R73RWD.mjs +29 -0
- package/dist/browser/{analysis-change-2V2HZ2NY.mjs → analysis-change-TC36BU47.mjs} +39 -10
- package/dist/{analysis-change-entry-QD7YNDEE.mjs → browser/analysis-change-entry-4MH3CZXH.mjs} +1 -1
- package/dist/browser/archive-history-4IP5XQZY.mjs +29 -0
- package/dist/browser/chunk-23XRXIBW.mjs +85 -0
- package/dist/browser/chunk-3UIEB4QF.mjs +63 -0
- package/dist/browser/{chunk-CSCKZBVJ.mjs → chunk-4EWUGZYZ.mjs} +4 -4
- package/dist/browser/chunk-4WCVMOU3.mjs +151 -0
- package/dist/browser/{chunk-QJCO3TJU.mjs → chunk-56W3HQVJ.mjs} +9 -150
- package/dist/{react-native/chunks/chunk-VGUWIZFQ.mjs → browser/chunk-5TCXK5SB.mjs} +2 -2
- package/dist/browser/chunk-5W3MMTLG.mjs +19 -0
- package/dist/browser/chunk-7IGKGWSQ.mjs +79 -0
- package/dist/browser/chunk-A5KUEGDY.mjs +241 -0
- package/dist/browser/{chunk-HT7J73QL.mjs → chunk-ABCXENU5.mjs} +2 -2
- package/dist/browser/chunk-ATEBYXP6.mjs +10 -0
- package/dist/browser/chunk-BXM5XOCA.mjs +315 -0
- package/dist/browser/chunk-CJSYBQ4J.mjs +100 -0
- package/dist/browser/chunk-DSXIBE6N.mjs +78 -0
- package/dist/browser/chunk-ELV4OZOI.mjs +29 -0
- package/dist/{react-native/chunks/chunk-QC4ZRBSX.mjs → browser/chunk-EXQZGUQH.mjs} +2 -79
- package/dist/browser/{chunk-2A2IPRC3.mjs → chunk-FNIFPFB7.mjs} +5 -31
- package/dist/browser/chunk-G64Q6OJF.mjs +96 -0
- package/dist/browser/chunk-GPPOG6PT.mjs +9 -0
- package/dist/browser/chunk-IKDKX5VQ.mjs +1007 -0
- package/dist/browser/chunk-JIJXMI42.mjs +1829 -0
- package/dist/browser/chunk-JVBP5EYO.mjs +1106 -0
- package/dist/browser/{chunk-TQ5UMFG5.mjs → chunk-K4GCSZLI.mjs} +15 -6
- package/dist/browser/{chunk-PM4MUM5N.mjs → chunk-K5AXJBLL.mjs} +6 -5
- package/dist/browser/chunk-KKAMCABR.mjs +432 -0
- package/dist/browser/{chunk-IAXZAVYL.mjs → chunk-LFIWRCEA.mjs} +1 -159
- package/dist/browser/chunk-M3MQE2X7.mjs +151 -0
- package/dist/browser/chunk-ML7THVLJ.mjs +38 -0
- package/dist/browser/chunk-NLWTBAGB.mjs +111 -0
- package/dist/browser/chunk-OEDCEZXJ.mjs +92 -0
- package/dist/browser/{chunk-MPK76GVS.mjs → chunk-RA6LSBCM.mjs} +1 -21
- package/dist/browser/{chunk-GJKXW3SF.mjs → chunk-RND5CLX3.mjs} +147 -253
- package/dist/{react-native/chunks/chunk-DFQJ4IJB.mjs → browser/chunk-RQBUNZQW.mjs} +2 -2
- package/dist/browser/{chunk-VD7JEUIR.mjs → chunk-RRO3EV4C.mjs} +9 -8
- package/dist/browser/{chunk-KWYQ6KX4.mjs → chunk-SMEQ36NT.mjs} +162 -2019
- package/dist/{chunk-MDF6PDIA.mjs → browser/chunk-SRMZXJSL.mjs} +8 -1
- package/dist/browser/{chunk-7ZJTRUVW.mjs → chunk-SUDNZKPL.mjs} +2 -2
- package/dist/browser/{chunk-LURXVCHG.mjs → chunk-U3JOQGWX.mjs} +1 -1
- package/dist/browser/chunk-VI7BQR4U.mjs +21 -0
- package/dist/browser/{chunk-B3JM6Z74.mjs → chunk-XY4VVBBO.mjs} +3 -2
- package/dist/browser/chunk-YJHGOJAC.mjs +15 -0
- package/dist/browser/chunk-ZI2V4VD7.mjs +21 -0
- package/dist/browser/{cold-module-YECAK4MN.mjs → cold-module-NEUGHUPA.mjs} +21 -14
- package/dist/browser/durability-config-TIYKW6XX.mjs +89 -0
- package/dist/browser/{durability-wiring-LM7WFL6X.mjs → durability-wiring-CVGPRO6D.mjs} +1299 -881
- package/dist/browser/engine-hooks-YXMPHZKZ.mjs +16 -0
- package/dist/browser/import-OM6QAW45.mjs +18 -0
- package/dist/browser/methods-KTQCSIN4.mjs +30 -0
- package/dist/browser/{module-XQLEOYNM.mjs → module-3HNFCBJ5.mjs} +10 -8
- package/dist/browser/{module-KAMRAJLE.mjs → module-E33X4AOK.mjs} +17 -10
- package/dist/browser/operations-OJ3BXS55.mjs +5 -0
- package/dist/browser/{phrase-module-CNKMUY4U.mjs → phrase-module-ZXXU7S3B.mjs} +1 -1
- package/dist/browser/{pool-DTYSPBMQ.mjs → pool-3JLET5RO.mjs} +3 -2
- package/dist/browser/restore-hooks-IF2ZROUP.mjs +113 -0
- package/dist/browser/restore-queue-ZBS7CJA6.mjs +55 -0
- package/dist/browser/retention-ASWUHAYI.mjs +209 -0
- package/dist/browser/{runtime-D2ULZGCN.mjs → runtime-OTAGEFQW.mjs} +1 -1
- package/dist/browser/{snapshot-UGZVMP4H.mjs → snapshot-PN7ZW6Q4.mjs} +80 -315
- package/dist/browser/start-ZIRB7MQ2.mjs +24 -0
- package/dist/browser/sync-state-P5XG6LTQ.mjs +15 -0
- package/dist/browser/{write-I5P5MW4O.mjs → write-HMDYCTV2.mjs} +17 -11
- package/dist/{capabilities-BT-HLDC8.d.ts → capabilities-Da4ywVVl.d.ts} +94 -7
- package/dist/{chunk-LDGGR7YT.mjs → chunk-2MANFZJ3.mjs} +2 -2
- package/dist/{chunk-IZT3G24Q.mjs → chunk-2NE7VCYE.mjs} +2 -2
- package/dist/{chunk-3TVDTACC.mjs → chunk-3C7MTCCI.mjs} +1 -1
- package/dist/chunk-3HB3PEC6.mjs +240 -0
- package/dist/chunk-3HHQLEEQ.mjs +1092 -0
- package/dist/chunk-3OH67G7R.mjs +214 -0
- package/dist/{chunk-ZS6CMXAE.mjs → chunk-3R4UZWQG.mjs} +98 -250
- package/dist/{chunk-65WCV5JO.mjs → chunk-4BYWRYPM.mjs} +1 -1
- package/dist/{chunk-SOUZMPME.mjs → chunk-4KRC2APY.mjs} +7 -194
- package/dist/{chunk-5QMHMELB.mjs → chunk-5FLRXF73.mjs} +8 -1
- package/dist/chunk-5FVU47TB.mjs +20 -0
- package/dist/chunk-5YNRKI2C.mjs +81 -0
- package/dist/chunk-6L3XJXGU.mjs +470 -0
- package/dist/chunk-6MSZ543Y.mjs +32 -0
- package/dist/{chunk-T4CJDBBE.mjs → chunk-6OEGXLBX.mjs} +1 -1
- package/dist/{chunk-3SBJVQLL.mjs → chunk-6RC4K46J.mjs} +2 -2
- package/dist/chunk-7GXJUJ24.mjs +49 -0
- package/dist/{chunk-FNBNZCGP.mjs → chunk-AILVAOLX.mjs} +2 -2
- package/dist/chunk-BDRIVYOK.mjs +72 -0
- package/dist/chunk-BUMREPLU.mjs +15 -0
- package/dist/chunk-BY6ZDGYS.mjs +50 -0
- package/dist/{chunk-5WB2A3XU.mjs → chunk-DCNKVEDB.mjs} +511 -27
- package/dist/{chunk-NITCPDFL.mjs → chunk-DIBHI6W5.mjs} +2 -2
- package/dist/{chunk-4QCSHLNM.mjs → chunk-DUOLGBTE.mjs} +3 -3
- package/dist/chunk-GES7U2PM.mjs +68 -0
- package/dist/chunk-GH4WQ22V.mjs +34 -0
- package/dist/chunk-GQPTDQCL.mjs +54 -0
- package/dist/chunk-H4KHPLHJ.mjs +382 -0
- package/dist/{chunk-7TE2AJIH.mjs → chunk-H6VIGE62.mjs} +13 -10
- package/dist/{chunk-J7M73VY7.mjs → chunk-HJJI72X7.mjs} +1 -1
- package/dist/{chunk-DGRM4EZZ.mjs → chunk-HNVVEQP7.mjs} +1 -1
- package/dist/{chunk-RBEHLIKX.mjs → chunk-HW5TNXBO.mjs} +35 -11
- package/dist/{chunk-KYVRZAYP.mjs → chunk-I54T6CQP.mjs} +2 -69
- package/dist/{chunk-IRWP524D.mjs → chunk-INJYO3BU.mjs} +1 -1
- package/dist/chunk-IPN7S4KX.mjs +130 -0
- package/dist/{chunk-CSHHU7PA.mjs → chunk-J4IWBIVY.mjs} +11 -30
- package/dist/{chunk-G5KHSM6E.mjs → chunk-K4ZIGL2O.mjs} +1 -1
- package/dist/{chunk-6RKSY3BX.mjs → chunk-KBDBPVLN.mjs} +5 -5
- package/dist/{chunk-J4BDAH2W.mjs → chunk-KBKEXQZA.mjs} +2 -2
- package/dist/{chunk-IJSFWGVW.mjs → chunk-KFLK5NA2.mjs} +3 -3
- package/dist/{chunk-YGQOPB2Z.mjs → chunk-KHKIRS5D.mjs} +1 -1
- package/dist/chunk-KJ3RTZDJ.mjs +101 -0
- package/dist/{chunk-2PNYKG2D.mjs → chunk-KMUNHGBQ.mjs} +139 -432
- package/dist/chunk-KP7TYHWT.mjs +92 -0
- package/dist/{chunk-VP6XRMWR.mjs → chunk-KPIV4RUC.mjs} +6 -32
- package/dist/{chunk-NPXVQS33.mjs → chunk-KXCVQWOR.mjs} +4 -3
- package/dist/chunk-KYYABCSW.mjs +72 -0
- package/dist/{chunk-6F6USYII.mjs → chunk-L7ZD4L3K.mjs} +267 -265
- package/dist/{chunk-U46IZNCW.mjs → chunk-LC3FDWTX.mjs} +3 -2
- package/dist/{chunk-6BWLDLS3.mjs → chunk-LHKOSI2J.mjs} +1 -1
- package/dist/chunk-LNGE7SLY.mjs +151 -0
- package/dist/{react-native/chunks/chunk-YH7W556M.mjs → chunk-MP7ABPTD.mjs} +12 -2
- package/dist/chunk-MT2NRTA6.mjs +216 -0
- package/dist/chunk-NF4DT3IH.mjs +85 -0
- package/dist/{chunk-POUYICOU.mjs → chunk-OIJ64LGT.mjs} +1 -1
- package/dist/{chunk-SEAJS664.mjs → chunk-PCRA7HTI.mjs} +5 -5
- package/dist/chunk-PHQNACDT.mjs +63 -0
- package/dist/chunk-Q622CTMC.mjs +74 -0
- package/dist/{chunk-NVTFQFUL.mjs → chunk-Q7G3BV3Y.mjs} +1 -1
- package/dist/chunk-QDZJM7NI.mjs +23 -0
- package/dist/{chunk-52QQWEBS.mjs → chunk-QH3YIQP4.mjs} +36 -7
- package/dist/chunk-QJVOLKU6.mjs +111 -0
- package/dist/chunk-QUJHMPTP.mjs +30 -0
- package/dist/{chunk-3E4RRF5J.mjs → chunk-RSVULW4Q.mjs} +100 -8
- package/dist/{chunk-IJPK5PGM.mjs → chunk-RVGRFOGN.mjs} +1 -1
- package/dist/chunk-RZWWB2XR.mjs +96 -0
- package/dist/{chunk-KQJVNPRM.mjs → chunk-S2EQU2GE.mjs} +19 -16
- package/dist/chunk-S5LN746F.mjs +10 -0
- package/dist/{chunk-LJ4ENXOD.mjs → chunk-SG3JBNHY.mjs} +2 -2
- package/dist/{chunk-B2FTZNNF.mjs → chunk-SMVH6JBE.mjs} +34 -14
- package/dist/chunk-SY3EWKQY.mjs +242 -0
- package/dist/{chunk-NYSONUB7.mjs → chunk-TQXHPFWT.mjs} +1 -1
- package/dist/{chunk-ZHAXP7SD.mjs → chunk-U4BS74YN.mjs} +26 -238
- package/dist/chunk-UHICS3JI.mjs +83 -0
- package/dist/chunk-UZRZKNNZ.mjs +101 -0
- package/dist/chunk-V6EUBAIT.mjs +19 -0
- package/dist/{chunk-TTCKT2RT.mjs → chunk-VGF7CFRP.mjs} +134 -11
- package/dist/chunk-VHBNF4MA.mjs +543 -0
- package/dist/{chunk-AWNHDBKV.mjs → chunk-VQEUR6T6.mjs} +16 -8
- package/dist/chunk-WQRN64Q6.mjs +196 -0
- package/dist/{chunk-DMNPYF54.mjs → chunk-WZ7YV54N.mjs} +2 -2
- package/dist/chunk-Y4WPNHMC.mjs +50 -0
- package/dist/{chunk-2HJWQPR6.mjs → chunk-YEDIDCR7.mjs} +6 -122
- package/dist/chunk-YEKL4JBK.mjs +96 -0
- package/dist/{chunk-UGVUW27S.mjs → chunk-Z2BE2MAM.mjs} +14 -10
- package/dist/{chunk-3HV7M5OJ.mjs → chunk-ZAUJFLEN.mjs} +11 -135
- package/dist/{chunk-FDG4KXX5.mjs → chunk-ZHCUZZE5.mjs} +6 -4
- package/dist/chunk-ZTW5WTGG.mjs +167 -0
- package/dist/chunk-ZYAY26KG.mjs +29 -0
- package/dist/{client-Cn3gNxUU.d.ts → client-DRv7UVeY.d.ts} +193 -11
- package/dist/client.d.ts +9 -7
- package/dist/client.mjs +120 -7
- package/dist/{cold-module-PYSSBIL7.mjs → cold-module-7XXCEGTZ.mjs} +43 -33
- package/dist/config-CoSig5Ox.d.ts +482 -0
- package/dist/{config-CfhH1IWQ.d.ts → config-DMwffLKn.d.ts} +20 -5
- package/dist/{direct-executor-WYALQSMD.mjs → direct-executor-G5TK7NLA.mjs} +18 -13
- package/dist/distribution/coordinator/etcd.d.ts +2 -2
- package/dist/distribution/coordinator/etcd.mjs +1 -1
- package/dist/distribution/coordinator/in-memory.d.ts +2 -2
- package/dist/distribution/transport/grpc.mjs +4 -4
- package/dist/distribution/transport/in-memory.mjs +2 -2
- package/dist/distribution/transport/tcp.mjs +3 -3
- package/dist/distribution.d.ts +41 -9
- package/dist/distribution.mjs +9304 -7271
- package/dist/durability-config-GE4U7MCZ.mjs +89 -0
- package/dist/{durability-wiring-7VBZEJLG.mjs → durability-wiring-NCKUC5EO.mjs} +1293 -872
- package/dist/embeddings/openai.mjs +2 -2
- package/dist/{config-aIsy7mcL.d.ts → engine-CFxPYqEk.d.ts} +716 -407
- package/dist/engine-hooks-DHCMOADY.mjs +47 -0
- package/dist/{import-GJOMB2HC.mjs → import-NBFXFCSG.mjs} +32 -24
- package/dist/{index-MsF7e5hL.d.ts → index-C4AmUnl1.d.ts} +1 -1
- package/dist/index.browser.mjs +9 -4
- package/dist/index.d.ts +7 -6
- package/dist/index.mjs +29 -21
- package/dist/index.react-native.mjs +19 -12
- package/dist/{long-query-thread-SCUE62TO.mjs → long-query-thread-J4DVRM4A.mjs} +33 -19
- package/dist/methods-7IOINERF.mjs +30 -0
- package/dist/{module-6RLIKSZQ.mjs → module-DWKPBSMN.mjs} +38 -28
- package/dist/{module-AVQEIB7O.mjs → module-UN76TF7I.mjs} +14 -14
- package/dist/operations-G5EP6JPX.mjs +5 -0
- package/dist/{paged-partition-archive-KGRW366Y.mjs → paged-partition-archive-DPNWVSK2.mjs} +46 -31
- package/dist/partial-words.mjs +7 -5
- package/dist/pattern.mjs +4 -3
- package/dist/persistence/durability/checkpoint-worker.d.ts +16 -1
- package/dist/persistence/durability/checkpoint-worker.mjs +40 -29
- package/dist/{phrase-module-OUQIRUQU.mjs → phrase-module-ZI4WSQVH.mjs} +1 -1
- package/dist/{pool-UPV5PVPY.mjs → pool-Y4A46T36.mjs} +2 -2
- package/dist/query-suggestions/merge-worker.d.ts +55 -0
- package/dist/query-suggestions/merge-worker.mjs +81 -0
- package/dist/query-suggestions-CBYkrQ5T.d.ts +311 -0
- package/dist/query-suggestions.browser.mjs +246 -0
- package/dist/query-suggestions.d.ts +20 -0
- package/dist/query-suggestions.mjs +62 -0
- package/dist/react-native/chunks/{analysis-change-DXPZRGWF.mjs → analysis-change-6BPDPH6K.mjs} +50 -19
- package/dist/{browser/analysis-change-entry-JL5U2N3Q.mjs → react-native/chunks/analysis-change-entry-JLL42PH6.mjs} +1 -1
- package/dist/react-native/chunks/archive-history-MJKUQLSU.mjs +29 -0
- package/dist/react-native/chunks/chunk-3JIBF3XT.mjs +191 -0
- package/dist/react-native/chunks/chunk-3NQOVO3K.mjs +1 -0
- package/dist/react-native/chunks/{chunk-UFNCLEQM.mjs → chunk-4DII3ZSM.mjs} +1 -1
- package/dist/react-native/chunks/{chunk-BRNAVOKP.mjs → chunk-4J74WHQM.mjs} +2 -2
- package/dist/react-native/chunks/chunk-4LCEN2IU.mjs +315 -0
- package/dist/react-native/chunks/{chunk-PU55IOG4.mjs → chunk-4Y53T4YE.mjs} +6 -190
- package/dist/react-native/chunks/chunk-5CQX3XXV.mjs +17 -0
- package/dist/react-native/chunks/chunk-6VBXNFLE.mjs +9 -0
- package/dist/react-native/chunks/chunk-6WA3C3DV.mjs +85 -0
- package/dist/react-native/chunks/chunk-7GRCBBME.mjs +63 -0
- package/dist/react-native/chunks/{chunk-2J2727V4.mjs → chunk-7PXRWYUU.mjs} +1 -1
- package/dist/{browser/chunk-VBX2TI5V.mjs → react-native/chunks/chunk-ALOIBXWN.mjs} +2 -2
- package/dist/react-native/chunks/{chunk-FS7BYE23.mjs → chunk-C3PTWYKT.mjs} +10 -153
- package/dist/react-native/chunks/{chunk-DKJTZ625.mjs → chunk-C5G6TJ7A.mjs} +2 -69
- package/dist/react-native/chunks/chunk-CHPTFFJM.mjs +43 -0
- package/dist/react-native/chunks/{chunk-LRGWK367.mjs → chunk-CKNRFDTZ.mjs} +1 -1
- package/dist/react-native/chunks/chunk-CUH5F57W.mjs +242 -0
- package/dist/react-native/chunks/chunk-DIYDOIM4.mjs +10 -0
- package/dist/{browser/chunk-55WYRLDZ.mjs → react-native/chunks/chunk-DVDX4SDR.mjs} +2 -2
- package/dist/{browser/chunk-PIS7ZAP7.mjs → react-native/chunks/chunk-DZ7H7D2C.mjs} +12 -2
- package/dist/react-native/chunks/{chunk-KOCTCUXW.mjs → chunk-EIOYM5TO.mjs} +17 -9
- package/dist/react-native/chunks/chunk-F753DA54.mjs +23 -0
- package/dist/react-native/chunks/chunk-GIZTJXYW.mjs +1007 -0
- package/dist/react-native/chunks/{chunk-CLE3LZ77.mjs → chunk-GJFXPHXI.mjs} +5 -4
- package/dist/react-native/chunks/chunk-H3MDVPBO.mjs +151 -0
- package/dist/react-native/chunks/{chunk-IDFMNRIC.mjs → chunk-HUOYZJ3Q.mjs} +140 -430
- package/dist/react-native/chunks/chunk-IYNT75CE.mjs +111 -0
- package/dist/react-native/chunks/chunk-JDOEEMEF.mjs +38 -0
- package/dist/react-native/chunks/{chunk-LQAKO5QV.mjs → chunk-JLIIWJUV.mjs} +2 -2
- package/dist/react-native/chunks/chunk-JWUCMVRK.mjs +15 -0
- package/dist/react-native/chunks/chunk-KJIG57UD.mjs +1106 -0
- package/dist/react-native/chunks/{chunk-KLZGAOLT.mjs → chunk-KTTAU63H.mjs} +5 -5
- package/dist/react-native/chunks/chunk-LU3Y3P63.mjs +68 -0
- package/dist/{browser/chunk-NVEJJP4R.mjs → react-native/chunks/chunk-LZSLNSUN.mjs} +2 -79
- package/dist/react-native/chunks/{chunk-3CTWSQRW.mjs → chunk-MJDQU5MW.mjs} +4 -30
- package/dist/react-native/chunks/{chunk-NFGBOI46.mjs → chunk-MVXELMJX.mjs} +1 -1
- package/dist/react-native/chunks/{chunk-D7LFYPYI.mjs → chunk-N2WUOWLL.mjs} +12 -10
- package/dist/react-native/chunks/chunk-NVVRSRX5.mjs +78 -0
- package/dist/react-native/chunks/{chunk-JYL35A4A.mjs → chunk-OL3WDV53.mjs} +7 -33
- package/dist/react-native/chunks/chunk-PB2YXVQW.mjs +29 -0
- package/dist/react-native/chunks/{chunk-UCJU6WNH.mjs → chunk-PEHS2UO3.mjs} +7 -6
- package/dist/react-native/chunks/chunk-PJHAB5ZY.mjs +79 -0
- package/dist/react-native/chunks/chunk-Q32DDFKX.mjs +19 -0
- package/dist/react-native/chunks/chunk-QJXTNPLQ.mjs +100 -0
- package/dist/react-native/chunks/{chunk-ZCKNBPQ4.mjs → chunk-RDWG33MM.mjs} +2 -2
- package/dist/react-native/chunks/chunk-SUPXRTMD.mjs +96 -0
- package/dist/react-native/chunks/chunk-TYIRMPD3.mjs +432 -0
- package/dist/react-native/chunks/{chunk-TLYD7IJ2.mjs → chunk-U4KSKA4Z.mjs} +1 -1
- package/dist/react-native/chunks/chunk-UNUFZ2QY.mjs +68 -0
- package/dist/react-native/chunks/{chunk-7IQR3SZO.mjs → chunk-VXGE4ZXL.mjs} +151 -257
- package/dist/react-native/chunks/{chunk-R4OPUZQ5.mjs → chunk-WBYQRHDY.mjs} +2 -2
- package/dist/react-native/chunks/chunk-YH7QY657.mjs +288 -0
- package/dist/react-native/chunks/chunk-ZZT7CEN7.mjs +92 -0
- package/dist/react-native/chunks/{cold-module-KFGEWYEL.mjs → cold-module-5PHF6DZR.mjs} +31 -22
- package/dist/react-native/chunks/durability-config-QXVZEO7T.mjs +89 -0
- package/dist/react-native/chunks/{durability-wiring-QKJB2QBT.mjs → durability-wiring-KO565FZC.mjs} +1309 -889
- package/dist/react-native/chunks/engine-hooks-MVRRHH6B.mjs +28 -0
- package/dist/react-native/chunks/gzip.react-native-HLEPDKZ3.mjs +3 -0
- package/dist/react-native/chunks/import-YVZA4V4V.mjs +30 -0
- package/dist/react-native/chunks/methods-6W5U4C3H.mjs +30 -0
- package/dist/react-native/chunks/{module-UJ5VUARS.mjs → module-H5MVPSP2.mjs} +13 -11
- package/dist/react-native/chunks/module-ZL5ZG6YB.mjs +34 -0
- package/dist/react-native/chunks/operations-GNRMD6EX.mjs +5 -0
- package/dist/react-native/chunks/{phrase-module-76UAPPSG.mjs → phrase-module-RTVKEWJT.mjs} +1 -1
- package/dist/react-native/chunks/{pool-CD4ANYUI.mjs → pool-JR3NJCAF.mjs} +3 -2
- package/dist/react-native/chunks/restore-hooks-SILFPU6B.mjs +125 -0
- package/dist/react-native/chunks/restore-queue-HSYP2AEC.mjs +55 -0
- package/dist/react-native/chunks/retention-7I7UAWYK.mjs +221 -0
- package/dist/react-native/chunks/{runtime-3MCDLJAF.mjs → runtime-R5E3TB3J.mjs} +1 -1
- package/dist/react-native/chunks/{snapshot-KVBD4LRC.mjs → snapshot-EZYB6SLF.mjs} +90 -323
- package/dist/react-native/chunks/start-SHVZ72I5.mjs +36 -0
- package/dist/react-native/chunks/sync-state-PASCIHHT.mjs +15 -0
- package/dist/react-native/chunks/{write-ES5A3WUA.mjs → write-JUESXHDL.mjs} +27 -19
- package/dist/react-native/partial-words.mjs +8 -5
- package/dist/react-native/pattern.mjs +4 -3
- package/dist/react-native/query-suggestions.mjs +258 -0
- package/dist/react-native/sync.mjs +2299 -0
- package/dist/react-native/synonyms.mjs +7 -4
- package/dist/react.d.ts +11 -10
- package/dist/react.mjs +8 -1
- package/dist/{rerank-3W54N6P2.mjs → rerank-MQ37IYRV.mjs} +4 -4
- package/dist/rerankers/http.mjs +2 -2
- package/dist/restore-hooks-HZ3ILAMO.mjs +146 -0
- package/dist/restore-queue-JVGENGGE.mjs +55 -0
- package/dist/retention-HROPV2QU.mjs +59 -0
- package/dist/{runtime-L2DZYY6N.mjs → runtime-COIUORCN.mjs} +5 -5
- package/dist/{schema-D33CyXCy.d.ts → schema-Jwt928nJ.d.ts} +1 -1
- package/dist/server.d.ts +119 -20
- package/dist/server.mjs +1123 -58
- package/dist/{snapshot-WMX6JCLP.mjs → snapshot-4HS2G2UM.mjs} +106 -49
- package/dist/start-UTWHGH42.mjs +59 -0
- package/dist/sync/filesystem.d.ts +30 -0
- package/dist/sync/filesystem.mjs +271 -0
- package/dist/sync/indexeddb.d.ts +30 -0
- package/dist/sync/indexeddb.mjs +237 -0
- package/dist/sync-state-ZWHLAFLE.mjs +15 -0
- package/dist/sync.browser.mjs +2294 -0
- package/dist/sync.d.ts +23 -0
- package/dist/sync.mjs +2268 -0
- package/dist/synonyms.mjs +6 -4
- package/dist/{tasks-C4ElXr4P.d.ts → tasks-qrJojgST.d.ts} +13 -5
- package/dist/thread-6MOXY2KD.mjs +45 -0
- package/dist/types-BZCGjfLn.d.ts +227 -0
- package/dist/vector/search-worker.d.ts +1 -1
- package/dist/vector/search-worker.mjs +7 -7
- package/dist/workers/entry.mjs +8 -8
- package/dist/{write-SKJ6HW7O.mjs → write-GTTWWRRG.mjs} +36 -28
- package/openapi.json +912 -5
- package/package.json +45 -8
- package/dist/browser/import-QOY6ZH6X.mjs +0 -12
- package/dist/browser/restore-queue-UQ6AAUVX.mjs +0 -41
- package/dist/chunk-7LDMWKP6.mjs +0 -209
- package/dist/engine-CJRUHXgf.d.ts +0 -664
- package/dist/react-native/chunks/chunk-L4M7QJNP.mjs +0 -110
- package/dist/react-native/chunks/chunk-TJMSKBEM.mjs +0 -25
- package/dist/react-native/chunks/gzip.react-native-7JWCLVOB.mjs +0 -3
- package/dist/react-native/chunks/import-XFBCCENV.mjs +0 -22
- package/dist/react-native/chunks/module-FHJ2GOBI.mjs +0 -25
- package/dist/react-native/chunks/restore-queue-H5VCN453.mjs +0 -41
- package/dist/restore-queue-AOF5OTQV.mjs +0 -41
- package/dist/thread-I7DVHHW7.mjs +0 -31
package/openapi.json
CHANGED
|
@@ -30,6 +30,12 @@
|
|
|
30
30
|
},
|
|
31
31
|
{
|
|
32
32
|
"name": "Maintenance"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "Sync"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "QuerySuggestions"
|
|
33
39
|
}
|
|
34
40
|
],
|
|
35
41
|
"paths": {
|
|
@@ -1613,6 +1619,19 @@
|
|
|
1613
1619
|
"schema": {
|
|
1614
1620
|
"type": "string"
|
|
1615
1621
|
}
|
|
1622
|
+
},
|
|
1623
|
+
{
|
|
1624
|
+
"name": "queryHistory",
|
|
1625
|
+
"in": "query",
|
|
1626
|
+
"required": false,
|
|
1627
|
+
"description": "Under `true`, the archive also holds the index's search history.",
|
|
1628
|
+
"schema": {
|
|
1629
|
+
"type": "string",
|
|
1630
|
+
"enum": [
|
|
1631
|
+
"true",
|
|
1632
|
+
"false"
|
|
1633
|
+
]
|
|
1634
|
+
}
|
|
1616
1635
|
}
|
|
1617
1636
|
],
|
|
1618
1637
|
"responses": {
|
|
@@ -2237,7 +2256,469 @@
|
|
|
2237
2256
|
"content": {
|
|
2238
2257
|
"application/json": {
|
|
2239
2258
|
"schema": {
|
|
2240
|
-
"$ref": "#/components/schemas/TaskRecord"
|
|
2259
|
+
"$ref": "#/components/schemas/TaskRecord"
|
|
2260
|
+
}
|
|
2261
|
+
}
|
|
2262
|
+
}
|
|
2263
|
+
},
|
|
2264
|
+
"default": {
|
|
2265
|
+
"$ref": "#/components/responses/Error"
|
|
2266
|
+
}
|
|
2267
|
+
}
|
|
2268
|
+
}
|
|
2269
|
+
},
|
|
2270
|
+
"/indexes/{name}/sync": {
|
|
2271
|
+
"put": {
|
|
2272
|
+
"operationId": "updateSync",
|
|
2273
|
+
"summary": "Replace the device sync setting of an index",
|
|
2274
|
+
"tags": [
|
|
2275
|
+
"Sync"
|
|
2276
|
+
],
|
|
2277
|
+
"parameters": [
|
|
2278
|
+
{
|
|
2279
|
+
"name": "name",
|
|
2280
|
+
"in": "path",
|
|
2281
|
+
"required": true,
|
|
2282
|
+
"description": "The name of the index.",
|
|
2283
|
+
"schema": {
|
|
2284
|
+
"type": "string"
|
|
2285
|
+
}
|
|
2286
|
+
}
|
|
2287
|
+
],
|
|
2288
|
+
"requestBody": {
|
|
2289
|
+
"required": true,
|
|
2290
|
+
"content": {
|
|
2291
|
+
"application/json": {
|
|
2292
|
+
"schema": {
|
|
2293
|
+
"$ref": "#/components/schemas/SyncSetting"
|
|
2294
|
+
}
|
|
2295
|
+
}
|
|
2296
|
+
}
|
|
2297
|
+
},
|
|
2298
|
+
"responses": {
|
|
2299
|
+
"200": {
|
|
2300
|
+
"description": "The server answered the request.",
|
|
2301
|
+
"content": {
|
|
2302
|
+
"application/json": {
|
|
2303
|
+
"schema": {
|
|
2304
|
+
"$ref": "#/components/schemas/OkResponse"
|
|
2305
|
+
}
|
|
2306
|
+
}
|
|
2307
|
+
}
|
|
2308
|
+
},
|
|
2309
|
+
"default": {
|
|
2310
|
+
"$ref": "#/components/responses/Error"
|
|
2311
|
+
}
|
|
2312
|
+
}
|
|
2313
|
+
}
|
|
2314
|
+
},
|
|
2315
|
+
"/indexes/{name}/sync/snapshot": {
|
|
2316
|
+
"get": {
|
|
2317
|
+
"operationId": "syncSnapshot",
|
|
2318
|
+
"summary": "Download the published snapshot of an index with device sync on, whole or as one byte range",
|
|
2319
|
+
"tags": [
|
|
2320
|
+
"Sync"
|
|
2321
|
+
],
|
|
2322
|
+
"parameters": [
|
|
2323
|
+
{
|
|
2324
|
+
"name": "name",
|
|
2325
|
+
"in": "path",
|
|
2326
|
+
"required": true,
|
|
2327
|
+
"description": "The name of the index.",
|
|
2328
|
+
"schema": {
|
|
2329
|
+
"type": "string"
|
|
2330
|
+
}
|
|
2331
|
+
}
|
|
2332
|
+
],
|
|
2333
|
+
"responses": {
|
|
2334
|
+
"200": {
|
|
2335
|
+
"description": "The server answered the request.",
|
|
2336
|
+
"content": {
|
|
2337
|
+
"application/x-tar": {
|
|
2338
|
+
"schema": {
|
|
2339
|
+
"type": "string",
|
|
2340
|
+
"format": "binary"
|
|
2341
|
+
}
|
|
2342
|
+
}
|
|
2343
|
+
}
|
|
2344
|
+
},
|
|
2345
|
+
"206": {
|
|
2346
|
+
"description": "The server answered with the byte range that the request asked for.",
|
|
2347
|
+
"content": {
|
|
2348
|
+
"application/x-tar": {
|
|
2349
|
+
"schema": {
|
|
2350
|
+
"type": "string",
|
|
2351
|
+
"format": "binary"
|
|
2352
|
+
}
|
|
2353
|
+
}
|
|
2354
|
+
}
|
|
2355
|
+
},
|
|
2356
|
+
"default": {
|
|
2357
|
+
"$ref": "#/components/responses/Error"
|
|
2358
|
+
}
|
|
2359
|
+
}
|
|
2360
|
+
}
|
|
2361
|
+
},
|
|
2362
|
+
"/indexes/{name}/query-suggestions": {
|
|
2363
|
+
"put": {
|
|
2364
|
+
"operationId": "updateQuerySuggestions",
|
|
2365
|
+
"summary": "Replace the popular query suggestions setting of an index",
|
|
2366
|
+
"tags": [
|
|
2367
|
+
"QuerySuggestions"
|
|
2368
|
+
],
|
|
2369
|
+
"parameters": [
|
|
2370
|
+
{
|
|
2371
|
+
"name": "name",
|
|
2372
|
+
"in": "path",
|
|
2373
|
+
"required": true,
|
|
2374
|
+
"description": "The name of the index.",
|
|
2375
|
+
"schema": {
|
|
2376
|
+
"type": "string"
|
|
2377
|
+
}
|
|
2378
|
+
}
|
|
2379
|
+
],
|
|
2380
|
+
"requestBody": {
|
|
2381
|
+
"required": true,
|
|
2382
|
+
"content": {
|
|
2383
|
+
"application/json": {
|
|
2384
|
+
"schema": {
|
|
2385
|
+
"$ref": "#/components/schemas/QuerySuggestionsSetting"
|
|
2386
|
+
}
|
|
2387
|
+
}
|
|
2388
|
+
}
|
|
2389
|
+
},
|
|
2390
|
+
"responses": {
|
|
2391
|
+
"200": {
|
|
2392
|
+
"description": "The server answered the request.",
|
|
2393
|
+
"content": {
|
|
2394
|
+
"application/json": {
|
|
2395
|
+
"schema": {
|
|
2396
|
+
"$ref": "#/components/schemas/OkResponse"
|
|
2397
|
+
}
|
|
2398
|
+
}
|
|
2399
|
+
}
|
|
2400
|
+
},
|
|
2401
|
+
"default": {
|
|
2402
|
+
"$ref": "#/components/responses/Error"
|
|
2403
|
+
}
|
|
2404
|
+
}
|
|
2405
|
+
},
|
|
2406
|
+
"get": {
|
|
2407
|
+
"operationId": "querySuggestionsStatus",
|
|
2408
|
+
"summary": "Report the setting, the last build, and the next build of popular query suggestions",
|
|
2409
|
+
"tags": [
|
|
2410
|
+
"QuerySuggestions"
|
|
2411
|
+
],
|
|
2412
|
+
"parameters": [
|
|
2413
|
+
{
|
|
2414
|
+
"name": "name",
|
|
2415
|
+
"in": "path",
|
|
2416
|
+
"required": true,
|
|
2417
|
+
"description": "The name of the index.",
|
|
2418
|
+
"schema": {
|
|
2419
|
+
"type": "string"
|
|
2420
|
+
}
|
|
2421
|
+
}
|
|
2422
|
+
],
|
|
2423
|
+
"responses": {
|
|
2424
|
+
"200": {
|
|
2425
|
+
"description": "The server answered the request.",
|
|
2426
|
+
"content": {
|
|
2427
|
+
"application/json": {
|
|
2428
|
+
"schema": {
|
|
2429
|
+
"$ref": "#/components/schemas/QuerySuggestionsStatus"
|
|
2430
|
+
}
|
|
2431
|
+
}
|
|
2432
|
+
}
|
|
2433
|
+
},
|
|
2434
|
+
"default": {
|
|
2435
|
+
"$ref": "#/components/responses/Error"
|
|
2436
|
+
}
|
|
2437
|
+
}
|
|
2438
|
+
}
|
|
2439
|
+
},
|
|
2440
|
+
"/indexes/{name}/query-suggestions/record": {
|
|
2441
|
+
"post": {
|
|
2442
|
+
"operationId": "recordQuery",
|
|
2443
|
+
"summary": "Count a search that a person followed with a click, for the person that the server identifies",
|
|
2444
|
+
"tags": [
|
|
2445
|
+
"QuerySuggestions"
|
|
2446
|
+
],
|
|
2447
|
+
"parameters": [
|
|
2448
|
+
{
|
|
2449
|
+
"name": "name",
|
|
2450
|
+
"in": "path",
|
|
2451
|
+
"required": true,
|
|
2452
|
+
"description": "The name of the index.",
|
|
2453
|
+
"schema": {
|
|
2454
|
+
"type": "string"
|
|
2455
|
+
}
|
|
2456
|
+
}
|
|
2457
|
+
],
|
|
2458
|
+
"requestBody": {
|
|
2459
|
+
"required": true,
|
|
2460
|
+
"content": {
|
|
2461
|
+
"application/json": {
|
|
2462
|
+
"schema": {
|
|
2463
|
+
"$ref": "#/components/schemas/RecordQueryBody"
|
|
2464
|
+
}
|
|
2465
|
+
}
|
|
2466
|
+
}
|
|
2467
|
+
},
|
|
2468
|
+
"responses": {
|
|
2469
|
+
"200": {
|
|
2470
|
+
"description": "The server answered the request.",
|
|
2471
|
+
"content": {
|
|
2472
|
+
"application/json": {
|
|
2473
|
+
"schema": {
|
|
2474
|
+
"$ref": "#/components/schemas/RecordQueryResult"
|
|
2475
|
+
}
|
|
2476
|
+
}
|
|
2477
|
+
}
|
|
2478
|
+
},
|
|
2479
|
+
"default": {
|
|
2480
|
+
"$ref": "#/components/responses/Error"
|
|
2481
|
+
}
|
|
2482
|
+
}
|
|
2483
|
+
}
|
|
2484
|
+
},
|
|
2485
|
+
"/indexes/{name}/query-suggestions/build": {
|
|
2486
|
+
"post": {
|
|
2487
|
+
"operationId": "buildQuerySuggestions",
|
|
2488
|
+
"summary": "Build the popular query suggestions of an index, as a task",
|
|
2489
|
+
"tags": [
|
|
2490
|
+
"QuerySuggestions"
|
|
2491
|
+
],
|
|
2492
|
+
"parameters": [
|
|
2493
|
+
{
|
|
2494
|
+
"name": "name",
|
|
2495
|
+
"in": "path",
|
|
2496
|
+
"required": true,
|
|
2497
|
+
"description": "The name of the index.",
|
|
2498
|
+
"schema": {
|
|
2499
|
+
"type": "string"
|
|
2500
|
+
}
|
|
2501
|
+
}
|
|
2502
|
+
],
|
|
2503
|
+
"responses": {
|
|
2504
|
+
"202": {
|
|
2505
|
+
"description": "The server accepted the work and started a task.",
|
|
2506
|
+
"content": {
|
|
2507
|
+
"application/json": {
|
|
2508
|
+
"schema": {
|
|
2509
|
+
"$ref": "#/components/schemas/TaskRecord"
|
|
2510
|
+
}
|
|
2511
|
+
}
|
|
2512
|
+
}
|
|
2513
|
+
},
|
|
2514
|
+
"default": {
|
|
2515
|
+
"$ref": "#/components/responses/Error"
|
|
2516
|
+
}
|
|
2517
|
+
}
|
|
2518
|
+
}
|
|
2519
|
+
},
|
|
2520
|
+
"/indexes/{name}/query-suggestions/preview": {
|
|
2521
|
+
"get": {
|
|
2522
|
+
"operationId": "previewQuerySuggestions",
|
|
2523
|
+
"summary": "List the phrases that the next build would publish",
|
|
2524
|
+
"tags": [
|
|
2525
|
+
"QuerySuggestions"
|
|
2526
|
+
],
|
|
2527
|
+
"parameters": [
|
|
2528
|
+
{
|
|
2529
|
+
"name": "name",
|
|
2530
|
+
"in": "path",
|
|
2531
|
+
"required": true,
|
|
2532
|
+
"description": "The name of the index.",
|
|
2533
|
+
"schema": {
|
|
2534
|
+
"type": "string"
|
|
2535
|
+
}
|
|
2536
|
+
},
|
|
2537
|
+
{
|
|
2538
|
+
"name": "limit",
|
|
2539
|
+
"in": "query",
|
|
2540
|
+
"required": false,
|
|
2541
|
+
"description": "The most phrases to list, from 1 to 1,000, and 100 by default.",
|
|
2542
|
+
"schema": {
|
|
2543
|
+
"type": "number"
|
|
2544
|
+
}
|
|
2545
|
+
}
|
|
2546
|
+
],
|
|
2547
|
+
"responses": {
|
|
2548
|
+
"200": {
|
|
2549
|
+
"description": "The server answered the request.",
|
|
2550
|
+
"content": {
|
|
2551
|
+
"application/json": {
|
|
2552
|
+
"schema": {
|
|
2553
|
+
"$ref": "#/components/schemas/QuerySuggestionsPreview"
|
|
2554
|
+
}
|
|
2555
|
+
}
|
|
2556
|
+
}
|
|
2557
|
+
},
|
|
2558
|
+
"default": {
|
|
2559
|
+
"$ref": "#/components/responses/Error"
|
|
2560
|
+
}
|
|
2561
|
+
}
|
|
2562
|
+
}
|
|
2563
|
+
},
|
|
2564
|
+
"/indexes/{name}/query-suggestions/bans": {
|
|
2565
|
+
"get": {
|
|
2566
|
+
"operationId": "readQueryBans",
|
|
2567
|
+
"summary": "Read the ban list of popular query suggestions",
|
|
2568
|
+
"tags": [
|
|
2569
|
+
"QuerySuggestions"
|
|
2570
|
+
],
|
|
2571
|
+
"parameters": [
|
|
2572
|
+
{
|
|
2573
|
+
"name": "name",
|
|
2574
|
+
"in": "path",
|
|
2575
|
+
"required": true,
|
|
2576
|
+
"description": "The name of the index.",
|
|
2577
|
+
"schema": {
|
|
2578
|
+
"type": "string"
|
|
2579
|
+
}
|
|
2580
|
+
}
|
|
2581
|
+
],
|
|
2582
|
+
"responses": {
|
|
2583
|
+
"200": {
|
|
2584
|
+
"description": "The server answered the request.",
|
|
2585
|
+
"content": {
|
|
2586
|
+
"application/json": {
|
|
2587
|
+
"schema": {
|
|
2588
|
+
"$ref": "#/components/schemas/QueryBansBody"
|
|
2589
|
+
}
|
|
2590
|
+
}
|
|
2591
|
+
}
|
|
2592
|
+
},
|
|
2593
|
+
"default": {
|
|
2594
|
+
"$ref": "#/components/responses/Error"
|
|
2595
|
+
}
|
|
2596
|
+
}
|
|
2597
|
+
},
|
|
2598
|
+
"put": {
|
|
2599
|
+
"operationId": "replaceQueryBans",
|
|
2600
|
+
"summary": "Replace the ban list, and remove each newly banned phrase from every suggestions index",
|
|
2601
|
+
"tags": [
|
|
2602
|
+
"QuerySuggestions"
|
|
2603
|
+
],
|
|
2604
|
+
"parameters": [
|
|
2605
|
+
{
|
|
2606
|
+
"name": "name",
|
|
2607
|
+
"in": "path",
|
|
2608
|
+
"required": true,
|
|
2609
|
+
"description": "The name of the index.",
|
|
2610
|
+
"schema": {
|
|
2611
|
+
"type": "string"
|
|
2612
|
+
}
|
|
2613
|
+
}
|
|
2614
|
+
],
|
|
2615
|
+
"requestBody": {
|
|
2616
|
+
"required": true,
|
|
2617
|
+
"content": {
|
|
2618
|
+
"application/json": {
|
|
2619
|
+
"schema": {
|
|
2620
|
+
"$ref": "#/components/schemas/QueryBansBody"
|
|
2621
|
+
}
|
|
2622
|
+
}
|
|
2623
|
+
}
|
|
2624
|
+
},
|
|
2625
|
+
"responses": {
|
|
2626
|
+
"200": {
|
|
2627
|
+
"description": "The server answered the request.",
|
|
2628
|
+
"content": {
|
|
2629
|
+
"application/json": {
|
|
2630
|
+
"schema": {
|
|
2631
|
+
"$ref": "#/components/schemas/QueryBansBody"
|
|
2632
|
+
}
|
|
2633
|
+
}
|
|
2634
|
+
}
|
|
2635
|
+
},
|
|
2636
|
+
"default": {
|
|
2637
|
+
"$ref": "#/components/responses/Error"
|
|
2638
|
+
}
|
|
2639
|
+
}
|
|
2640
|
+
}
|
|
2641
|
+
},
|
|
2642
|
+
"/indexes/{name}/query-suggestions/remove": {
|
|
2643
|
+
"post": {
|
|
2644
|
+
"operationId": "removeQuery",
|
|
2645
|
+
"summary": "Ban a phrase and remove it from every suggestions index of an index",
|
|
2646
|
+
"tags": [
|
|
2647
|
+
"QuerySuggestions"
|
|
2648
|
+
],
|
|
2649
|
+
"parameters": [
|
|
2650
|
+
{
|
|
2651
|
+
"name": "name",
|
|
2652
|
+
"in": "path",
|
|
2653
|
+
"required": true,
|
|
2654
|
+
"description": "The name of the index.",
|
|
2655
|
+
"schema": {
|
|
2656
|
+
"type": "string"
|
|
2657
|
+
}
|
|
2658
|
+
}
|
|
2659
|
+
],
|
|
2660
|
+
"requestBody": {
|
|
2661
|
+
"required": true,
|
|
2662
|
+
"content": {
|
|
2663
|
+
"application/json": {
|
|
2664
|
+
"schema": {
|
|
2665
|
+
"$ref": "#/components/schemas/RemoveQueryBody"
|
|
2666
|
+
}
|
|
2667
|
+
}
|
|
2668
|
+
}
|
|
2669
|
+
},
|
|
2670
|
+
"responses": {
|
|
2671
|
+
"200": {
|
|
2672
|
+
"description": "The server answered the request.",
|
|
2673
|
+
"content": {
|
|
2674
|
+
"application/json": {
|
|
2675
|
+
"schema": {
|
|
2676
|
+
"$ref": "#/components/schemas/RemoveQueryResponse"
|
|
2677
|
+
}
|
|
2678
|
+
}
|
|
2679
|
+
}
|
|
2680
|
+
},
|
|
2681
|
+
"default": {
|
|
2682
|
+
"$ref": "#/components/responses/Error"
|
|
2683
|
+
}
|
|
2684
|
+
}
|
|
2685
|
+
}
|
|
2686
|
+
},
|
|
2687
|
+
"/indexes/{name}/query-suggestions/manual": {
|
|
2688
|
+
"post": {
|
|
2689
|
+
"operationId": "addManualSuggestion",
|
|
2690
|
+
"summary": "Add a suggestion by hand, which a build leaves in place",
|
|
2691
|
+
"tags": [
|
|
2692
|
+
"QuerySuggestions"
|
|
2693
|
+
],
|
|
2694
|
+
"parameters": [
|
|
2695
|
+
{
|
|
2696
|
+
"name": "name",
|
|
2697
|
+
"in": "path",
|
|
2698
|
+
"required": true,
|
|
2699
|
+
"description": "The name of the index.",
|
|
2700
|
+
"schema": {
|
|
2701
|
+
"type": "string"
|
|
2702
|
+
}
|
|
2703
|
+
}
|
|
2704
|
+
],
|
|
2705
|
+
"requestBody": {
|
|
2706
|
+
"required": true,
|
|
2707
|
+
"content": {
|
|
2708
|
+
"application/json": {
|
|
2709
|
+
"schema": {
|
|
2710
|
+
"$ref": "#/components/schemas/ManualQuerySuggestion"
|
|
2711
|
+
}
|
|
2712
|
+
}
|
|
2713
|
+
}
|
|
2714
|
+
},
|
|
2715
|
+
"responses": {
|
|
2716
|
+
"200": {
|
|
2717
|
+
"description": "The server answered the request.",
|
|
2718
|
+
"content": {
|
|
2719
|
+
"application/json": {
|
|
2720
|
+
"schema": {
|
|
2721
|
+
"$ref": "#/components/schemas/ManualSuggestionResponse"
|
|
2241
2722
|
}
|
|
2242
2723
|
}
|
|
2243
2724
|
}
|
|
@@ -2836,6 +3317,10 @@
|
|
|
2836
3317
|
"backup": {
|
|
2837
3318
|
"type": "string",
|
|
2838
3319
|
"description": "The backup's name, from 1 to 128 letters, digits, `.`, `_`, and `-`, starting with a letter or a digit."
|
|
3320
|
+
},
|
|
3321
|
+
"queryHistory": {
|
|
3322
|
+
"type": "boolean",
|
|
3323
|
+
"description": "Set this to true to add every node's popular query suggestion history of the index to the backup. The history holds the scrambled text of what people searched for, and the backup keeps it after `retentionDays` ends."
|
|
2839
3324
|
}
|
|
2840
3325
|
},
|
|
2841
3326
|
"required": [
|
|
@@ -4341,6 +4826,41 @@
|
|
|
4341
4826
|
],
|
|
4342
4827
|
"description": "The body of `GET /livez`."
|
|
4343
4828
|
},
|
|
4829
|
+
"ManualQuerySuggestion": {
|
|
4830
|
+
"type": "object",
|
|
4831
|
+
"properties": {
|
|
4832
|
+
"group": {
|
|
4833
|
+
"type": "string",
|
|
4834
|
+
"description": "The group whose suggestions index takes the phrase."
|
|
4835
|
+
},
|
|
4836
|
+
"query": {
|
|
4837
|
+
"type": "string",
|
|
4838
|
+
"description": "The phrase, which the engine normalises."
|
|
4839
|
+
},
|
|
4840
|
+
"count": {
|
|
4841
|
+
"type": "number",
|
|
4842
|
+
"description": "The count that ranks the phrase. Defaults to 0."
|
|
4843
|
+
}
|
|
4844
|
+
},
|
|
4845
|
+
"required": [
|
|
4846
|
+
"group",
|
|
4847
|
+
"query"
|
|
4848
|
+
],
|
|
4849
|
+
"description": "A suggestion that a caller adds by hand."
|
|
4850
|
+
},
|
|
4851
|
+
"ManualSuggestionResponse": {
|
|
4852
|
+
"type": "object",
|
|
4853
|
+
"properties": {
|
|
4854
|
+
"indexName": {
|
|
4855
|
+
"type": "string",
|
|
4856
|
+
"description": "The suggestions index that holds the phrase."
|
|
4857
|
+
}
|
|
4858
|
+
},
|
|
4859
|
+
"required": [
|
|
4860
|
+
"indexName"
|
|
4861
|
+
],
|
|
4862
|
+
"description": "The answer of `POST /indexes/{name}/query-suggestions/manual`."
|
|
4863
|
+
},
|
|
4344
4864
|
"MemoryStatsResponse": {
|
|
4345
4865
|
"type": "object",
|
|
4346
4866
|
"properties": {
|
|
@@ -4770,6 +5290,22 @@
|
|
|
4770
5290
|
],
|
|
4771
5291
|
"description": "Snapshot of V8 heap usage as reported by `process.memoryUsage()`, with the limit the heap may grow to. All values are bytes. `null` in environments that do not expose `process.memoryUsage`, such as browsers."
|
|
4772
5292
|
},
|
|
5293
|
+
"QueryBansBody": {
|
|
5294
|
+
"type": "object",
|
|
5295
|
+
"properties": {
|
|
5296
|
+
"bans": {
|
|
5297
|
+
"type": "array",
|
|
5298
|
+
"items": {
|
|
5299
|
+
"type": "string"
|
|
5300
|
+
},
|
|
5301
|
+
"description": "The banned phrases, at most 1,000, which the engine normalises."
|
|
5302
|
+
}
|
|
5303
|
+
},
|
|
5304
|
+
"required": [
|
|
5305
|
+
"bans"
|
|
5306
|
+
],
|
|
5307
|
+
"description": "The body of `GET` and of `PUT /indexes/{name}/query-suggestions/bans`."
|
|
5308
|
+
},
|
|
4773
5309
|
"QueryCoverage": {
|
|
4774
5310
|
"type": "object",
|
|
4775
5311
|
"properties": {
|
|
@@ -4798,6 +5334,278 @@
|
|
|
4798
5334
|
],
|
|
4799
5335
|
"description": "How much of an index one search read, which is what you check before you trust a count or a ranking. An embedded engine reads every partition it holds, so `queriedPartitions` matches `totalPartitions` there and the other two stay zero. A search across a cluster may find a node slow or unreachable, which it counts here while still returning the hits the other nodes gave it."
|
|
4800
5336
|
},
|
|
5337
|
+
"QuerySuggestionPreviewEntry": {
|
|
5338
|
+
"type": "object",
|
|
5339
|
+
"properties": {
|
|
5340
|
+
"group": {
|
|
5341
|
+
"type": "string",
|
|
5342
|
+
"description": "The group whose suggestions index would hold the phrase."
|
|
5343
|
+
},
|
|
5344
|
+
"query": {
|
|
5345
|
+
"type": "string",
|
|
5346
|
+
"description": "The normalised phrase."
|
|
5347
|
+
},
|
|
5348
|
+
"count": {
|
|
5349
|
+
"type": "number",
|
|
5350
|
+
"description": "The number of people whose searches the counts hold."
|
|
5351
|
+
}
|
|
5352
|
+
},
|
|
5353
|
+
"required": [
|
|
5354
|
+
"group",
|
|
5355
|
+
"query",
|
|
5356
|
+
"count"
|
|
5357
|
+
],
|
|
5358
|
+
"description": "One phrase that a build would publish."
|
|
5359
|
+
},
|
|
5360
|
+
"QuerySuggestionsBuild": {
|
|
5361
|
+
"type": "object",
|
|
5362
|
+
"properties": {
|
|
5363
|
+
"buildId": {
|
|
5364
|
+
"type": "string",
|
|
5365
|
+
"description": "The ID of the build."
|
|
5366
|
+
},
|
|
5367
|
+
"trigger": {
|
|
5368
|
+
"$ref": "#/components/schemas/QuerySuggestionsBuildTrigger",
|
|
5369
|
+
"description": "What started the build."
|
|
5370
|
+
},
|
|
5371
|
+
"status": {
|
|
5372
|
+
"type": "string",
|
|
5373
|
+
"enum": [
|
|
5374
|
+
"running",
|
|
5375
|
+
"failed",
|
|
5376
|
+
"completed",
|
|
5377
|
+
"skipped"
|
|
5378
|
+
],
|
|
5379
|
+
"description": "Where the build stands."
|
|
5380
|
+
},
|
|
5381
|
+
"startedAt": {
|
|
5382
|
+
"type": "number",
|
|
5383
|
+
"description": "When the build started, in milliseconds since the Unix epoch."
|
|
5384
|
+
},
|
|
5385
|
+
"endedAt": {
|
|
5386
|
+
"anyOf": [
|
|
5387
|
+
{
|
|
5388
|
+
"type": "null"
|
|
5389
|
+
},
|
|
5390
|
+
{
|
|
5391
|
+
"type": "number"
|
|
5392
|
+
}
|
|
5393
|
+
],
|
|
5394
|
+
"description": "When the build ended, or null while it runs."
|
|
5395
|
+
},
|
|
5396
|
+
"published": {
|
|
5397
|
+
"type": "number",
|
|
5398
|
+
"description": "The phrases that the build added or updated."
|
|
5399
|
+
},
|
|
5400
|
+
"removed": {
|
|
5401
|
+
"type": "number",
|
|
5402
|
+
"description": "The phrases that the build removed."
|
|
5403
|
+
},
|
|
5404
|
+
"discarded": {
|
|
5405
|
+
"type": "number",
|
|
5406
|
+
"description": "The phrases that the build left out because the merge held its limit."
|
|
5407
|
+
},
|
|
5408
|
+
"errorCode": {
|
|
5409
|
+
"anyOf": [
|
|
5410
|
+
{
|
|
5411
|
+
"type": "null"
|
|
5412
|
+
},
|
|
5413
|
+
{
|
|
5414
|
+
"type": "string"
|
|
5415
|
+
}
|
|
5416
|
+
],
|
|
5417
|
+
"description": "The error code of a failed build, or null."
|
|
5418
|
+
}
|
|
5419
|
+
},
|
|
5420
|
+
"required": [
|
|
5421
|
+
"buildId",
|
|
5422
|
+
"trigger",
|
|
5423
|
+
"status",
|
|
5424
|
+
"startedAt",
|
|
5425
|
+
"endedAt",
|
|
5426
|
+
"published",
|
|
5427
|
+
"removed",
|
|
5428
|
+
"discarded",
|
|
5429
|
+
"errorCode"
|
|
5430
|
+
],
|
|
5431
|
+
"description": "One build of the suggestions of an index."
|
|
5432
|
+
},
|
|
5433
|
+
"QuerySuggestionsBuildTrigger": {
|
|
5434
|
+
"type": "string",
|
|
5435
|
+
"enum": [
|
|
5436
|
+
"schedule",
|
|
5437
|
+
"missed",
|
|
5438
|
+
"caller"
|
|
5439
|
+
],
|
|
5440
|
+
"description": "What started a build."
|
|
5441
|
+
},
|
|
5442
|
+
"QuerySuggestionsPreview": {
|
|
5443
|
+
"type": "object",
|
|
5444
|
+
"properties": {
|
|
5445
|
+
"entries": {
|
|
5446
|
+
"type": "array",
|
|
5447
|
+
"items": {
|
|
5448
|
+
"$ref": "#/components/schemas/QuerySuggestionPreviewEntry"
|
|
5449
|
+
},
|
|
5450
|
+
"description": "The phrases, most counted first."
|
|
5451
|
+
},
|
|
5452
|
+
"truncated": {
|
|
5453
|
+
"type": "boolean",
|
|
5454
|
+
"description": "True where the list stops at the limit that the caller passed while more phrases wait to be checked."
|
|
5455
|
+
}
|
|
5456
|
+
},
|
|
5457
|
+
"required": [
|
|
5458
|
+
"entries",
|
|
5459
|
+
"truncated"
|
|
5460
|
+
],
|
|
5461
|
+
"description": "What the next build would publish: the phrases that enough people searched for, that match enough documents, and that fall in a group the build keeps."
|
|
5462
|
+
},
|
|
5463
|
+
"QuerySuggestionsSetting": {
|
|
5464
|
+
"type": "object",
|
|
5465
|
+
"properties": {
|
|
5466
|
+
"enabled": {
|
|
5467
|
+
"type": "boolean",
|
|
5468
|
+
"description": "Set this to true to count searches for the index and build its suggestions."
|
|
5469
|
+
},
|
|
5470
|
+
"fields": {
|
|
5471
|
+
"type": "array",
|
|
5472
|
+
"items": {
|
|
5473
|
+
"type": "string"
|
|
5474
|
+
},
|
|
5475
|
+
"description": "The `string` and `string[]` fields whose text a phrase must match before the engine publishes it."
|
|
5476
|
+
},
|
|
5477
|
+
"minPeople": {
|
|
5478
|
+
"type": "number",
|
|
5479
|
+
"description": "The number of people, from 2 to 4,096, who must search a phrase before the engine publishes it. Defaults to 4."
|
|
5480
|
+
},
|
|
5481
|
+
"minResults": {
|
|
5482
|
+
"type": "number",
|
|
5483
|
+
"description": "The number of documents, from 1 to 10,000, that a phrase must match with every word. Defaults to 5."
|
|
5484
|
+
},
|
|
5485
|
+
"retentionDays": {
|
|
5486
|
+
"type": "number",
|
|
5487
|
+
"description": "The number of days, from 1 to 365, that the engine keeps the counts of a day. Defaults to 30."
|
|
5488
|
+
},
|
|
5489
|
+
"maxPhrasesPerDay": {
|
|
5490
|
+
"type": "number",
|
|
5491
|
+
"description": "The number of phrases, up to 16,384, that a node counts for the index each day. Defaults to 10,000."
|
|
5492
|
+
},
|
|
5493
|
+
"maxPhrasesPerPerson": {
|
|
5494
|
+
"type": "number",
|
|
5495
|
+
"description": "The number of phrases, up to 1,000, that a node counts for one person each day. Defaults to 100."
|
|
5496
|
+
},
|
|
5497
|
+
"maxPeoplePerDay": {
|
|
5498
|
+
"type": "number",
|
|
5499
|
+
"description": "The number of people, up to 100,000, that a node counts for the index each day. Defaults to 100,000."
|
|
5500
|
+
},
|
|
5501
|
+
"maxGroups": {
|
|
5502
|
+
"type": "number",
|
|
5503
|
+
"description": "The number of groups, up to 1,000, that the index counts. Defaults to 100."
|
|
5504
|
+
},
|
|
5505
|
+
"minLetters": {
|
|
5506
|
+
"type": "number",
|
|
5507
|
+
"description": "The number of letters that a phrase must hold. Defaults to 4."
|
|
5508
|
+
},
|
|
5509
|
+
"maxLength": {
|
|
5510
|
+
"type": "number",
|
|
5511
|
+
"description": "The number of characters, up to 150, that a phrase may hold. Defaults to 100."
|
|
5512
|
+
},
|
|
5513
|
+
"maxWords": {
|
|
5514
|
+
"type": "number",
|
|
5515
|
+
"description": "The number of words, up to 50, that a phrase may hold. Defaults to 8."
|
|
5516
|
+
},
|
|
5517
|
+
"maxDigits": {
|
|
5518
|
+
"type": "number",
|
|
5519
|
+
"description": "The number of digits that a phrase may hold in total. Defaults to 5."
|
|
5520
|
+
},
|
|
5521
|
+
"maxMergePhrases": {
|
|
5522
|
+
"type": "number",
|
|
5523
|
+
"description": "The number of phrases, up to 500,000, that one build merges. Defaults to 100,000."
|
|
5524
|
+
},
|
|
5525
|
+
"mergeMemoryBytes": {
|
|
5526
|
+
"type": "number",
|
|
5527
|
+
"description": "The memory, from 16 MiB to 1 GiB, of the worker that merges the counts. Defaults to 128 MiB."
|
|
5528
|
+
},
|
|
5529
|
+
"saveIntervalMs": {
|
|
5530
|
+
"type": "number",
|
|
5531
|
+
"description": "How often, from 1 second to 1 hour, a node saves the counts of the day. Defaults to 5 minutes."
|
|
5532
|
+
},
|
|
5533
|
+
"resultChecksPerSecond": {
|
|
5534
|
+
"type": "number",
|
|
5535
|
+
"description": "The number of result checks, up to 1,000, that a build runs each second. Defaults to 20."
|
|
5536
|
+
},
|
|
5537
|
+
"schedule": {
|
|
5538
|
+
"type": "string",
|
|
5539
|
+
"description": "A cron expression of five fields, or `off`. Defaults to `0 3 * * *`."
|
|
5540
|
+
},
|
|
5541
|
+
"timeZone": {
|
|
5542
|
+
"type": "string",
|
|
5543
|
+
"description": "The IANA time zone of `schedule`. Defaults to `UTC`."
|
|
5544
|
+
}
|
|
5545
|
+
},
|
|
5546
|
+
"required": [
|
|
5547
|
+
"enabled",
|
|
5548
|
+
"fields"
|
|
5549
|
+
],
|
|
5550
|
+
"description": "The popular query suggestions setting of one index. Only `enabled` and `fields` are required, and each limit that you leave out takes its default."
|
|
5551
|
+
},
|
|
5552
|
+
"QuerySuggestionsStatus": {
|
|
5553
|
+
"type": "object",
|
|
5554
|
+
"properties": {
|
|
5555
|
+
"indexName": {
|
|
5556
|
+
"type": "string",
|
|
5557
|
+
"description": "The index."
|
|
5558
|
+
},
|
|
5559
|
+
"setting": {
|
|
5560
|
+
"anyOf": [
|
|
5561
|
+
{
|
|
5562
|
+
"type": "null"
|
|
5563
|
+
},
|
|
5564
|
+
{
|
|
5565
|
+
"$ref": "#/components/schemas/QuerySuggestionsSetting"
|
|
5566
|
+
}
|
|
5567
|
+
],
|
|
5568
|
+
"description": "The setting, or null where nobody set one."
|
|
5569
|
+
},
|
|
5570
|
+
"lastBuild": {
|
|
5571
|
+
"anyOf": [
|
|
5572
|
+
{
|
|
5573
|
+
"type": "null"
|
|
5574
|
+
},
|
|
5575
|
+
{
|
|
5576
|
+
"$ref": "#/components/schemas/QuerySuggestionsBuild"
|
|
5577
|
+
}
|
|
5578
|
+
],
|
|
5579
|
+
"description": "The last build, or null where none ran."
|
|
5580
|
+
},
|
|
5581
|
+
"nextBuildAt": {
|
|
5582
|
+
"anyOf": [
|
|
5583
|
+
{
|
|
5584
|
+
"type": "null"
|
|
5585
|
+
},
|
|
5586
|
+
{
|
|
5587
|
+
"type": "number"
|
|
5588
|
+
}
|
|
5589
|
+
],
|
|
5590
|
+
"description": "When the schedule next matches, in milliseconds since the Unix epoch, or null where it is off."
|
|
5591
|
+
},
|
|
5592
|
+
"suggestionIndexes": {
|
|
5593
|
+
"type": "array",
|
|
5594
|
+
"items": {
|
|
5595
|
+
"type": "string"
|
|
5596
|
+
},
|
|
5597
|
+
"description": "The suggestions index of each group that holds one."
|
|
5598
|
+
}
|
|
5599
|
+
},
|
|
5600
|
+
"required": [
|
|
5601
|
+
"indexName",
|
|
5602
|
+
"setting",
|
|
5603
|
+
"lastBuild",
|
|
5604
|
+
"nextBuildAt",
|
|
5605
|
+
"suggestionIndexes"
|
|
5606
|
+
],
|
|
5607
|
+
"description": "The setting, the last build, and the next scheduled build of one index."
|
|
5608
|
+
},
|
|
4801
5609
|
"ReadinessResponse": {
|
|
4802
5610
|
"type": "object",
|
|
4803
5611
|
"properties": {
|
|
@@ -4829,6 +5637,79 @@
|
|
|
4829
5637
|
},
|
|
4830
5638
|
"description": "The body of `POST /indexes/{name}/_rebalance`."
|
|
4831
5639
|
},
|
|
5640
|
+
"RecordQueryBody": {
|
|
5641
|
+
"type": "object",
|
|
5642
|
+
"properties": {
|
|
5643
|
+
"query": {
|
|
5644
|
+
"type": "string",
|
|
5645
|
+
"description": "The search that the person followed with a click."
|
|
5646
|
+
}
|
|
5647
|
+
},
|
|
5648
|
+
"required": [
|
|
5649
|
+
"query"
|
|
5650
|
+
],
|
|
5651
|
+
"description": "The body of `POST /indexes/{name}/query-suggestions/record`. The server takes the person and the group from its `identify` function, so the body carries the search alone."
|
|
5652
|
+
},
|
|
5653
|
+
"RecordQueryOutcome": {
|
|
5654
|
+
"type": "string",
|
|
5655
|
+
"enum": [
|
|
5656
|
+
"recorded",
|
|
5657
|
+
"repeat",
|
|
5658
|
+
"invalid",
|
|
5659
|
+
"banned",
|
|
5660
|
+
"person-limit",
|
|
5661
|
+
"phrase-limit",
|
|
5662
|
+
"people-limit",
|
|
5663
|
+
"group-limit",
|
|
5664
|
+
"no-key",
|
|
5665
|
+
"unidentified"
|
|
5666
|
+
],
|
|
5667
|
+
"description": "Why a node counted no search, or `recorded` where it counted one."
|
|
5668
|
+
},
|
|
5669
|
+
"RecordQueryResult": {
|
|
5670
|
+
"type": "object",
|
|
5671
|
+
"properties": {
|
|
5672
|
+
"recorded": {
|
|
5673
|
+
"type": "boolean",
|
|
5674
|
+
"description": "True where the node counted the search."
|
|
5675
|
+
},
|
|
5676
|
+
"outcome": {
|
|
5677
|
+
"$ref": "#/components/schemas/RecordQueryOutcome",
|
|
5678
|
+
"description": "Why the node counted it or left it out."
|
|
5679
|
+
}
|
|
5680
|
+
},
|
|
5681
|
+
"required": [
|
|
5682
|
+
"recorded",
|
|
5683
|
+
"outcome"
|
|
5684
|
+
],
|
|
5685
|
+
"description": "What QuerySuggestions.recordQuery did with one search."
|
|
5686
|
+
},
|
|
5687
|
+
"RemoveQueryBody": {
|
|
5688
|
+
"type": "object",
|
|
5689
|
+
"properties": {
|
|
5690
|
+
"query": {
|
|
5691
|
+
"type": "string",
|
|
5692
|
+
"description": "The phrase to ban and to remove from every suggestions index of the index."
|
|
5693
|
+
}
|
|
5694
|
+
},
|
|
5695
|
+
"required": [
|
|
5696
|
+
"query"
|
|
5697
|
+
],
|
|
5698
|
+
"description": "The body of `POST /indexes/{name}/query-suggestions/remove`."
|
|
5699
|
+
},
|
|
5700
|
+
"RemoveQueryResponse": {
|
|
5701
|
+
"type": "object",
|
|
5702
|
+
"properties": {
|
|
5703
|
+
"suggestionIndexes": {
|
|
5704
|
+
"type": "number",
|
|
5705
|
+
"description": "The number of suggestions indexes that held the phrase."
|
|
5706
|
+
}
|
|
5707
|
+
},
|
|
5708
|
+
"required": [
|
|
5709
|
+
"suggestionIndexes"
|
|
5710
|
+
],
|
|
5711
|
+
"description": "The answer of `POST /indexes/{name}/query-suggestions/remove`."
|
|
5712
|
+
},
|
|
4832
5713
|
"ReplicationFactorBody": {
|
|
4833
5714
|
"type": "object",
|
|
4834
5715
|
"properties": {
|
|
@@ -5160,6 +6041,27 @@
|
|
|
5160
6041
|
],
|
|
5161
6042
|
"description": "What Narsil.suggest returns: the indexed terms that complete a prefix, ready to offer as you-type suggestions."
|
|
5162
6043
|
},
|
|
6044
|
+
"SyncSetting": {
|
|
6045
|
+
"type": "object",
|
|
6046
|
+
"properties": {
|
|
6047
|
+
"enabled": {
|
|
6048
|
+
"type": "boolean",
|
|
6049
|
+
"description": "This turns sync on or off. Turning it on gives the index a new epoch, so every synced device loads a new copy."
|
|
6050
|
+
},
|
|
6051
|
+
"historyMaxAgeMs": {
|
|
6052
|
+
"type": "number",
|
|
6053
|
+
"description": "This is the age in milliseconds after which the server deletes a log segment from history. It defaults to 30 days."
|
|
6054
|
+
},
|
|
6055
|
+
"historyMaxBytes": {
|
|
6056
|
+
"type": "number",
|
|
6057
|
+
"description": "This is the byte count above which the server deletes the oldest log segment from history. It defaults to the length of the published snapshot."
|
|
6058
|
+
}
|
|
6059
|
+
},
|
|
6060
|
+
"required": [
|
|
6061
|
+
"enabled"
|
|
6062
|
+
],
|
|
6063
|
+
"description": "The device sync setting of one index, which SyncOperations.updateSync takes. Turn sync on only for an index whose every document belongs to one user, because every device that syncs the index receives the whole index. Create one index for each user, and leave sync off for a public index or for an index that holds the data of several users."
|
|
6064
|
+
},
|
|
5163
6065
|
"SynonymRule": {
|
|
5164
6066
|
"anyOf": [
|
|
5165
6067
|
{
|
|
@@ -5313,6 +6215,10 @@
|
|
|
5313
6215
|
"$ref": "#/components/schemas/ImportResult",
|
|
5314
6216
|
"description": "What the work produced, which an `import` or `importExport` task reports once it finishes."
|
|
5315
6217
|
},
|
|
6218
|
+
"build": {
|
|
6219
|
+
"$ref": "#/components/schemas/QuerySuggestionsBuild",
|
|
6220
|
+
"description": "The build that a `querySuggestionsBuild` task ran, once it ends."
|
|
6221
|
+
},
|
|
5316
6222
|
"error": {
|
|
5317
6223
|
"$ref": "#/components/schemas/ErrorDetail",
|
|
5318
6224
|
"description": "This says why the task failed, and a failed task alone carries it."
|
|
@@ -5368,7 +6274,8 @@
|
|
|
5368
6274
|
"changeAnalysis",
|
|
5369
6275
|
"backup",
|
|
5370
6276
|
"backupRestore",
|
|
5371
|
-
"backupDelete"
|
|
6277
|
+
"backupDelete",
|
|
6278
|
+
"querySuggestionsBuild"
|
|
5372
6279
|
],
|
|
5373
6280
|
"description": "Which long-running operation a task record tracks."
|
|
5374
6281
|
},
|
|
@@ -5503,11 +6410,11 @@
|
|
|
5503
6410
|
},
|
|
5504
6411
|
"estimatedCompactMs": {
|
|
5505
6412
|
"type": "number",
|
|
5506
|
-
"description": "
|
|
6413
|
+
"description": "VectorMaintenanceOperations.compactVectors would take about this many milliseconds."
|
|
5507
6414
|
},
|
|
5508
6415
|
"estimatedOptimizeMs": {
|
|
5509
6416
|
"type": "number",
|
|
5510
|
-
"description": "
|
|
6417
|
+
"description": "VectorMaintenanceOperations.optimizeVectors would take about this many milliseconds."
|
|
5511
6418
|
}
|
|
5512
6419
|
},
|
|
5513
6420
|
"required": [
|
|
@@ -5521,7 +6428,7 @@
|
|
|
5521
6428
|
"estimatedCompactMs",
|
|
5522
6429
|
"estimatedOptimizeMs"
|
|
5523
6430
|
],
|
|
5524
|
-
"description": "The state of one vector field, and what maintenance would cost, as
|
|
6431
|
+
"description": "The state of one vector field, and what maintenance would cost, as VectorMaintenanceOperations.vectorMaintenanceStatus reports it. Removing a vector leaves a tombstone in the graph, and enough of them slow a search down. Read this to decide when compaction earns its cost."
|
|
5525
6432
|
},
|
|
5526
6433
|
"VectorQueryConfig": {
|
|
5527
6434
|
"type": "object",
|