code: def _update_indexes_for_deleted_object(collection, obj):
      
      for index in _db[collection].indexes.values():
          _remove_from_index(index, obj)
docs: If an object is deleted, it should no longer be
      indexed so this removes the object from all indexes
      on the given collection.