From 43182f07fd8dff661e340d736d8eff4bead6ef08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Dev=C3=A8ze?= Date: Fri, 17 Feb 2012 16:45:36 +0100 Subject: [PATCH] add missing setPercolate method to UpdateRequestBuilder --- .../action/update/UpdateRequestBuilder.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/main/java/org/elasticsearch/action/update/UpdateRequestBuilder.java b/src/main/java/org/elasticsearch/action/update/UpdateRequestBuilder.java index ed5b1ec8513..e65d2bdc55c 100644 --- a/src/main/java/org/elasticsearch/action/update/UpdateRequestBuilder.java +++ b/src/main/java/org/elasticsearch/action/update/UpdateRequestBuilder.java @@ -152,6 +152,16 @@ public class UpdateRequestBuilder extends BaseRequestBuilder* to indicate that all percolate queries should be run. + */ + public UpdateRequestBuilder setPercolate(String percolate) { + request.percolate(percolate); + return this; + } + @Override protected void doExecute(ActionListener listener) { client.update(request, listener);