You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor vector index creation to use SQL LSM_VECTOR
- Updated documentation and examples to reflect the preferred SQL method for creating vector indexes.
- Removed Python object API calls for vector index creation in favor of SQL commands.
- Ensured that SQL index creation builds the vector graph immediately by default.
- Added tests to verify immediate queryability of vector indexes created via SQL.
- Updated test suite to reflect the new implementation, increasing the number of passed tests from 282 to 290.
Copy file name to clipboardExpand all lines: bindings/python/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
Native Python bindings for ArcadeDB - the multi-model database that supports Graph, Document, Key/Value, Search Engine, Time Series, and Vector models.
Copy file name to clipboardExpand all lines: bindings/python/docs/api/database.md
+11-7Lines changed: 11 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -658,7 +658,14 @@ db.create_vector_index(
658
658
) -> VectorIndex
659
659
```
660
660
661
-
Create a vector index for similarity search (JVector implementation). Existing records are indexed automatically when the index is created. By default, graph preparation is performed immediately (`build_graph_now=True`).
661
+
Create a vector index for similarity search (JVector implementation). Existing records
662
+
are indexed automatically when the index is created. By default, graph preparation is
663
+
performed immediately (`build_graph_now=True`).
664
+
665
+
For normal application code and documentation examples, prefer SQL `CREATE INDEX ...
666
+
LSM_VECTOR METADATA {...}` because it is cleaner and aligns with the SQL-first workflow.
667
+
Keep `create_vector_index()` for Python-driven setup, tests, or manual control when you
668
+
specifically need that surface.
662
669
663
670
**Parameters:**
664
671
@@ -703,7 +710,7 @@ db.command("sql", "CREATE VERTEX TYPE Document")
0 commit comments