When the SearchRequestEventListener
component construct a JMS message from the ContentItem
returned by the Assembler, it assigns a unique ID to the search request.
The component that generates these search IDs is specified by the SearchRequestEventListener
component’s searchIdProvider
property. This property must be set to a component of a class that implements the atg.endeca.assembler.event.SearchIdProvider
interface. By default, the property is set to:
searchIdProvider=/atg/endeca/assembler/event/SearchIdProvider
The SearchIdProvider
component is of class atg.endeca.assembler.event.SearchIdProviderImpl
, which constructs the search ID using hashed values of the session ID, the search term, and the dimensions selected by the user. If you want to use different parameters for generating search IDs, you can write your own implementation of the SearchIdProvider
interface, create a component of this class, and set the searchIdProvider
property to your new component.