← All questions
Retrieval & EmbeddingsMedium· Vector Databases· Data Lifecycle· Tombstoning

A user deletes a document at 10:00. Walk me through wha...

When a document is deleted, the vector store first marks the document ID as ‘tombstoned.’ This ensures that the document stops appearing in search results immediately, as the system applies a filter during the result assembly phase. The actual physical removal of the vector bytes occurs during a later, scheduled rebuild process that has a defined deadline. The vector remains present in the graph structure until this background maintenance task is executed.

Code playground (Python)