Let’s say you use Vectorize to index
Let’s say you use Vectorize to index news media. What is the best way to periodically expire vectors?
1 Reply
If you are aware of the vector ids that need to expire, you can update the vector values for those ids using the
upsert
operation or delete the vectors from that index using the delete_by_ids
operation.
You can potentially store timestamp values as a metadata field for each vector id, and then make use of metadata filtering during the query operation to identify vectors that have "expired" and still show up in results.You can then delete/update the vectors corresponding to the vector ids.