Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am trying to clean up my SharePoint search results. Alongside .aspx pages, the search is also returning sites (e.g. http://mywebsite/news), even when these site names have no similarities to the search query string. The sites in the results are always given the thumbnail _layouts/images/STS_ListItem16.gif.

So to fix this I have tried to create a new search scope. The problem I am having is that most of the basic contentclass rules are returning no items. http://www.rtsmedia.com/SharePoint/contentclass.aspx and other pages have pointed me in the right direction, but of the properties I have tried, only STS_ListItem_850 and STS_List_850 are returning any items.

Other basic properties that you would imagine would work (STS_List_WebPageLibrary, STS_ListItem_WebPageLibrar, STS_Web) all return 0 items (in the itemcount column on the scope details page).

share|improve this question
    
it's hard to say how to optimize your results without knowing what data you have on sites and want to receive from search. Please specify more detailed. –  Yuri Leontyev Nov 10 '11 at 14:48

2 Answers 2

You can configure every web to avoid that appears in search results. This option is "Site Actions > Site Configuration > Site Administration > Search Availability and offline". Check to not "Index site content" and do an incremental crawl.

Sorry if the path has not the exactly options but my SharePoint is in Spanish and I've done a quick translation.

share|improve this answer

You can clean up using file extension managed property and removing images. But optimization depends on the nature of result you what to receive.

share|improve this answer
    
Thanks default - currently the OOTB search is returning sites, pages and documents. I am trying to remove the sites from the results, everything else is fine. The sites that are returned do not match the search query (I imagine they appeare because pages inside of them match the search query). –  Martin Nov 10 '11 at 14:54
    
Apologies if I didn't make myself clear. I want the pages that appear in /news to appear in the search results, I just don't want the /news 'web' itself to appear as is currently happening. –  Martin Nov 10 '11 at 14:58
    
See this link how to exclude particular page from results - technet.microsoft.com/en-us/library/ff621095.aspx –  Yuri Leontyev Nov 10 '11 at 15:13
    
Also you can check Crawl Rules to exclude or include items from searched –  Yuri Leontyev Nov 10 '11 at 15:24

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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