Show TOC

Procedure documentationIndexing Portal Content Locate this document in the navigation structure

 

The portal indexing service enables you to index portal content. Using the knowledge management capabilities in SAP NetWeaver, you create a Web repository and index of portal content. In the portal administration environment you configure the indexing service.

Note Note

This functionality is not available in SAP NetWeaver Composition Environment.

End of the note.

Prerequisites

  • You are assigned to the System Administrator role.

  • You have installed usage type Enterprise Portal (EP).

  • You have defined the URL for the URL generator. For more information, see Specifying the Portal URL.

  • You have configured TREX in SAP NetWeaver Administrator. For more information, see Specifying the Address of the TREX Name Server

Procedure

The following steps are described in detail in the sections that follow.

  1. Create an HTTP system.

  2. Configure the proxy.

  3. Configure the site from which to start indexing.

  4. Create the Web repository.

  5. Connect a new filter to the Web repository.

  6. Create a new index.

  7. Configure the service profile of the indexing framework.

  8. Configure the search UI.

  9. Reindex the portal.

Create an HTTP System
  1. In the portal, go to   System Administration   System Configuration   Knowledge Management   Content Management  .

  2. In Content Management, choose   Global Services   System Landscape Definitions   Systems   HTTP System  .

  3. Choose New and then choose Show Advanced Options.

    Set the following properties:

    Property

    Value

    System ID

    portal_indexing_system

    Password

    <administrator password>

    Confirm the password

    Server URL

    http://<server>:<port>

    Make sure not to add an extra slash at the end

    User

    The user ID of the administrator

    Note Note

    If you change the administrator password for the portal, make sure that you update the password here as well.

    If you specify a user other than the administrator user, only content inside roles assigned to that user are indexed.

    End of the note.
Configure the Proxy
  1. In the portal, go to   System Administration   System Configuration   Knowledge Management   Content Management  .

  2. In Content Management, choose   Global Services   System Landscape Definitions   Systems   Default Proxy System  .

  3. Choose Edit and specify the direct hosts (for example, localhost, <server name>, <fully qualified domain name>) and the proxy URL (for example, http://proxy:8080)

Configure the Site from which to Start Indexing
  1. In the portal, go to   System Administration   System Configuration   Knowledge Management   Content Management  .

  2. In Content Management, choose   Repository Managers   Web Sites   Web Site  .

  3. Choose New and then choose Show Advanced Options.

    Set the following properties:

    Property

    Value

    Name

    portal_indexing_ws

    System ID

    portal_indexing_system

    Login Form ID

    logonForm

    Login URI

    /irj/servlet/prt/portal/prtroot/com.sap.portal.indexing.framework.LogonComponent

    Login User Agent

    TREX (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2)

    Start Page

    /irj/servlet/prt/Index/prtroot/com.sap.portal.indexing.framework.EntryComponent

Create the Web Repository
  1. In the portal, go to   System Administration   System Configuration   Knowledge Management   Content Management  .

  2. In Content Management, choose   Repository Managers   Web Repository  .

  3. Choose New and set the following properties:

    Property

    Value

    Name

    portal_indexing_wr

    Prefix

    /portal_indexing_wr

    Repository Services

    properties

    Cache Timeout

    20000

    HTTP Timeout

    600000

    Web Sites

    portal_indexing_ws

    Memory Cache

    portal_indexing

Connect a New Filter to the Web Repository
  1. In the portal, go to   System Administration   System Configuration   Knowledge Management   Content Management  .

  2. In Content Management, choose   Repository Filters   com.sap.nw.kmc.indexing.filter.IndexPropertiesFilter  .

  3. Choose New and then choose Show Advanced Options.

    Set the following properties:

    Property

    Value

    Name

    PortalContentFilter

    Active

    [Select the checkbox]

    Repositories

    portal_indexing_wr

Create a New Index
  1. In the portal, go to   System Administration   System Configuration   Knowledge Management   Index Administration  .

  2. Choose Create and set the following properties:

    Property

    Value

    ID

    portal_indexing_<unique identifier>

    Service

    TREX Search

    Items to index

    Documents

  3. Create a custom property:

    • Name: queryExtender.

    • Value: com.sap.nw.kmc.permissionsQuery.PermissionCheckQueryExtender.

    Choose Add.

  4. Choose Create Index and then save the index.

  5. In the screen index screen that opens, choose Data Sources.

  6. Choose Add.

  7. Select portal_indexing_wr and then choose portal_indexing_ws and choose OK.

  8. Save your changes.

Configure the Service Profile of the Indexing Framework
  1. In SAP NetWeaver Administrator, go to   Configuration Management   Infrastructure   Application Modules  .

  2. In the module list, select com.sap.portal.indexing.framework.

  3. In the Web Module Details section, choose IndexingConfigurationService.

  4. In the Full Details section, choose indexID and set the value to the index ID that you created in the Create a New Index step above.

  5. Save and restart the service.

Configure the Search UI
  1. In SAP NetWeaver Administrator, go to   Configuration Management   Infrastructure   Application Modules  .

  2. In the module list, select com.sap.km.appl.portal.indexing.framework.

  3. In the Web Module Details section, choose IndexPropertiesServiceWrapper.

  4. In the Full Details section, choose ActivatePortalSearch and set it to true.

  5. Save and restart the service.

Reindex the Portal
  1. In the portal, go to   System Administration   System Configuration   Knowledge Management   Index Administration  .

  2. Select the index that you created, and choose Reindex.