Fix incorrect class name in deleteByQuery docs (#26151)

Class was renamed but docs weren't updated.
This commit is contained in:
hanbj 2017-08-12 02:54:52 +08:00 committed by Nik Everett
parent 1146a35870
commit 9a908995a8
1 changed files with 2 additions and 2 deletions

View File

@ -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