The /atg/search/formhandlers/SearchContext component has two properties that control the firing of search messages:

Property

Description

firingSearchEvents

A Boolean which specifies whether firing of search events is enabled. If false, no search events are fired; if true, search events are enabled and are managed by the component specified in the searchMessageService property.

searchMessageService

A component of class atg.search.events.SearchMessageTools, which manages the firing of the search events. By default, the SearchMessageService property is set to /atg/search/events/SearchMessageService.

The /atg/search/events/SearchMessageService component is responsible for constructing and sending search messages. It has a number of properties that configure the firing of messages:

Property

Description

spiderlikeTypes

An array of atg.servlet.BrowserType components for which search events are not fired.

browserTyper

The browserTyper component used to determine the browser type the request is coming from.

messageFilter

A component of class atg.search.events.MessageFilter that is configured with a list of IP addresses and a list of login names for which search events are not fired. By default, the messageFilter property is set to /atg/search/events/MessageFilter.

searchMessageSource

The Patch Bay message source, of class atg.search.messages.SearchMessageSource, that fires JMS messages when results are received from Oracle ATG Web Commerce Search. The SearchMessageService component uses the data in the Response object to construct a message object, which is then sent off by the SearchMessageSource component.