The answer
element is the root response element for a query request. Based on the query string entered by the end-user and the search environment’s configuration, Oracle ATG Web Commerce Search returns a response containing the results retrieved. The results can then be displayed in the user interface or subjected to further processing. The search results include:
The matching statement
The index item that contains that statement
Secondary information about the results, such as where they fall in the category taxonomy
Feedback about the query, such as spelling suggestions or refinements
Each document object contains the list of document sets and categories of which it is a member. This information includes the size of the document set, and for categories, the relevance of the document to that category.
Attribute | Description |
---|---|
| Content ID of the index item. |
| Value of the query’s |
| Value of the query’s |
| For grouping by property, the type, name, and default value. |
| Value of the query’s |
| Value of the query’s |
| Value of the query’s |
| Value of the query’s |
| Value of the query’s |
| Value of the query’s |
| Value of the query’s |
| Value of the query’s |
| Value of the query’s |
| Value of the query’s |
| Value of the query’s |
| Value of the query’s |
| Value of the query’s |
| Value of the query’s |
| Value of the query’s |
| Value of the query’s |
| Value of the query’s |
| Value of the query’s |
| Value of the query’s |
| Value of the query’s |
| Value of the query’s |
| Reserved for future use. |
| Total number of results returned. |
| Total number of groups returned. |
| Number of document candidates considered during retrieval. |
| Estimate of how many documents are retrievable using the current query. |
| Minimum number of documents that could be returned, if all query terms were in the same documents. |
| Number of sentence candidates considered during retrieval. |
| Estimate of how many sentences are retrievable with the current query. |
| Minimum number of sentences that could be considered, if all query terms were in the same sentence. |
| Number of sentence results before grouping and paging. |
| Value of the query’s |
| Value of the query’s |
| Amount of time taken to process the query. |
The answer
element contains the following child elements: