def delete_by_query(self, indices, doc_types, query, **query_params):
path = self._make_path(indices, doc_types, '<STR_LIT>')<EOL>body = {"<STR_LIT>": query.serialize()}<EOL>return self._send_request('<STR_LIT>', path, body, query_params)<EOL>
Delete documents from one or more indices and one or more types based on a query.