def delete(self):
del_query = self._clone()<EOL>del_query._clear_ordering()<EOL>get_es_connection(self.es_url, self.es_kwargs).delete_by_query(self.index, self.type, self._build_query())<EOL>self._result_cache = None<EOL>
Deletes the records in the current QuerySet.