class ElasticSearchRepository implements Constants {

	public String buildScrollRequest(String scrollId, String esPageScrollTtl) {
		Map<String, Object> requestBody = new HashMap<String, Object>();
		requestBody.put("scroll", ES_PAGE_SCROLL_TTL);
		requestBody.put("scroll_id", scrollId);
		Gson serializer = new GsonBuilder().create();
		return serializer.toJson(requestBody);
	}

}