Trading Networks 10.7 | Administering Trading Networks | Searching for Assets | Improving Trading Networks Performance During Searches | Setting a Limit for Search Results
 
Setting a Limit for Search Results
1. Shut down the Integration Server that hosts Trading Networks.
2. Open the Integration Server_directory \instances\instance_name\config\Cache\webm-cache-config.xml file and edit these XML tags in the XML tag <localScheme\>:
The following table describes the tags:
Tag
Value
<highUnits>
Maximum number of search result rows to cache. Use the format:
<highUnits>number_of_rows</highUnits>
<lowUnits>
Number of search result rows in the cache that will trigger deletion. Use the format:
<lowUnits>number_of_rows</lowUnits>
Trading Networks uses the Hybrid eviction policy to delete search result rows from the cache. This policy determines which rows to delete based on how often and how recently the rows were accessed; Trading Networks deletes the rows that were least frequently accessed and were not accessed for the longest period.
The recommended value for <lowUnits> is 75 percent of <highUnits>.
3. Restart Integration Server.
4. In My webMethods: Administration > Integration > B2B Settings > Configure Properties.
5. Add or edit the properties listed in the following table:
Property
Value
Maximum number of search result rows to retrieve from the database for each search. The default is 10000 rows.
Whether to sort the search result rows based on timestamp in descending order. Values are true (the default) or false.
6. Click Save.