Add an API for delete-by-query works

Description

Allow to delete a set of documents by specifying the targeted indexes (or mapped types in the POJO mapper) and a predicate.

For now, we're not entirely sure we can implement this feature reliably for the Lucene backend, so let's implement it as an extension, for the Elasticsearch backend only. Actually we'll need this in the Lucene backend, at least the delete-by-term, for Infinispan.

See what was done in for APIs.

Environment

None

Assignee

Unassigned

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Pull Request

None

Feedback Requested

None

Fix versions

Priority

Major
Configure