This attribute allows full control over how much document information to return, with the potential to greatly affect the size of the returned response. The default is “url
,docsets
,properties
” plus “contextid
” if optimize
is set to a value greater than 1.
<query docFlags="flag1,flag2,flag3…"
The possible flags that can be included are:
summary
—Document summary, normally just for browse*docsets
—Item set informationtitle
—Index item title*properties
—Metadata properties, limited bydocProps
timestamp
—Index item timestamp*date
—Index item timestamp*contextid
—Item view request highlight informationsize
—Size of index item source*type
—Major format type of index item (HTML, PDF, etc.)language
—Language of index itemurl
—Index item URLdocument
—Same asurl
all
—All flags are set
The url
(or document
) flag must be included to get any index item information at all. The default value is “url
,properties
,docsets
”.
Items marked with an asterisk must retrieve information from the disk; those have the most impact on query speed, and should be eliminated if the information is not needed.