@delali/narsil 0.3.1-next.77 → 0.3.1-next.79
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/{chunk-HH6ALOUZ.mjs → chunk-55WEJKWT.mjs} +117 -17
- package/dist/{chunk-DFFQOA7S.mjs → chunk-DFW3U5UW.mjs} +134 -159
- package/dist/{chunk-V3B24XR7.mjs → chunk-IOZPBNSG.mjs} +2 -1
- package/dist/{chunk-D4EF7J3I.mjs → chunk-P2BEMMOD.mjs} +193 -58
- package/dist/{chunk-PXDY5VRT.mjs → chunk-PJWG547Z.mjs} +2 -2
- package/dist/{chunk-356UOTK2.mjs → chunk-PXDQFYD5.mjs} +7 -1
- package/dist/{chunk-G7IP3UDZ.mjs → chunk-R6WBLBTC.mjs} +45 -26
- package/dist/{chunk-PJU6EF22.mjs → chunk-RTR44V2A.mjs} +267 -108
- package/dist/{chunk-NO3ABFLE.mjs → chunk-WFVOBZS4.mjs} +2 -49
- package/dist/{chunk-BT62MUM5.mjs → chunk-XSZTF4ZQ.mjs} +1 -1
- package/dist/{chunk-BT6BI4GV.mjs → chunk-Z3BXCZXS.mjs} +1 -1
- package/dist/{direct-executor-Q7PNCGZB.mjs → direct-executor-WB2HKU4N.mjs} +6 -6
- package/dist/distribution.mjs +10 -10
- package/dist/index.browser.mjs +488 -260
- package/dist/index.mjs +9 -9
- package/dist/partial-words.mjs +3 -3
- package/dist/persistence/durability/checkpoint-worker.mjs +9 -9
- package/dist/server.mjs +6 -6
- package/dist/{thread-YOTNJEVY.mjs → thread-XBDVXKUE.mjs} +6 -6
- package/dist/workers/entry.mjs +3 -3
- package/package.json +7 -7
package/dist/index.mjs
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export { VERSION, createNarsil } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { VERSION, createNarsil } from './chunk-55WEJKWT.mjs';
|
|
2
|
+
import './chunk-R6WBLBTC.mjs';
|
|
3
3
|
import './chunk-GCM3JFVA.mjs';
|
|
4
|
-
import './chunk-
|
|
5
|
-
export { getStopWords, getTokenizer, hasStopWords, hasTokenizer, registerPartialWordSearch, registerStopWords, registerTokenizer } from './chunk-
|
|
6
|
-
export { registerPatternSearch } from './chunk-
|
|
4
|
+
import './chunk-XSZTF4ZQ.mjs';
|
|
5
|
+
export { getStopWords, getTokenizer, hasStopWords, hasTokenizer, registerPartialWordSearch, registerStopWords, registerTokenizer } from './chunk-DFW3U5UW.mjs';
|
|
6
|
+
export { registerPatternSearch } from './chunk-P2BEMMOD.mjs';
|
|
7
7
|
export { getLanguage, registerLanguage } from './chunk-4MQ5F4IL.mjs';
|
|
8
|
-
import './chunk-
|
|
8
|
+
import './chunk-IOZPBNSG.mjs';
|
|
9
9
|
import './chunk-TGP5M5R7.mjs';
|
|
10
10
|
export { isSimdAvailable } from './chunk-AMGDG4ZJ.mjs';
|
|
11
11
|
import './chunk-ZJ4CSAB2.mjs';
|
|
12
12
|
import './chunk-2E35UM3G.mjs';
|
|
13
13
|
import './chunk-4344I4MR.mjs';
|
|
14
|
-
import './chunk-
|
|
15
|
-
export { clearNormalizationCache, configureNormalizationCache, getNormalizationCacheSize, resetNormalizationCache } from './chunk-
|
|
16
|
-
import './chunk-
|
|
14
|
+
import './chunk-RTR44V2A.mjs';
|
|
15
|
+
export { clearNormalizationCache, configureNormalizationCache, getNormalizationCacheSize, resetNormalizationCache } from './chunk-WFVOBZS4.mjs';
|
|
16
|
+
import './chunk-PXDQFYD5.mjs';
|
|
17
17
|
import './chunk-KEHK2O6P.mjs';
|
|
18
18
|
import './chunk-GES7U2PM.mjs';
|
|
19
19
|
import './chunk-U2BKYEC7.mjs';
|
package/dist/partial-words.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { partialWordSearchModule } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
import { partialWordSearchModule } from './chunk-RTR44V2A.mjs';
|
|
2
|
+
import './chunk-WFVOBZS4.mjs';
|
|
3
|
+
import './chunk-PXDQFYD5.mjs';
|
|
4
4
|
import './chunk-KEHK2O6P.mjs';
|
|
5
5
|
import './chunk-GES7U2PM.mjs';
|
|
6
6
|
import './chunk-IBR6634K.mjs';
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { CHECKPOINT_WORKER_HEARTBEAT_MS, createDurableDirectory, writeCheckpointSegments, directoryCheckpointStore } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
import { CHECKPOINT_WORKER_HEARTBEAT_MS, createDurableDirectory, writeCheckpointSegments, directoryCheckpointStore } from '../../chunk-55WEJKWT.mjs';
|
|
2
|
+
import '../../chunk-R6WBLBTC.mjs';
|
|
3
3
|
import '../../chunk-GCM3JFVA.mjs';
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
6
|
-
import '../../chunk-
|
|
4
|
+
import '../../chunk-XSZTF4ZQ.mjs';
|
|
5
|
+
import '../../chunk-DFW3U5UW.mjs';
|
|
6
|
+
import '../../chunk-P2BEMMOD.mjs';
|
|
7
7
|
import '../../chunk-4MQ5F4IL.mjs';
|
|
8
|
-
import '../../chunk-
|
|
8
|
+
import '../../chunk-IOZPBNSG.mjs';
|
|
9
9
|
import '../../chunk-TGP5M5R7.mjs';
|
|
10
10
|
import '../../chunk-AMGDG4ZJ.mjs';
|
|
11
11
|
import '../../chunk-ZJ4CSAB2.mjs';
|
|
12
12
|
import '../../chunk-2E35UM3G.mjs';
|
|
13
13
|
import '../../chunk-4344I4MR.mjs';
|
|
14
|
-
import '../../chunk-
|
|
15
|
-
import '../../chunk-
|
|
16
|
-
import '../../chunk-
|
|
14
|
+
import '../../chunk-RTR44V2A.mjs';
|
|
15
|
+
import '../../chunk-WFVOBZS4.mjs';
|
|
16
|
+
import '../../chunk-PXDQFYD5.mjs';
|
|
17
17
|
import '../../chunk-KEHK2O6P.mjs';
|
|
18
18
|
import '../../chunk-GES7U2PM.mjs';
|
|
19
19
|
import '../../chunk-U2BKYEC7.mjs';
|
package/dist/server.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { DEFAULT_MAX_RETAINED_TASKS, loadUWebSockets, resolveCors, authorizerFor, createSharedGateBuffer, gateSlotOfWorker, createRouteRunner, corsHeaderReader, createSharedRequestGate, MAIN_THREAD_GATE_SLOT, registerServerRoutes, DEFAULT_MAX_CONCURRENT_TASKS, DEFAULT_MAX_TASK_PAGE_SIZE, DEFAULT_MAX_IMPORT_ERRORS, DEFAULT_MAX_FETCH_DOCUMENTS, DEFAULT_MAX_RESULT_WINDOW, DEFAULT_MAX_CONCURRENT_REQUESTS, DEFAULT_IMPORT_BATCH_SIZE, DEFAULT_MAX_LINE_BYTES, DEFAULT_MAX_RESTORE_BYTES, DEFAULT_MAX_IMPORT_BYTES, DEFAULT_MAX_BODY_BYTES, RUNNING_TASK_TTL_MS, DEFAULT_TASK_PAGE_SIZE, TERMINAL_TASK_TTL_MS, TASK_PROGRESS_WRITE_INTERVAL_MS, serializeNarsilError, createVersionHandler, acceptorOf, createDocumentReadHandlers, sendError, respondError, respondJson, MAX_INDEX_TOUCH_INTERVAL_MS, INDEX_TOUCH_INTERVALS_PER_IDLE_TIMEOUT, clearGateSlot, parseJson, validateCreateIndex, rejectInvalid, validateBatch, serializeBatchResult, validateDocumentBody, validateSuggest, validateQuery, refuseRegex, parseTaskListQuery, parseJsonOptional, validateRebalance, sendStream, SNAPSHOT_ARCHIVE_CONTENT_TYPE, DOCUMENT_EXPORT_CONTENT_TYPE, IMPORT_FLUSHES_IN_FLIGHT, badRequest, SERVER_CAPABILITIES, toHttpError, RELAY_STREAM_CHUNKS_IN_FLIGHT, MIN_UNBOUNDED_SERVER_LIMIT, MIN_COUNTED_SERVER_LIMIT } from './chunk-
|
|
2
|
-
export { ASYNC_IMPORT_CAPABILITY, DOCUMENT_EXPORT_CAPABILITY, INDEX_LIFECYCLE_CAPABILITY, REBUILD_ANALYSIS_CAPABILITY, SERVER_CAPABILITIES, TASK_CANCEL_CAPABILITY, TASK_FILTER_CAPABILITY, httpStatusForNarsilError } from './chunk-
|
|
3
|
-
import { validateIndexName } from './chunk-
|
|
4
|
-
import { engineCoreOf, providedDocId, resolveVectorText } from './chunk-
|
|
1
|
+
import { DEFAULT_MAX_RETAINED_TASKS, loadUWebSockets, resolveCors, authorizerFor, createSharedGateBuffer, gateSlotOfWorker, createRouteRunner, corsHeaderReader, createSharedRequestGate, MAIN_THREAD_GATE_SLOT, registerServerRoutes, DEFAULT_MAX_CONCURRENT_TASKS, DEFAULT_MAX_TASK_PAGE_SIZE, DEFAULT_MAX_IMPORT_ERRORS, DEFAULT_MAX_FETCH_DOCUMENTS, DEFAULT_MAX_RESULT_WINDOW, DEFAULT_MAX_CONCURRENT_REQUESTS, DEFAULT_IMPORT_BATCH_SIZE, DEFAULT_MAX_LINE_BYTES, DEFAULT_MAX_RESTORE_BYTES, DEFAULT_MAX_IMPORT_BYTES, DEFAULT_MAX_BODY_BYTES, RUNNING_TASK_TTL_MS, DEFAULT_TASK_PAGE_SIZE, TERMINAL_TASK_TTL_MS, TASK_PROGRESS_WRITE_INTERVAL_MS, serializeNarsilError, createVersionHandler, acceptorOf, createDocumentReadHandlers, sendError, respondError, respondJson, MAX_INDEX_TOUCH_INTERVAL_MS, INDEX_TOUCH_INTERVALS_PER_IDLE_TIMEOUT, clearGateSlot, parseJson, validateCreateIndex, rejectInvalid, validateBatch, serializeBatchResult, validateDocumentBody, validateSuggest, validateQuery, refuseRegex, parseTaskListQuery, parseJsonOptional, validateRebalance, sendStream, SNAPSHOT_ARCHIVE_CONTENT_TYPE, DOCUMENT_EXPORT_CONTENT_TYPE, IMPORT_FLUSHES_IN_FLIGHT, badRequest, SERVER_CAPABILITIES, toHttpError, RELAY_STREAM_CHUNKS_IN_FLIGHT, MIN_UNBOUNDED_SERVER_LIMIT, MIN_COUNTED_SERVER_LIMIT } from './chunk-Z3BXCZXS.mjs';
|
|
2
|
+
export { ASYNC_IMPORT_CAPABILITY, DOCUMENT_EXPORT_CAPABILITY, INDEX_LIFECYCLE_CAPABILITY, REBUILD_ANALYSIS_CAPABILITY, SERVER_CAPABILITIES, TASK_CANCEL_CAPABILITY, TASK_FILTER_CAPABILITY, httpStatusForNarsilError } from './chunk-Z3BXCZXS.mjs';
|
|
3
|
+
import { validateIndexName } from './chunk-PJWG547Z.mjs';
|
|
4
|
+
import { engineCoreOf, providedDocId, resolveVectorText } from './chunk-XSZTF4ZQ.mjs';
|
|
5
5
|
import { detectRuntime } from './chunk-4MQ5F4IL.mjs';
|
|
6
|
-
import './chunk-
|
|
6
|
+
import './chunk-IOZPBNSG.mjs';
|
|
7
7
|
import './chunk-TGP5M5R7.mjs';
|
|
8
8
|
import './chunk-2E35UM3G.mjs';
|
|
9
|
-
import './chunk-
|
|
9
|
+
import './chunk-PXDQFYD5.mjs';
|
|
10
10
|
import './chunk-KEHK2O6P.mjs';
|
|
11
11
|
import './chunk-U2BKYEC7.mjs';
|
|
12
12
|
import './chunk-IBR6634K.mjs';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { loadUWebSockets, childAppOf, createRouteRunner, corsHeaderReader, createSharedRequestGate, registerServerRoutes, sendRelayed, createDocumentReadHandlers, respondJson, SERVER_CAPABILITIES, versionReport, statusLine, sendError, serverRoutes, parseJson, validateSuggest, rejectInvalid, respondError, validateQuery, refuseRegex } from './chunk-
|
|
2
|
-
import { executeListDocuments, executeSuggest, executePreflight, queryBindingOf, executeQuery } from './chunk-
|
|
3
|
-
import { resolveProjection, projectionKeepsField, setNestedValue } from './chunk-
|
|
4
|
-
import './chunk-
|
|
1
|
+
import { loadUWebSockets, childAppOf, createRouteRunner, corsHeaderReader, createSharedRequestGate, registerServerRoutes, sendRelayed, createDocumentReadHandlers, respondJson, SERVER_CAPABILITIES, versionReport, statusLine, sendError, serverRoutes, parseJson, validateSuggest, rejectInvalid, respondError, validateQuery, refuseRegex } from './chunk-Z3BXCZXS.mjs';
|
|
2
|
+
import { executeListDocuments, executeSuggest, executePreflight, queryBindingOf, executeQuery } from './chunk-R6WBLBTC.mjs';
|
|
3
|
+
import { resolveProjection, projectionKeepsField, setNestedValue } from './chunk-P2BEMMOD.mjs';
|
|
4
|
+
import './chunk-IOZPBNSG.mjs';
|
|
5
5
|
import './chunk-ZJ4CSAB2.mjs';
|
|
6
6
|
import './chunk-2E35UM3G.mjs';
|
|
7
7
|
import './chunk-4344I4MR.mjs';
|
|
8
|
-
import './chunk-
|
|
9
|
-
import { extractVectorFieldsFromSchema } from './chunk-
|
|
8
|
+
import './chunk-WFVOBZS4.mjs';
|
|
9
|
+
import { extractVectorFieldsFromSchema } from './chunk-PXDQFYD5.mjs';
|
|
10
10
|
import './chunk-KEHK2O6P.mjs';
|
|
11
11
|
import './chunk-GES7U2PM.mjs';
|
|
12
12
|
import './chunk-IBR6634K.mjs';
|
package/dist/workers/entry.mjs
CHANGED
|
@@ -18,7 +18,7 @@ async function importBootstrapModule(moduleUrl) {
|
|
|
18
18
|
await import(moduleUrl);
|
|
19
19
|
}
|
|
20
20
|
async function stopServingRequests() {
|
|
21
|
-
const { closeRequestThread } = await import('../thread-
|
|
21
|
+
const { closeRequestThread } = await import('../thread-XBDVXKUE.mjs');
|
|
22
22
|
closeRequestThread();
|
|
23
23
|
}
|
|
24
24
|
function holdsCopies(executor) {
|
|
@@ -49,7 +49,7 @@ function createActionHandler(executor) {
|
|
|
49
49
|
if (!holdsCopies(executor)) {
|
|
50
50
|
throw new NarsilError(ErrorCodes.CONFIG_INVALID, "This executor holds no copies to answer requests from");
|
|
51
51
|
}
|
|
52
|
-
const starting = import('../thread-
|
|
52
|
+
const starting = import('../thread-XBDVXKUE.mjs').then(
|
|
53
53
|
({ serveRequests }) => serveRequests(executor, action.settings)
|
|
54
54
|
);
|
|
55
55
|
serving.start = starting.then(
|
|
@@ -102,7 +102,7 @@ async function setup() {
|
|
|
102
102
|
} catch {
|
|
103
103
|
parentPort = null;
|
|
104
104
|
}
|
|
105
|
-
const { createDirectExecutor } = await import('../direct-executor-
|
|
105
|
+
const { createDirectExecutor } = await import('../direct-executor-WB2HKU4N.mjs');
|
|
106
106
|
const handleAction = createActionHandler(createDirectExecutor({ threadSlot }));
|
|
107
107
|
if (parentPort) {
|
|
108
108
|
const port = parentPort;
|
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.79",
|
|
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)",
|
|
@@ -240,11 +240,11 @@
|
|
|
240
240
|
}
|
|
241
241
|
},
|
|
242
242
|
"optionalDependencies": {
|
|
243
|
-
"@delali/narsil-native-darwin-arm64": "0.3.1-next.
|
|
244
|
-
"@delali/narsil-native-darwin-x64": "0.3.1-next.
|
|
245
|
-
"@delali/narsil-native-linux-arm64": "0.3.1-next.
|
|
246
|
-
"@delali/narsil-native-linux-x64": "0.3.1-next.
|
|
247
|
-
"@delali/narsil-native-win32-arm64": "0.3.1-next.
|
|
248
|
-
"@delali/narsil-native-win32-x64": "0.3.1-next.
|
|
243
|
+
"@delali/narsil-native-darwin-arm64": "0.3.1-next.79",
|
|
244
|
+
"@delali/narsil-native-darwin-x64": "0.3.1-next.79",
|
|
245
|
+
"@delali/narsil-native-linux-arm64": "0.3.1-next.79",
|
|
246
|
+
"@delali/narsil-native-linux-x64": "0.3.1-next.79",
|
|
247
|
+
"@delali/narsil-native-win32-arm64": "0.3.1-next.79",
|
|
248
|
+
"@delali/narsil-native-win32-x64": "0.3.1-next.79"
|
|
249
249
|
}
|
|
250
250
|
}
|