Thank you for posting your question in the Microsoft Q&A forum.
Based on my research, you can use Search Web Parts in SharePoint Server. This web part is supported natively with in SharePoint Server.
These Web Parts have queries defined in them, and when users browse to a page that contains a Web Part that uses search technology, the Web Part issues the query automatically. The query result is then displayed in the Web Part. You can modify the query in the search Web Part to fit your content needs.
Which means you can modify the search query to point to the libraries/ lists you need.
You can also use a refiner web part in SharePoint, it is a component that filters search results into categories Users can interact with these refiners to narrow down search results, making it easier to find specific content.
Configure Search Web Parts in SharePoint Server - SharePoint Server | Microsoft Learn
Furthermore, if you need a whole page for searching, you can Set up a Search Center in SharePoint Server - SharePoint Server | Microsoft Learn.
A Search Center is a portal where you can search for content on your organization's intranet. It has a starting page where you can enter queries. It has search result pages where you can drill into and refine search results, or you can run a new query.
I hope this information helps.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.