@delali/narsil 0.3.1-next.193 → 0.3.1-next.195
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-UQG4HUGQ.mjs → chunk-UHJHOEMY.mjs} +14 -5
- package/dist/{chunk-GLXLSPLO.mjs → chunk-3Y3QYL6Q.mjs} +2 -2
- package/dist/{chunk-ZVZYJIIP.mjs → chunk-5IXLDFKK.mjs} +2 -2
- package/dist/{chunk-D2EJUM4A.mjs → chunk-5SLAXEVJ.mjs} +4 -4
- package/dist/{chunk-TSE2VWPX.mjs → chunk-5WN5TOPY.mjs} +1 -1
- package/dist/{chunk-K5GNK5GE.mjs → chunk-AH5J62FF.mjs} +2 -2
- package/dist/{chunk-HHYQMGPW.mjs → chunk-BBSLCYJM.mjs} +1 -1
- package/dist/{chunk-SMLUZGSI.mjs → chunk-DKTRJCPP.mjs} +3 -3
- package/dist/{chunk-FGOGT273.mjs → chunk-DU5HRFLQ.mjs} +2 -2
- package/dist/{chunk-HSA3H3VW.mjs → chunk-I2FKNCDS.mjs} +22 -13
- package/dist/{chunk-SIIDIGKI.mjs → chunk-KDLH3BWY.mjs} +1 -1
- package/dist/{chunk-PAPQGC6I.mjs → chunk-KRCP4W26.mjs} +1 -1
- package/dist/{chunk-SHES4VP5.mjs → chunk-KYVJPISW.mjs} +5 -5
- package/dist/{chunk-SB5HCIIO.mjs → chunk-MQMZ25D7.mjs} +2 -2
- package/dist/{chunk-YPEJ6ODL.mjs → chunk-OICMFLQF.mjs} +9 -9
- package/dist/{chunk-3N5GUXBI.mjs → chunk-P3JMBYEG.mjs} +2 -2
- package/dist/{chunk-5CIHQIA4.mjs → chunk-QIMI4O6R.mjs} +4 -4
- package/dist/{chunk-62X472AC.mjs → chunk-RWJQ3XU7.mjs} +1 -1
- package/dist/{chunk-JXINPXRS.mjs → chunk-UP5TJ3II.mjs} +1 -1
- package/dist/{chunk-2HVQYOOD.mjs → chunk-VPOPC7JA.mjs} +2 -2
- package/dist/{chunk-Z6SIJH5O.mjs → chunk-VSLFZDVA.mjs} +2 -2
- package/dist/{chunk-SM2SYVIX.mjs → chunk-WORMC6FN.mjs} +1 -1
- package/dist/{chunk-6MC6BCXK.mjs → chunk-Y3T4HQGT.mjs} +2 -2
- package/dist/{chunk-7X4IIREW.mjs → chunk-YYNLEWSP.mjs} +3 -3
- package/dist/{chunk-JENWA4WX.mjs → chunk-ZV25WJNK.mjs} +1 -1
- package/dist/{chunk-KOA6T2IC.mjs → chunk-ZVJPJZIP.mjs} +1 -1
- package/dist/{direct-executor-WSZALYCV.mjs → direct-executor-YDIA6FU5.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-N2DNPEA3.mjs → long-query-thread-4E6J6WME.mjs} +10 -10
- package/dist/{optional-writes-CGDBJBHQ.mjs → optional-writes-H6WO6E6B.mjs} +3 -3
- package/dist/{paged-partition-archive-UK44CVXG.mjs → paged-partition-archive-O3RUZ3II.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-7BL3YZDW.mjs → query-actions-UTAYIRGP.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-63DZ26X5.mjs → chunk-2S57X2ZY.mjs} +22 -13
- package/dist/react-native/chunks/{chunk-LOKGE4OQ.mjs → chunk-3OHO4SEF.mjs} +2 -2
- package/dist/react-native/chunks/{chunk-IP3QLETQ.mjs → chunk-5KRTKOH6.mjs} +1 -1
- package/dist/react-native/chunks/{chunk-UYAZLGEM.mjs → chunk-GJQIMGXT.mjs} +1 -1
- package/dist/react-native/chunks/{chunk-XHYOQ4K4.mjs → chunk-JZCEJO3N.mjs} +1 -1
- package/dist/react-native/chunks/{chunk-BNFGA7TY.mjs → chunk-UEBUWCYN.mjs} +1 -1
- package/dist/react-native/chunks/{optional-writes-GC6JWMAF.mjs → optional-writes-LG24CKDY.mjs} +2 -2
- package/dist/react-native/chunks/{restore-queue-2ACONS4W.mjs → restore-queue-6BL75XHS.mjs} +4 -4
- package/dist/react-native/chunks/{segment-codec-leaf-SSIWXVUG.mjs → segment-codec-leaf-OFY6JAIV.mjs} +2 -2
- package/dist/react-native/chunks/{segment-merge-leaf-I2WDFE6O.mjs → segment-merge-leaf-S2EGW7J7.mjs} +3 -3
- package/dist/react-native/chunks/{storage-leaf-YXXMG4VR.mjs → storage-leaf-SWCGMIES.mjs} +5 -5
- package/dist/react-native/chunks/{store-leaf-FS7A4PZA.mjs → store-leaf-PK2G37EL.mjs} +3 -3
- package/dist/react-native/chunks/{suggestions-leaf-PSFCT5EX.mjs → suggestions-leaf-MJXF4PPT.mjs} +3 -3
- package/dist/react-native/chunks/{worker-copies-QRMISMEL.mjs → worker-copies-PCLN3TVS.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-4GFC26FD.mjs → rerank-FQU2Z64X.mjs} +1 -1
- package/dist/{restore-queue-E4EIUYVV.mjs → restore-queue-4OM3MMJ7.mjs} +4 -4
- package/dist/{segment-codec-leaf-MP6DILVE.mjs → segment-codec-leaf-ZJL3UUED.mjs} +2 -2
- package/dist/{segment-merge-leaf-ED2NMUC5.mjs → segment-merge-leaf-VDQ7BLE7.mjs} +2 -2
- package/dist/server.mjs +15 -15
- package/dist/{storage-leaf-HQFO37W7.mjs → storage-leaf-7IYAULRJ.mjs} +18 -18
- package/dist/{store-leaf-PL2G7RM5.mjs → store-leaf-VI3FC46A.mjs} +3 -3
- package/dist/{suggestions-leaf-I3MEHACP.mjs → suggestions-leaf-YP3BMVLS.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-LTFI3RK5.mjs → thread-X36MGME4.mjs} +9 -9
- package/dist/{worker-copies-P7YWXEP5.mjs → worker-copies-R53BVAFV.mjs} +4 -4
- package/dist/workers/entry.mjs +7 -7
- package/package.json +5 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { buildSegmentPayloads, freezeSegmentShared, isValidWorkerResponse, createRequestId, mergeSegmentContents, freezeEncodedSegmentShared, toError, isDeterministicFailure, workerIneligibility, reportIneligible, selectionKeeps, alreadyPresentOnWorker, eligibleIndexNames } from './chunk-
|
|
2
|
-
import { growPartitionsTo, isCompositePartition, createSharedFrozenSegment, loadStorageCode, resolvePartitionInsertOptions, DEFAULT_COPY_THRESHOLD, workersEnabledByDefault, POOL_RESTART_DELAY_MS, SegmentRefusal, NO_REMOVED_SPELLINGS, DEFAULT_COPY_IDLE_TIMEOUT_MS, LONG_QUERY_THREADS, prepareDocumentVectors, MAX_PENDING_REPLICATION_DOCUMENTS, MAIN_COPY_LONE_QUERY_DOCUMENTS, returnsEveryMatch, oversampledFacetConfig, afterCurrentTurn, LOAD_BUFFER_YIELD_INTERVAL, yieldToEventLoop, IDLE_MERGE_DELAY_MS, REPLICATION_WINDOW, RETIRED_THREADS_EXIT_WAIT_MS, createWorkerFactory, availablePatternSearch, patternHost, kWayMerge, mergeFacets, generateId, encodeSegmentState, POOL_RESTART_DELAY_MAX_MS, COMPACTION_SEGMENT_TRIGGER, LIVE_TAIL_FREEZE_FLOOR, requireLoadedVectorCode, LIVE_TAIL_FLUSH_DOCUMENTS, SEGMENTS_PER_MERGE } from './chunk-
|
|
1
|
+
import { buildSegmentPayloads, freezeSegmentShared, isValidWorkerResponse, createRequestId, mergeSegmentContents, freezeEncodedSegmentShared, toError, isDeterministicFailure, workerIneligibility, reportIneligible, selectionKeeps, alreadyPresentOnWorker, eligibleIndexNames } from './chunk-5KRTKOH6.mjs';
|
|
2
|
+
import { growPartitionsTo, isCompositePartition, createSharedFrozenSegment, loadStorageCode, resolvePartitionInsertOptions, DEFAULT_COPY_THRESHOLD, workersEnabledByDefault, POOL_RESTART_DELAY_MS, SegmentRefusal, NO_REMOVED_SPELLINGS, DEFAULT_COPY_IDLE_TIMEOUT_MS, LONG_QUERY_THREADS, prepareDocumentVectors, MAX_PENDING_REPLICATION_DOCUMENTS, MAIN_COPY_LONE_QUERY_DOCUMENTS, returnsEveryMatch, oversampledFacetConfig, afterCurrentTurn, LOAD_BUFFER_YIELD_INTERVAL, yieldToEventLoop, IDLE_MERGE_DELAY_MS, REPLICATION_WINDOW, RETIRED_THREADS_EXIT_WAIT_MS, createWorkerFactory, availablePatternSearch, patternHost, kWayMerge, mergeFacets, generateId, encodeSegmentState, POOL_RESTART_DELAY_MAX_MS, COMPACTION_SEGMENT_TRIGGER, LIVE_TAIL_FREEZE_FLOOR, requireLoadedVectorCode, LIVE_TAIL_FLUSH_DOCUMENTS, SEGMENTS_PER_MERGE } from './chunk-2S57X2ZY.mjs';
|
|
3
3
|
import './chunk-AN4HKLB4.mjs';
|
|
4
4
|
import { resolveWorkerCount, DEFAULT_BACKPRESSURE_LIMIT, DEFAULT_REQUEST_TIMEOUT_MS, splitWorkerBudget, SHUTDOWN_TIMEOUT_MS, resolveRequestThreadCount, CONSECUTIVE_TIMEOUTS_BEFORE_DEATH, fnv1a, noteThreadSlotGone, threadSlotOfWorker } from './chunk-G434H5WG.mjs';
|
|
5
5
|
import { MAX_SWEEP_INTERVAL_MS, MIN_SWEEP_INTERVAL_MS } from './chunk-LX62Y4B5.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { spellingCountsOf, encodePartialSpellings, countSpelling, SurfaceTable, SURFACE_TABLE_START_CAPACITY, StringPlan, SegmentRefusal, reserveStrings, grownCapacity, PARTIAL_WORD_RUN_CODE_POINTS, encodeStringBlob, sameFields, countDocumentSpellings, tokenize, GROWING_PARTIAL_ENTRY_BYTES, GROWING_PARTIAL_RUN_BYTES, GROWING_PARTIAL_RUN_MEMBER_BYTES, GROWING_PARTIAL_PENDING_ENTRY_BYTES, RUN_TABLE_START_CAPACITY, TERM_REGION_GROWTH_FACTOR, RUN_MEMBER_START_CAPACITY, SLICE_CAPACITIES, TERM_SLOT_LOAD_DENOMINATOR, TERM_SLOT_LOAD_NUMERATOR, PoolPlan, requireRoom, releaseRange, requireSegment, termText, partitionDocumentFrequency, visitDocumentSpellings, visitDocumentSurfaceSpellings, resolveStopWords, transformToken, expansionSource, liveFrequency, codePointCountOf, GROWING_PARTIAL_PENDING_ENTRIES_PER_ENTRY, typedRegion, regionsOverlap, mergeText } from './chunks/chunk-
|
|
1
|
+
import { spellingCountsOf, encodePartialSpellings, countSpelling, SurfaceTable, SURFACE_TABLE_START_CAPACITY, StringPlan, SegmentRefusal, reserveStrings, grownCapacity, PARTIAL_WORD_RUN_CODE_POINTS, encodeStringBlob, sameFields, countDocumentSpellings, tokenize, GROWING_PARTIAL_ENTRY_BYTES, GROWING_PARTIAL_RUN_BYTES, GROWING_PARTIAL_RUN_MEMBER_BYTES, GROWING_PARTIAL_PENDING_ENTRY_BYTES, RUN_TABLE_START_CAPACITY, TERM_REGION_GROWTH_FACTOR, RUN_MEMBER_START_CAPACITY, SLICE_CAPACITIES, TERM_SLOT_LOAD_DENOMINATOR, TERM_SLOT_LOAD_NUMERATOR, PoolPlan, requireRoom, releaseRange, requireSegment, termText, partitionDocumentFrequency, visitDocumentSpellings, visitDocumentSurfaceSpellings, resolveStopWords, transformToken, expansionSource, liveFrequency, codePointCountOf, GROWING_PARTIAL_PENDING_ENTRIES_PER_ENTRY, typedRegion, regionsOverlap, mergeText } from './chunks/chunk-2S57X2ZY.mjs';
|
|
2
2
|
import './chunks/chunk-AN4HKLB4.mjs';
|
|
3
3
|
import { FNV_OFFSET_BASIS, FNV_PRIME } from './chunks/chunk-G434H5WG.mjs';
|
|
4
4
|
import { PARTIAL_WORD_MIN_CODE_POINTS, PARTIAL_WORDS_ADDED_PER_QUERY, DEFAULT_FUZZY_PREFIX_LENGTH } from './chunks/chunk-LX62Y4B5.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { engineCoreOf, loadSuggestionsCode, GROUP_PATTERN_SOURCE, GROUP_FORMAT, SUGGESTIONS_INDEX_INFIX } from './chunks/chunk-
|
|
1
|
+
import { engineCoreOf, loadSuggestionsCode, GROUP_PATTERN_SOURCE, GROUP_FORMAT, SUGGESTIONS_INDEX_INFIX } from './chunks/chunk-2S57X2ZY.mjs';
|
|
2
2
|
import './chunks/chunk-AN4HKLB4.mjs';
|
|
3
3
|
import './chunks/chunk-G434H5WG.mjs';
|
|
4
4
|
import './chunks/chunk-LX62Y4B5.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isSyncEpoch, hasLanguage, hasTokenizer, hasStopWords, readHeapStatistics, loadStorageCode, getLanguage } from './chunks/chunk-
|
|
1
|
+
import { isSyncEpoch, hasLanguage, hasTokenizer, hasStopWords, readHeapStatistics, loadStorageCode, getLanguage } from './chunks/chunk-2S57X2ZY.mjs';
|
|
2
2
|
import './chunks/chunk-AN4HKLB4.mjs';
|
|
3
3
|
import './chunks/chunk-G434H5WG.mjs';
|
|
4
4
|
import './chunks/chunk-LX62Y4B5.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { withOpenIndex, oneAtATime, resolveIndexAnalysis, loadStorageCode, emitSyncChange, encodeStringBlob, tokenize, typedRegion, regionsOverlap, encodeLookupKey } from './chunks/chunk-
|
|
1
|
+
import { withOpenIndex, oneAtATime, resolveIndexAnalysis, loadStorageCode, emitSyncChange, encodeStringBlob, tokenize, typedRegion, regionsOverlap, encodeLookupKey } from './chunks/chunk-2S57X2ZY.mjs';
|
|
2
2
|
import './chunks/chunk-AN4HKLB4.mjs';
|
|
3
3
|
import './chunks/chunk-G434H5WG.mjs';
|
|
4
4
|
import './chunks/chunk-LX62Y4B5.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { installSuggestionHooks, RestoredHistory, clearLeftoversOfName } from './chunk-
|
|
2
|
-
export { startQuerySuggestions } from './chunk-
|
|
3
|
-
import { attachedRuntimeOf, withState, unionOfBans, BUILD_WRITE_BATCH } from './chunk-
|
|
4
|
-
import { loadStorageCode, loadOptionalWrites, emitEngineEvent, removeDocumentBatch2 } from './chunk-
|
|
1
|
+
import { installSuggestionHooks, RestoredHistory, clearLeftoversOfName } from './chunk-Y3T4HQGT.mjs';
|
|
2
|
+
export { startQuerySuggestions } from './chunk-Y3T4HQGT.mjs';
|
|
3
|
+
import { attachedRuntimeOf, withState, unionOfBans, BUILD_WRITE_BATCH } from './chunk-ZVJPJZIP.mjs';
|
|
4
|
+
import { loadStorageCode, loadOptionalWrites, emitEngineEvent, removeDocumentBatch2 } from './chunk-I2FKNCDS.mjs';
|
|
5
5
|
import './chunk-2CKDCC65.mjs';
|
|
6
6
|
import './chunk-AOYQTX6W.mjs';
|
|
7
7
|
import './chunk-GXCDWLQI.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { DEFAULT_WRITE_AHEAD_QUEUE_MAX_SIZE, REBALANCE_CHUNK_SIZE, rebuildTextIndexes, rewriteSpillOf, textRebuildTargetOf } from './chunk-
|
|
2
|
-
export { bindSegmentCodecHost, createEncodedDocumentSource, createSharedFrozenSegment, decodeEveryStoredDocument, decodeMapWithoutFields, decodeStoredDocument, encodeDocumentTableData, endOfValue, reconstructSchemaFromMetadata, storedDocumentsOf, topLevelMapKeys } from './chunk-
|
|
1
|
+
export { DEFAULT_WRITE_AHEAD_QUEUE_MAX_SIZE, REBALANCE_CHUNK_SIZE, rebuildTextIndexes, rewriteSpillOf, textRebuildTargetOf } from './chunk-RWJQ3XU7.mjs';
|
|
2
|
+
export { bindSegmentCodecHost, createEncodedDocumentSource, createSharedFrozenSegment, decodeEveryStoredDocument, decodeMapWithoutFields, decodeStoredDocument, encodeDocumentTableData, endOfValue, reconstructSchemaFromMetadata, storedDocumentsOf, topLevelMapKeys } from './chunk-I2FKNCDS.mjs';
|
|
3
3
|
import './chunk-2CKDCC65.mjs';
|
|
4
4
|
import './chunk-AOYQTX6W.mjs';
|
|
5
5
|
import './chunk-GXCDWLQI.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { deserializePartition, serializePartition } from './chunk-
|
|
2
|
-
export { alreadyPresentOnWorker, bindSegmentMergeHost, buildSegmentPayloads, createRequestId, eligibleIndexNames, fieldIndexRemapOf, freezeEncodedSegmentShared, freezeSegmentShared, holdsADiscardedField, isDeterministicFailure, isValidWorkerResponse, mergeFieldIndexes, mergePostings, mergeSegmentContents, mergeSourceSpellings, mergeSourceSurfaces, mergedPartialSpellings, reportIneligible, segmentArraysOf, selectionKeeps, shareSegmentArrays, toError, workerIneligibility } from './chunk-
|
|
1
|
+
export { deserializePartition, serializePartition } from './chunk-KDLH3BWY.mjs';
|
|
2
|
+
export { alreadyPresentOnWorker, bindSegmentMergeHost, buildSegmentPayloads, createRequestId, eligibleIndexNames, fieldIndexRemapOf, freezeEncodedSegmentShared, freezeSegmentShared, holdsADiscardedField, isDeterministicFailure, isValidWorkerResponse, mergeFieldIndexes, mergePostings, mergeSegmentContents, mergeSourceSpellings, mergeSourceSurfaces, mergedPartialSpellings, reportIneligible, segmentArraysOf, selectionKeeps, shareSegmentArrays, toError, workerIneligibility } from './chunk-I2FKNCDS.mjs';
|
|
3
3
|
import './chunk-2CKDCC65.mjs';
|
|
4
4
|
import './chunk-AOYQTX6W.mjs';
|
|
5
5
|
import './chunk-GXCDWLQI.mjs';
|
package/dist/server.mjs
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { answerRequest } from './chunk-
|
|
1
|
+
import { answerRequest } from './chunk-ZV25WJNK.mjs';
|
|
2
2
|
import { resolveVectorText } from './chunk-NJJN4FMM.mjs';
|
|
3
|
-
import { DEFAULT_MAX_RETAINED_TASKS, loadUWebSockets, registerFeedRoute, SYNC_FEED_ROUTE, CHANGES_FEED_ROUTE, resolveCors, authorizerFor, createSharedGateBuffer, gateSlotOfWorker, createBodyBudgetBuffer, createRouteRunner, corsHeaderReader, createSharedBodyBudget, MAIN_THREAD_GATE_SLOT, createSharedRequestGate, 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, DEFAULT_MAX_RERANK_WINDOW, DEFAULT_MAX_BODY_BYTES_IN_FLIGHT_FRACTION, RUNNING_TASK_TTL_MS, DEFAULT_TASK_PAGE_SIZE, TERMINAL_TASK_TTL_MS, TASK_PROGRESS_WRITE_INTERVAL_MS, serializeNarsilError, createVersionHandler, createSyncSnapshotHandler, acceptorOf, MAX_BODY_BYTES_IN_FLIGHT_FRACTION, createDocumentReadHandlers, sendError, respondError, respondJson, sendText, PROMETHEUS_TEXT_CONTENT_TYPE, MAX_INDEX_TOUCH_INTERVAL_MS, INDEX_TOUCH_INTERVALS_PER_IDLE_TIMEOUT, closeEveryThreadAtExit, REQUEST_THREAD_CLOSE_AT_EXIT_MS, clearGateSlot, clearBodyBudgetSlot, createCloseAtExitWords, createDepartureWord, departureConfirmed, refusedRegex, toHttpError, parseJson, validateCreateIndex, rejectInvalid, isRemoveOnlyBatch, validateBatch, serializeBatchResult, parseWriteJson, validateDocumentBody, validateSuggest, validateQuery, refuseRegex, requestSignal, withServerRerankWindow, respondAnswer, encodeQueryResult, parseTaskListQuery, parseJsonOptional, validateChangeAnalysis, validateRebalance, badRequest, sendStream, SNAPSHOT_ARCHIVE_CONTENT_TYPE, DOCUMENT_EXPORT_CONTENT_TYPE, respondPreparingError, parseRefusalOf, IMPORT_FLUSHES_IN_FLIGHT, confirmDeparture, isThreadFeedNote, SERVER_CAPABILITIES, MIN_UNBOUNDED_SERVER_LIMIT, MIN_COUNTED_SERVER_LIMIT } from './chunk-
|
|
4
|
-
export { ASYNC_IMPORT_CAPABILITY, BM25_TUNING_CAPABILITY, CHANGE_ANALYSIS_CAPABILITY, DOCUMENT_EXPORT_CAPABILITY, INDEX_LIFECYCLE_CAPABILITY, REBUILD_ANALYSIS_CAPABILITY, SERVER_CAPABILITIES, SYNONYMS_CAPABILITY, TASK_CANCEL_CAPABILITY, TASK_FILTER_CAPABILITY, httpStatusForNarsilError } from './chunk-
|
|
5
|
-
import { startSyncRetentionSweep, publishedSyncSnapshot, publishedArchiveLayout } from './chunk-
|
|
3
|
+
import { DEFAULT_MAX_RETAINED_TASKS, loadUWebSockets, registerFeedRoute, SYNC_FEED_ROUTE, CHANGES_FEED_ROUTE, resolveCors, authorizerFor, createSharedGateBuffer, gateSlotOfWorker, createBodyBudgetBuffer, createRouteRunner, corsHeaderReader, createSharedBodyBudget, MAIN_THREAD_GATE_SLOT, createSharedRequestGate, 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, DEFAULT_MAX_RERANK_WINDOW, DEFAULT_MAX_BODY_BYTES_IN_FLIGHT_FRACTION, RUNNING_TASK_TTL_MS, DEFAULT_TASK_PAGE_SIZE, TERMINAL_TASK_TTL_MS, TASK_PROGRESS_WRITE_INTERVAL_MS, serializeNarsilError, createVersionHandler, createSyncSnapshotHandler, acceptorOf, MAX_BODY_BYTES_IN_FLIGHT_FRACTION, createDocumentReadHandlers, sendError, respondError, respondJson, sendText, PROMETHEUS_TEXT_CONTENT_TYPE, MAX_INDEX_TOUCH_INTERVAL_MS, INDEX_TOUCH_INTERVALS_PER_IDLE_TIMEOUT, closeEveryThreadAtExit, REQUEST_THREAD_CLOSE_AT_EXIT_MS, clearGateSlot, clearBodyBudgetSlot, createCloseAtExitWords, createDepartureWord, departureConfirmed, refusedRegex, toHttpError, parseJson, validateCreateIndex, rejectInvalid, isRemoveOnlyBatch, validateBatch, serializeBatchResult, parseWriteJson, validateDocumentBody, validateSuggest, validateQuery, refuseRegex, requestSignal, withServerRerankWindow, respondAnswer, encodeQueryResult, parseTaskListQuery, parseJsonOptional, validateChangeAnalysis, validateRebalance, badRequest, sendStream, SNAPSHOT_ARCHIVE_CONTENT_TYPE, DOCUMENT_EXPORT_CONTENT_TYPE, respondPreparingError, parseRefusalOf, IMPORT_FLUSHES_IN_FLIGHT, confirmDeparture, isThreadFeedNote, SERVER_CAPABILITIES, MIN_UNBOUNDED_SERVER_LIMIT, MIN_COUNTED_SERVER_LIMIT } from './chunk-YYNLEWSP.mjs';
|
|
4
|
+
export { ASYNC_IMPORT_CAPABILITY, BM25_TUNING_CAPABILITY, CHANGE_ANALYSIS_CAPABILITY, DOCUMENT_EXPORT_CAPABILITY, INDEX_LIFECYCLE_CAPABILITY, REBUILD_ANALYSIS_CAPABILITY, SERVER_CAPABILITIES, SYNONYMS_CAPABILITY, TASK_CANCEL_CAPABILITY, TASK_FILTER_CAPABILITY, httpStatusForNarsilError } from './chunk-YYNLEWSP.mjs';
|
|
5
|
+
import { startSyncRetentionSweep, publishedSyncSnapshot, publishedArchiveLayout } from './chunk-KYVJPISW.mjs';
|
|
6
6
|
import { SYNC_CLOSE_RESYNC, SYNC_CLOSE_CREDENTIAL_EXPIRED, SYNC_CLOSE_POLICY, MAX_DEVICE_MESSAGE_BYTES, SYNC_CLOSE_TOO_LARGE, deviceMessageOf, SYNC_CLOSE_SERVER_ERROR, positionList, positionsByPartition, CHANGES_CLOSE_RESYNC, CHANGES_CLOSE_POLICY, MAX_SUBSCRIBER_MESSAGE_BYTES, CHANGES_CLOSE_TOO_LARGE, closeReasonOf, CHANGES_CLOSE_CREDENTIAL_EXPIRED, CHANGES_CLOSE_SETTING, CHANGES_CLOSE_SERVER_ERROR, CHANGES_CLOSE_GOING_AWAY, SYNC_CLOSE_GOING_AWAY } from './chunk-F6F4G322.mjs';
|
|
7
|
-
import { syncServingSourceOf, changesServingSourceOf, writeBlockLookupOf, indexReadsOf, validateBackupName, readRestorePlacement } from './chunk-
|
|
8
|
-
import { isRecord, validateIndexName } from './chunk-
|
|
9
|
-
import './chunk-
|
|
10
|
-
import { engineChangeSource, createSemaphore, createByteBudget, changesNotEnabled, subscriberMessageOf, ChangeCursor, changePositionList, seqNosByPartition } from './chunk-
|
|
7
|
+
import { syncServingSourceOf, changesServingSourceOf, writeBlockLookupOf, indexReadsOf, validateBackupName, readRestorePlacement } from './chunk-3Y3QYL6Q.mjs';
|
|
8
|
+
import { isRecord, validateIndexName } from './chunk-VPOPC7JA.mjs';
|
|
9
|
+
import './chunk-UP5TJ3II.mjs';
|
|
10
|
+
import { engineChangeSource, createSemaphore, createByteBudget, changesNotEnabled, subscriberMessageOf, ChangeCursor, changePositionList, seqNosByPartition } from './chunk-AH5J62FF.mjs';
|
|
11
11
|
import './chunk-M2Z5WVWW.mjs';
|
|
12
|
-
import { DEFAULT_MAX_FEED_BUFFERED_BYTES, DEFAULT_MAX_FEED_CATCH_UPS, DEFAULT_MAX_FEED_CONNECTIONS, DEFAULT_FEED_WINDOW_BYTES, estimatedArchiveBytes, TIMER_DELAY_LIMIT_MS, FEED_HEAD_RETRY_MS, ENTRIES_MESSAGE_LIMIT_BYTES } from './chunk-
|
|
12
|
+
import { DEFAULT_MAX_FEED_BUFFERED_BYTES, DEFAULT_MAX_FEED_CATCH_UPS, DEFAULT_MAX_FEED_CONNECTIONS, DEFAULT_FEED_WINDOW_BYTES, estimatedArchiveBytes, TIMER_DELAY_LIMIT_MS, FEED_HEAD_RETRY_MS, ENTRIES_MESSAGE_LIMIT_BYTES } from './chunk-VSLFZDVA.mjs';
|
|
13
13
|
import './chunk-JDDXV6UF.mjs';
|
|
14
|
-
import { manifestFileRefs } from './chunk-
|
|
14
|
+
import { manifestFileRefs } from './chunk-5WN5TOPY.mjs';
|
|
15
15
|
import './chunk-MSIN4NM3.mjs';
|
|
16
16
|
import { encode as encode$1 } from './chunk-S5QMWECL.mjs';
|
|
17
17
|
import './chunk-LNGE7SLY.mjs';
|
|
18
18
|
import './chunk-R2PJKSNL.mjs';
|
|
19
|
-
import './chunk-
|
|
20
|
-
import './chunk-
|
|
19
|
+
import './chunk-RWJQ3XU7.mjs';
|
|
20
|
+
import './chunk-KDLH3BWY.mjs';
|
|
21
21
|
import './chunk-KBU3ZFJN.mjs';
|
|
22
22
|
import './chunk-V6EUBAIT.mjs';
|
|
23
|
-
import './chunk-
|
|
24
|
-
import { querySuggestions } from './chunk-
|
|
23
|
+
import './chunk-ZVJPJZIP.mjs';
|
|
24
|
+
import { querySuggestions } from './chunk-KRCP4W26.mjs';
|
|
25
25
|
import './chunk-S2POFTLN.mjs';
|
|
26
|
-
import { rerankWindowCapOf, engineCoreOf, readMemoryFigures, listenForSyncChanges, MAX_RERANK_WINDOW, bindQuerySignal, clearQuerySignal, providedDocId, loadRerankRuntime, rulesOfStoredSynonyms } from './chunk-
|
|
26
|
+
import { rerankWindowCapOf, engineCoreOf, readMemoryFigures, listenForSyncChanges, MAX_RERANK_WINDOW, bindQuerySignal, clearQuerySignal, providedDocId, loadRerankRuntime, rulesOfStoredSynonyms } from './chunk-I2FKNCDS.mjs';
|
|
27
27
|
import './chunk-2CKDCC65.mjs';
|
|
28
28
|
import './chunk-AOYQTX6W.mjs';
|
|
29
29
|
import { decode } from './chunk-GXCDWLQI.mjs';
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { scheduleSyncRetention, createDirectoryWatch, unrefInterval, LOG_READ_CHUNK_BYTES } from './chunk-
|
|
2
|
-
export { scheduleSyncRetention, startSyncRetentionSweep } from './chunk-
|
|
3
|
-
import { buildArchiveFromMemory, indexMetadataOf, archiveStream, createByteReader, documentExportStream, requireRestoreMemory, memoryCheckpointStore, admitDurableWrite, metadataConfigOf, durableMetadataConfigOf, unpackIndexSnapshotEnvelope, nestedSchemaOf, earlierSnapshotFootprint, writeArchiveFile, storedBytesOfSegments, archiveFootprint, loadSegmentedCheckpoint, createIndexLoads, closePartitionWriter, switchInTurn, writeMetadataEnvelope, listPersistedIndexes, removeLeftoverRewriteFiles, requireSavedPartitionCount, createDetachedIndex, requireCheckpointLayout, holdScheduledCheckpoint, checkpointInTurn, deserializePayloadV1, SINGLE_NODE_PRIMARY_TERM, readCurrentManifest, drainIndexStateForUnload, readSegmentManifest, readMetadataEnvelope, snapshotCheckpointFor, whileGraphsStayComplete, captureAppliedPrefix, createSeqOwner, loadMetadata, reclaimUnlistedKeys, writeLiveVectors, dropStoredVectorValues, requiresLayoutCheckpoint, transitionKey, readTransition, invalidTransition, unpackEnvelopeBytes, replayWal, sanitizeSurfaceForms, patternIndexesFromWire, replayWalUpTo, createRebalancer, highestPartitionIdOf, growPartitionsTo, createMarkerWriter, metadataFromConfig, metadataPartitionCount } from './chunk-
|
|
4
|
-
export { DOCUMENT_EXPORT_FORMAT, DOCUMENT_EXPORT_VERSION, abandonAnalysisChange, adoptSavedAnalysis, buildHeldAnalysisChange, changeIndexAnalysis, changesOf, createByteReader, documentExportStream, dropHeldAnalysisChange, executeRebalance, followIndexChanges, heldAnalysisIsBuilt, holdsNamedSettings, openFileVectorReads, pagedPartitionLines, readDocumentExport, releaseHeldAnalysisChange, requireSavedPartitionCount, resumeAnalysisChange, stampAnalysisGeneration, startReadingOpeningSectionsAhead, targetOfPending, transitionWalLayout, updateChangesOf } from './chunk-
|
|
5
|
-
import { readVectorFile, readGraphParts, VECTOR_FILE_ENVELOPE_VERSION } from './chunk-
|
|
6
|
-
export { loadFilesByParts, openColdVectorField, waitBeforeColdLoad } from './chunk-
|
|
7
|
-
import { MAX_SNAPSHOT_ANALYSIS_ATTEMPTS, encodeIndexConfiguration, indexConfigurationOf, updateIndexSync, decodeIndexConfiguration } from './chunk-
|
|
8
|
-
export { decodeIndexConfiguration, encodeIndexConfiguration, holdRenewedSyncEpoch, indexConfigurationOf, persistEpochStates, requireNoQuerySuggestions, requireSyncSetting, syncStorageOf, updateIndexSync } from './chunk-
|
|
1
|
+
import { scheduleSyncRetention, createDirectoryWatch, unrefInterval, LOG_READ_CHUNK_BYTES } from './chunk-KYVJPISW.mjs';
|
|
2
|
+
export { scheduleSyncRetention, startSyncRetentionSweep } from './chunk-KYVJPISW.mjs';
|
|
3
|
+
import { buildArchiveFromMemory, indexMetadataOf, archiveStream, createByteReader, documentExportStream, requireRestoreMemory, memoryCheckpointStore, admitDurableWrite, metadataConfigOf, durableMetadataConfigOf, unpackIndexSnapshotEnvelope, nestedSchemaOf, earlierSnapshotFootprint, writeArchiveFile, storedBytesOfSegments, archiveFootprint, loadSegmentedCheckpoint, createIndexLoads, closePartitionWriter, switchInTurn, writeMetadataEnvelope, listPersistedIndexes, removeLeftoverRewriteFiles, requireSavedPartitionCount, createDetachedIndex, requireCheckpointLayout, holdScheduledCheckpoint, checkpointInTurn, deserializePayloadV1, SINGLE_NODE_PRIMARY_TERM, readCurrentManifest, drainIndexStateForUnload, readSegmentManifest, readMetadataEnvelope, snapshotCheckpointFor, whileGraphsStayComplete, captureAppliedPrefix, createSeqOwner, loadMetadata, reclaimUnlistedKeys, writeLiveVectors, dropStoredVectorValues, requiresLayoutCheckpoint, transitionKey, readTransition, invalidTransition, unpackEnvelopeBytes, replayWal, sanitizeSurfaceForms, patternIndexesFromWire, replayWalUpTo, createRebalancer, highestPartitionIdOf, growPartitionsTo, createMarkerWriter, metadataFromConfig, metadataPartitionCount } from './chunk-OICMFLQF.mjs';
|
|
4
|
+
export { DOCUMENT_EXPORT_FORMAT, DOCUMENT_EXPORT_VERSION, abandonAnalysisChange, adoptSavedAnalysis, buildHeldAnalysisChange, changeIndexAnalysis, changesOf, createByteReader, documentExportStream, dropHeldAnalysisChange, executeRebalance, followIndexChanges, heldAnalysisIsBuilt, holdsNamedSettings, openFileVectorReads, pagedPartitionLines, readDocumentExport, releaseHeldAnalysisChange, requireSavedPartitionCount, resumeAnalysisChange, stampAnalysisGeneration, startReadingOpeningSectionsAhead, targetOfPending, transitionWalLayout, updateChangesOf } from './chunk-OICMFLQF.mjs';
|
|
5
|
+
import { readVectorFile, readGraphParts, VECTOR_FILE_ENVELOPE_VERSION } from './chunk-DKTRJCPP.mjs';
|
|
6
|
+
export { loadFilesByParts, openColdVectorField, waitBeforeColdLoad } from './chunk-DKTRJCPP.mjs';
|
|
7
|
+
import { MAX_SNAPSHOT_ANALYSIS_ATTEMPTS, encodeIndexConfiguration, indexConfigurationOf, updateIndexSync, decodeIndexConfiguration } from './chunk-AH5J62FF.mjs';
|
|
8
|
+
export { decodeIndexConfiguration, encodeIndexConfiguration, holdRenewedSyncEpoch, indexConfigurationOf, persistEpochStates, requireNoQuerySuggestions, requireSyncSetting, syncStorageOf, updateIndexSync } from './chunk-AH5J62FF.mjs';
|
|
9
9
|
import { restoredConfigFields, restoredEmbedding, rejectSnapshot } from './chunk-M2Z5WVWW.mjs';
|
|
10
|
-
import { readSnapshotArchive, decodeSegmentManifest, isRecord, invalidManifest, isId, isUint32, isSequenceNumber } from './chunk-
|
|
11
|
-
export { readSnapshotArchive } from './chunk-
|
|
10
|
+
import { readSnapshotArchive, decodeSegmentManifest, isRecord, invalidManifest, isId, isUint32, isSequenceNumber } from './chunk-VSLFZDVA.mjs';
|
|
11
|
+
export { readSnapshotArchive } from './chunk-VSLFZDVA.mjs';
|
|
12
12
|
import { createDurableDirectory } from './chunk-SCZI7COG.mjs';
|
|
13
|
-
import { isPagedSegmentFile, openPagedSnapshot, pagedListingOf, createPagedFrozenSegment, writePagedSegment, bytesThatSegmentsHoldInMemory, savedBytesOfManifest, checkPagedSegmentFully, readSegmentFile, NOTHING_SAVED, SEGMENT_HEADER_SIZE, checkpointLastSeqNo, partitionContentsOf, writeCheckpointSegments, commitCheckpointManifest, checkpointGarbage, removeCheckpointGarbage, nextSegmentKey, rewrittenHeaderKey, checkSegmentHeader, RECORD_LENGTH_SIZE, MAX_WAL_RECORD_BYTES, FRAME_CRC_SIZE, decodeWalEntry, readCommitMarker, captureWholePartition, frameRecord, checkpointPrimaryTerm, openPagedSegmentScan, countsAsLatestHolder, segmentKey, WAL_FORMAT_VERSION_WITH_PREVIOUS_DOCUMENT, SEGMENT_TAIL_PATTERN, writeSegmentHeader, WAL_FORMAT_VERSION, parseSegmentStartSeqNo, readWalSegments, buildEntry } from './chunk-
|
|
14
|
-
export { bytesThatSegmentsHoldInMemory, checkPagedContents, checkPagedSegmentFully, checkPagedSelections, countsAsLatestHolder, createPagedFrozenSegment, isPagedSegmentFile, mergePagedWindow, openPagedSegmentScan, openPagedSnapshot, pagedListingOf, pagedTombstonesFor, writePagedSegment } from './chunk-
|
|
15
|
-
import { REWRITE_SPILL_BYTES, TOMBSTONES_BETWEEN_YIELDS, encodeSegmentManifest, adapterCheckpointStore, directoryCheckpointStore, readListedFile } from './chunk-
|
|
13
|
+
import { isPagedSegmentFile, openPagedSnapshot, pagedListingOf, createPagedFrozenSegment, writePagedSegment, bytesThatSegmentsHoldInMemory, savedBytesOfManifest, checkPagedSegmentFully, readSegmentFile, NOTHING_SAVED, SEGMENT_HEADER_SIZE, checkpointLastSeqNo, partitionContentsOf, writeCheckpointSegments, commitCheckpointManifest, checkpointGarbage, removeCheckpointGarbage, nextSegmentKey, rewrittenHeaderKey, checkSegmentHeader, RECORD_LENGTH_SIZE, MAX_WAL_RECORD_BYTES, FRAME_CRC_SIZE, decodeWalEntry, readCommitMarker, captureWholePartition, frameRecord, checkpointPrimaryTerm, openPagedSegmentScan, countsAsLatestHolder, segmentKey, WAL_FORMAT_VERSION_WITH_PREVIOUS_DOCUMENT, SEGMENT_TAIL_PATTERN, writeSegmentHeader, WAL_FORMAT_VERSION, parseSegmentStartSeqNo, readWalSegments, buildEntry } from './chunk-5SLAXEVJ.mjs';
|
|
14
|
+
export { bytesThatSegmentsHoldInMemory, checkPagedContents, checkPagedSegmentFully, checkPagedSelections, countsAsLatestHolder, createPagedFrozenSegment, isPagedSegmentFile, mergePagedWindow, openPagedSegmentScan, openPagedSnapshot, pagedListingOf, pagedTombstonesFor, writePagedSegment } from './chunk-5SLAXEVJ.mjs';
|
|
15
|
+
import { REWRITE_SPILL_BYTES, TOMBSTONES_BETWEEN_YIELDS, encodeSegmentManifest, adapterCheckpointStore, directoryCheckpointStore, readListedFile } from './chunk-P3JMBYEG.mjs';
|
|
16
16
|
import './chunk-5FLRXF73.mjs';
|
|
17
17
|
import './chunk-JDDXV6UF.mjs';
|
|
18
|
-
import { manifestKey, manifestFileRefs, manifestReferencedKeys, manifestWithinPartitionCount, snapshotBundleKey, MAX_SEGMENTS_PER_PARTITION } from './chunk-
|
|
18
|
+
import { manifestKey, manifestFileRefs, manifestReferencedKeys, manifestWithinPartitionCount, snapshotBundleKey, MAX_SEGMENTS_PER_PARTITION } from './chunk-5WN5TOPY.mjs';
|
|
19
19
|
import { getFs } from './chunk-HLPRHOSO.mjs';
|
|
20
20
|
import { DEFAULT_SEGMENT_MAX_BYTES, DEFAULT_CHECKPOINT_INTERVAL_MS, DEFAULT_CHECKPOINT_MUTATION_THRESHOLD, DEFAULT_COMPACTION_THRESHOLD, DEFAULT_REWRITE_BYTES_PER_CHECKPOINT, DEFAULT_ASYNC_FLUSH_INTERVAL_MS, WRITES_STALL_ABOVE_UNCHECKPOINTED_BYTES, WHOLE_PARTITION_LARGEST_DOCUMENT_COUNT, WHOLE_PARTITION_MIN_CHANGED_SHARE, CHECKPOINT_TIMEOUT_RECOVERY_BACKOFF_MS, CHECKPOINT_WORKER_TIMEOUT_MS, CHECKPOINT_WORKER_IDLE_MS, LOG_RECORDS_PER_CHECKPOINT } from './chunk-MSIN4NM3.mjs';
|
|
21
21
|
import { encode } from './chunk-S5QMWECL.mjs';
|
|
22
22
|
export { bindStorageHost } from './chunk-S5QMWECL.mjs';
|
|
23
23
|
import { sha256 } from './chunk-LNGE7SLY.mjs';
|
|
24
24
|
import { setNestedValue } from './chunk-R2PJKSNL.mjs';
|
|
25
|
-
import { rewriteSpillOf } from './chunk-
|
|
26
|
-
import { deserializePartition } from './chunk-
|
|
25
|
+
import { rewriteSpillOf } from './chunk-RWJQ3XU7.mjs';
|
|
26
|
+
import { deserializePartition } from './chunk-KDLH3BWY.mjs';
|
|
27
27
|
import { decodeVectorIndexParts, bytesToVectors, VECTOR_FILE_MAX_VECTORS, deadBytesFor, countDead, decodeVectorFilePayload, graphPartsOfEarlierPayload, decodeVectorGraphPayload } from './chunk-KBU3ZFJN.mjs';
|
|
28
28
|
export { createHNSWIndex, osqBitsOf } from './chunk-KBU3ZFJN.mjs';
|
|
29
29
|
import { oneSyncChangeAtATime } from './chunk-V6EUBAIT.mjs';
|
|
30
|
-
import { hasNrslMagic, HEADER_SIZE, readHeader, storedStateOf, attachedRuntimeOf, historyFilesOf, listHistoryFolder, historyFileOf, QUERY_HISTORY_ARCHIVE_PREFIX, QUERY_HISTORY_FOLDER, openChecksummedEnvelope, crc32, packChecksummedEnvelope } from './chunk-
|
|
31
|
-
import { isCompositePartition, generateId, mergePartitionStats, resolvePartitionInsertOptions, createPartitionIndex, createCompositePartition, ARRAY_POSITION_GAP, fnv1a, freezeSegmentShared, createFrozenSegment, createSharedFrozenSegment, getLanguage, validatePatternValueLimit, requireSurfaceFormsForPartialFields, validateRequiredFieldsInSchema, resolveIndexAnalysis, validateEmbeddingConfig, storedArrayPositionGap, emitSyncChange, toError, prepareStoredSynonyms, loadSchemaCodeFor, decodeEveryStoredDocument, arrayPositionsAreStale, insertDocumentVectors, createPartitionRouter, buildSegmentPayloads, createRequestId } from './chunk-
|
|
30
|
+
import { hasNrslMagic, HEADER_SIZE, readHeader, storedStateOf, attachedRuntimeOf, historyFilesOf, listHistoryFolder, historyFileOf, QUERY_HISTORY_ARCHIVE_PREFIX, QUERY_HISTORY_FOLDER, openChecksummedEnvelope, crc32, packChecksummedEnvelope } from './chunk-ZVJPJZIP.mjs';
|
|
31
|
+
import { isCompositePartition, generateId, mergePartitionStats, resolvePartitionInsertOptions, createPartitionIndex, createCompositePartition, ARRAY_POSITION_GAP, fnv1a, freezeSegmentShared, createFrozenSegment, createSharedFrozenSegment, getLanguage, validatePatternValueLimit, requireSurfaceFormsForPartialFields, validateRequiredFieldsInSchema, resolveIndexAnalysis, validateEmbeddingConfig, storedArrayPositionGap, emitSyncChange, toError, prepareStoredSynonyms, loadSchemaCodeFor, decodeEveryStoredDocument, arrayPositionsAreStale, insertDocumentVectors, createPartitionRouter, buildSegmentPayloads, createRequestId } from './chunk-I2FKNCDS.mjs';
|
|
32
32
|
import { encodeDocument } from './chunk-2CKDCC65.mjs';
|
|
33
33
|
import './chunk-AOYQTX6W.mjs';
|
|
34
34
|
import { decode } from './chunk-GXCDWLQI.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { DayStore, RestoredHistory, clearLeftoversOfName, dayOf, installSuggestionHooks, openCountsFile, sameBytes, startQuerySuggestions } from './chunk-
|
|
1
|
+
export { DayStore, RestoredHistory, clearLeftoversOfName, dayOf, installSuggestionHooks, openCountsFile, sameBytes, startQuerySuggestions } from './chunk-Y3T4HQGT.mjs';
|
|
2
2
|
export { oneSyncChangeAtATime } from './chunk-V6EUBAIT.mjs';
|
|
3
|
-
export { BUILD_LIST_PAGE, BUILD_WRITE_BATCH, BYTES_PER_MIB, DAY_MS, DEFAULT_PREVIEW_LIMIT, HEADER_SIZE, HISTORY_SWEEP_INTERVAL_MS, KEY_FINGERPRINT_BYTES, KEY_FINGERPRINT_LABEL, MAX_HISTORY_FILE_BYTES, MAX_MANUAL_SUGGESTION_COUNT, MAX_PREVIEW_LIMIT, MAX_SOURCE_INDEX_NAME_LENGTH, MAX_TIMER_DELAY_MS, MIN_KEY_BYTES, MS_PER_SECOND, QUERY_HISTORY_ARCHIVE_PREFIX, QUERY_HISTORY_FOLDER, SCHEDULE_OFF, SCRAMBLED_ID_BYTES, acceptedPhrase, attachRuntime, attachedRuntimeOf, banListFromInput, bindSuggestionStoreHost, buildRecordKey, checksumOfChunks, crc32, crc32Final, crc32Init, crc32Update, engineVersionParts, hasNrslMagic, historyFileOf, historyFilesOf, invalidSetting, isGroup, isPerson, latestMatchAtOrBefore, listHistoryFolder, nextMatchAfter, normaliseBan, openChecksummedEnvelope, packChecksummedEnvelope, packEnvelopeWithChecksum, parseSchedule, readHeader, removeHistoryFolder, removeRestoreLeftovers, requireFieldsInSchema, requireWithinFileLimit, resolveSetting, storedStateFromWire, storedStateOf, storedStateToWire, unionOfBans, validateSetting, withState, writeHeader } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
export { BUILD_LIST_PAGE, BUILD_WRITE_BATCH, BYTES_PER_MIB, DAY_MS, DEFAULT_PREVIEW_LIMIT, HEADER_SIZE, HISTORY_SWEEP_INTERVAL_MS, KEY_FINGERPRINT_BYTES, KEY_FINGERPRINT_LABEL, MAX_HISTORY_FILE_BYTES, MAX_MANUAL_SUGGESTION_COUNT, MAX_PREVIEW_LIMIT, MAX_SOURCE_INDEX_NAME_LENGTH, MAX_TIMER_DELAY_MS, MIN_KEY_BYTES, MS_PER_SECOND, QUERY_HISTORY_ARCHIVE_PREFIX, QUERY_HISTORY_FOLDER, SCHEDULE_OFF, SCRAMBLED_ID_BYTES, acceptedPhrase, attachRuntime, attachedRuntimeOf, banListFromInput, bindSuggestionStoreHost, buildRecordKey, checksumOfChunks, crc32, crc32Final, crc32Init, crc32Update, engineVersionParts, hasNrslMagic, historyFileOf, historyFilesOf, invalidSetting, isGroup, isPerson, latestMatchAtOrBefore, listHistoryFolder, nextMatchAfter, normaliseBan, openChecksummedEnvelope, packChecksummedEnvelope, packEnvelopeWithChecksum, parseSchedule, readHeader, removeHistoryFolder, removeRestoreLeftovers, requireFieldsInSchema, requireWithinFileLimit, resolveSetting, storedStateFromWire, storedStateOf, storedStateToWire, unionOfBans, validateSetting, withState, writeHeader } from './chunk-ZVJPJZIP.mjs';
|
|
4
|
+
import './chunk-I2FKNCDS.mjs';
|
|
5
5
|
import './chunk-2CKDCC65.mjs';
|
|
6
6
|
import './chunk-AOYQTX6W.mjs';
|
|
7
7
|
import './chunk-GXCDWLQI.mjs';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { querySuggestionsOf, keyBytesOf, createQuerySuggestionsRuntime, createLocalHost } from './chunk-
|
|
2
|
-
export { bindSuggestionsHost } from './chunk-
|
|
3
|
-
import { installSuggestionHooks } from './chunk-
|
|
1
|
+
import { querySuggestionsOf, keyBytesOf, createQuerySuggestionsRuntime, createLocalHost } from './chunk-QIMI4O6R.mjs';
|
|
2
|
+
export { bindSuggestionsHost } from './chunk-DU5HRFLQ.mjs';
|
|
3
|
+
import { installSuggestionHooks } from './chunk-Y3T4HQGT.mjs';
|
|
4
4
|
import './chunk-V6EUBAIT.mjs';
|
|
5
|
-
import { attachedRuntimeOf, attachRuntime } from './chunk-
|
|
6
|
-
import './chunk-
|
|
5
|
+
import { attachedRuntimeOf, attachRuntime } from './chunk-ZVJPJZIP.mjs';
|
|
6
|
+
import './chunk-I2FKNCDS.mjs';
|
|
7
7
|
import './chunk-2CKDCC65.mjs';
|
|
8
8
|
import './chunk-AOYQTX6W.mjs';
|
|
9
9
|
import './chunk-GXCDWLQI.mjs';
|
package/dist/sync/filesystem.mjs
CHANGED
|
@@ -6,12 +6,12 @@ import '../chunk-MSIN4NM3.mjs';
|
|
|
6
6
|
import '../chunk-S5QMWECL.mjs';
|
|
7
7
|
import '../chunk-LNGE7SLY.mjs';
|
|
8
8
|
import '../chunk-R2PJKSNL.mjs';
|
|
9
|
-
import '../chunk-
|
|
10
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-RWJQ3XU7.mjs';
|
|
10
|
+
import '../chunk-KDLH3BWY.mjs';
|
|
11
11
|
import '../chunk-KBU3ZFJN.mjs';
|
|
12
12
|
import '../chunk-V6EUBAIT.mjs';
|
|
13
|
-
import { crc32 } from '../chunk-
|
|
14
|
-
import '../chunk-
|
|
13
|
+
import { crc32 } from '../chunk-ZVJPJZIP.mjs';
|
|
14
|
+
import '../chunk-I2FKNCDS.mjs';
|
|
15
15
|
import '../chunk-2CKDCC65.mjs';
|
|
16
16
|
import '../chunk-AOYQTX6W.mjs';
|
|
17
17
|
import '../chunk-GXCDWLQI.mjs';
|
package/dist/sync.browser.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createSerial, KEPT_ENTRY_FLUSH_IDLE_MS, KEPT_ENTRY_OVERHEAD_BYTES, DEFAULT_REPLAY_LIMIT_OF_SNAPSHOT, BACKOFF_DOUBLINGS_LIMIT, KEPT_ENTRY_FLUSH_BYTES, UPLOAD_BATCH_WRITES, RETRY_MAX_DELAY_MS, UPLOAD_RETRY_DELAY_MS, DOWNLOAD_SAVE_BYTES, SNAPSHOT_MEMORY_PER_ARCHIVE_BYTE, SNAPSHOT_RETRY_DELAY_MS, RECONNECT_MIN_DELAY_MS } from './browser/chunk-WC2DEXWU.mjs';
|
|
2
|
-
import { hasLanguage, hasTokenizer, hasStopWords, readHeapStatistics, loadStorageCode, getLanguage } from './browser/chunk-
|
|
2
|
+
import { hasLanguage, hasTokenizer, hasStopWords, readHeapStatistics, loadStorageCode, getLanguage } from './browser/chunk-UHJHOEMY.mjs';
|
|
3
3
|
import './browser/chunk-QAOVAYAG.mjs';
|
|
4
4
|
import { isSyncEpoch } from './browser/chunk-YJHGOJAC.mjs';
|
|
5
5
|
import { createNarsilClient } from './browser/chunk-4E5APHTM.mjs';
|
package/dist/sync.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SYNC_CLOSE_RESYNC, SYNC_CLOSE_CREDENTIAL_EXPIRED, encodeJson, SYNC_SUBPROTOCOL, CHANGES_SUBPROTOCOL, decodeScore } from './chunk-F6F4G322.mjs';
|
|
2
2
|
import { createSerial, KEPT_ENTRY_FLUSH_IDLE_MS, KEPT_ENTRY_OVERHEAD_BYTES, DEFAULT_REPLAY_LIMIT_OF_SNAPSHOT, BACKOFF_DOUBLINGS_LIMIT, KEPT_ENTRY_FLUSH_BYTES, UPLOAD_BATCH_WRITES, RETRY_MAX_DELAY_MS, UPLOAD_RETRY_DELAY_MS, DOWNLOAD_SAVE_BYTES, SNAPSHOT_MEMORY_PER_ARCHIVE_BYTE, SNAPSHOT_RETRY_DELAY_MS, RECONNECT_MIN_DELAY_MS } from './chunk-6MSZ543Y.mjs';
|
|
3
|
-
import { hasLanguage, hasTokenizer, hasStopWords, readHeapStatistics, loadStorageCode, getLanguage } from './chunk-
|
|
3
|
+
import { hasLanguage, hasTokenizer, hasStopWords, readHeapStatistics, loadStorageCode, getLanguage } from './chunk-I2FKNCDS.mjs';
|
|
4
4
|
import './chunk-2CKDCC65.mjs';
|
|
5
5
|
import './chunk-AOYQTX6W.mjs';
|
|
6
6
|
import './chunk-GXCDWLQI.mjs';
|
|
@@ -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-UHJHOEMY.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-MQMZ25D7.mjs';
|
|
2
|
+
import './chunk-YYNLEWSP.mjs';
|
|
3
3
|
import './chunk-F6F4G322.mjs';
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
4
|
+
import './chunk-UP5TJ3II.mjs';
|
|
5
|
+
import './chunk-VSLFZDVA.mjs';
|
|
6
|
+
import './chunk-5WN5TOPY.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-RWJQ3XU7.mjs';
|
|
11
|
+
import './chunk-KDLH3BWY.mjs';
|
|
12
12
|
import './chunk-KBU3ZFJN.mjs';
|
|
13
13
|
import './chunk-V6EUBAIT.mjs';
|
|
14
|
-
import './chunk-
|
|
15
|
-
import './chunk-
|
|
14
|
+
import './chunk-ZVJPJZIP.mjs';
|
|
15
|
+
import './chunk-I2FKNCDS.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-WORMC6FN.mjs';
|
|
2
|
+
export { emptySerializablePartition, loadIndexOntoWorkers, transferIndexToPool } from './chunk-WORMC6FN.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-I2FKNCDS.mjs';
|
|
4
|
+
export { bindWorkerCopiesHost, createWorkerExecutor } from './chunk-I2FKNCDS.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-I2FKNCDS.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-X36MGME4.mjs');
|
|
36
36
|
closeRequestThread();
|
|
37
|
-
const { closeLongQueryThread } = await import('../long-query-thread-
|
|
37
|
+
const { closeLongQueryThread } = await import('../long-query-thread-4E6J6WME.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-X36MGME4.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-4E6J6WME.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-YDIA6FU5.mjs'),
|
|
156
|
+
import('../query-actions-UTAYIRGP.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.195",
|
|
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.195",
|
|
657
|
+
"@delali/narsil-native-linux-x64": "0.3.1-next.195",
|
|
658
|
+
"@delali/narsil-native-win32-arm64": "0.3.1-next.195",
|
|
659
|
+
"@delali/narsil-native-win32-x64": "0.3.1-next.195"
|
|
660
660
|
}
|
|
661
661
|
}
|