If you override the repository root node, then on 4.2.X repository search results are shown relative to the new root node display path. If you click on them they take you to the Repository view with the correct relative folder.
In 5.0 faceted search page this does not work. It always uses rootNode:alfresco://company/home no matter what is configured in share config.
This means links to Repository documents are not shown correctly (show incorrect path) and do not work when clicked (show error in document library)