Skip to content

Missing necessary index type VECTOR in CreateTableIndexRequest#IndexTypeEnum #252

@yuqi1129

Description

@yuqi1129

When we try to use CreateTableIndexRequest to build the Lance REST server, we found that IndexTypeEnum(https://github.com/lancedb/lance-namespace/blob/b035daec6b7cce0bec484c18326100d07c9e33bb/java/lance-namespace-apache-client/src/main/java/com/lancedb/lance/namespace/model/CreateTableIndexRequest.java#L55-L68) in CreateTableIndexRequest lacks many types have supported in Lance(see: https://github.com/lancedb/lance/blob/d8f9dcbea5808e0ad98ca5e662c8c8e5f93c790b/java/src/main/java/com/lancedb/lance/index/IndexType.java#L15C1-L33)

for example, there is no FST in Lance, however, CreateTableIndexRequest#IndexTypeEnum did have it. No vector was found in CreateTableIndexRequest#IndexTypeEnum.

The same goes for ZONEMAP.

So, why are the types inconsistent here? How can we create a VECTOR index via CreateTableIndexRequest?

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