Skip to content

python: train_ivf() should accept target_partition_size instead of deprecated num_partitions #6286

@hushengquan

Description

@hushengquan

Currently, the Python API lance.index.train_ivf() only accepts num_partitions, which is marked as deprecated in the docstring.

However, the recommended and modern parameter target_partition_size is not exposed in the Python binding, even though it is fully supported in the Rust core.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions