Limiting the number of documents displayed during a Web Site search

You can specify a default and maximum number of documents to display as a result of performing a search on a database. Users can specify the number of documents for a search query to return using the SearchMax parameter with the SearchSite and SearchView commands.

About this task

Change these options to prevent users from overloading server resources with search results.

Procedure

  1. From the Domino® Administrator, click the Configuration tab, expand the Web section, and click Internet Sites.
  2. Choose a Web Site document you want to edit, and click Edit Document.
  3. Click the Domino Web Engine tab. Under Conversion/Display, complete these fields:
    Tip: You can also make these changes by opening a Server document in the Web Server Configuration view, and clicking the Internet Protocols > Domino Web Engine tab.
  4. Complete the following Conversion/Display fields:
    Table 1. Conversion/Display fields

    Field

    Action

    Default search result limit

    Enter the maximum number of documents to display when users do not specify the SearchMax parameter in the URL.

    If you set the value to 0, the number of documents displayed is the same value as that specified in Maximum search result limit.

    The default is 250.

    Maximum search result limit

    Enter the maximum number of documents that a user can specify for the SearchMax parameter in a URL.

    Enter 0 if you do not want to limit the number of documents displayed. The default is 1000.