Document Library search result for same site collections produce different result

GoodResource 306 Reputation points
2024-09-03T10:05:48.8333333+00:00

Hi Team,

We have a site collection where multiple document library exists. However for one document library search result works fine for owner, member, visitors. But for other document library, it shows no result when searching. We have checked all necessary settings but found no discrepancies.

  1. Doc library A - search result works fine for all members (owners, visitors)
  2. Doc library B/C/D - Search result produce nothing blank.

Item count for both type of document libraries are mixed more than 5K for some, less than 50 for some which is not the issue as we are searching with exact matching criteria.

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
11,231 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. AllenXu-MSFT 23,976 Reputation points Microsoft Vendor
    2024-09-04T02:55:53.8833333+00:00

    Hi @GoodResource,

    Firstly, go to Library settings >> Advanced settings and make sure that "Allow items from this document library to appear in search results?" is set to Yes. If the issue still persists, go to Library settings >> Advanced settings and select "Reindex Document Library". Wait for the next crawl and see the results.


    If the answer is helpful, please click "Accept as 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.


  2. AllenXu-MSFT 23,976 Reputation points Microsoft Vendor
    2024-09-25T06:48:37.5666667+00:00

    @GoodResource,

    Another troubleshooting suggestion. One possible cause for this issue is that the search result sources for the site collection and the site level are not configured properly. Are library A and B,C,D under the same site collection? please check the site level search setting.

    To check the search result sources configuration for the site collection, go to Site settings >> click Search Result Sources, and then confirm that Local SharePoint Results has the check mark for Default assigned to it. If the check mark isn't next to Local SharePoint Results, click the drop-down arrow for Local SharePoint Results, and then click Set as Default.


    If the answer is helpful, please click "Accept as 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.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.