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
By default, Search Service Application is created while installing SharePoint.
How to create Search Service Application?
Open Central Administration > Manage service applications link.
In the appearing page you can see the Search Service Application listed.
If you cannot see one, choose the New button from the ribbon, then Search Service Application item.
In the appearing page enter the application information:
· Application Pool
Click the Ok button to save changes. Wait for few minutes & your Search Application Service will get created.
You can click on the Search Service Application to view the Search Topology.
It is recommended to use a Managed Account for search.
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.
Click OK button to save changes.
Following are the core Search Components:
· 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.
Despite availability of incremental & continuous crawls, a Full Crawl might be required during service updates, new content source addition, managed properties extraction etc.
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.
To perform a Full Crawl open Central Administration > Service Applications > Search Service Application > Content Sources link.
In the appearing page click the context menu over default content source & choose Start Full Crawl option.
Wait for few minutes until the Crawl is completed. You can refresh the page often to see the status.
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.
The result confirms the Search is configured correctly.
In this article we have explored the Configuration required to enable Search in SharePoint 2013.