Qi Xiang
Qi Xiang

Reputation: 61

How Milvus work when search with expr and vector?

When I perform a search with expr and vector, what does Milvus filter first? by expr first, or vector?

Upvotes: 1

Views: 104

Answers (1)

Buqian Zheng
Buqian Zheng

Reputation: 341

Milvus first runs the scalar filtering expression first to generate a bitset, then runs vector ANN search on those matching vectors only.

Upvotes: 1

Related Questions