Search Pagination API
The SuiteScript 2.x Search Pagination API lets you page through search results. This makes scripts run faster and gives you an efficient way to work with large sets of search data.
For additional information, see N/search Module.