Skip to content

Version 0.4.1

Latest

Choose a tag to compare

@doubleinfinity doubleinfinity released this 20 Aug 00:46
0bd5d6d

Added

  • Comprehensive test suite for overwrite behavior verification (test_overwrite_fix.py)
  • Product Quantization (PQ) overwrite testing across all storage modes (test_pq_overwrite_comprehensive.py)
  • Enhanced logging and storage analysis for overwrite operations
  • Training state cleanup during document removal operations

Changed

  • Overwrite operations now use two-phase process (remove then add) to prevent duplicates
  • remove_point() method now delegates to internal remove_point_internal() for better code reuse
  • Enhanced add() method with comprehensive PQ support and storage mode awareness
  • Improved error handling and logging throughout overwrite operations

Fixed

  • Critical: Fixed duplicate document bug where overwrite=True created multiple entries instead of replacing existing ones
  • Memory leak from accumulated duplicate vectors in HNSW graph during overwrites
  • Product Quantization codes and training state not properly cleaned up during document removal
  • Vector count inconsistencies when removing documents during overwrite operations

Removed

  • Legacy overwrite behavior that created duplicates instead of proper replacements