Limiting number of returned results

Build 1501 on 14/Nov/2017  This topic last edited on: 17/Mar/2016, at 16:49

To optimize search/browse performances, GN4 loads results in chunks. The default for the client applications is to return 100 records at a time. The default for the GN4 browser is to return 8 results at a time. The first search / browse will return first X records, ordered as required.

The number of returned results and the number of available but not yet loaded results is displayed in the commands zone under results (in navigator, or content listing).

Configure number of returned results

Since the version 1.5, the number of returned results may be system-wide and specified in the GlobalConfig. That value is applied unless overriden by the ItemsPerPage property of the SearchCriteria class in base queries or in SearchObjectUI.

For each base query the chunks size is defined in the xxx_TabItems.xml file, in the definition of the main tab/ navigator, by the ItemsPerPage property of the SearchCriteria class. The setting is equal for all users, but it can be different for each base query.

<l:SearchCriteria 

 Name="AssetSearch" 

 BaseQueryName="AssetNavTab" 

 SearchName="Search" 

 AutoApply="False" 

 itemsPerPage="100"

/>

Change the value to what you want.

The number of returned results in the GN4 browser is per-user setting, defined on the level of personal preferences. Click Settings in the browser header, and then in Number of items per page, enter what you want. The setting applies on all listings.

See also

Configuring number of displayed results in directory styles