This is a blog post in the series “Set up a Search Center in SharePoint 2013”. In this blog post, you’ll learn:
How to create a Search Center Site CollectionTo create a Search Center Site Collection, go to Central Administration --> Create site collections, and then enter details for the site collection. Here’s what you need to enter:
Now that you have your Search Center Site Collection, you can move on to crawling content.
How to start a full crawl in Central AdministrationBefore you can start a full crawl in Central Administration, you have to specify the content source that you want to crawl. When you run a full crawl, all content in the content source is crawled even if that content has already been added to the search index.
In a scenario where you only have SharePoint content, you can select to crawl the Local SharePoint sites content source.
The status of the crawl is shown in the Status column.
How to enable continuous crawls in Central Administration
By default, content is automatically crawled every 4th hour. However, when changes are made to your content, you probably would like it to be crawled as soon as possible so that users can find it on the Search Center. Nobody wants to manually start a full crawl every time a change is made to their content, as this is neither an efficient nor practical way to work. So, to avoid this overhead, you can simply enable a continuous crawl of the content source that contains your content.
Continuous crawls start automatically at 15-minute intervals. Any changes that have been made to your content since the previous crawl are picked up by the crawler and added to the search index.
To enable continuous crawls:
How to set the continuous crawl intervalThe default interval for continuous crawls is 15 minutes. However, you can set shorter intervals by using Windows PowerShell. The code snippet below sets the continuous crawl interval to 1 minute.
$ssa = Get-SPEnterpriseSearchServiceApplication$ssa.SetProperty("ContinuousCrawlInterval", 1)
So, by enabling continuous crawls, your search index is automatically updated with the latest changes. However, there are some types of changes, for example, if you enable managed properties as refiners (I will show you how to do this in a later blog post), where continuous crawls are not sufficient to update the search index. For these changes to be updated in the search index, you have two options:
The reason why you have two options is that people working with content (let’s call them content managers) are not likely to have Search service application administration level rights, that is, they don’t have access to Central Administration where they can start a full crawl. However, content managers are likely to have Site Owner rights, and Site Owners can do reindexing.
How to reindex a list To mark a list or library for reindexing, here’s what to do:
The list will be reindexed during the next scheduled crawl.
So, all in all, content managers can be happy because their content is added to the search index at short intervals, and Search service application administrators can be happy because they are not bothered by content managers constantly asking them to start a crawl.
And now that we have done all that “boring” stuff, it is time to move on to the exciting stuff: configuring the Search Center.
Next blog article in this seriesHow to configure the Search Results Web Part to use a new result source