Fix incorrect class name in deleteByQuery docs (#26151)
Class was renamed but docs weren't updated.
This commit is contained in:
parent
1146a35870
commit
9a908995a8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue