Modifying a Saved Search that Returns Elements to Return Structured Documents

You can clone an existing Saved Search that currently returns document elements and modify it so it returns structured documents instead.

  1. Navigate to the Public Searches folder in the Administration cabinet.
  2. Right-click the search object of interest and select File > Copy.
  3. Right-click the Public Searches folder and select File > Paste.
    A new search with the same file name as the original but with a -1 suffix appears in the Public Searches folder.
  4. Right-click the copied search with the -1 suffix and select File > Show Properties.
    The Properties dialog appears.
  5. Modify the Name and Description fields to indicate the search returns structured documents, and remove the -1 suffix.
  6. In the Properties dialog, click the Custom Attributes tab, then click Add and select SearchFilters, then click OK.
    Note: Prior to Astoria 6.6, the custom attribute name for this change was named com.lspeed.astoria.SearchFilters and was hidden from view. Any searches previously configured for promotion will continue to function after this change.
  7. In the SearchFilters field, specify ContainerPromotionSearchHitFilter.
  8. Click OK
    The changes are saved to the repository.
  9. Test the new search to verify it reports only structured documents and nothing else.