Note: The message classes described in this section have largely been superseded by the messages fired by ATG Search Routing. The Routing messages include information used in ATG Search reports, whereas these messages do not. For information about the Routing messages, see the ATG Search Installation and Configuration Guide.
Each of the search form handlers has a searchMessageSource
property that specifies a component of class atg.search.query.messages.SearchMessageSource
. This component is a Patch Bay message source that fires JMS messages when query results are received from ATG Search. The form handler uses the data in the Results
object to construct a message object, which is sent off by the SearchMessageSource
.
Each form handler uses a different search message class. The message classes are all subclasses of atg.search.query.messages.SearchMessage
, which has several properties that are common to all query types. Each subclass has additional properties that are specific to the corresponding query type.
The following tables summarize the properties of the SearchMessage
class, plus the properties added by the subclasses.
SearchMessage
Property | Description |
---|---|
| The JMS type (supplied by the message subclasses) |
| The option set used for the search; empty for the default option set |
| The number of results returned from the search |
| The results object returned from the search |
| The search site name |
| The profile of the user executing the query |
| The request version |
BrowseMessage
Property | Description |
---|---|
| Text submitted in the body of the |
CategorizeMessage
Property | Description |
---|---|
| Text submitted in the body of the |
| One of the following: text | question | document | xhtml |
QueryMessage
Property | Description |
---|---|
| The request’s |
| The page number requested |
| One of the following: nlp | boolean | and | keyword | matchall |
SimilarDocsMessage
Property | Description |
---|---|
| The request’s |
| One of the following: text | question | document | xhtml |
StructuredQueryMessage
Property | Description |
---|---|
| A concatenation of all |
| A concatenation of all |
| The page number requested |
ViewInContextMessage
Property | Description |
---|---|
| Text submitted in the body of the |
| Text submitted in the body of the |
| Text submitted in the body of the |
| Text submitted as the value of the |
| Text submitted in the body of the |
| Text submitted in the body of the |