Show TOC

KM Search iViewLocate this document in the navigation structure

Use

Provider

SAP

Type of use

iView template

Technical Name

pcd:portal_content/com.sap.pct/templates/iviews/com.sap.km.Search

Data source

SAP NetWeaver Portal

Languages

Portal languages

Support

EP-KM-CM

Prerequisites

The system only finds items that are in a search index. You create search indexes in the Index Administration iView.

Features

Users can use this iView to search for items in KM repositories.

Settings

The settings in the iView properties are only valid for the current iView. You make the settings for the search field in the portal header and for interface commands in the KM navigation view, such as Search from here, in the Content Management configuration iView.

If a user changes a value in the search options, the new value overrides the setting in the configuration and in the iView properties.

The KM search iView can comprise several modular components (controls). You can also define various parameters for the search options.

The table below displays the properties that you set when you create an iView based on the iView template.

Description (GUI)

Property

Maintenance

Allowed Entries

Search Components

SearchCompsName

Administrator

Name of a set of search components that is defined in the configuration of Content Management ( Start of the navigation path Configuration Next navigation step Content Management  Next navigation step  User Interface  Next navigation step  Search  Next navigation step Search Component Set End of the navigation path).

For more information, see Search Components

Search Options

SearchPluginName

Administrator

Name of a set of search options that is defined in the configuration of Content Management ( Start of the navigation path Configuration Next navigation step Content Management  Next navigation step  User Interface  Next navigation step  Search  Next navigation step  Search Options Set End of the navigation path).

For more information, see Search Options

If you want to set parameters for the search options in the iView properties, you can create an iView based on the master iView com.sap.km.cm.search from the portal archive. In this iView, the iView properties override the settings from the configuration.

Recommendation

If you want individual parameters to be different from the default in a particular iView, proceed as follows: Duplicate a set of search options in the Content Management configuration, make your changes in the duplicate, and reference the duplicate in the iView properties (Search Options property).

Deactivating the Additional Phrase Search

If users enter several terms into the search field (without using quotation marks), the system usually carries out an additional phrase search. This causes documents that contain the search terms in the order in which they were entered receive a higher rank value.

If you want to deactivate this additional phrase search, use the following parameter in the query iView property: IncludePhrase=false

The table below shows some examples:

User input

Parameter

Description

business software

IncludePhrase=

true

(Default)

The system executes the following search query:

business AND software OR "business sof tware"

This search finds documents that contain both the term business and the term software . These terms do not have to appear next to each other in documents found. However, documents that contain the phrase business software receive a higher rank value.

business software

IncludePhrase=

false

The system executes the following search query:

business AND software

This search finds documents that contain both the term business and the term software . These terms do not have to appear next to each other in documents found.

"business software"

Parameter-independent

The system executes the following search query:

"business software"

This search only find documents that contain exactly this phrase.

Deactivating Content Snippets or "Did you mean" Terms

TREX normally queries content snippets or "Did you mean" terms every time you execute a search. If you do not want to display content snippets or "Did you mean" terms in your search iView, you can deactivate this query as follows:

Use the following parameter values in the query iView property:

disContSnippets=true

disDidYouMean=true

This can improve search performance.