You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, this may be a bit of a silly question, but I'm very curious to hear your take on it: is it even feasible to have compound indexes with a vector index?
Concretely, I have two fields in my table called embedding and category. I almost always filter on category when using embedding to do vector search, and so theoretically having a compound index should help. Also curious if your answer would change if category has a fixed range of values vs. an arbitrary string.
Thanks!
The text was updated successfully, but these errors were encountered:
rsomani95
changed the title
General Question Re. Vector Indexes
General Question Re. Compound Vector Indexes
Oct 19, 2024
We do plan to look at compound indexes in the future. But, for categorical variables you also have the option of using partial indexing and/or partitioning the table by category. For smooth variables, neither of those is possible though.
Hi, this may be a bit of a silly question, but I'm very curious to hear your take on it: is it even feasible to have compound indexes with a vector index?
Concretely, I have two fields in my table called
embedding
andcategory
. I almost always filter oncategory
when usingembedding
to do vector search, and so theoretically having a compound index should help. Also curious if your answer would change ifcategory
has a fixed range of values vs. an arbitrary string.Thanks!
The text was updated successfully, but these errors were encountered: