The form handler’s searchRequest
property points to a component of class atg.search.routing.command.search.QueryRequest
. This component, which should be request-scoped, is the Java representation of the search query. The QueryRequest
has a number of properties that correspond to elements and attributes of the query XML.
Several sections of this chapter describe how to set these properties on the QueryRequest
component. Note that the /atg/commerce/search/catalog/QueryRequest
component included in the DCS.Search.Query
module has many of these properties preconfigured for querying the Oracle ATG Web Commerce catalog and performing faceted search.