Martin Bodocky

No less, no more. Just live between code.

Crawling File Share in SharePoint 2010 Search


Today I did discovering of crawling file shares in SharePoint 2010, for that we need some particular things:

  • Check Content Access Account
  • Give permission on file share location
  • Set up Content source and Crawling
  • Set up search scope
  • Available in search dropdown list on page

Check Content Access Account

Specify an account to use as default account when crawling content.  This account must have read access to the content being crawled. To avoid unpublished versions of documents, ensure that this account doesn’t have full permission on particular location.

Give permission

We can do that trough explorer or another file manager.

Set up Content Source

Go to Search administration and click on Content Sources on left panel.

 

Click on New Content Source:

 

Set Content source, mainly name and location:

After execution we can see successful crawling:

We can make us sure in crawling log, select from context menu on item:

Set up search scope

Go to Search Administration on left panel click on Search Scope, inside click on New Scope:

Next fill name of your new scope out:

Then add new rule, rule type will be Content Source, selected you previous created content source and select include:

After that you must wait for re-crawl which is executed automatically, summary looks similar like this:

Available in search dropdown on page

As first step you must create search centre site on your site collection, in this case, doesn’t matter which search centre you are choosing, we can work with Basic Search Centre:

Copy url of recently created site and past it to Search Setting on parent site collection settings, and remove “default.aspx”:

Finally go to Search Scope settings and add you scope to “Display Groups” also called as “Search Dropdown”:

Add scope to list:

Test on you main site:

Result:

I hope that helps.

Happy SharePointing! :)

About these ads

One Response to Crawling File Share in SharePoint 2010 Search

  1. Marco Garibay May 9, 2013 at 4:09 pm

    Thank you, Martin. This was clear and simpler than Microsoft documentation.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: