OpenSearch pagination - from/size vs Search After for number of hits less than 10k

0

Hi,

I'm using OpenSearch, and for paginating the search results, should I use the simple from/size, or should I go with search after. I've read that if the number of hits is less than 10k, then from/size is acceptable. Even though my total search space is much more than 10k, but the number of hits/matches I'm expecting is around 5k at max.

For this, would there be a lot of performance difference between from/size and search after? I'm leaning towards from/size since search after is relatively trickier to implement, specially when there's a requirement for going back to a previous page.

Thanks!

已提问 2 年前75 查看次数
没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则