From c050bb58dac59b75a3624b8144f23f196a74cd4d Mon Sep 17 00:00:00 2001 From: kimchy Date: Sat, 4 Sep 2010 21:30:02 +0300 Subject: [PATCH] allow to set a query using a string as well --- .../client/action/search/SearchRequestBuilder.java | 8 ++++++++ .../search/builder/SearchSourceBuilder.java | 9 +++++++++ 2 files changed, 17 insertions(+) diff --git a/modules/elasticsearch/src/main/java/org/elasticsearch/client/action/search/SearchRequestBuilder.java b/modules/elasticsearch/src/main/java/org/elasticsearch/client/action/search/SearchRequestBuilder.java index 39edf32c6ee..2623e5826f7 100644 --- a/modules/elasticsearch/src/main/java/org/elasticsearch/client/action/search/SearchRequestBuilder.java +++ b/modules/elasticsearch/src/main/java/org/elasticsearch/client/action/search/SearchRequestBuilder.java @@ -171,6 +171,14 @@ public class SearchRequestBuilder extends BaseRequestBuilder0. */