Hi Kaushik,
Hope you don't mind me raising this topic.
Following up on my question about the change
https://gerrit-review.googlesource.com/c/gerrit/+/344334 and potential extension.
From
the comment, the pagination was only meant to address performance of
Elasticsearch index backend for unlimited queries, and you don't think there will be any performance benefit for the queries with a small limit.
The case I had in mind is the pagination from the user dashboard. I.e. I am not sure how it is for Elastic, but typically, when using the query with offset, e.g.
https://gerrit-review.googlesource.com/changes/?S=25&n=25, the index will just recalculate all results and throw the first S=25 away. This may be noticeably slower if a user pages deeply into the dashboard.
Does this problem also exist for Elastic? Would you be interested in extending your work to user queries (e.g. would your installation benefit from that)?
Any insights how it is solved for you appreciated!
Thank you,
Marija Savtchouk