Enabling and Setting Global Portal Search for Wiki Content

Use

You can enable the global portal search (available in the portal's masthead) to provide wiki content in its search result list. Wiki content includes the following objects:

  • Spaces

  • Pages

  • Comments

  • Versions

  • Attachments

Portal Search and Wiki Search

This document describes the settings regarding the integration of wiki objects into the global portal search function, which is available in the portal's masthead.

It does not refer to the default search function within the wiki application.

Portal Search Settings

According to the specific use case of the wiki application and the impact of indexing on the system performance, you can choose between a number of setting possibilities as explained below (and shown in the subsequent figure):

Requirement

Portal Search Settings

Enable the global portal search function to provide the most recent wiki objects

In the settings of the wikis repository, activate TREX delta indexing. The system reacts as follows:

  • If no search index for wiki objects is available, the system automatically creates it.

  • As soon as a wiki object is created, changed or deleted, the system immediately updates the TREX index queue for wiki objects.

Lower the up-to-dateness of the search results in favor of a better system performance

In the settings of the wikis repository, deactivate TREX delta indexing.

In this case the system does not immediately refresh the index queue (in case a wiki object is created, changed or deleted).

Instead, in the Index Administration , you can schedule a cyclic - daily, weekly or monthly - update of the wikis index.

If you do not schedule a cyclic index update, the wiki objects indexed before can still be found via the global portal search, but new or changed objects cannot be found.

Portal Search Settings for Wiki Objects

Prerequisites

The global portal search is based on the SAP Search and Classification engine (TREX). You should be acquainted with the administration of search indexes.

For more information, see Administering Indexes and TREX admin tools in the TREX documentation.

Procedure

Activating or Deactivating Delta Indexing for the Wiki Application

  1. In the portal, choose Start of the navigation pathSystem Administration Next navigation step System Configuration Next navigation step Knowledge Management Next navigation step Content Management Next navigation step Repository Managers Next navigation step Wikis RepositoryEnd of the navigation path.

  2. Open the configuration object wikis for editing.

  3. To activate or deactivate delta indexing of wiki objects, set the option Enable TREX Indexing to Yes respectively No .

Updating the Index Queue Manually

  1. In the portal, choose Start of the navigation pathSystem Administration Next navigation step System Configuration Next navigation step Knowledge Management Next navigation step Index AdministrationEnd of the navigation path.

  2. Select the wikis index.

  3. Choose Incremental Update .

Scheduling a Cyclic Index Queue Update

  1. In the portal, choose Start of the navigation pathSystem Administration Next navigation step System Configuration Next navigation step Knowledge Management Next navigation step Index AdministrationEnd of the navigation path.

  2. Open the wikis index for editing.

  3. Choose Data Sources .

  4. Select the data source assigned to the index (e. g. root > wikis).

  5. Make sure the crawler parameter standard is selected.

  6. Choose Define Schedule .

  7. Select the index queue update cycle (daily, weekly or monthly) and specify the required parameters.

Scheduling the Update Interval of the Search Index

  1. In the portal, choose Start of the navigation pathSystem Administration Next navigation step System Configuration Next navigation step Knowledge Management Next navigation step Index Administration ( Next navigation step Related Links) Next navigation step Indexing MonitorEnd of the navigation path.

  2. Choose the wikis index.

  3. In the left-hand navigation pane, choose Edit Queue Parameters .

  4. Adapt the value under Schedule Time .

    The default value is 30 minutes (0:30). The minimum value is 1 minute (0:01).

Disabling the Global Portal Search for Wiki Objects

To disable the global portal search for wiki objects you need to deactivate the TREX delta indexing of wiki objects and delete the TREX index.

  1. To disable the global portal search, proceed as follows:

    • Choose Start of the navigation pathSystem Administration Next navigation step System Configuration Next navigation step Knowledge Management Next navigation step Content Management Next navigation step Repository Managers Next navigation step Wikis RepositoryEnd of the navigation path.

    • Open the configuration object wikis for editing.

    • Set the option Enable TREX Indexing to No .

  2. To delete the TREX index for wiki objects, proceed as follows:

    • Choose Start of the navigation pathSystem Administration Next navigation step System Configuration Next navigation step Knowledge Management Next navigation step Index AdministrationEnd of the navigation path.

    • Select the TREX index for wiki objects.

    • Choose Delete .

Setting Remote Search Integration for Wiki Content

  1. In the portal, choose Start of the navigation pathSystem Administration Next navigation step System Configuration Next navigation step Knowledge Management Next navigation step Content Management Next navigation step Repository Managers Next navigation step Wikis RepositoryEnd of the navigation path.

  2. In the Wikis JNDI Provider URL parameter enter the host and port of the provider system, as follows:

    • Enter the ICM host as specified in the provider URL.

    • Enter the P4 port as specified in the provider URL

    The value string has to contain the following: <icm_host>:<p4_port>

    For more information, see: Naming and Directory Services (JNDI) .

  3. In the Wikis JNDI Password parameter, enter the password that is used for creating the initial context.

  4. In the Wikis JNDI User parameter, enter the user that is used for creating the initial context.

    For more information about user authentication, see: Creating an Initial Context .

  5. In the Wikis URL parameter, enter the host and port of the wiki system, as follows:

    • Enter the http or https protocol that is used for the access to the wiki application

    • Enter the host that is used for the access to the wiki application

    • Enter the port that is used for the access to the wiki application

    • Enter the context root of the wiki application

    The value string has to contain the following: <protocol>://<hostname>:<port>/<wiki context root> .