+

Search Tips   |   Advanced Search


Configure a site to be searchable

To search a site first create a search collection and then enable a site to be searchable.


Creating a search collection

A default search collection named WebContentCollection can be used as the search collection for all your Web content sites. If this search collection does not exist on your server, you can create one by running action-http-wcm-search-collection task from profile_root/ConfigEngine.

You can create other search collections manually based on the configuration detailed in the WebContentCollection search collection.

For example, if you want to restrict your users to search only a single site, create a separate search collection for each Web site.

When you create a search collection for Web content you do not have to create a content source for your search collection. This is automatically created when you select the search collection in a site form.


Enable a site to be searchable

After creating a search collection, you then select the search collection in your site.

  1. Open a site form.

  2. Select Searchable in the Search section of the site form.

  3. Select a search service.

  4. Select a search collection.

  5. Enter a valid user ID and password.

    The content source created when a site is made searchable uses the credentials of the user entered here. Only items that the specified user has read access to or above will be included in the search. A manager or administrator may need to edit an existing site and enter their user name and password to enable all items in a site to be searchable.

  6. Save the site form.

The next time the search collection is updated, the content on this site will be added to the search collection.


Deleting and recreating a content source

If you delete a content source from a Web content search collection do the following to recreate the deleted content source:

  1. Open the site associated with the deleted content source.

  2. Clear the "searchable" check-box.

  3. Click Save.

  4. Select "searchable" and select your search collection.

  5. Click Save.


Search Web content in a virtual portal

Search services and search collections are separate for individual virtual portals and are not shared between individual virtual portals. You set up an individual search service and separate search collections for each virtual portal. These collections can be used to crawl and search the same set of documents. For a site that is shared across virtual portals, then to search that site in a virtual portal environment :

  1. Create a new search collection for the virtual portal. You can create a new content source by copying the URL from your original search collection.

  2. Create a new search component, or copy an existing search component, and configure it to use the new virtual portal search collection created in step 1.

  3. Create a new search form, using an HTML component, configured to use the search component created in step 2.

  4. Create a new content item to display the HTML component created in step 3.

Perform these steps for each virtual portal in your system.


Parent topic:

Enable search for Web content


Next topic:

Configure Web Content Management search options