Implement metadata filtering for nearest neighbor search
Implement metadata filtering for nearest neighbor search: a task in LegoFlow-SWE (Harbor dataset). Currently, the vector collection’s search and true search methods retrieve the k nearest vectors based solely on vector distance. There’s no way to restrict the candidate set using record metadata…
The task
Currently, the vector collection’s `search` and `true_search` methods retrieve the k nearest vectors based solely on vector distance. There’s no way to restrict the candidate set using record metadata. This means users cannot perform filtered approximate nearest neighbor (ANN) queries—for example, “find the 5 most…
Part of Lego-X/LegoFlow-SWE.