Shutdown/close/flush now properly flushes all 4 components in parallel: metadataIndex, graphIndex, HNSW dirty nodes, and storage counts. Previously only counts were flushed, causing native provider data loss on restart. Also: - Wire roaring, msgpack, entityIdMapper provider consumption from plugins - Fix allOf filter O(n²) intersection → O(n) Set-based - Fix ne/exists negation filter to use Set-based exclusion - Add setMsgpackImplementation() swap in SSTable for native msgpack - Add setRoaringImplementation() swap for native CRoaring bitmaps - Add getAllIntIds() to EntityIdMapper for bitmap operations - Remove TypeAwareHNSWIndex from default index creation path - Export memory detection utilities from internals - Clean up 26 permanently-skipped dead tests
13 lines
856 B
TypeScript
13 lines
856 B
TypeScript
/**
|
|
* Internal utilities for first-party plugins.
|
|
* NOT part of the public API — may change between minor versions.
|
|
*/
|
|
export { getGlobalCache, setGlobalCache, clearGlobalCache, UnifiedCache } from './utils/unifiedCache.js'
|
|
export type { UnifiedCacheConfig, CacheItem } from './utils/unifiedCache.js'
|
|
export { prodLog, createModuleLogger } from './utils/logger.js'
|
|
export { FieldTypeInference, FieldType } from './utils/fieldTypeInference.js'
|
|
export type { FieldTypeInfo } from './utils/fieldTypeInference.js'
|
|
export { EntityIdMapper } from './utils/entityIdMapper.js'
|
|
export type { EntityIdMapperOptions, EntityIdMapperData } from './utils/entityIdMapper.js'
|
|
export { getRecommendedCacheConfig, formatBytes, checkMemoryPressure } from './utils/memoryDetection.js'
|
|
export type { MemoryInfo, CacheAllocationStrategy } from './utils/memoryDetection.js'
|