steevej
(Steeve Juneau)
5
One thing you can try is to always match 2 buckets and then select the first 10 posts after unwind.
Something like the following using your buckets 1,10,101,10
page 0 would select bucket 0 and bucket 1 but display all the post from bucket 0 and posts 0-8 from bucket 1.
page 1 would select bucket 1 and bucket 2 and display post 9 from bucket 1 and posts 0-8 from bucket 2.
…
page n would select bucket n and bucket n+1 and display post 9 from bucket n and posts 0-8 from bucket n+1