Crawl Rules Tips in SharePoint 2010

Manage Crawl Rules in SharePoint 

SharePoint admin can include or exclude specific URL during the content crawling stage. The content in SharePoint will be crawled periodically so that that search index will be updated and users can view the latest search result quickly. Administrators can actually "modify" the search result by including or excluding more URLs such that specific content will be included or excluded respectively.

(* It sounds weird for me initially because it violates the concept of findability of public asset on a collaboration platform essentially. However, I do realize the business requirements and accept this truth after understanding the user requirements and business scenario from a real world customer).

To manage crawl rules in SharePoint 2010, you can follow:

SharePoint 2010 Central Administration > Application Mgmt > Service Apps > Manage Service App > Search Service App > Crawling > Crawl Rule

Regular Expression (RegEx) in Crawl Rule

Administrators can input a URL, a pattern or regex when managing crawl rule. I have a requirement to exclude all URLs with a suffix of "AllItems.aspx". However, it is possible that multiple places do have this page, e.g. DocLibA can have a page like "/DocLibA/Forms/AllItems.aspx" and DocLibB also have a page like "/DocLibB/Forms/AllItems.aspx".

In order to exclude a URL with this suffix, I need a pattern that replace DocLib and Forms. However, the DocLib can have multiple levels so the traditional pattern of astersk does not work because we have no clude about how many level do users create in the long run because: /*/AllItems.aspx is different from /*/*/AllItems.aspx

Therefore, the use of RegEx come up immediately and I need to use a wildcard like RegEx pattern with a specific suffix only. Therefore, I go look for some URL reference. However, I got another problem is that the RegEx pattern does NOT work in the same way as I wish because the forward slash "\" got distorted at all.

Original:

Distorted result: http://(/w+//forms//allitems.aspx)$

Finally, I have to use a pattern like this in order to exclude all allitems.aspx under whatever folder and whatever level:

Published Tuesday, July 19, 2011 7:06 PM by Colt
Filed under:

Comments

# Crawl Rules Tips in SharePoint 2010 | ASP.NET and SharePoint | Syngu

Pingback from  Crawl Rules Tips in SharePoint 2010 | ASP.NET and SharePoint | Syngu

# Crawl Rules Tips in SharePoint 2010 – Colt Kwong Blog | Mastering Sharepoint

Pingback from  Crawl Rules Tips in SharePoint 2010 – Colt Kwong Blog | Mastering Sharepoint

# re: Crawl Rules Tips in SharePoint 2010

Nice article!

zee

http://walisystems.com

Thursday, October 13, 2011 9:46 AM by zee

# re: Crawl Rules Tips in SharePoint 2010

Thanks for this, you saved my day :)

Tuesday, March 27, 2012 4:36 PM by Moutasem al-awa

# re: Crawl Rules Tips in SharePoint 2010

oCzAx2 Enjoyed every bit of your blog. Awesome.

Wednesday, November 07, 2012 10:23 PM by cheap bookmarking service

# re: Crawl Rules Tips in SharePoint 2010

Just after study a number of of the blog posts on your website now, and I genuinely like your way of blogging. I bookmarked it to my bookmark web-site list and will probably be checking back soon. Pls check out my internet internet site as well and let me know what you feel.

<a href=buyjordansi.webstarts.com/>air jordans</a>

Tuesday, January 01, 2013 8:10 AM by immimaArrolow

# re: Crawl Rules Tips in SharePoint 2010

I discovered your weblog site on google and check several of your early posts. Continue to maintain up the quite great operate. I just extra up your RSS feed to my MSN News Reader. Looking for forward to reading extra from you later on!

<a href=airjordanxw.fotopages.com/>jordans for cheap</a>

Saturday, January 19, 2013 12:21 AM by immimaArrolow

# re: Crawl Rules Tips in SharePoint 2010

This internet webpage is truly a walk-through for all of the information you wanted about this and didn't know who to ask. Glimpse here, and you will absolutely discover it.

<a href=http://www.mkdiaperbags.com>michael kors bags on sale</a>

Friday, January 25, 2013 8:04 AM by fierrexBish

# re: Crawl Rules Tips in SharePoint 2010

When I originally commented I clicked the -Notify me when new comments are added- checkbox and now every time a comment is added I get 4 emails using the same comment. Is there any way you can actually remove me from that service? Thanks!

<a href=http://www.coolmichaelkorsbags.com>michael kors bags on sale</a>

Sunday, February 03, 2013 2:50 PM by fierrexBish

# re: Crawl Rules Tips in SharePoint 2010

Spot on with this write-up, I genuinely believe this site requirements far more consideration. I'll in all probability be once again to read much more, thanks for that information.

<a href=http://www.michaelkorshanbagsale.com>michael kors bags</a>

Sunday, February 03, 2013 6:23 PM by fierrexBish

# re: Crawl Rules Tips in SharePoint 2010

The next time I read a weblog, I hope that it doesnt disappoint me as a lot as this 1. I mean, I know it was my choice to read, but I essentially thought youd have some thing intriguing to say. All I hear can be a bunch of whining about something that you could fix when you werent too busy searching for attention.

<a href=http://www.michaelkorshanbagsale.com>michael kors bags</a>

Monday, February 04, 2013 10:21 AM by fierrexBish

# re: Crawl Rules Tips in SharePoint 2010

This web web page is really a walk-through for all of the info you wanted about this and didn't know who to ask. Glimpse here, and you'll definitely discover it.

<a href=cheapnfljerseys168.talk4fun.net/>NFL Jerseys</a>

Friday, February 08, 2013 2:04 PM by Kepnuandhep

# re: Crawl Rules Tips in SharePoint 2010

This web site is really a walk-through for all of the info you wanted about this and didn't know who to ask. Glimpse here, and you will certainly discover it.

<a href=http://www.shopmkhandbags.com>michael kors bags</a>

Friday, February 15, 2013 5:56 AM by fierrexBish

# re: Crawl Rules Tips in SharePoint 2010

I'm commonly to blogging and i actually appreciate your content. The post has seriously peaks my interest. I am going to bookmark your internet site and keep checking for new information.

<a href=http://www.salesmichaelkorsbag.com>cheap michael kors bags</a>

Friday, February 15, 2013 7:50 AM by fierrexBish

# re: Crawl Rules Tips in SharePoint 2010

The next time I read a weblog, I hope that it doesnt disappoint me as a lot as this one. I mean, I know it was my choice to read, but I in fact thought youd have some thing fascinating to say. All I hear is often a bunch of whining about some thing which you could fix should you werent too busy seeking for attention.

<a href=http://www.newchristianlouboutinsale.com>christian louboutin sale</a>

Monday, March 04, 2013 4:28 PM by fierrexBish

# re: Crawl Rules Tips in SharePoint 2010

One can find absolutely a great deal of details like that to take into consideration. That is an excellent point to bring up. I present the thoughts above as general inspiration but clearly you will discover questions like the 1 you bring up where probably the most very important thing might be working in honest excellent faith. I don?t know if ideal practices have emerged around points like that, but I'm sure that your job is clearly identified as a fair game. Both boys and girls really feel the impact of just a moment's pleasure, for the rest of their lives.

<a href=http://www.michaelkorsbagonsales.com>michael kors bags</a>

Sunday, March 10, 2013 6:12 PM by fierrexBish

# re: Crawl Rules Tips in SharePoint 2010

I blog quite often and I seriously appreciate your information.

Your article has really peaked my interest. I am going to bookmark your blog and keep checking for new information

about once per week. I opted in for your Feed as well.

Tuesday, April 16, 2013 9:34 AM by Dodge

# re: Crawl Rules Tips in SharePoint 2010

rNuZY1 I appreciate you sharing this blog.Much thanks again. Awesome.

Friday, April 19, 2013 4:10 PM by Social bookmarks

# re: Crawl Rules Tips in SharePoint 2010

Can I just say what a relief to obtain somebody who actually knows what theyre talking about on the internet. You certainly know methods to bring an issue to light and make it imperative. A lot more people should read this and recognize this side of the story. I cant believe youre not alot more preferred because you unquestionably have the gift.

<a href="www.new-michaelkorsbags.com/michael-kors-shoulder-bags-c-36.html">michael kors cheap</a>

Monday, May 13, 2013 4:26 PM by fierrexBish

# re: Crawl Rules Tips in SharePoint 2010

hello amazing article

Tuesday, May 14, 2013 11:53 AM by snslspdbgt@gmail.com

# re: Crawl Rules Tips in SharePoint 2010

I discovered your blog web site on google and check a few of your early posts. Continue to maintain up the fairly fantastic operate. I just extra up your RSS feed to my MSN News Reader. Searching for forward to reading additional from you later on!

<a href="www.lululemononoutletsale.com/.../lululemon-wunder-under-pants.html">lululemon wunder under pant</a>

Wednesday, May 15, 2013 4:34 PM by fergevaheab

# re: Crawl Rules Tips in SharePoint 2010

The next time I read a weblog, I hope that it doesnt disappoint me as significantly as this one. I mean, I know it was my selection to read, but I in fact thought youd have something intriguing to say. All I hear is really a bunch of whining about some thing that you could fix for those who werent too busy looking for attention.

<a href="www.salelululemononoutlet.com/lululemon-bottoms.html">Cheap lululemon on sale & lululemon bottoms & lululemon outlet from our website</a>

Wednesday, May 15, 2013 4:54 PM by fergevaheab

Leave a Comment

(required) 
(required) 
(optional)
(required)