+

Search Tips   |   Advanced Search


Use the custom metadata field search support

With the search seedlist 1.0 support, custom metadata fields specified on content items are added to the search seedlist as metadata information, without requiring the metadata to appear in the HTML source for the content items. Before you begin, ensure that you have enabled support for the seedlist 1.0 format, as described in Enable support for search seedlist 1.0.

  1. Log in to the administrative console.

  2. Click Resources > Resource Environment > Resource Environment Providers.

  3. Click WP ConfigService.

  4. Under Additional Properties, click Custom Properties.

  5. Click New, and enter the property name wcm.config.seedlist.metakeys , and set the string value to a comma-delimited list of your own metadata (for example, <metakey1, metakey2>).

    Add the names of the text element from your content that should be included in the search results to the wcm.config.seedlist.metakeys property. To add more than one text element, separate them with commas. The name of the text element on your content item that should be included in the search seedlist must match the name configured for this configuration key.

    For example, set wcm.config.seedlist.metakeys=language,region in the WP ConfigService resource environment provider, and add a IBM Lotus Web Content Management text component with the name language to a content item or authoring template. In your content item you can enter the value german into the text component for the language. After saving the content item, the search crawler will add the value german into a metadata field called language within the search seedlist. Then you can filter the search results based on your metadata information.

  6. Click OK, and save the changes to the master configuration.

  7. Restart the portal.


Parent topic:

Use the search seedlist 1.0 format