Skip to content

Do not substitute levels, clusters, vector_type and vector_dimensions #3958

Description

@BlazingPhoenix

In the scope of issue #39683 we've implemented levels, clusters, vector_type and vector_dimensions parameters autodetection.
The current issue is related with web ui #2532. We wish it not auto add parameters levels, clusters, vector_type and vector_dimensions for vector index and let it be autodetected.

Currently it produce something like this:

ALTER TABLE table
ADD INDEX my_vector_index
GLOBAL USING vector_kmeans_tree
ON (embedding)
WITH (
    distance=cosine,
    vector_type="uint8",
    vector_dimension=512,
    levels=2,
    clusters=128,
    overlap_clusters=3
);

We wish to see:

ALTER TABLE table
ADD INDEX my_vector_index
GLOBAL USING vector_kmeans_tree
ON (embedding)
WITH (
    distance=cosine
);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions