none
Sharepoint Search, how to get search not showing document libraries but showing its files.

    Question

  • Hi all,

    I am trying to configure a sharepoint site with anonymous access, search is one of the main navigation tools for our users.

    Several of the documents libraries have files that need to be accessed by them (for display on screen or for them to read) however we do not want them being able to find the full document library in the search. 

    How can we make this happen?

    Friday, June 8, 2018 9:46 AM

All replies

  • Hi YetiByte,

    You can set "No" to the allow items from this document library to appear in search result .

    you can get that option by clicking library setting -> Advance Setting -> then go to search category and set NO.

    So that search crawler will not index the document from this document library and also user's would not get any document from this document library.

    Regards:

    Thivagar SEGAR

    Friday, June 8, 2018 9:58 AM
  • 

    Hi Suhil,

    From your description, my understanding is that you want to exclude AllItems.aspx from search results. 

    Go to search service application, crawling section, click crawl rules to create a crawl rule to exclude http://*allitems.aspx page

    For more information, please refer to

    http://prajapati-jatin.blogspot.com/2011/10/exclude-allitemsaspx-pages-from.html

    http://sadomovalex.blogspot.com/2013/08/exclude-allitemsaspx-from-search.html

    Best Regards,

    Lisa Chen



    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.


    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    Monday, June 11, 2018 2:41 AM
    Moderator
  • Hi Suhil,

    Is there anything update? 

    Please remember to mark the reply as an answer if it helps. 

    Have a nice day. 

    Best Regards, 

    Lisa Chen

    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.


    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    Friday, June 22, 2018 7:36 AM
    Moderator