Configuring the maximum number of search matches

If you do not use Contenta S1000D, configure the maximum number of matches for categorical and/or full-text searches in LiveContent S1000D. The default for both settings, if left unspecified, is 1000. If you do use Contenta S1000D, configure these settings in Contenta S1000D.

Procedure

  1. If you use Contenta S1000D, configure these settings in the publish configuration file of the Contenta S1000D Publish tool. For details on how to do this, refer to the Paginating search results in a published IETP topic under Publishing IETPs in the Using SDL Contenta S1000D documentation.
  2. If you do not use Contenta S1000D, navigate to your collection directory and open wietmsd_prg.xml for editing.
  3. To change the maximum number of matches for categorical searches, within the ietm section in this file, insert the following:
    <configitem name="ietm.search_max_num_opt">
      <comments>Maximum number of hits to display for categorical searches</comments>
      <value>500</value>
    </configitem>
  4. To change the maximum number of matches for full-text searches (mandatory if you performed the previous step), within the ietm section in this file, insert the following:
    <configitem name="ietm.search_max_num">
      <comments>Maximum number of hits to display for full-text searches</comments>
      <value>500</value>
    </configitem>

    If you set a maximum number of matches for categorical searches, the value of value in this configitem must be equal to or higher than the value specified in the configitem for categorical searches.

  5. Save and close wietmsd_prg.xml.