Configuring Enterprise Search in SharePoint 2010

SharePoint Server 2010 Search is a Service Application, which we have come to learn when launched SharePoint 2010, so now Search Service is runs independent of other services and is not longer tied up with Shared Service Provider[SSP] that was in MOSS 2007

SharePoint 2010 Search Architecture is made up of the
1. Crawler
2.Index Engine
3. Query Engine
4. User Interface and Query Object Model

So now we have greater flexibility and expandability with our search design in 2010 and can setup not only multiple query Servers but can now scale out our Index Server and add multiple instances.

Below are the steps mentioned to implement the Search
1. Configuring the Service ApplicationFirst we have go Central administration Site. From where we have to click Application Management link, then need to select Manage Service Application under Service Application
And from where click on New button after you have to choose Search Service Application
Click New / Search Service Application.

Name: Enter a name for your Service Application.
FAST Service Application: Select “None” (we will leave the configuration of FAST for a future article)

Search Service Account: Click on Register new managed account and ensure your domain account has already been provisioned in Active Directory. I have created a separate search account; e.g. DOMAIN\sp_search
This is the Windows service account for SharePoint Search Service.
Here we need to create Two new Application pool one for
1. Search Admin web Service and another one is for
2. Search Query web Service

Application Pool for Search Admin Web Service: Create a new application pool for your search admin web service application.

Application Pool for Search Query and Site Settings Web Service: Create a new application pool for your search query web service application.
Click Create
The search service application will begin its configuration process.
Now we will eventually be presented with confirmation that the search service application was created successfully.

If we now navigate back to Application Management / Manage Service Applications, you will notice that two additional services have been added to our list. These are.

1. Search Service Application (Typical Search Administration page which is similar to that in SharePoint2007. ) from here we can create
1. Content Crawl Rules
2. Reset Indexes
3. Setup Content Source etc.

2.WSS_UsageApplication(This is new Service in SharePoint 2010 that specifically handles our Usage and Health Data Collection Service Application. This service application handles web analytics such as usage, search query usage, rating usage etc.
Lets now launch the Search Administration page by clicking on our Search Service Application.

Out Default Content access account should be set to the account that we had specified at the time of provisioning the Search Service Application, ie. Domain\SP_Search

Confirming Permissions:
There are couple of areas to note that we should check to ensure that our Default Content Access account [sp_search] has been provided with the appropriate access permissions. Lets first begin by Checking our User Profile Service Application By Navigating to Service Applications / User Profile. Just highlight the User Profiles and select Administrators from the ribbon.
Here our newly provisioned sp_search account should have “Retrieve People Data for Search Crawlers” select as permission.
We will also confirm that our sp_search account has the necessary “Read” permissions against the Web Applications being crawled.
Navigate to Central Administration / Application Management / Manage Web Applications. Again, highlight the Web Application in question and from the ribbon select User Policy.
Ensure that the Search Crawling Account is set to the sp_search domain account
Content Sources
Lets venture into our content source listed in the quick launch navigation bar under crawling
As was the case with MOSS 2007 our local SharePoint site will be detected by default. Without a crawl schedule.
Check to see that your Start Addresses are located within your content source via editing the content source from the drop down menu. These includes all SharePoint Web Application and the “sps3 User Profiles” address.
You can easily create your crawl schedule by clicking on Local SharePoint sites and scrolling down to Crawl Schedules.
Let’s initiate a Full Crawl by clicking on Start all Crawls from the Manage Content Source page. Once your crawl has completed, you should confirm that there were no errors encountered during the initial crawl. Usually any errors noted are most likely due to incorrect permission assignments.

Creating “Basic Search Center” Site:
If you haven’t done so already, from your top level site, click on Site Action / New Site. Select “ Basic Search Center”
Enter a Name and URL and click on Create. This will provision the Search Center similar to the below.
Creating an “Enterprise Search Center” Site
Let’s also create an Enterprise Search Center for comparison. The key difference here is that we are provided with two tabs for searching, one for Sites and the other for People. The “ Enterprise Search Center” will be the Search site of choice for most organizations running SharePoint Server.
From Central Administration/ Application Management /Site Collections, click on Create Site collections. Ensure you are creating the Site Collection below the relevant Web Application.
Enter your Title, Description etc and select the Enterprise Tab under Template selection. Select the Enterprise Search Center, specify your site collection administrators and click OK.
This will provision the Enterprise Search Center similar to the below. As we have already completed an initial Full Crawl earlier, so now I can test my new Search Centers by performing a couple of searches.

Search Content

Search People
Now I ran into an issue when trying to search for content located in My Sites. The crawl log displayed the following warning;
“This item and all items under it will not be crawled because the owner has set the No Crawl flag to prevent if from searchable”In order to fix this issue (and this is true for any Site Collection), is to navigate to your My Site host and click on Site Actions/Site settings. Click on “Search and offline availability “ under site administration and ensure that you have indexing Site Content, Allow this site to appear in search results? Set to “Yes”

After enabling this indexing of My Sites, I was able to successfully perform My Site Content searches and the warning is no longer more displaying in the crawler log.
Happy Debugging and Happy Searching 🙂

About Krishana Kumar

Krishana Kumar is SharePoint Architect/Trainer having Architecture experience with high volumes at Enterprise level and global scale - creation of highly scalable solutions with global user base and geographically distributed architectural components. Good knowledge of SharePoint best practices and governance models. I hold Two Master degree in Computer Science with over 11 years of experience working on Microsoft Technologies specially SharePoint, Project, .NET and other Information Worker Technologies. Having good exposer in Client side scripting Angular.js, backbone and Node. I am currently responsible for SharePoint Infrastructure set up and leading teams in various medium and large scale projects, architecting, designing & installing SharePoint farms, developing custom components,, and providing advanced SharePoint administration and development training to teams and customers. I regularly speaks in various SharePoint User Groups and other Events. I have MCSA Windows Azure, MCSA Office 365, MCSE & MCSD SharePoint 2013, Microsoft Certified Developer (MCD) and holds MCPD, MCTIP and MCTS for SharePoint 2010, MCTS MOSS 2007 & WSS 3.0, MCPD, MCITP (EPM 2010 & 2007) and MCSD .NET.
This entry was posted in General Interest. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *