Required prerequisites
Motivation
With version updates, OceanBase docs recommend using ObVecClient.create_index with vidx_params when
working in ObVecClient mode, Our current OceanBaseStorage always builds an
IndexParams object and calls create_vidx_with_vec_index_param, which doesn’t align
with the recommended ObVecClient workflow.
reference:
Solution
- Add optional parameters like index_name and vidx_params to
OceanBaseStorage.init (default vidx_params: distance=l2, type=hnsw, lib=vsag).
- After table creation, prefer calling create_index(... is_vec_index=True,
column_names=["embedding"], vidx_params=...).
Alternatives
No response
Additional context
No response
Required prerequisites
Motivation
With version updates, OceanBase docs recommend using ObVecClient.create_index with vidx_params when
working in ObVecClient mode, Our current OceanBaseStorage always builds an
IndexParams object and calls create_vidx_with_vec_index_param, which doesn’t align
with the recommended ObVecClient workflow.
reference:
creation logic).
Solution
OceanBaseStorage.init (default vidx_params: distance=l2, type=hnsw, lib=vsag).
column_names=["embedding"], vidx_params=...).
Alternatives
No response
Additional context
No response