I hope to increase the ability to batch
I hope to increase the ability to batch query the Id list in the vector, because sometimes my database data doesn't seem to correspond here. I deleted data from my database, but there is still data here.
2 Replies
Any mutations made to Vectorize are async and it usually takes the service a few seconds to update the state of the index. Sometimes it can take a few minutes, depending on the volume of requests or the load on the service.
Every successful deleteById operation would return a mutationId. You can use the Vectorize info/describe operation to identify the last mutationId that was processed by Vectorize: https://developers.cloudflare.com/api/resources/vectorize/subresources/indexes/methods/info/.
Cloudflare API | Vectorize › Indexes › Get Vectorize Index Info
Interact with Cloudflare's products and services via the Cloudflare API
help