docs: def delete(self):
          """
          Deletes the records in the current QuerySet.
          """
          del_query = self._clone()
  
          # The delete is actually 2 queries - one to find related objects,
          # and one to delete. Make sure that the discovery of related
          # objects is performed on the same database as the deletion.
          del_query._clear_ordering()
          get_es_connection(self.es_url, self.es_kwargs).delete_by_query(self.index, self.type, self._build_query())
          # Clear the result cache, in case this QuerySet gets reused.
          self._result_cache = None