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:

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.