how to set from/size of search result executed using spring Elasticsearchtemplate
.
while same functionality can be performed using out of the box
elasticsearch API
NodeBuilder.nodeBuilder().node().client().prepareSearch("wsearchobject") .setQuery(QueryBuilders.matchAllQuery()) .setFrom(10) .setSize(20) .execute().actionGet();
how to set from and size parameters using elasticsearchtemplate
.