Forum Discussion
Modern page - search results when searching in a document library
Unless I'm mistaken I don't think you really can with modern search. By default this filters the document library instead of giving a search results page. Are you trying to point out the difference between the suggestions that come up and the filtered document library? You cannot customize the new modern search at all, but a few tweaks to the classic search do effect modern search. When I tested, it looks that the suggested are more content driven and the More results (filtered library) filters the existing view (meaning the view sort order is maintained).
Per https://docs.microsoft.com/en-us/sharepoint/get-started-with-modern-search-experience:
You can https://docs.microsoft.com/en-us/sharepoint/overview-of-search, for example by adding custom refiners to the search results page or displaying a certain type of result differently. You can’t customize the modern search experience like that but note that some of the customizations you make for classic search also impact modern search. https://docs.microsoft.com/en-us/sharepoint/differences-classic-modern-search.