Skip to content

v0.6.0 - Phase 9 Query Engine Enhancements

Choose a tag to compare

@ivkan ivkan released this 31 Dec 14:16
· 3147 commits to main since this release

New Features

Lazy Index Building (Phase 9.01)

  • LazyHashIndex, LazyNavigableIndex, LazyInvertedIndex classes
  • Deferred index construction until first query for fast startup
  • Progress callbacks for index materialization
  • lazyIndexBuilding option in IndexedLWWMap

Attribute Factory (Phase 9.02)

  • generateAttributes<V>() with curried type inference
  • attr() and multiAttr() helper functions
  • createSchema<V>() fluent builder
  • Nested path support (e.g., 'address.city')

Compound Index Auto-Detection (Phase 9.03)

  • CompoundIndex class for multi-attribute O(1) lookups
  • Compound query tracking in QueryPatternTracker
  • Compound index suggestions in IndexAdvisor
  • Automatic CompoundIndex usage in QueryOptimizer

Tests

  • 140+ new tests for Phase 9 features
  • 1264 total tests in core package

Installation

npm install @topgunbuild/core@0.6.0
npm install @topgunbuild/client@0.6.0
npm install @topgunbuild/server@0.6.0