Besides returning the source content of an item, the View Item request can return the highlight information instead, for situations where the application is rendering the source content outside of ATG Search. These different responses are enabled by the following attribute:
<viewInContext return="type
"
The type value can be one of the following:
fieldoffset
– return the relative offsets into the text fields of the source content for the text regions, in the form:field.begin-end,field.begin-end,....
This option applies only to structured content, indexed as XHTML.offset
– return absolute offsets into source content for text regions, in the form:begin-end,begin-end,...
information
– return the entire XML representation of the retrieved document, in the same structure as in the Query request response.