maximum number of matching posts, optional random matching posts

closes #52