lance-format/lance
View on GitHubDisplay warning if the index is not built for a vector column during query
Open
#804 opened on Apr 24, 2023
A-pythongood first issuehelp wantedrust
Repository metrics
- Stars
- (6,582 stars)
- PR merge metrics
- (Avg merge 6d 1h) (219 merged PRs in 30d)
Description
When user does a ANN query, show warnings if the index was not built for the column, for potentially slow query speed.
However, doing so blindly makes it really annoying for smaller datasets that really don't need an ANN index. One alternative could be that during the KNN (flat search) execution, if the runtime exceed a certain threshold to print the warning.