AF Search results cache settings
- Last UpdatedMar 20, 2025
- 1 minute read
- PI System
- PI Web API 2023 SP1 Patch 1
- Developer
PI Web API has several configuration settings for managing the search results cache on the PI AF server.
AFSearchCacheTimeout
Determines the expiration period for search results cache. Add or set the configuration item in PI System Explorer:
|
Field |
Description or value |
|---|---|
|
Value Type |
Int32 |
|
Value |
Enter a numeric string that represents the expiration period for search results cache, in seconds. Minimum value is 0, which disables the search results cache. Maximum value is 2,147,483,647 seconds. The default value is 600 seconds. |
AFSearchCacheInterval
Determines the frequency at which the search results in the cache are automatically refreshed. Add or set the configuration item in PI System Explorer:
|
Field |
Description or value |
|---|---|
|
Value Type |
Int32 |
|
Value |
Enter a numeric string that represents the frequency at which the search results in the cache are automatically refreshed, in seconds. When the specified refresh time interval has elapsed, the cached search results are automatically updated before returning the next page of results. Minimum value is 0, which disables the refresh. Maximum value is 2,147,483,647 seconds. The default value is 0 seconds. |
AFSearchPageSize
Determines the number of results on each page of the paged results. Add or set the configuration item in PI System Explorer:
|
Field |
Description or value |
|---|---|
|
Value Type |
Int32 |
|
Value |
Enter a numeric string that represents the number of results on each page of the paged results. If the number of search results is less than this setting's value, the entire results set is returned. If the number of results is greater than this setting's value, results are returned one page at time. The default value is 1000 results. |