Delete by Query in ES 2.0

There are a number of threads on this topic, but I can't make it work in ES 2.0 I've looked at the documentation for Delete API but it only mentions delete by document id.

I would like to:

  1. Query for a set of records with a given set of attributes and
  2. Delete that same set based on the same set of query parms

This is so I can remove some of the entries from a large dataset without having to reload that whole data set from scratch.

Please let point me in the right direction.

Delete by query was moved to a plugin in 2.0:
https://www.elastic.co/guide/en/elasticsearch/plugins/current/plugins-delete-by-query.html

Thank you much -