This version of Unity is unsupported.

SearchFlags.HidePanels

Description

Indicates that the search view will hide its side panels when it opens. This flag is only usable with internal API.