Some time ago, I wrote the Introduction to Spring Data Elasticsearch 4.1 article. As I promised, I want to continue with a search feature. More specifically, the topic is its pagination part. Therefore, this article has these goals:
Update my sat-elk project to use Spring Data Elasticsearch 4.4
See several options to paginate results
Note: I recommend reading the previous article in order to understand the City domain which is used below. It’s not needed from the technical point of view, but it can help to understand the presented examples more.