Working with Search Pages

This section provides an overview of working with search pages.

Configurable search enables you to configure the presentation of the delivered search pages for classic and fluid components. The search pages for PeopleSoft application components (classic and fluid) provide these options:

  • Find an Existing Value (Standard search).

  • Add a New Value.

  • Keyword Search.

Note: Configurable search does not support a combination of standard search and keyword search for a component. For a list of supported combinations, see Considerations for Using Configurable Search.

The PeopleTools delivered classic search page is displayed for classic components, by default. However, for fluid components, you need to specifically enable the delivered fluid search page for individual components or system-wide.

See Understanding Configurable Search.

This example illustrates the fields and controls on the Classic PeopleSoft Application Component Search. You can find definitions for the fields and controls later on this page.

Classic PeopleSoft Application Component Search

While the Find an Existing Value page enables end users to find the rows of data they need to view or modify, it is limited to running searches only across level 0 fields. The Find an Existing Value search runs against the live data tables, the component search record, not a search engine index.

Using the Keyword search page, end users can perform a deeper, more free-form search against the data. The Keyword search runs across the indexed values stored on the search engine server, which contains fields across all scroll levels.

Note: The Keyword Search page only appears if a search index has been associated with the component in a search definition. Because the keyword search runs against the indexed data, depending on the frequency of index builds, the indexed data may not entirely match the Find an Existing Value search results. You can ensure that the indexed data is near real time by enabling real-time indexing for the mapped search definition.

For information on real-time indexing, see Configuring Real-Time Indexing.

This example illustrates the fields and controls on the Keyword search page. You can find definitions for the fields and controls later on this page.

Keyword search page

The search pages that display after you’ve enabled Keyword search for a component are:

  • Keyword Search: This page enables the user to run free-text searches using the Keywords edit box. Implementation teams can index any attributes that they would like the end user to be able to search.

  • Add a New Value: This is the same interface as the Add a New Value page used in previous PeopleSoft releases, which enables you to add new rows to PeopleSoft tables.

If the search server is down, search definition is not deployed, or search definition is not indexed, the system automatically displays the standard search instead of the keyword search and displays the following error message:

Error

Possible Cause

Resolution

Keyword Search is unavailable at this time - Error “Keyword Search is down”. Transferred to Standard Search until the issue is resolved.

Search server is down or not available.

Contact your Search Administrator.

Keyword Search is unavailable at this time - Error Search Definition is not Deployed. Transferred to Standard Search until the issue is resolved.

Search definition is not deployed.

Contact your Search Administrator.

Keyword Search is unavailable at this time - Error Search Definition is not Indexed. Transferred to Standard Search until the issue is resolved.

Search definition is not indexed.

Contact your Search Administrator.

Recent and saved searches are displayed based on search type. For example, if you have saved some searches in keyword search and the page is switched to standard search, then it doesn't show the keyword search page's recent and saved searches. Similarly, when the issue is resolved and the keyword search is available, you notice that recent and saved searches from the standard search don't appear on the keyword search.

To enable Keyword Search display when users access a component, you use the Component Mapping page in the Search Definition component for the Search Framework Designer. The Component Mapping page enables you to map a component to a specific search definition to enable search engine integration with Search Pages.

Note: Search definitions mapped to a component use document level security. This is enforced by the Search Designer activity guide.

For components that have been added to the grid on the Component Mapping page for a search definition, the search page for that component displays the Search Framework search options. The keyword Search Framework feature enables the user to search deeper (level 0-3) by running a free-formed search against crawled and indexed values in the search engine. The keyword search is powerful because it allows you to search across all fields in an index rather than just inside a specific set of fields defined in the search record.

When the search definition is deployed, the system updates the component meta data to indicate the search category to which the component is mapped. When the system renders the page, it displays the keyword search page for that component.

Note: Multiple components can be mapped to the same search definition.

To enable search pages for a component:

  1. Select PeopleTools > Search Framework > Search Designer Activity Guide > Search Definition and open the desired search definition.

  2. Select the Component Mapping tab.

  3. Add the desired component to the grid.

  4. Update the security restrictions and access appropriately.

  5. Save the search definition.

  6. Deploy or update the search definition to the search engine.

  7. Navigate to the component and verify that you see the Keyword search page.

This section describes these items to consider while implementing Search Pages.

  • Setting component properties for search pages.

  • Working with Find an Existing Value and Keyword Search behavior differences.

  • Working with Keyword Search data currency.

  • Requirements for Keyword Search.

Setting Component Properties for Classic Search Pages

You configure properties for your search pages in the Component Properties dialog box in PeopleSoft Application Designer. On the Internet tab, in the Search Page group box there are numerous settings related to your application search pages. These settings apply specifically to the Keyword search page:

Field or Control

Description

Primary Action (Keyword Search)

Enables you to set the primary action of the component to display the Keyword Search page.

Default Search\Lookup Type (Keyword Only)

Enables you to set the default look up type to be used on the Keyword Search page.

Link to Realtime Search Page

Specifies the message set and number that stores the text displayed for the Find an Existing Value link in the Add a New Value tab and Keyword Search tab if Keyword Search is enabled.

Link to Keyword Search Page

Specifies the message set and number that stores the text displayed on the Add a New Value tab and Find an Existing Value tab if Keyword Search is enabled.

Note: The Link to Keyword Search Page value only applies if Keyword Search is enabled for that component.

The Link to Realtime Search Page value applies to all components that use the PeopleTools search page, even if Keyword Search is not enabled.

Note: The term, Realtime, is used to differentiate between the currency of the data between the Find an Existing Value search and the Keyword search. While the Find an Existing Value search displays search results that are always a current reflection of the data in the database, the Keyword Search is only as current as the last index build or incremental index update. However, you can ensure that the indexed data is near real time by enabling real-time indexing for the component.

When implementing the Keyword search feature, make sure to adjust these settings accordingly. The general concepts surrounding these settings, along with other component properties, are discussed in the PeopleSoft Application Designer documentation.

See Setting Internet Properties.

Setting Component Properties for Fluid Search Pages

Similar to classic search pages, you configure properties for your Fluid search pages in the Component Properties dialog box in PeopleSoft Application Designer. On the Fluid tab, in the Search Type field, select either None, Standard, or Master/Detail.

See Implementing Search for Fluid Components.

Working with Find an Existing Value and Keyword Search Behavior

Find an Existing Value or Standard search and Keyword search types have the same, general look and feel, however, these differences and features should be noted:

  • With the Find an Existing Value search, the end user selects values based on the underlying record search keys and clicks Search. Results are rendered in a standard grid format, as seen in all previous PeopleSoft versions.

  • With the Keyword search, the end user enters values into the Keywords edit box and clicks Search. The end user can also enter a combination of keywords in addition to using the provided search keys. The system runs this search against the search engine index. Results can be displayed in either a grid or a list format.

  • The Keyword search will show facets, while the Find an Existing Value search cannot.

  • Search operators are different between the Find and Existing Value search and Keyword search. For example, the typical Keyword search operators include contains, =, not =, where as the Find an Existing Value search operators include more, such as begins with, contains phrase, =, not =, greater than, less than, between, in, and so on.

    Note: When you use the contains phrase operator, enter a complete word or a set of words, for example desktop or desktop computer. You can also use wild card characters; the wild card characters can be used at the beginning of a word, within a word or at the end of a word. Examples of valid search text containing wild cards: *test, t*st, test*.

  • Keyword search fields do not contain prompts or drop-down lists. Search text needs to be added in a free-form manner, using wild cards as needed.

    Note: In the Find an Existing Value tab you specify a wild card using "%", while in Keyword search you specify a "*".

Working with Keyword Search Data Currency

The Keyword search can display only search results that are included in the index. Search Framework provides the capability to enable real-time indexing for search definitions.

In search definitions that are not enabled for real-time indexing, the index is only as current as the last incremental index update or the last full build date and time. As such, the Keyword search results will not always contain the most current reflection of the transactional data.

For example, assume that an organization has the incremental index update process schedule to run once every 3 days. If a salesperson adds a new customer to the system just after the incremental update occurred, that customer information will not appear in the Keyword Search results until the next incremental index update process has completed. Likewise, if a customer has been deleted from the system just after an incremental index update, the search results for the Keyword Search will continue to include that customer information until the next incremental index update process has completed.

The Keyword search page (real-time indexing is not enabled) displays a message indicating how fresh the search results are. For example:

Note: Search will return results last updated 5 hours ago.

If you enable real-time indexing for a search definition, the data is indexed every time an update occurs on the search definition providing you near real-time data.

The Keyword search page (real-time indexing is enabled) does not display any message to indicate how fresh the search results are because the search results are near real time.

See Understanding Real-Time Indexing.

Requirements for Keyword Search

The requirements for keyword search slightly differ depending on whether you are using Application Designer or Manage Configurable Search page to set keyword search for a component.

When you use Application Designer to set keyword search for a component, ensure that the following settings are met:

  • All the search and alternate search keys shown on the search page must be indexed attributes.

  • Only the fields marked as List Box items on the component search record will be shown.

    Note: This is true when showing the results in the grid format for the keyword search. If you switch to list format, you can display additional fields that are indexed but not marked as List Box or search keys.

  • All List Box item fields must be indexed attributes.

Note: Grid-based view of the keyword search results is based on the List Box item configuration on the associated search record.

Note: If a non-default label is selected for a search key, alternate search key, or list box item on the search record, the same label must be configured for use on the Map Search Attributes page.

When you use the Manage Configurable Search page to set keyword search for a component, ensure that the following settings are met:

  • All the requirements listed for keyword search through Application Designer.

  • Fields selected for search criteria and results must be indexed attributes.

See Working with Configurable Search.

The Keyword search page has these modes:

  • Keyword-only

  • Basic

  • Advanced

These modes can be selected in the Component Properties dialog box.

Working with Keyword-Only Mode

The keyword-only mode is not supported. If keyword-only mode is selected for a component and if configurable search is enabled for the component, then keyword-only mode is not honored. Instead, basic mode is displayed.

See Considerations for Using Configurable Search.

Working with Basic Mode

In basic mode, the Keywords edit box displays with an additional 'Search by' option with a drop-down list box to select a search record field to use for as search criteria.

Working with Advanced Mode

The advanced mode displays all search criteria:

  • Keywords.

  • Search record fields.

  • Search fields defined for the Search Framework search category on the Advanced Search Fields tab.

The following illustration depicts the controls on the advanced search page and their association.

Advanced mode search options

Note: The system does not display in the Advanced Search Fields list any search fields that are also displayed in the search record search field list.

Note: All search record fields (Key, Alt Key, and List box fields) must be part of the index. If any of the fields have translate values, those translate fields must also be part of the search index.

Note: The search criteria that appears depends on the application’s usage of the search filter PeopleCode and the type of data. For example, contains phrase is applicable to a character field, but not to a number field.