Fix incorrect class name in deleteByQuery docs
Class was renamed but docs weren't updated.
@@ -65,9 +65,9 @@ and provide a listener like:
DeleteByQueryAction.INSTANCE.newRequestBuilder(client)
.filter(QueryBuilders.matchQuery("gender", "male")) <1>
.source("persons") <2>
- .execute(new ActionListener<BulkIndexByScrollResponse>() { <3>
+ .execute(new ActionListener<BulkByScrollResponse>() { <3>
@Override
- public void onResponse(BulkIndexByScrollResponse response) {
+ public void onResponse(BulkByScrollResponse response) {
long deleted = response.getDeleted(); <4>
}
@Override
