@delali/narsil 0.4.6-next.332 → 0.4.6-next.334
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/dist/browser/{chunk-VAPCFSMX.mjs → chunk-3PGIOK7Z.mjs} +16 -1
- package/dist/browser/{chunk-VIVG3OXM.mjs → chunk-FBDTHGDR.mjs} +7 -3
- package/dist/browser/{chunk-56UNHLAF.mjs → chunk-HIC42RBU.mjs} +1 -1
- package/dist/browser/{chunk-DJDBJB2U.mjs → chunk-J343PP7Q.mjs} +85 -28
- package/dist/browser/{optional-reads-NQO5DKM4.mjs → optional-reads-4O4CJ7TR.mjs} +1 -1
- package/dist/browser/{optional-writes-3HKIVZFU.mjs → optional-writes-OFPF77WY.mjs} +2 -1
- package/dist/browser/{runtime-OMKE7DF4.mjs → runtime-AMEB4J2D.mjs} +2 -1
- package/dist/browser/{segment-codec-leaf-GXSRX5VT.mjs → segment-codec-leaf-E4YHXUAI.mjs} +7 -2
- package/dist/browser/{storage-leaf-72PEG6IP.mjs → storage-leaf-WJMD66YX.mjs} +15 -2
- package/dist/{capabilities-DaJKuKlG.d.ts → capabilities-YazdElfW.d.ts} +2 -2
- package/dist/{chunk-UAITBI74.mjs → chunk-2QQCR7KF.mjs} +15 -9
- package/dist/{chunk-NNRDQYBD.mjs → chunk-4QNWK42S.mjs} +104 -41
- package/dist/{chunk-G6P6YTTW.mjs → chunk-5PUNOJC7.mjs} +1 -1
- package/dist/chunk-6S5QPDPP.mjs +110 -0
- package/dist/{chunk-EY5U4P5V.mjs → chunk-7NMLFP2T.mjs} +17 -2
- package/dist/{react-native/chunks/chunk-NUOJ2EAK.mjs → chunk-AKLCYPUY.mjs} +1 -1
- package/dist/{chunk-WRDGPEN6.mjs → chunk-B276ZQIH.mjs} +2 -2
- package/dist/{chunk-HWIIMLLR.mjs → chunk-B6VO3BCX.mjs} +6 -6
- package/dist/{chunk-3GWUUKDJ.mjs → chunk-BVFJ5XAU.mjs} +2 -2
- package/dist/{chunk-WCGFMFWK.mjs → chunk-CHGJGKST.mjs} +2 -2
- package/dist/{chunk-AQI4DIFA.mjs → chunk-CVCBVUH4.mjs} +2 -2
- package/dist/{chunk-CN42TL6V.mjs → chunk-HB3EBTKC.mjs} +5 -5
- package/dist/{react-native/chunks/chunk-ALSPAMEE.mjs → chunk-HNE4HNC2.mjs} +2 -2
- package/dist/{chunk-RBHEMWN6.mjs → chunk-I255IQTR.mjs} +3 -3
- package/dist/{chunk-VIHHCXBO.mjs → chunk-IALJ2X74.mjs} +3 -3
- package/dist/{chunk-EDZJNZKV.mjs → chunk-ICEZRKIS.mjs} +1 -1
- package/dist/{chunk-JXRMHWQU.mjs → chunk-IVVNKTHC.mjs} +1 -1
- package/dist/{chunk-MUBQER6D.mjs → chunk-KHZ6LAFB.mjs} +1 -1
- package/dist/{chunk-5SHWA6PE.mjs → chunk-L2GYY6KY.mjs} +1 -1
- package/dist/{chunk-4JLHHEBN.mjs → chunk-M5RYB6FE.mjs} +1 -1
- package/dist/{chunk-ONDHZ4WW.mjs → chunk-N3DJTTKK.mjs} +2 -2
- package/dist/{chunk-JASE2FE6.mjs → chunk-QWYIMVYT.mjs} +2 -2
- package/dist/{chunk-GTB2S2VX.mjs → chunk-R5OFJZNI.mjs} +2 -2
- package/dist/{chunk-7DW2ITZ3.mjs → chunk-RHFUQ76T.mjs} +1 -1
- package/dist/{chunk-FWZ5OK5G.mjs → chunk-SCUYG24W.mjs} +4 -4
- package/dist/{chunk-DVFCDOXW.mjs → chunk-TNBOFWDS.mjs} +1 -1
- package/dist/{chunk-PM2UOKYB.mjs → chunk-UFDD57KD.mjs} +37 -9
- package/dist/{chunk-M2Z5WVWW.mjs → chunk-UGMOBSMD.mjs} +2 -0
- package/dist/{chunk-CZHAPGVH.mjs → chunk-UJQ2S5QU.mjs} +80 -78
- package/dist/{chunk-43T3P3BE.mjs → chunk-WW3RDS57.mjs} +1 -1
- package/dist/{chunk-BOTZ2GSW.mjs → chunk-Z622PLNH.mjs} +25 -14
- package/dist/{client-DetSCqP2.d.ts → client-B9YNYYs_.d.ts} +38 -12
- package/dist/client.d.ts +8 -8
- package/dist/client.mjs +2 -2
- package/dist/{config-BB4MRAsB.d.ts → config-DJFXyHMZ.d.ts} +2 -2
- package/dist/{config-XEHd4MFx.d.ts → config-DlvP2PSi.d.ts} +2 -2
- package/dist/{direct-executor-3C5WFR33.mjs → direct-executor-P2Z7T57F.mjs} +3 -3
- 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 +1 -1
- package/dist/distribution/transport/tcp.mjs +1 -1
- package/dist/distribution.d.ts +14 -9
- package/dist/distribution.mjs +391 -315
- package/dist/{engine-DGG_yX0p.d.ts → engine-DP4PrdKM.d.ts} +51 -13
- package/dist/{index-fX_FbuRT.d.ts → index-CcivYH_R.d.ts} +1 -1
- package/dist/index.browser.mjs +3 -3
- package/dist/index.d.ts +6 -6
- package/dist/index.mjs +3 -3
- package/dist/index.react-native.mjs +3 -3
- package/dist/{long-query-thread-C62WK6NI.mjs → long-query-thread-SOJ25FZU.mjs} +13 -13
- package/dist/{msgpack-leaf-LIT7TKZW.mjs → msgpack-leaf-LTAJ5QGB.mjs} +2 -2
- package/dist/{optional-reads-ESDVS225.mjs → optional-reads-5QWIOFOU.mjs} +1 -1
- package/dist/{optional-writes-AGDEVXC4.mjs → optional-writes-GVHTEENI.mjs} +5 -5
- package/dist/{paged-partition-archive-EABR3N3F.mjs → paged-partition-archive-XCETVLZW.mjs} +13 -13
- package/dist/partial-words.browser.mjs +3 -3
- package/dist/partial-words.mjs +3 -3
- package/dist/pattern.browser.mjs +2 -2
- package/dist/pattern.mjs +2 -2
- package/dist/persistence/durability/checkpoint-worker.d.ts +2 -1
- package/dist/persistence/durability/checkpoint-worker.mjs +10 -10
- package/dist/{query-actions-QH5UQRCY.mjs → query-actions-WKC4SQEZ.mjs} +3 -3
- package/dist/query-suggestions/merge-worker.mjs +6 -6
- package/dist/query-suggestions.browser.mjs +3 -3
- package/dist/query-suggestions.d.ts +2 -2
- package/dist/query-suggestions.mjs +4 -4
- package/dist/react-native/chunks/{chunk-PTCHRZCP.mjs → chunk-4JY2CZWV.mjs} +3 -3
- package/dist/react-native/chunks/{chunk-ESVBC3AT.mjs → chunk-BIORJHQZ.mjs} +1 -1
- package/dist/react-native/chunks/{chunk-AOLLV37A.mjs → chunk-CBG4EUYD.mjs} +17 -2
- package/dist/react-native/chunks/{chunk-GPMPHDDO.mjs → chunk-FN3HBVNY.mjs} +2 -2
- package/dist/{chunk-AWMO3NKJ.mjs → react-native/chunks/chunk-LR6OK725.mjs} +1 -1
- package/dist/{chunk-57MN2UAL.mjs → react-native/chunks/chunk-MPNHORPY.mjs} +2 -2
- package/dist/react-native/chunks/{chunk-V2H7EDTM.mjs → chunk-QT2G6OMI.mjs} +103 -40
- package/dist/react-native/chunks/{chunk-BGRX5SPG.mjs → chunk-QZUFYRFX.mjs} +2 -2
- package/dist/react-native/chunks/{chunk-ZF3VSGEI.mjs → chunk-ZSJABTIE.mjs} +1 -1
- package/dist/react-native/chunks/{msgpack-leaf-FOUPTT7J.mjs → msgpack-leaf-Q4BPA4G7.mjs} +2 -2
- package/dist/react-native/chunks/{optional-reads-TN3PT6M4.mjs → optional-reads-M6F26KFO.mjs} +1 -1
- package/dist/react-native/chunks/{optional-writes-F4FJKEZ4.mjs → optional-writes-TCVHZRRM.mjs} +4 -4
- package/dist/react-native/chunks/{restore-queue-MLFBOOZP.mjs → restore-queue-RLQ3L223.mjs} +6 -6
- package/dist/{runtime-USQYKN3I.mjs → react-native/chunks/runtime-7UKADH3G.mjs} +2 -1
- package/dist/react-native/chunks/{segment-codec-leaf-Z3OS3B2K.mjs → segment-codec-leaf-IM6YCP7M.mjs} +4 -4
- package/dist/react-native/chunks/{segment-merge-leaf-TNHU77VW.mjs → segment-merge-leaf-32YR2ZTM.mjs} +5 -5
- package/dist/react-native/chunks/{storage-leaf-NF733K7B.mjs → storage-leaf-RKI6S6T5.mjs} +23 -10
- package/dist/react-native/chunks/{store-leaf-UDKCNQB7.mjs → store-leaf-YQXG6NOD.mjs} +5 -5
- package/dist/react-native/chunks/{suggestions-leaf-M6ITOPNM.mjs → suggestions-leaf-Q3ABULFB.mjs} +5 -5
- package/dist/react-native/chunks/{worker-copies-GG7CKUBI.mjs → worker-copies-W63KWZZN.mjs} +4 -4
- package/dist/react-native/partial-words.mjs +3 -3
- package/dist/react-native/pattern.mjs +2 -2
- package/dist/react-native/query-suggestions.mjs +3 -3
- package/dist/react-native/sync.mjs +12 -7
- package/dist/react-native/synonyms.mjs +3 -3
- package/dist/react.d.ts +9 -9
- package/dist/{rerank-LCMA5PZG.mjs → rerank-OJLSVUYV.mjs} +25 -12
- package/dist/{restore-queue-NSA3RWF6.mjs → restore-queue-BYO4AJLZ.mjs} +6 -6
- package/dist/{react-native/chunks/runtime-UOHD2XUJ.mjs → runtime-WWFVQOBJ.mjs} +2 -1
- package/dist/{schema-CFnQ-WI3.d.ts → schema-CPQUdJTs.d.ts} +6 -0
- package/dist/{segment-codec-leaf-DQKKIN4F.mjs → segment-codec-leaf-V52PQEVL.mjs} +4 -4
- package/dist/{segment-merge-leaf-67Z6OMRF.mjs → segment-merge-leaf-M3ZLJYDD.mjs} +4 -4
- package/dist/server.d.ts +22 -11
- package/dist/server.mjs +23 -21
- package/dist/{storage-leaf-FUH75D3X.mjs → storage-leaf-YYO4FLHQ.mjs} +22 -22
- package/dist/{store-leaf-CKZFFFTX.mjs → store-leaf-KK7VD3P3.mjs} +5 -5
- package/dist/{suggestions-leaf-NOSJIRSD.mjs → suggestions-leaf-EJCNU3NM.mjs} +7 -7
- package/dist/sync/filesystem.d.ts +3 -3
- package/dist/sync/filesystem.mjs +8 -8
- package/dist/sync/indexeddb.browser.mjs +1 -1
- package/dist/sync/indexeddb.d.ts +3 -3
- package/dist/sync/indexeddb.mjs +2 -2
- package/dist/sync.browser.mjs +7 -6
- package/dist/sync.d.ts +4 -4
- package/dist/sync.mjs +12 -7
- package/dist/synonyms.browser.mjs +3 -3
- package/dist/synonyms.mjs +3 -3
- package/dist/{tasks-Bpi5YNZF.d.ts → tasks-4rvZJuoN.d.ts} +8 -4
- package/dist/{thread-T5F3HSMC.mjs → thread-6BVFFMP7.mjs} +12 -12
- package/dist/{types-DGjk684l.d.ts → types-C3hkFf_3.d.ts} +2 -2
- package/dist/vector/search-worker.d.ts +1 -1
- package/dist/{worker-copies-TPEHVXPI.mjs → worker-copies-5V5JGCWU.mjs} +6 -6
- package/dist/workers/entry.mjs +9 -9
- package/openapi.json +58 -2
- package/package.json +5 -5
package/openapi.json
CHANGED
|
@@ -1121,6 +1121,19 @@
|
|
|
1121
1121
|
"schema": {
|
|
1122
1122
|
"type": "string"
|
|
1123
1123
|
}
|
|
1124
|
+
},
|
|
1125
|
+
{
|
|
1126
|
+
"name": "vectors",
|
|
1127
|
+
"in": "query",
|
|
1128
|
+
"required": false,
|
|
1129
|
+
"description": "Under `true`, the document carries its vector fields, and under `false` it carries none, whatever the index setting says.",
|
|
1130
|
+
"schema": {
|
|
1131
|
+
"type": "string",
|
|
1132
|
+
"enum": [
|
|
1133
|
+
"true",
|
|
1134
|
+
"false"
|
|
1135
|
+
]
|
|
1136
|
+
}
|
|
1124
1137
|
}
|
|
1125
1138
|
],
|
|
1126
1139
|
"responses": {
|
|
@@ -4215,6 +4228,10 @@
|
|
|
4215
4228
|
"type": "boolean",
|
|
4216
4229
|
"description": "Setting this rejects a document carrying a field the schema does not declare."
|
|
4217
4230
|
},
|
|
4231
|
+
"returnVectors": {
|
|
4232
|
+
"type": "boolean",
|
|
4233
|
+
"description": "Setting this returns the vector fields on every search, listing, and read of this index, which otherwise leave them out unless the request asks for them."
|
|
4234
|
+
},
|
|
4218
4235
|
"embedding": {
|
|
4219
4236
|
"$ref": "#/components/schemas/CreateIndexEmbedding",
|
|
4220
4237
|
"description": "This names a server-registered embedding adapter and the fields it embeds."
|
|
@@ -4444,11 +4461,15 @@
|
|
|
4444
4461
|
"type": "string"
|
|
4445
4462
|
},
|
|
4446
4463
|
"description": "Names the fields to drop, so every other field is kept."
|
|
4464
|
+
},
|
|
4465
|
+
"vectors": {
|
|
4466
|
+
"type": "boolean",
|
|
4467
|
+
"description": "Setting this to true returns every vector field, and false leaves every one out, whatever `include` and the index setting say. `include` and `exclude` then apply to the vector fields that this keeps."
|
|
4447
4468
|
}
|
|
4448
4469
|
}
|
|
4449
4470
|
}
|
|
4450
4471
|
],
|
|
4451
|
-
"description": "This chooses how much of each stored document comes back,
|
|
4472
|
+
"description": "This chooses how much of each stored document comes back. By default a hit carries every field apart from the vector fields, which come back only where DocumentProjection or the index asks for them."
|
|
4452
4473
|
},
|
|
4453
4474
|
"group": {
|
|
4454
4475
|
"type": "object",
|
|
@@ -4974,11 +4995,15 @@
|
|
|
4974
4995
|
"type": "string"
|
|
4975
4996
|
},
|
|
4976
4997
|
"description": "Names the fields to drop, so every other field is kept."
|
|
4998
|
+
},
|
|
4999
|
+
"vectors": {
|
|
5000
|
+
"type": "boolean",
|
|
5001
|
+
"description": "Setting this to true returns every vector field, and false leaves every one out, whatever `include` and the index setting say. `include` and `exclude` then apply to the vector fields that this keeps."
|
|
4977
5002
|
}
|
|
4978
5003
|
}
|
|
4979
5004
|
}
|
|
4980
5005
|
],
|
|
4981
|
-
"description": "This chooses how much of each stored document comes back,
|
|
5006
|
+
"description": "This chooses how much of each stored document comes back. By default a listing returns every field apart from the vector fields, which come back only where DocumentProjection or the index asks for them."
|
|
4982
5007
|
}
|
|
4983
5008
|
},
|
|
4984
5009
|
"description": "Everything Narsil.listDocuments accepts. Narsil.listDocuments reads the stored documents without ranking them, which is how you page through a whole index. Leave `cursor` out to start at the first document, then pass back the cursor each result carries until it comes back null. A cursor belongs to the sort it was made under, so pass the same `sort` back with it. Changing `sort` invalidates the cursor, and the engine then throws `SEARCH_INVALID_CURSOR` rather than returning a page from the wrong order."
|
|
@@ -5184,6 +5209,37 @@
|
|
|
5184
5209
|
"type": "string"
|
|
5185
5210
|
},
|
|
5186
5211
|
"description": "The server fetches the documents with these ids."
|
|
5212
|
+
},
|
|
5213
|
+
"document": {
|
|
5214
|
+
"anyOf": [
|
|
5215
|
+
{
|
|
5216
|
+
"type": "boolean"
|
|
5217
|
+
},
|
|
5218
|
+
{
|
|
5219
|
+
"type": "object",
|
|
5220
|
+
"properties": {
|
|
5221
|
+
"include": {
|
|
5222
|
+
"type": "array",
|
|
5223
|
+
"items": {
|
|
5224
|
+
"type": "string"
|
|
5225
|
+
},
|
|
5226
|
+
"description": "Names the fields to keep, so every field left out of this list is dropped."
|
|
5227
|
+
},
|
|
5228
|
+
"exclude": {
|
|
5229
|
+
"type": "array",
|
|
5230
|
+
"items": {
|
|
5231
|
+
"type": "string"
|
|
5232
|
+
},
|
|
5233
|
+
"description": "Names the fields to drop, so every other field is kept."
|
|
5234
|
+
},
|
|
5235
|
+
"vectors": {
|
|
5236
|
+
"type": "boolean",
|
|
5237
|
+
"description": "Setting this to true returns every vector field, and false leaves every one out, whatever `include` and the index setting say. `include` and `exclude` then apply to the vector fields that this keeps."
|
|
5238
|
+
}
|
|
5239
|
+
}
|
|
5240
|
+
}
|
|
5241
|
+
],
|
|
5242
|
+
"description": "This chooses how much of each document comes back. Every field apart from the vector fields comes back by default."
|
|
5187
5243
|
}
|
|
5188
5244
|
},
|
|
5189
5245
|
"required": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@delali/narsil",
|
|
3
|
-
"version": "0.4.6-next.
|
|
3
|
+
"version": "0.4.6-next.334",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Distributed search engine with full-text, vector, hybrid, and geosearch. One engine, embedded or on a server, with a cross-language .nrsl format.",
|
|
6
6
|
"author": "Delali (https://sondelali.com)",
|
|
@@ -656,9 +656,9 @@
|
|
|
656
656
|
}
|
|
657
657
|
},
|
|
658
658
|
"optionalDependencies": {
|
|
659
|
-
"@delali/narsil-native-linux-arm64": "0.4.6-next.
|
|
660
|
-
"@delali/narsil-native-linux-x64": "0.4.6-next.
|
|
661
|
-
"@delali/narsil-native-win32-arm64": "0.4.6-next.
|
|
662
|
-
"@delali/narsil-native-win32-x64": "0.4.6-next.
|
|
659
|
+
"@delali/narsil-native-linux-arm64": "0.4.6-next.334",
|
|
660
|
+
"@delali/narsil-native-linux-x64": "0.4.6-next.334",
|
|
661
|
+
"@delali/narsil-native-win32-arm64": "0.4.6-next.334",
|
|
662
|
+
"@delali/narsil-native-win32-x64": "0.4.6-next.334"
|
|
663
663
|
}
|
|
664
664
|
}
|