From 21883716e52d1fdc408fe9da4ea5fd2d9eeead9f Mon Sep 17 00:00:00 2001 From: kimchy Date: Thu, 7 Jul 2011 17:59:25 +0300 Subject: [PATCH] change indices sig --- .../java/org/elasticsearch/action/search/SearchRequest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/elasticsearch/src/main/java/org/elasticsearch/action/search/SearchRequest.java b/modules/elasticsearch/src/main/java/org/elasticsearch/action/search/SearchRequest.java index 5167d9a86d7..b044758c582 100644 --- a/modules/elasticsearch/src/main/java/org/elasticsearch/action/search/SearchRequest.java +++ b/modules/elasticsearch/src/main/java/org/elasticsearch/action/search/SearchRequest.java @@ -145,7 +145,7 @@ public class SearchRequest implements ActionRequest { /** * Sets the indices the search will be executed on. */ - public SearchRequest indices(String[] indices) { + public SearchRequest indices(String... indices) { this.indices = indices; return this; }