Auto-pagination was added in #449 for search_content(). In this implementation, you can pass in page_number and page_size to search_content() via ... and they'll be passed down to an inner call.
The way things are wired up, page_number affects the starting page, but pagination still happens, and the rest of the results will be fetched. This is a little confusing, so it's documented in a comment and in the docs for search_content()'s ... parameter.
Maybe a more intuitive approach would be for page_number to fetch only the specific page if set, and to paginate everything if not set. We could do this by just directly dispatching an inner_search() call if it's set.
Better to make these parameters explicit, too (see @karawoo's comment here: #449 (comment))?