Yeah, the title is quite vague. So here's an example:
There are one post for thread 1 (that's the ID), ten posts for thread 2, two posts for thread 3
Now I want to fetch a max of 2 posts per thread.
And the result would return:
1 post from thread 1
the most recent 2 posts from thread 2
the...