<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def process_delete(self, obj, pk_set=None, action=None, update_fields=None, **kwargs):
 """Recreate queryset from the index and rebuild the index."""

        build_kwargs = self.delete_cache.take(obj)

        if build_kwargs:
            self.index.build(**build_kwargs)