Ok, the reason for the version conflict is explained at https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete-by-query.html