Whether this issue occurs in a specific library or all libraries? In one site collection or all site collections?
Whether you use modern list search or classic list search?
Whether you could see documents but cannot search in the document library?
Please search with other metadata to test whether search works well.
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.