← All questions
Retrieval & EmbeddingsMedium· HNSW· Performance Tuning· Compaction

You have tombstone deleted vectors in your HNSW index i...

When using tombstones, deleted nodes remain in the index structure, causing the search algorithm to traverse them unnecessarily, which increases latency. Before adding hardware, you must verify the ratio of dead nodes to active nodes and perform index compaction to restore search efficiency.

Code playground (Python)