Enable search on a secured portal site with the default configuration

 

+

Search Tips   |   Advanced Search

 

In order for us to use Portal Search for searching the portal site, WebSphere Portal has already prepared a search collection and a content source during the portal installation.

To enable that search collection on a secured portal site, encrypt the user ID and activate the search collection by starting the crawl and indexing process...

  1. To ensure encryption of the user ID and password for the crawler, update and run the file...

    searchsecret.xml

    ...using the XML configuration interface.

  2. Click...

    Administration | Search Administration | Manage Search | Search Collections

  3. From the list of search collections click the portal site search collection Portal Content. This opens the Content Sources panel for the portal site search collection. It lists only one content source, the Portal Content Source.

  4. The pre-configured default portal site search uses the default administrator user ID wpsadmin with the default password of that user ID for the crawler. To have the crawler to use the user ID wpsadmin and its default password, omit the following sub-steps and proceed with the next main step. If you have changed that password for the user ID wpsadmin, or to use a different user ID...

    1. For the Portal Content Source click the Edit icon.

    2. Update the user ID and password as required.

    3. Click Save to save changes.

    Set the preferred language of the portal site crawler user ID to match the language of the portal site search collection that it crawls.

  5. Click the icon...

    Start Collecting

    ...to start the crawl.

    The crawler starts collecting and indexing portal pages. By default, the crawl is scheduled to run for one hour. The scheduler for regular repeated crawls is disabled by default. If you enable it, the interval for scheduled crawls is every hour. We can set these parameters by using the Manage Search portlet:

    1. We can change the duration of the crawl, depending on the size of the portal installation. You do this by editing the portal site content source under General Parameters.

    2. You enable scheduled crawls by clicking the icon View Content Source Schedulers for the content source and clicking Disabled in the status column for the scheduler. The status changes to Enabled.

    3. You change the interval for scheduled crawls by editing the portal site content source, selecting the Schedulers tab, deleting the default scheduler, and defining a new one.

Notes:

  1. When you start the crawling process, be aware of...

  2. If a user tried to use the Search Center by entering a search string in the portal search box in the theme and clicking search before an administrator enabled the portal site search collection, the user has to log out of the portal and log back in again in order to be able to search the portal search collection. This includes the administrator who enabled the portal search collection.

 

Parent Topic

Configure search on a secured portal site