@delali/narsil 0.4.0 → 0.4.1-next.212
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 -3
- package/dist/browser/{chunk-NDYADQ4Y.mjs → chunk-GBJSEHVJ.mjs} +2 -2
- package/dist/browser/{optional-reads-XMVPG6HG.mjs → optional-reads-6LN3HMUH.mjs} +1 -1
- package/dist/browser/{store-leaf-3L33V35P.mjs → store-leaf-3YPLCQ7X.mjs} +5 -4
- package/dist/{capabilities-DMte5K9_.d.ts → capabilities-BOFFMx84.d.ts} +9 -6
- package/dist/{chunk-C74KPRR7.mjs → chunk-2K24MEYV.mjs} +2 -2
- package/dist/{chunk-4ZPVAHWF.mjs → chunk-357KIU5E.mjs} +4 -4
- package/dist/{chunk-AVBPB3MI.mjs → chunk-3IE3A74H.mjs} +2 -2
- package/dist/{chunk-ZPJFGGGI.mjs → chunk-6I6OO6B2.mjs} +2 -2
- package/dist/{chunk-6N6HHBCQ.mjs → chunk-755NM4PL.mjs} +9 -9
- package/dist/{chunk-MW3CJVGP.mjs → chunk-AXDB6KUQ.mjs} +1 -1
- package/dist/{chunk-C4ZMXXTL.mjs → chunk-B3MO37YF.mjs} +1 -1
- package/dist/{chunk-TKKXPKEO.mjs → chunk-CERPUGRK.mjs} +6 -5
- package/dist/{chunk-M3OW2XSP.mjs → chunk-DBC4EJWB.mjs} +1 -1
- package/dist/{chunk-SLAC5PAB.mjs → chunk-DDUXEJXW.mjs} +4 -4
- package/dist/{chunk-YTUZ4R22.mjs → chunk-DKIMHIBC.mjs} +2 -2
- package/dist/{react-native/chunks/chunk-UE4ANHSX.mjs → chunk-F26DOOUH.mjs} +1 -1
- package/dist/{chunk-LFXS6OF7.mjs → chunk-MI6UZGUR.mjs} +2 -2
- package/dist/{chunk-DXZ6JDWG.mjs → chunk-MSJD74GN.mjs} +2 -2
- package/dist/{chunk-NM7I3BM7.mjs → chunk-MYN4K5IS.mjs} +1 -1
- package/dist/{chunk-XQIAMDAG.mjs → chunk-NCIGNQJE.mjs} +3 -3
- package/dist/{chunk-5F5MXWS5.mjs → chunk-OGYSPNL2.mjs} +5 -5
- package/dist/{chunk-BY6NALRK.mjs → chunk-PP3W5PQQ.mjs} +9 -9
- package/dist/{chunk-6FOENO4E.mjs → chunk-SMQPZHPS.mjs} +1 -1
- package/dist/{chunk-FS3HPPSC.mjs → chunk-UHLFCGZ3.mjs} +1 -1
- package/dist/{chunk-FT4KLZXW.mjs → chunk-WC5KAWXQ.mjs} +3 -3
- package/dist/{chunk-XL56L4IR.mjs → chunk-WM5KJSQV.mjs} +1 -1
- package/dist/{chunk-MYM6CAVK.mjs → chunk-WTMCGZ74.mjs} +2 -2
- package/dist/{chunk-KYIRXTCA.mjs → chunk-X3EQCQLP.mjs} +2 -2
- package/dist/{chunk-MRCJBWJZ.mjs → chunk-Z7XSHKOF.mjs} +2 -2
- package/dist/{client-BKqtl0_V.d.ts → client-BhNxHtcZ.d.ts} +3 -3
- package/dist/client.d.ts +6 -6
- package/dist/{config-Bnl7L-0H.d.ts → config-BJSL7piq.d.ts} +1 -1
- package/dist/{config-CJ-jfI0a.d.ts → config-P9zW3Zz7.d.ts} +1 -1
- package/dist/{direct-executor-V3WOYU2Y.mjs → direct-executor-GWJXDFLD.mjs} +1 -1
- package/dist/distribution.d.ts +4 -4
- package/dist/distribution.mjs +49 -34
- package/dist/{engine-qjAxJSKk.d.ts → engine-DoFnkRoF.d.ts} +1 -1
- package/dist/index.browser.mjs +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.mjs +1 -1
- package/dist/index.react-native.mjs +1 -1
- package/dist/{long-query-thread-UCRK7MSI.mjs → long-query-thread-GNTDYDOZ.mjs} +10 -10
- package/dist/{optional-reads-5HFMF2QZ.mjs → optional-reads-UCS23AWP.mjs} +1 -1
- package/dist/{optional-writes-4UOQKETU.mjs → optional-writes-2AHJCGTY.mjs} +3 -3
- package/dist/{paged-partition-archive-BBRLZCIF.mjs → paged-partition-archive-GBAHDT55.mjs} +9 -9
- package/dist/partial-words.browser.mjs +1 -1
- package/dist/partial-words.mjs +1 -1
- package/dist/persistence/durability/checkpoint-worker.mjs +7 -7
- package/dist/{query-actions-HMJUVWGT.mjs → query-actions-IDCUA7UV.mjs} +1 -1
- package/dist/query-suggestions/merge-worker.mjs +4 -4
- package/dist/query-suggestions.browser.mjs +1 -1
- package/dist/query-suggestions.d.ts +1 -1
- package/dist/query-suggestions.mjs +2 -2
- package/dist/{chunk-MFPSQZ6P.mjs → react-native/chunks/chunk-4FUCRLSA.mjs} +1 -1
- package/dist/react-native/chunks/{chunk-WVHF4ZAK.mjs → chunk-AJAH6X7W.mjs} +1 -1
- package/dist/react-native/chunks/{chunk-G3WCDTOF.mjs → chunk-LPX26NNL.mjs} +9 -9
- package/dist/react-native/chunks/{chunk-GXXHHA2T.mjs → chunk-MMPBO4WR.mjs} +1 -1
- package/dist/react-native/chunks/{chunk-3OEFSHVV.mjs → chunk-SCGBU47K.mjs} +6 -5
- package/dist/react-native/chunks/{chunk-UNZPWLVL.mjs → chunk-TG56N5JC.mjs} +2 -2
- package/dist/react-native/chunks/{optional-reads-AFPO2FEB.mjs → optional-reads-4XCJ34QG.mjs} +1 -1
- package/dist/react-native/chunks/{optional-writes-XOH25XZI.mjs → optional-writes-XYZVTBFB.mjs} +2 -2
- package/dist/react-native/chunks/{restore-queue-LLNMYB4Z.mjs → restore-queue-NOKQZJ2Z.mjs} +4 -4
- package/dist/react-native/chunks/{segment-codec-leaf-VR6O5GLC.mjs → segment-codec-leaf-3ZXBJVKH.mjs} +2 -2
- package/dist/react-native/chunks/{segment-merge-leaf-LLMWU4EW.mjs → segment-merge-leaf-3Z7MMPWE.mjs} +3 -3
- package/dist/react-native/chunks/{storage-leaf-JD7PIDO4.mjs → storage-leaf-KJOX3MMW.mjs} +5 -5
- package/dist/react-native/chunks/{store-leaf-4UVCMYGN.mjs → store-leaf-QGLVSO5X.mjs} +3 -3
- package/dist/react-native/chunks/{suggestions-leaf-J5VT5RHY.mjs → suggestions-leaf-6GI5ZSW6.mjs} +3 -3
- package/dist/react-native/chunks/{worker-copies-ZYHY7FKJ.mjs → worker-copies-ALOD7TSP.mjs} +2 -2
- package/dist/react-native/partial-words.mjs +1 -1
- package/dist/react-native/query-suggestions.mjs +1 -1
- package/dist/react-native/sync.mjs +1 -1
- package/dist/react-native/synonyms.mjs +1 -1
- package/dist/react.d.ts +7 -7
- package/dist/{rerank-RI2PMNOD.mjs → rerank-HB6DU6GS.mjs} +1 -1
- package/dist/{restore-queue-PCKWDAKQ.mjs → restore-queue-VUQHGCXE.mjs} +4 -4
- package/dist/{segment-codec-leaf-QJM7I6QG.mjs → segment-codec-leaf-TW2FPAAT.mjs} +2 -2
- package/dist/{segment-merge-leaf-4BJGIJHY.mjs → segment-merge-leaf-BS3QV5PZ.mjs} +2 -2
- package/dist/server.d.ts +8 -8
- package/dist/server.mjs +26 -18
- package/dist/{storage-leaf-GRRRI7UV.mjs → storage-leaf-5IG2HPNY.mjs} +18 -18
- package/dist/{store-leaf-6VMMSVBE.mjs → store-leaf-ZWSOK2DV.mjs} +3 -3
- package/dist/{suggestions-leaf-4KPTMPTL.mjs → suggestions-leaf-MUZNKQVF.mjs} +5 -5
- package/dist/sync/filesystem.d.ts +2 -2
- package/dist/sync/filesystem.mjs +4 -4
- package/dist/sync/indexeddb.d.ts +2 -2
- package/dist/sync.browser.mjs +1 -1
- package/dist/sync.d.ts +3 -3
- package/dist/sync.mjs +1 -1
- package/dist/synonyms.browser.mjs +1 -1
- package/dist/synonyms.mjs +1 -1
- package/dist/{tasks-65b6t6lk.d.ts → tasks-DrLiolTG.d.ts} +3 -3
- package/dist/{thread-UJ3W5LVI.mjs → thread-6ZBCENAP.mjs} +9 -9
- package/dist/{types-CpCg-Gq-.d.ts → types-pS-mAJmX.d.ts} +1 -1
- package/dist/{worker-copies-YSXZXIGC.mjs → worker-copies-32HWFUH7.mjs} +4 -4
- package/dist/workers/entry.mjs +7 -7
- package/openapi.json +2 -2
- package/package.json +5 -7
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export { closeRequestThread, drainRequestThread, searchHandler, serveRequests } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { closeRequestThread, drainRequestThread, searchHandler, serveRequests } from './chunk-Z7XSHKOF.mjs';
|
|
2
|
+
import './chunk-NCIGNQJE.mjs';
|
|
3
3
|
import './chunk-TACP6VK6.mjs';
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
4
|
+
import './chunk-WM5KJSQV.mjs';
|
|
5
|
+
import './chunk-6I6OO6B2.mjs';
|
|
6
|
+
import './chunk-B3MO37YF.mjs';
|
|
7
7
|
import './chunk-S5QMWECL.mjs';
|
|
8
8
|
import './chunk-LNGE7SLY.mjs';
|
|
9
9
|
import './chunk-R2PJKSNL.mjs';
|
|
10
|
-
import './chunk-
|
|
11
|
-
import './chunk-
|
|
10
|
+
import './chunk-F26DOOUH.mjs';
|
|
11
|
+
import './chunk-UHLFCGZ3.mjs';
|
|
12
12
|
import './chunk-R724DJSG.mjs';
|
|
13
13
|
import './chunk-V6EUBAIT.mjs';
|
|
14
|
-
import './chunk-
|
|
15
|
-
import './chunk-
|
|
14
|
+
import './chunk-CERPUGRK.mjs';
|
|
15
|
+
import './chunk-PP3W5PQQ.mjs';
|
|
16
16
|
import './chunk-2CKDCC65.mjs';
|
|
17
17
|
import './chunk-2AFZE7Y3.mjs';
|
|
18
18
|
import './chunk-GXCDWLQI.mjs';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { holdCopyPublication, copyGenerationOf, transferIndexToPool, loadIndexOntoWorkers } from './chunk-
|
|
2
|
-
export { emptySerializablePartition, loadIndexOntoWorkers, transferIndexToPool } from './chunk-
|
|
1
|
+
import { holdCopyPublication, copyGenerationOf, transferIndexToPool, loadIndexOntoWorkers } from './chunk-SMQPZHPS.mjs';
|
|
2
|
+
export { emptySerializablePartition, loadIndexOntoWorkers, transferIndexToPool } from './chunk-SMQPZHPS.mjs';
|
|
3
3
|
import { executeUntilAnswered } from './chunk-4H4RG2FR.mjs';
|
|
4
|
-
import { DEFAULT_WORKER_SILENCE_BEFORE_PROBE_MS, DEFAULT_WORKER_SILENCE_BEFORE_RETIREMENT_MS, growPartitionsTo, isCompositePartition, createSharedFrozenSegment, loadStorageCode, resolvePartitionInsertOptions, buildSegmentPayloads, freezeSegmentShared, DEFAULT_MAX_THREADS_LEFT_RUNNING, DEFAULT_COPY_THRESHOLD, workersEnabledByDefault, POOL_RESTART_DELAY_MS, createRequestId, mergeSegmentContents, freezeEncodedSegmentShared, SegmentRefusal, NO_REMOVED_SPELLINGS, DEFAULT_COPY_IDLE_TIMEOUT_MS, LONG_QUERY_THREADS, toError, isDeterministicFailure, workerIneligibility, reportIneligible, fnv1a, selectionKeeps, prepareDocumentVectors, MAX_PENDING_REPLICATION_DOCUMENTS, MAIN_COPY_LONE_QUERY_DOCUMENTS, returnsEveryMatch, oversampledFacetConfig, afterCurrentTurn, LOAD_BUFFER_YIELD_INTERVAL, yieldToEventLoop, IDLE_MERGE_DELAY_MS, alreadyPresentOnWorker, REPLICATION_WINDOW, RETIRED_THREADS_EXIT_WAIT_MS, eligibleIndexNames, createWorkerFactory, availablePatternSearch, patternHost, kWayMerge, mergeFacets, generateId, POOL_RESTART_DELAY_MAX_MS, COMPACTION_SEGMENT_TRIGGER, LIVE_TAIL_FREEZE_FLOOR, requireLoadedVectorCode, LIVE_TAIL_FLUSH_DOCUMENTS, SEGMENTS_PER_MERGE } from './chunk-
|
|
5
|
-
export { bindWorkerCopiesHost, createWorkerExecutor } from './chunk-
|
|
4
|
+
import { DEFAULT_WORKER_SILENCE_BEFORE_PROBE_MS, DEFAULT_WORKER_SILENCE_BEFORE_RETIREMENT_MS, growPartitionsTo, isCompositePartition, createSharedFrozenSegment, loadStorageCode, resolvePartitionInsertOptions, buildSegmentPayloads, freezeSegmentShared, DEFAULT_MAX_THREADS_LEFT_RUNNING, DEFAULT_COPY_THRESHOLD, workersEnabledByDefault, POOL_RESTART_DELAY_MS, createRequestId, mergeSegmentContents, freezeEncodedSegmentShared, SegmentRefusal, NO_REMOVED_SPELLINGS, DEFAULT_COPY_IDLE_TIMEOUT_MS, LONG_QUERY_THREADS, toError, isDeterministicFailure, workerIneligibility, reportIneligible, fnv1a, selectionKeeps, prepareDocumentVectors, MAX_PENDING_REPLICATION_DOCUMENTS, MAIN_COPY_LONE_QUERY_DOCUMENTS, returnsEveryMatch, oversampledFacetConfig, afterCurrentTurn, LOAD_BUFFER_YIELD_INTERVAL, yieldToEventLoop, IDLE_MERGE_DELAY_MS, alreadyPresentOnWorker, REPLICATION_WINDOW, RETIRED_THREADS_EXIT_WAIT_MS, eligibleIndexNames, createWorkerFactory, availablePatternSearch, patternHost, kWayMerge, mergeFacets, generateId, POOL_RESTART_DELAY_MAX_MS, COMPACTION_SEGMENT_TRIGGER, LIVE_TAIL_FREEZE_FLOOR, requireLoadedVectorCode, LIVE_TAIL_FLUSH_DOCUMENTS, SEGMENTS_PER_MERGE } from './chunk-PP3W5PQQ.mjs';
|
|
5
|
+
export { bindWorkerCopiesHost, createWorkerExecutor } from './chunk-PP3W5PQQ.mjs';
|
|
6
6
|
import './chunk-2CKDCC65.mjs';
|
|
7
7
|
import './chunk-2AFZE7Y3.mjs';
|
|
8
8
|
import './chunk-GXCDWLQI.mjs';
|
package/dist/workers/entry.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { requireSearchBackendSettings, loadVectorCode, loadGeoCode, importOptionalReads, initializeCopyPublication, publishCopyAction, isValidWorkerAction } from '../chunk-
|
|
1
|
+
import { requireSearchBackendSettings, loadVectorCode, loadGeoCode, importOptionalReads, initializeCopyPublication, publishCopyAction, isValidWorkerAction } from '../chunk-PP3W5PQQ.mjs';
|
|
2
2
|
import '../chunk-2CKDCC65.mjs';
|
|
3
3
|
import '../chunk-2AFZE7Y3.mjs';
|
|
4
4
|
import '../chunk-GXCDWLQI.mjs';
|
|
@@ -32,9 +32,9 @@ async function importBootstrapModule(moduleUrl) {
|
|
|
32
32
|
await import(moduleUrl);
|
|
33
33
|
}
|
|
34
34
|
async function stopServingRequests() {
|
|
35
|
-
const { drainRequestThread } = await import('../thread-
|
|
35
|
+
const { drainRequestThread } = await import('../thread-6ZBCENAP.mjs');
|
|
36
36
|
await drainRequestThread();
|
|
37
|
-
const { closeLongQueryThread } = await import('../long-query-thread-
|
|
37
|
+
const { closeLongQueryThread } = await import('../long-query-thread-GNTDYDOZ.mjs');
|
|
38
38
|
closeLongQueryThread();
|
|
39
39
|
}
|
|
40
40
|
function holdsCopies(executor) {
|
|
@@ -91,7 +91,7 @@ function createActionHandler(executor) {
|
|
|
91
91
|
if (!holdsCopies(executor)) {
|
|
92
92
|
throw new NarsilError(ErrorCodes.CONFIG_INVALID, "This executor holds no copies to answer requests from");
|
|
93
93
|
}
|
|
94
|
-
const starting = import('../thread-
|
|
94
|
+
const starting = import('../thread-6ZBCENAP.mjs').then(
|
|
95
95
|
({ serveRequests }) => serveRequests(executor, action.settings)
|
|
96
96
|
);
|
|
97
97
|
serving.start = starting.then(
|
|
@@ -108,7 +108,7 @@ function createActionHandler(executor) {
|
|
|
108
108
|
if (!holdsCopies(executor)) {
|
|
109
109
|
throw new NarsilError(ErrorCodes.CONFIG_INVALID, "This executor holds no copies to answer long queries from");
|
|
110
110
|
}
|
|
111
|
-
const { serveLongQueries } = await import('../long-query-thread-
|
|
111
|
+
const { serveLongQueries } = await import('../long-query-thread-GNTDYDOZ.mjs');
|
|
112
112
|
serveLongQueries(executor, action.settings);
|
|
113
113
|
servingRequests = true;
|
|
114
114
|
post(buildSuccessResponse(action.requestId, void 0));
|
|
@@ -156,8 +156,8 @@ async function setup() {
|
|
|
156
156
|
}
|
|
157
157
|
requireSearchBackendSettings();
|
|
158
158
|
const [{ createDirectExecutor }, { runQueryAction }] = await Promise.all([
|
|
159
|
-
import('../direct-executor-
|
|
160
|
-
import('../query-actions-
|
|
159
|
+
import('../direct-executor-GWJXDFLD.mjs'),
|
|
160
|
+
import('../query-actions-IDCUA7UV.mjs'),
|
|
161
161
|
loadVectorCode(),
|
|
162
162
|
loadGeoCode(),
|
|
163
163
|
importOptionalReads(),
|
package/openapi.json
CHANGED
|
@@ -4096,7 +4096,7 @@
|
|
|
4096
4096
|
"values": {
|
|
4097
4097
|
"type": "object",
|
|
4098
4098
|
"additionalProperties": true,
|
|
4099
|
-
"description": "
|
|
4099
|
+
"description": "This holds one value for each grouping field, keyed by field, with `null` for a field where the group's documents hold no value."
|
|
4100
4100
|
},
|
|
4101
4101
|
"hits": {
|
|
4102
4102
|
"type": "array",
|
|
@@ -6755,7 +6755,7 @@
|
|
|
6755
6755
|
"type": "string"
|
|
6756
6756
|
}
|
|
6757
6757
|
],
|
|
6758
|
-
"description": "
|
|
6758
|
+
"description": "This holds the `build.version` that the caller passed to `createServer`, or else the version of the installed `@delali/narsil` package, although a server from an older release can report null here."
|
|
6759
6759
|
},
|
|
6760
6760
|
"gitSha": {
|
|
6761
6761
|
"anyOf": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@delali/narsil",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1-next.212",
|
|
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)",
|
|
@@ -654,11 +654,9 @@
|
|
|
654
654
|
}
|
|
655
655
|
},
|
|
656
656
|
"optionalDependencies": {
|
|
657
|
-
"@delali/narsil-native-
|
|
658
|
-
"@delali/narsil-native-
|
|
659
|
-
"@delali/narsil-native-
|
|
660
|
-
"@delali/narsil-native-
|
|
661
|
-
"@delali/narsil-native-win32-arm64": "0.4.0",
|
|
662
|
-
"@delali/narsil-native-win32-x64": "0.4.0"
|
|
657
|
+
"@delali/narsil-native-linux-arm64": "0.4.1-next.212",
|
|
658
|
+
"@delali/narsil-native-linux-x64": "0.4.1-next.212",
|
|
659
|
+
"@delali/narsil-native-win32-arm64": "0.4.1-next.212",
|
|
660
|
+
"@delali/narsil-native-win32-x64": "0.4.1-next.212"
|
|
663
661
|
}
|
|
664
662
|
}
|