Show TOC Start of Content Area

Procedure documentation Indexing Portal Content  Locate the document in its SAP Library structure

The portal indexing service enables you to index portal content for the following scenarios:

·        If your portal includes Knowledge Management and TREX, you can index portal content and portal users can search for it using the KM search tool.

·        If your portal does not include Knowledge Management, you can provide portal users with a Search iView that enables them to search portal content.

·        You can provide public search engines, for example Google, with a URL that will enable them to index anonymous content in your portal.

Procedure

Indexing Portal Content with KM

Using the KM tools, you create a Web repository and index. In the portal administration environment you configure the indexing service.

Configure TREX

...

       1.      Make sure that TREX is installed and running.

       2.      Launch Visual Admin and navigate to Server ® Services ® TREX Service.

       3.      Enter the value tcpip://<server>:<host> in the following fields:

¡        nameserver.adrress

¡        nameserver.backupserverlist

       4.      Restart the TREX service.

Create a KM Web Repository

...

       1.      Create an HTTP system for the Web site:

                            a.      Navigate to System Administration ® System Configuration ® Knowledge Management ® Content Management ® Global Services ® System Landscape Definitions ® Systems ® HTTP System.

                            b.      Click New and specify a System ID and Server URL.

                            c.      Click OK.

       2.      Create a Web site:

                            a.      Navigate to Content Management ® Repository Managers ® Web Sites ® Web Site.

                            b.      Click New and specify the following:

§         Name: A name for the new site.

§         System ID: The system that you created in the previous step.

§         Display Name: A display name for the new site.

§         Start Page: Enter the following URL

irj/servlet/prt/portal/prtroot/com.sap.portal.utilities.tools.portalspider.SpiderWebInterface?j_user=XXX&j_password=YYY&indexALLRoles=true

Where XXX is an authenticated content administration user and YYY is the user password.

                            c.      Click OK.

       3.      Create a Web repository:

                            a.      Navigate to Content Management ® Repository Managers ® Web Repository.

                            b.      Click New and enter a name for the Web repository.

                            c.      In the Security Manager dropdown list, select AclSecurityManager.

                            d.      Under Web Sites, select the site that you created in the previous step.

                            e.      Click OK.

Create the Index

...

       1.      Navigate to Knowledge Management ® Index Administration.

       2.      Click Create and enter the properties of the new index.

                            a.      In the Service dropdown list, select TREX Search.

       3.      Click Create Index.

       4.      Click Data Sources and choose the prefix defined in the previous step.

       5.      Click Reindex to index the portal.

Configure the service SpiderConfigurationService

...

       1.      Go to System Administration ® System Configuration ® Service Configuration.

       2.      In the Portal Catalog, open Applications ®com.sap.portal.utilities.tools.portalspider® Services.

                            a.      Right-click SpiderConfigurationService, and choose Configure.

                            b.      Set the following parameters:

§         UseAutomaticRedirect: when clicking on result links, redirects to the portal navigation.

§         SupportedAgents: Enter SAP-KM/WebRepository to allow KM indexing.

§         KMIndexName: Enter the KM index that you created.

§         KMPrefix: Enter the KM prefix

§         KMHttpSystem: Enter the KM Web site name.

§         UseAutomaticUpdate: Enables the update of changed content

§         UpdateInterval: The interval in minutes that content is updated.

                            c.      Click Save.

Indexing Portal Content

If you do not have Knowledge Management installed, you can create an iView that enables portal users to search for portal content.

...

       1.      Go to Content Administration ® Portal Content.

       2.      In the Portal Catalog, right-click a folder and choose New ® iView.

       3.      In the iView Wizard Source Type screen, select Web Dynpro Java application.

       4.      In the iView Type screen, select Create a single full-page iView from each application variant.

       5.      In the Source Object screen, select sap.com ® spider_search ® com.sap.portal.spider.SpiderSearch ® SpiderSearch.

       6.      In the iView Properties screen, specify a name for the iView.

      7.      Add the iView to the navigation hierarchy.

       8.      Configure the service SpiderConfigurationService.

                            a.      Go to System Administration ® System Configuration ® Service Configuration.

                            b.      In the Portal Catalog, open Applications ® PortalSpider ® Services.

                            c.      Right-click SpiderConfigurationService, and choose Configure.

                            d.      Set the UseAutomaticUpdate property to true.

                            e.      Click Save.

       9.      Configure the service SpiderDBService.

                            a.      In Service Configuration, right-click SpiderDBService, and choose Configure.

                            b.      Set the following parameters:

§         UserDBFOrSearching: Set to true to activate the service.

§         serverURL: Specify the server URL using the following format:

http://<server>:<port>

§         portalUser/portalPassword: Specify the username and password of any authenticated user.

                            c.      Click Save.

External search engines

To enable public search engines, such as Google, to index portal content, provide the search engine with the following URL:

irj/servlet/prt/portal/prtroot/com.sap.portal.utilities.tools.portalspider.SpiderWebInterface?

Note

Only anonymous content is indexed.

End of Content Area