Aaron McCausland
06/12/2026, 9:02 PMCeligo AI
06/12/2026, 9:02 PMAI generated answer (using internal Slack threads):Based on the conversations, it appears that NetSuite does not cache the results of
Search.getRange() and Search.runPaged(). The performance of these methods is not improved by caching but rather by the way they handle and process data.
The Search.getRange() method retrieves a specific range of search results. Each call to getRange() costs 10 units of governance, regardless of the number of results returned. This method does not seem to have any built-in performance optimizations, and multiple calls to getRange() do not appear to be faster than the first call.
On the other hand, Search.runPaged() is a method that retrieves search results in a paginated manner. Each call to runPaged() costs 5 units of governance, and each subsequent call to PagedData.fetch() also costs 5 units. This method is more efficient in terms of governance usage, especially when dealing with large result sets.
In terms of time performance, one user reported that switching from ResultSet.each() and ResultSet.getRange() to a paginated search significantly improved the execution time of their script. However, it's not clear whether this improvement was due to caching or other factors.
In conclusion, while NetSuite does not appear to cache the results of Search.getRange() and Search.runPaged(), using these methods effectively can improve the performance of your scripts, both in terms of governance usage and execution time.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
06/12/2026, 9:02 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.849365234
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.846740901
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.834899962
Celigo AI
06/12/2026, 9:02 PMCeligo AI
06/12/2026, 9:02 PM