@delali/narsil 0.3.1-next.195 → 0.3.1-next.196
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/{chunk-UHJHOEMY.mjs → chunk-YKHBTLYW.mjs} +1 -1
- package/dist/browser/{storage-leaf-N3JMQ6CF.mjs → storage-leaf-KIPJKTWU.mjs} +68 -39
- package/dist/{chunk-VPOPC7JA.mjs → chunk-23UYFZXF.mjs} +2 -2
- package/dist/{react-native/chunks/chunk-GJQIMGXT.mjs → chunk-23WLACOL.mjs} +1 -1
- package/dist/{chunk-UP5TJ3II.mjs → chunk-2TWR6YCG.mjs} +1 -1
- package/dist/{chunk-5SLAXEVJ.mjs → chunk-2WKZM3FS.mjs} +21 -5
- package/dist/{chunk-OICMFLQF.mjs → chunk-3CRBNUPW.mjs} +9 -9
- package/dist/{chunk-Y3T4HQGT.mjs → chunk-7BCL5QK5.mjs} +2 -2
- package/dist/{chunk-QIMI4O6R.mjs → chunk-D2H5RN3Q.mjs} +4 -4
- package/dist/{chunk-5IXLDFKK.mjs → chunk-D4PSKC3O.mjs} +2 -2
- package/dist/{chunk-DU5HRFLQ.mjs → chunk-DEKP2BZO.mjs} +2 -2
- package/dist/{chunk-BBSLCYJM.mjs → chunk-F62PEMTB.mjs} +1 -1
- package/dist/{chunk-5WN5TOPY.mjs → chunk-FIMLVUHE.mjs} +1 -1
- package/dist/{chunk-KYVJPISW.mjs → chunk-IC6LWK2D.mjs} +5 -5
- package/dist/{chunk-MQMZ25D7.mjs → chunk-IQAV6Z3Y.mjs} +2 -2
- package/dist/{chunk-3Y3QYL6Q.mjs → chunk-JYIH6G2H.mjs} +2 -2
- package/dist/{chunk-I2FKNCDS.mjs → chunk-K2KNE7W2.mjs} +8 -8
- package/dist/{chunk-WORMC6FN.mjs → chunk-KFU4KW77.mjs} +1 -1
- package/dist/{chunk-VSLFZDVA.mjs → chunk-NTO2EMWZ.mjs} +2 -2
- package/dist/{chunk-ZV25WJNK.mjs → chunk-NVGSHRLW.mjs} +1 -1
- package/dist/{chunk-KRCP4W26.mjs → chunk-QRKC25IO.mjs} +1 -1
- package/dist/{chunk-YYNLEWSP.mjs → chunk-RDGMV4R3.mjs} +3 -3
- package/dist/{chunk-ZVJPJZIP.mjs → chunk-SUFAI37B.mjs} +1 -1
- package/dist/{chunk-AH5J62FF.mjs → chunk-TQ5EEJEO.mjs} +2 -2
- package/dist/{chunk-P3JMBYEG.mjs → chunk-V24XTYHX.mjs} +2 -2
- package/dist/{chunk-KDLH3BWY.mjs → chunk-V6H3ZFC3.mjs} +1 -1
- package/dist/{chunk-DKTRJCPP.mjs → chunk-V76B76ML.mjs} +3 -3
- package/dist/{direct-executor-YDIA6FU5.mjs → direct-executor-7EROGEUZ.mjs} +1 -1
- package/dist/distribution.mjs +25 -25
- package/dist/index.browser.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.react-native.mjs +1 -1
- package/dist/{long-query-thread-4E6J6WME.mjs → long-query-thread-DNQR25LY.mjs} +10 -10
- package/dist/{optional-writes-H6WO6E6B.mjs → optional-writes-3CFEDQ7M.mjs} +3 -3
- package/dist/{paged-partition-archive-O3RUZ3II.mjs → paged-partition-archive-YXXCF5WC.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-UTAYIRGP.mjs → query-actions-QCR7WPSV.mjs} +1 -1
- package/dist/query-suggestions/merge-worker.mjs +4 -4
- package/dist/query-suggestions.browser.mjs +1 -1
- package/dist/query-suggestions.mjs +2 -2
- package/dist/react-native/chunks/{chunk-3OHO4SEF.mjs → chunk-2CDDI2XI.mjs} +2 -2
- package/dist/react-native/chunks/{chunk-2S57X2ZY.mjs → chunk-FXZ3AFKS.mjs} +8 -8
- package/dist/react-native/chunks/{chunk-5KRTKOH6.mjs → chunk-HE4S2X7Q.mjs} +1 -1
- package/dist/react-native/chunks/{chunk-JZCEJO3N.mjs → chunk-WDR5JEUM.mjs} +1 -1
- package/dist/{chunk-RWJQ3XU7.mjs → react-native/chunks/chunk-YVCOZKVC.mjs} +1 -1
- package/dist/react-native/chunks/{chunk-UEBUWCYN.mjs → chunk-ZBY7QVQ5.mjs} +1 -1
- package/dist/react-native/chunks/{optional-writes-LG24CKDY.mjs → optional-writes-ONME3PSY.mjs} +2 -2
- package/dist/react-native/chunks/{restore-queue-6BL75XHS.mjs → restore-queue-OGKLTLU5.mjs} +4 -4
- package/dist/react-native/chunks/{segment-codec-leaf-OFY6JAIV.mjs → segment-codec-leaf-PAE2HHEQ.mjs} +2 -2
- package/dist/react-native/chunks/{segment-merge-leaf-S2EGW7J7.mjs → segment-merge-leaf-72FIRC26.mjs} +3 -3
- package/dist/react-native/chunks/{storage-leaf-SWCGMIES.mjs → storage-leaf-2T5ZTSNK.mjs} +73 -44
- package/dist/react-native/chunks/{store-leaf-PK2G37EL.mjs → store-leaf-BC77ZO4Z.mjs} +3 -3
- package/dist/react-native/chunks/{suggestions-leaf-MJXF4PPT.mjs → suggestions-leaf-QL3H332L.mjs} +3 -3
- package/dist/react-native/chunks/{worker-copies-PCLN3TVS.mjs → worker-copies-WIJCP6YJ.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/{rerank-FQU2Z64X.mjs → rerank-GVUOXQCU.mjs} +1 -1
- package/dist/{restore-queue-4OM3MMJ7.mjs → restore-queue-FVVCUHIY.mjs} +4 -4
- package/dist/{segment-codec-leaf-ZJL3UUED.mjs → segment-codec-leaf-KXZPLILR.mjs} +2 -2
- package/dist/{segment-merge-leaf-VDQ7BLE7.mjs → segment-merge-leaf-MLX5VM3E.mjs} +2 -2
- package/dist/server.mjs +15 -15
- package/dist/{storage-leaf-7IYAULRJ.mjs → storage-leaf-S2RWQ63Q.mjs} +70 -57
- package/dist/{store-leaf-VI3FC46A.mjs → store-leaf-JBMZL6QN.mjs} +3 -3
- package/dist/{suggestions-leaf-YP3BMVLS.mjs → suggestions-leaf-MA2PUFB5.mjs} +5 -5
- package/dist/sync/filesystem.mjs +4 -4
- package/dist/sync.browser.mjs +1 -1
- package/dist/sync.mjs +1 -1
- package/dist/synonyms.browser.mjs +1 -1
- package/dist/synonyms.mjs +1 -1
- package/dist/{thread-X36MGME4.mjs → thread-LDS6OTXA.mjs} +9 -9
- package/dist/{worker-copies-R53BVAFV.mjs → worker-copies-4T3SR5XZ.mjs} +4 -4
- package/dist/workers/entry.mjs +7 -7
- package/package.json +5 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { withOpenIndex, oneAtATime, resolveIndexAnalysis, loadStorageCode, emitSyncChange, encodeStringBlob, tokenize, typedRegion, regionsOverlap, encodeLookupKey } from './browser/chunk-
|
|
1
|
+
import { withOpenIndex, oneAtATime, resolveIndexAnalysis, loadStorageCode, emitSyncChange, encodeStringBlob, tokenize, typedRegion, regionsOverlap, encodeLookupKey } from './browser/chunk-YKHBTLYW.mjs';
|
|
2
2
|
import { storedText } from './browser/chunk-QAOVAYAG.mjs';
|
|
3
3
|
import './browser/chunk-YJHGOJAC.mjs';
|
|
4
4
|
import { NarsilError, ErrorCodes, requireLoadedMessagePack, compareCodePoints } from './browser/chunk-YINZFPLT.mjs';
|
package/dist/synonyms.mjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export { closeRequestThread, searchHandler, serveRequests } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { closeRequestThread, searchHandler, serveRequests } from './chunk-IQAV6Z3Y.mjs';
|
|
2
|
+
import './chunk-RDGMV4R3.mjs';
|
|
3
3
|
import './chunk-F6F4G322.mjs';
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
4
|
+
import './chunk-2TWR6YCG.mjs';
|
|
5
|
+
import './chunk-NTO2EMWZ.mjs';
|
|
6
|
+
import './chunk-FIMLVUHE.mjs';
|
|
7
7
|
import './chunk-S5QMWECL.mjs';
|
|
8
8
|
import './chunk-LNGE7SLY.mjs';
|
|
9
9
|
import './chunk-R2PJKSNL.mjs';
|
|
10
|
-
import './chunk-
|
|
11
|
-
import './chunk-
|
|
10
|
+
import './chunk-23WLACOL.mjs';
|
|
11
|
+
import './chunk-V6H3ZFC3.mjs';
|
|
12
12
|
import './chunk-KBU3ZFJN.mjs';
|
|
13
13
|
import './chunk-V6EUBAIT.mjs';
|
|
14
|
-
import './chunk-
|
|
15
|
-
import './chunk-
|
|
14
|
+
import './chunk-SUFAI37B.mjs';
|
|
15
|
+
import './chunk-K2KNE7W2.mjs';
|
|
16
16
|
import './chunk-2CKDCC65.mjs';
|
|
17
17
|
import './chunk-AOYQTX6W.mjs';
|
|
18
18
|
import './chunk-GXCDWLQI.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { holdCopyPublication, copyGenerationOf, transferIndexToPool, executeRetained, loadIndexOntoWorkers } from './chunk-
|
|
2
|
-
export { emptySerializablePartition, loadIndexOntoWorkers, transferIndexToPool } from './chunk-
|
|
3
|
-
import { growPartitionsTo, isCompositePartition, createSharedFrozenSegment, loadStorageCode, resolvePartitionInsertOptions, buildSegmentPayloads, freezeSegmentShared, DEFAULT_COPY_THRESHOLD, workersEnabledByDefault, POOL_RESTART_DELAY_MS, createRequestId, mergeSegmentContents, freezeEncodedSegmentShared, SegmentRefusal, NO_REMOVED_SPELLINGS, DEFAULT_COPY_IDLE_TIMEOUT_MS, LONG_QUERY_THREADS, toError, isDeterministicFailure, workerIneligibility, reportIneligible, fnv1a, selectionKeeps, prepareDocumentVectors, MAX_PENDING_REPLICATION_DOCUMENTS, MAIN_COPY_LONE_QUERY_DOCUMENTS, returnsEveryMatch, oversampledFacetConfig, afterCurrentTurn, LOAD_BUFFER_YIELD_INTERVAL, yieldToEventLoop, IDLE_MERGE_DELAY_MS, alreadyPresentOnWorker, REPLICATION_WINDOW, RETIRED_THREADS_EXIT_WAIT_MS, eligibleIndexNames, createWorkerFactory, availablePatternSearch, patternHost, kWayMerge, mergeFacets, generateId, POOL_RESTART_DELAY_MAX_MS, COMPACTION_SEGMENT_TRIGGER, LIVE_TAIL_FREEZE_FLOOR, requireLoadedVectorCode, LIVE_TAIL_FLUSH_DOCUMENTS, SEGMENTS_PER_MERGE } from './chunk-
|
|
4
|
-
export { bindWorkerCopiesHost, createWorkerExecutor } from './chunk-
|
|
1
|
+
import { holdCopyPublication, copyGenerationOf, transferIndexToPool, executeRetained, loadIndexOntoWorkers } from './chunk-KFU4KW77.mjs';
|
|
2
|
+
export { emptySerializablePartition, loadIndexOntoWorkers, transferIndexToPool } from './chunk-KFU4KW77.mjs';
|
|
3
|
+
import { growPartitionsTo, isCompositePartition, createSharedFrozenSegment, loadStorageCode, resolvePartitionInsertOptions, buildSegmentPayloads, freezeSegmentShared, DEFAULT_COPY_THRESHOLD, workersEnabledByDefault, POOL_RESTART_DELAY_MS, createRequestId, mergeSegmentContents, freezeEncodedSegmentShared, SegmentRefusal, NO_REMOVED_SPELLINGS, DEFAULT_COPY_IDLE_TIMEOUT_MS, LONG_QUERY_THREADS, toError, isDeterministicFailure, workerIneligibility, reportIneligible, fnv1a, selectionKeeps, prepareDocumentVectors, MAX_PENDING_REPLICATION_DOCUMENTS, MAIN_COPY_LONE_QUERY_DOCUMENTS, returnsEveryMatch, oversampledFacetConfig, afterCurrentTurn, LOAD_BUFFER_YIELD_INTERVAL, yieldToEventLoop, IDLE_MERGE_DELAY_MS, alreadyPresentOnWorker, REPLICATION_WINDOW, RETIRED_THREADS_EXIT_WAIT_MS, eligibleIndexNames, createWorkerFactory, availablePatternSearch, patternHost, kWayMerge, mergeFacets, generateId, POOL_RESTART_DELAY_MAX_MS, COMPACTION_SEGMENT_TRIGGER, LIVE_TAIL_FREEZE_FLOOR, requireLoadedVectorCode, LIVE_TAIL_FLUSH_DOCUMENTS, SEGMENTS_PER_MERGE } from './chunk-K2KNE7W2.mjs';
|
|
4
|
+
export { bindWorkerCopiesHost, createWorkerExecutor } from './chunk-K2KNE7W2.mjs';
|
|
5
5
|
import './chunk-2CKDCC65.mjs';
|
|
6
6
|
import './chunk-AOYQTX6W.mjs';
|
|
7
7
|
import './chunk-GXCDWLQI.mjs';
|
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-K2KNE7W2.mjs';
|
|
2
2
|
import '../chunk-2CKDCC65.mjs';
|
|
3
3
|
import '../chunk-AOYQTX6W.mjs';
|
|
4
4
|
import '../chunk-GXCDWLQI.mjs';
|
|
@@ -32,9 +32,9 @@ async function importBootstrapModule(moduleUrl) {
|
|
|
32
32
|
await import(moduleUrl);
|
|
33
33
|
}
|
|
34
34
|
async function stopServingRequests() {
|
|
35
|
-
const { closeRequestThread } = await import('../thread-
|
|
35
|
+
const { closeRequestThread } = await import('../thread-LDS6OTXA.mjs');
|
|
36
36
|
closeRequestThread();
|
|
37
|
-
const { closeLongQueryThread } = await import('../long-query-thread-
|
|
37
|
+
const { closeLongQueryThread } = await import('../long-query-thread-DNQR25LY.mjs');
|
|
38
38
|
closeLongQueryThread();
|
|
39
39
|
}
|
|
40
40
|
function holdsCopies(executor) {
|
|
@@ -87,7 +87,7 @@ function createActionHandler(executor) {
|
|
|
87
87
|
if (!holdsCopies(executor)) {
|
|
88
88
|
throw new NarsilError(ErrorCodes.CONFIG_INVALID, "This executor holds no copies to answer requests from");
|
|
89
89
|
}
|
|
90
|
-
const starting = import('../thread-
|
|
90
|
+
const starting = import('../thread-LDS6OTXA.mjs').then(
|
|
91
91
|
({ serveRequests }) => serveRequests(executor, action.settings)
|
|
92
92
|
);
|
|
93
93
|
serving.start = starting.then(
|
|
@@ -104,7 +104,7 @@ function createActionHandler(executor) {
|
|
|
104
104
|
if (!holdsCopies(executor)) {
|
|
105
105
|
throw new NarsilError(ErrorCodes.CONFIG_INVALID, "This executor holds no copies to answer long queries from");
|
|
106
106
|
}
|
|
107
|
-
const { serveLongQueries } = await import('../long-query-thread-
|
|
107
|
+
const { serveLongQueries } = await import('../long-query-thread-DNQR25LY.mjs');
|
|
108
108
|
serveLongQueries(executor, action.settings);
|
|
109
109
|
servingRequests = true;
|
|
110
110
|
post(buildSuccessResponse(action.requestId, void 0));
|
|
@@ -152,8 +152,8 @@ async function setup() {
|
|
|
152
152
|
}
|
|
153
153
|
requireSearchBackendSettings();
|
|
154
154
|
const [{ createDirectExecutor }, { runQueryAction }] = await Promise.all([
|
|
155
|
-
import('../direct-executor-
|
|
156
|
-
import('../query-actions-
|
|
155
|
+
import('../direct-executor-7EROGEUZ.mjs'),
|
|
156
|
+
import('../query-actions-QCR7WPSV.mjs'),
|
|
157
157
|
loadVectorCode(),
|
|
158
158
|
loadGeoCode(),
|
|
159
159
|
importOptionalReads(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@delali/narsil",
|
|
3
|
-
"version": "0.3.1-next.
|
|
3
|
+
"version": "0.3.1-next.196",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Distributed search engine with full-text, vector, hybrid, and geosearch. One engine, embedded or on a server, with a cross-language .nrsl format.",
|
|
6
6
|
"author": "Delali (https://sondelali.com)",
|
|
@@ -653,9 +653,9 @@
|
|
|
653
653
|
}
|
|
654
654
|
},
|
|
655
655
|
"optionalDependencies": {
|
|
656
|
-
"@delali/narsil-native-linux-arm64": "0.3.1-next.
|
|
657
|
-
"@delali/narsil-native-linux-x64": "0.3.1-next.
|
|
658
|
-
"@delali/narsil-native-win32-arm64": "0.3.1-next.
|
|
659
|
-
"@delali/narsil-native-win32-x64": "0.3.1-next.
|
|
656
|
+
"@delali/narsil-native-linux-arm64": "0.3.1-next.196",
|
|
657
|
+
"@delali/narsil-native-linux-x64": "0.3.1-next.196",
|
|
658
|
+
"@delali/narsil-native-win32-arm64": "0.3.1-next.196",
|
|
659
|
+
"@delali/narsil-native-win32-x64": "0.3.1-next.196"
|
|
660
660
|
}
|
|
661
661
|
}
|