Add a search results list parameter

You can add a new parameter to specify the number of results listed on the search results page. The default value is 100, but with an infinite scroll.

About this task

You can specify an alternate value for the number of listed search results between the values of 100 and 1000. If you specify a value greater or less than that, the value remains the default 100.

Because the parameter is neither included as part of the web.platform.config.xml file, nor added by an update script, you must manually add the parameter.

To add a search results list parameter:

Procedure

  1. In the system/webplatform/configuration folder, check out and open the web.platform.config.xml file.
  2. Add the search.result.size property, and then add a value between 100 and 1000 for the results list. The example includes the default value.
    <entry key="search.result.size">100</entry>
  3. Save, close, and Check In the file.
    The size for the search results list is set.