+

Search Tips   |   Advanced Search

Configure Web Content Manager search options

We can edit the following search options to manage how the search service works with Web Content Manager search forms

  1. Edit...

      WP_PROFILE/PortalServer/shared/app/config/wcmservices/SearchService.properties

  2. Specify values for the search parameters.

    Parameter Details
    SearchService.DateFormatString Set the date format when entering dates in search forms and for displaying search results. Enter a supported Java date format string. If this property is not set, then the default format is MMM dd yyyy HH:mm:ss z.
    SearchService.RecrawlInterval Recrawl interval in hours.
    SearchService.BrokenLinksExpirationAge Broken links expiration age in days.
    SearchService.MetaFields Specify additional elements to crawl when searching for Metadata.

        elementName1,key1;elementName2,key2;elementName3,key3
      For example, to crawl for metadata in a text element named metaText:

        SearchService.MetaFields=metaText,meta

      ...where...

        elementName Element to search for Metadata. Any valid element with that name in a searchable site area or content item will be crawled.
        key Key specified in an element tag used as part of a search element design. In the previous example, the key of "meta" has been used. To render the content of the metaText element in a search element design:

          <Element context="autoFill" type="content" key="meta"/>

        Only text elements and short text elements can be searched. Only site areas that have been configured to be searchable will be crawled.

    SearchService.SearchSeed.ExcludeFileAttachments=false Set true to prevent file resource component attachments from being included in the search results. If set to false, the files stored in file resource elements in content items can also be searched. Files stored in file resource elements in a site area can also be searched so long as a default content item has been selected.

  3. Save the SearchService.properties file.

  4. Restart the portal for the new settings to take effect.


Parent: Enable search for web content

Previous topic: Indexing web content

Next topic: Configure Search Center to search for web content