dead code
Remove deleted items from the index.