Customizing your search collection for secured portal pages | HCL Digital Experience
Set up your own customized search collection for searching a secured portal site.
Procedure
- Plan and determine which portlets and portal pages you want to be accessed by the crawler and made available for search. This must be the sum of all of the portal resources that you want to be available for search by all users that you want to be able to search those resources.
- Make a conscious decision about the user ID that you use when you configure crawling and indexing, and which access permissions that user ID requires.
- To ensure encryption of sensitive data that is stored, such as the crawler user ID and password, update and run the file searchsecret.xml by using the XML configuration interface. For details about encryption, see the topic about Encrypting sensitive data.
- Create a dedicated crawler user with a user ID and password in the portal.
- Give the crawler user ID the required access permissions to the portal resources as determined by the planning step: Access to all portlets and pages that must be indexed and thus be made available for search by users. This access can include composite applications.
- To open the Manage Search portlet, click the Administration menu icon. Then, click .
- Click Search Collections to open the Search collections panel.
- Create a search collection for the portal site.
- Create the content source. The root URL for the portal is already completed. Select Portal Site for the type of content source. Complete the user ID and password for the crawler user that you created. Complete the other fields and select the options as needed.
- To enable search on the portal site for users, click Start
Collecting. Note:
- You can crawl, index, and search secured portal pages only on your local portal installation. For security reasons, you cannot crawl secured pages of one portal site from another portal site.
- Under normal circumstances, exclude all administrative portlets and all portlets that represent highly dynamic content from being accessible to the crawler user. This includes such portlets that contain action links with Delete actions. Otherwise, the Delete action can be started through the crawler.
- You can include composite applications with the portal resources that you make available for search by users, when you customize the portal site search collection. To do this step, make sure that you give the crawler user ID the required access permissions to those composite applications.
- Instead of creating a new search collection and content source for the portal site search you can also use the collection and content source of the default portal site search setup. In this case, replace the completed user ID and password in the Edit Content Source Configuration panel with the one that you want to use.
- For details about how to create a search collection and a content source, see the topics Creating and configuring search collections and Managing the content sources of a search collection, and the Manage Search portlet help.