2

How to exclude specific documents from search rather than entire document library? Search is configured for all sites and I want to exclude specific documents from search in some of sites.

  • The simplest way is to use security. If the user cannot get to the doc they won't see it in search results. – Matthew McDermott Aug 8 '17 at 20:50
  • Agreed @MatthewMcDermott , but what if they have access and need not see the same in result? answer lies in explicit removal right? – John Zachariah Aug 9 '17 at 5:44
  • Or use demotion of the content to make it less authoritative. It begs the question "If the content is so un-valuable why does it exist?" – Matthew McDermott Aug 9 '17 at 20:56
  • 1
    @John :) sometimes explaining the reason or requirement behind the request can help improve the question. "We need to do this thing because..." In this case I had to ask "Why keep the content if you don't want to find it?" To me it sounds like a poor IA for the implementation. We often have folks who want to "store" company content they don't care to "find". We often implement an "Archive Site" for this and get the lawyers to agree to a retention schedule so we can delete it later. – Matthew McDermott Aug 10 '17 at 12:13
3

This is absolutely possible. Please check the search service and then the crawl log. You can identify the specific document URL and then select remove this from index option.

  • Central Administration --> Search service Administration
  • Click on Crawl Logs --> Select the content source --> Click the Success Count Link enter image description here
  • Select the specific URL from the search bar or if it displays prominatly you can select that URL. enter image description here
  • Click on the drop down --> Select Remove the Item from Index

enter image description here

Second way is that if you get the exact URL, in the search services page, under search results removal you can specify those URLs and it would be reflected almost immediately. enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.