Documentation Center

Adding draft-comments to search results

By default, <draft-comment> content is not part of search results. This can be customized.

Procedure

  1. Navigate to WEB-INF\db\LiveContent\ui\skins\base\xsl\ui\ and open search_build_xconf.xsl.
  2. Comment out <ignore qname="draft-comment"/> (or delete it).
  3. Run loaddb to upgrade the database (by default loaddb uses the UPGRADE command).
  4. Restart Content Delivery and log back in.
  5. In Content Delivery top menu, select Manage Application.
  6. Select Search Categories then Reindex.

Results

<draft-comment> content is now part of the search results. To have them back in, open search_build_xconf.xsl, un-comment/add back the element, restart and reindex.