I can't just search by criteria, can I?
I can't just search by criteria, can I? For example, searching for all data with EId=14 in Metedata
3 Replies
You can filter queries by metadata values: https://developers.cloudflare.com/vectorize/reference/metadata-filtering/
Cloudflare Docs
Metadata filtering
In addition to providing an input vector to your query, you can also filter by vector metadata associated with every vector. Query results will only include vectors that match the filter criteria, meaning that filter is applied first, and the topK results are taken from the filtered set.
You also need to input a vector, right?
Every query operation requires an input vector. It could be a vector that you explicitly provide, or it could be a vector that is already present in the index in which case you can provide it's vector ID.