change indices sig

This commit is contained in:
kimchy 2011-07-07 17:59:25 +03:00
parent ac1240b407
commit 21883716e5
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ public class SearchRequest implements ActionRequest {
/** /**
* Sets the indices the search will be executed on. * Sets the indices the search will be executed on.
*/ */
public SearchRequest indices(String[] indices) { public SearchRequest indices(String... indices) {
this.indices = indices; this.indices = indices;
return this; return this;
} }