Returning search results by pages.