Skip to content

Feature(python): API parity between async and sync create index APIs #2879

Description

@wjones127

SDK

Python

Description

In sync Python, we have separate APIs for:

  • Creating a vector index: table.create_index()
  • Creating a scalar index: table.create_scalar_index()
  • Creating an FTS index: table.create_fts_index()

In async Python (and Rust and Typescript), we have a unified API: table.create_index().

We would like to align these APIs.

One idea is to get sync Python to match the async API. This would align it with the other SDKs like Rust and Python. However, this would change the meaning of the existing create_index() API and so probably wouldn't work. So we might need a new name for the unified API in Python.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions