From 32d292b3c29c8623b8fd24dcc26a2969cf75faa2 Mon Sep 17 00:00:00 2001 From: Kunal Kapoor Date: Thu, 2 Mar 2017 21:22:21 +0530 Subject: [PATCH] Added types options to DeleteByQueryRequest (#23265) Add types setter and getter to `DeleteByQueryRequest`, which delegate to the inner `SearchRequest`. --- .../bulk/byscroll/DeleteByQueryRequest.java | 12 +++++++++ .../byscroll/DeleteByQueryRequestTests.java | 26 +++++++++++++++++-- 2 files changed, 36 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/org/elasticsearch/action/bulk/byscroll/DeleteByQueryRequest.java b/core/src/main/java/org/elasticsearch/action/bulk/byscroll/DeleteByQueryRequest.java index 4c261f471f2..f625152d407 100644 --- a/core/src/main/java/org/elasticsearch/action/bulk/byscroll/DeleteByQueryRequest.java +++ b/core/src/main/java/org/elasticsearch/action/bulk/byscroll/DeleteByQueryRequest.java @@ -111,4 +111,16 @@ public class DeleteByQueryRequest extends AbstractBulkByScrollRequest