powermem icon indicating copy to clipboard operation
powermem copied to clipboard

[Bug]: Database adaptation that does not support sparse vectors

Open Ripcord55 opened this issue 10 months ago • 1 comments

Describe the bug

When opening the sparse vector function, using a database that does not support sparse vector function will result in an error. Image

Environment

0.3.0

Fast reproduce steps

  1. Set OCEANBASE_INCLUDE_SPARSE=true
  2. Using a database without sparse vector functionality
  3. Initialize memory

Expected behavior

  1. Reminder: Sparse vector function is not supported.
  2. Downgrade search, automatically disable sparse vector function, use original logic for search.

Actual behavior

No response

Additional context

No response

Ripcord55 avatar Jan 13 '26 10:01 Ripcord55

Verified, now in databases that do not support sparse vector functionality, the search function is automatically downgraded to the original search logic and will not block

Ripcord55 avatar Jan 14 '26 02:01 Ripcord55