feat: add support for remote index params (#3087)

Prior to this commit the remote SDK did not support the full set of
index parameters. This extends the SDK to support them.
This commit is contained in:
Wyatt Alt
2026-03-02 11:14:28 -08:00
committed by GitHub
parent f91d2f5fec
commit bc7b344fa4
4 changed files with 145 additions and 87 deletions

View File

@@ -218,8 +218,6 @@ class RemoteTable(Table):
train: bool = True,
):
"""Create an index on the table.
Currently, the only parameters that matter are
the metric and the vector column name.
Parameters
----------
@@ -250,11 +248,6 @@ class RemoteTable(Table):
>>> table.create_index("l2", "vector") # doctest: +SKIP
"""
if num_sub_vectors is not None:
logging.warning(
"num_sub_vectors is not supported on LanceDB cloud."
"This parameter will be tuned automatically."
)
if accelerator is not None:
logging.warning(
"GPU accelerator is not yet supported on LanceDB cloud."