Jean Paul's Blog

There are 2 types of People in the World, One who Likes SharePoint and..

    Advertisements
  • Microsoft MVP

  • MindCracker MVP

  • CodeProject MVP

  • eBook on SharePoint 2010

  • eBook on Design Patterns

  • eBook on Windows Azure

  • NLayers Framework @ CodePlex

  • MSDN Forums

  • .Net vs. Java

    Due to Public Demand
  • Advertisements

Search Configuration

Posted by Paul on April 13, 2014


In this article we can explore the underlying Configurations required to enable Search in SharePoint 2013.

Search Service Application

Search Service Application needed to be created for working with SharePoint Search. This service application enables all the search components & provides interface to manage them.

The underlying infrastructure includes:

· Content Sources

· Result Sources

· Result Types

· Crawler

· Indexer

· Schema

By default, Search Service Application is created while installing SharePoint.

How to create Search Service Application?

Open Central Administration > Manage service applications link.

image

In the appearing page you can see the Search Service Application listed.

image

If you cannot see one, choose the New button from the ribbon, then Search Service Application item.

image

In the appearing page enter the application information:

· Name

· Application Pool

· Account

image

Click the Ok button to save changes. Wait for few minutes & your Search Application Service will get created.

image

You can click on the Search Service Application to view the Search Topology.

image

It is recommended to use a Managed Account for search.

Search Accounts

We can specify the user accounts who can manage the service application.

Service Applications page > Click on the Search Service Application (non-text area) > Click Administrators button from the ribbon.

In the appearing page enter the Administrator account; Click Add button & give check the Permission items as shown below.

image

Click OK button to save changes.

Search Components

Following are the core Search Components:

· Crawler

· Indexer

· Query Processor

Crawler is responsible for reading all the contents (documents, lists, items etc.)

Indexer maintains an index to the crawled contents

Query Processor handles user queries. For example when user searches for Home the query processor handles it.

Analyzer carries out search usage analysis.

Types of Crawling

There are 3 types of Crawling:

· Full Crawl where the entire content will be crawled. This is time consuming & usually takes 30 minutes for a 1 GB of content. (no 2 crawls can be in parallel)

· Incremental Crawl only crawl content modified since last crawl. (no 2 crawls can be in parallel)

· Continuous Crawl can be configured to start at regular intervals & multiple crawling can happen. Thus continuous crawl provides fresh results compared with others.

image

image

Despite availability of incremental & continuous crawls, a Full Crawl might be required during service updates, new content source addition, managed properties extraction etc.

Content Sources

By default there will be a content source named Local SharePoint sites. We can also configure other content sources like:

· Another SharePoint site

· External website

We need to perform a Full Crawl to do our search.

Full Crawl

To perform a Full Crawl open Central Administration > Service Applications > Search Service Application > Content Sources link.

image

In the appearing page click the context menu over default content source & choose Start Full Crawl option.

image

Wait for few minutes until the Crawl is completed. You can refresh the page often to see the status.

Testing Search

After the Full Crawl is completed you can go back to the SharePoint Site and search for Home. If your site title matches the word, you will get results like below.

image

The result confirms the Search is configured correctly.

References

http://technet.microsoft.com/en-us/library/gg502597(v=office.15).aspx

Summary

In this article we have explored the Configuration required to enable Search in SharePoint 2013.

Advertisements

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 )

Google photo

You are commenting using your Google 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