If you already enabled the Network Search in the BuddyBoss dashboard – Components but the Search component is not showing up on your header:

Navigate to the BuddyBoss dashboard – Theme Options – Header – under Components, enable Search, then Save Changes.

After enabling the component, it should now show the search icon/component in the Header: