Collapse all object types (including 'Documents' and 'Document collections') by default

Hi

Does anyone know if it's possible to collapse all object types after a search?

Like this:

Thanks and cheers

Peter