Skip to content

Commit

Permalink
Added scrollId/s setters to the different scroll requests/responses
Browse files Browse the repository at this point in the history
  • Loading branch information
uboness committed Sep 15, 2014
1 parent 964db64 commit b619cd1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Expand Up @@ -52,6 +52,14 @@ public void addScrollId(String scrollId) {
scrollIds.add(scrollId);
}

public List<String> scrollIds() {
return scrollIds;
}

public void scrollIds(List<String> scrollIds) {
this.scrollIds = scrollIds;
}

@Override
public ActionRequestValidationException validate() {
ActionRequestValidationException validationException = null;
Expand Down
Expand Up @@ -171,6 +171,10 @@ public String getScrollId() {
return scrollId;
}

public void scrollId(String scrollId) {
this.scrollId = scrollId;
}

static final class Fields {
static final XContentBuilderString _SCROLL_ID = new XContentBuilderString("_scroll_id");
static final XContentBuilderString _SHARDS = new XContentBuilderString("_shards");
Expand Down

0 comments on commit b619cd1

Please sign in to comment.