共用方式為


Set up a Search Center in SharePoint 2013

A Search Center is a portal where you can search for content on your organization’s intranet. In this blog series we'll help you plan, set up and manage a Search Center in SharePoint 2013. But before we dive into the details, we’ll give you some background information and a few planning tips and tricks.

 

What’s a Search Center and how do I plan it?

A Search Center is similar to an internet search page like Bing: it has a starting page where you can enter queries. It has search result pages where you can drill into and refine search results, or you can run a new query.

On the internet, you want search to be easy, fast, and give you relevant results, and you should expect the same when you’re trying to find information on your company’s intranet. 

You'll easily get fast and relevant results with the standard Search Center in SharePoint. And if you also have a good understanding of the content on your intranet and know how people will be searching it, you can make your Search Center really shine.

Throughout this blog series, we’ll use examples from a Search Center that we in the content publishing team in Microsoft use to search for articles and other media that we have published on MSDN, TechNet and Office.com. Because we know the content, and because we know what we want to find and how we want to search for it, we’ve been able to set up the Search Center so that it suits our needs well.

This is what an empty Search Center looks like, before you start working on it:

And this is what our content publishing Search Center looks like after we set it up to fit our needs. Here, I've searched for "relevance", just as an example.

 You can see that we get results that show articles that we've published, but you can also see that we have added refiners that are meaningful to us, such as Writer and Editor. We also added several search pages, or search verticals, like Art and Interop. Later, we’ll show you how you can add search verticals and refiners to your Search Center, but before we dive into the practicalities, here are some considerations to help you plan your Search Center.

What kind of content and information is on your intranet?

When you think about your intranet, is there content that people probably want to search differently or separate from other content?

As an example, in our content publishing Search Center we have a separate search vertical to search through the illustrations, or "Art" files, that we use in our articles. So when I want to see if we already have any illustrations of a server farm, I type "server farm" as my query in the search box. On the search results page, I can simply click "Art" to view only the art results for that query.

Is the content tagged with good and consistent metadata?

Setting up your Search Center is much easier if content is well organized and consistently tagged with good metadata. It’s often well worth investing time in content quality before you crawl it, so that people can more easily find what they’re looking for in the Search Center.

In our content publishing Search Center, we work with SharePoint lists. Each content item that we publish, such as an article or an art file, has its own entry on the list. We've made sure that all the entries are consistently tagged with metadata that is important to us, for example to help us determine which product variants an article applies to. For our articles we also have rules around the titles and short descriptions we use. We’re capturing these metadata in site columns and site column values, and we have set up our Search Center so that we can easily use these values to refine on search results and quickly find exactly the information we’re looking for.

Who works with the intranet content?

Some content can benefit from being searched separately or differently than other content. Likewise, it is useful to think about the categories of people who search and how their interests differ. For example, if you work in Human Resources and you search for "vacation", you're probably looking for content related to the company's rules and regulations around holidays. If you don't work in HR and you search for "vacation", you probably want to find a SharePoint site where you can log when you're away or use a tool to request a day off.

You can create search verticals in the Search Center to display subsets of the search results that are of particular interest for certain groups of people, such as teams or departments. Or, you can create separate Search Centers. It all depends on the people who use the intranet in your organization: think about what they are searching for and how you can make it easier for them to find it.

 

Store most of the content in SharePoint

It’s an advantage if the content in your intranet is stored in SharePoint, because the SharePoint content source is different from all other types of content sources when it comes to search.

Site collection administrators have a lot of configuration and management options for content stored in SharePoint, such as adding new managed properties and editing existing ones. If you add a new managed property or make certain changes to it, you have to re-crawl the content. This is where it helps to have content in SharePoint: you can re-index individual SharePoint lists and libraries without having to crawl all SharePoint content.

Also, the SharePoint content source is the only source that you can crawl continuously. When the content changes, a continuous crawl will pick up the change and you don’t have to wait until the next incremental or full crawl completes.

 

A few words about how search works

Before you can show any search results in a Search Center, you have to crawl the content. After crawling, the content and related metadata are processed and stored as managed properties in the search index.
This is what it looks like under the surface:

  1. Our content is stored in SharePoint 2013 lists and libraries. We use site columns to store metadata about each item.
  2. When we crawl the content and the metadata, the information is processed and added to the search index.
  3. In the search index, managed properties represent the content and metadata that we crawled.
  4. The queries that we enter in our Search Center are sent to the search index, where the system tries to find matching results.
  5. Any matching results are displayed in the Search Result Web Part in the Search Center.

In the next blog posts in this series, we’ll walk you through how you can set up your own Search Center, using examples from our own experience with the Search Center for content publishers.

Upcoming blog posts in this series:

Other blogs and documentation that you may want to read:

Comments

  • Anonymous
    January 01, 2003
    Good series. Question: Management of crawled and managed properties in SharePoint Online shows me a count of 0 for crawled properties. Is this by design or a security issue (I'm global admin)?

  • Anonymous
    January 01, 2003
    Hi Amit,

    I'm sorry, but it seems like your case is a bit out of my range. I suggest that you contact Microsoft Support.

    Bella

  • Anonymous
    January 01, 2003
    Thanks for your feedback, Carry. The situation you describe is temporary, it's a known issue and a fix should be rolled out in the near future. As a workaround, you can create a new managed property (that you won't use), this will make the list show up.

  • Anonymous
    January 01, 2003
    Hi Paul,

    Yes, this article is background information. However, this article is just the first in a six part blog series that shows in detail how you can set up a search center. Links to all articles in this series are listed at the bottom of this article.

    Hope this helps,
    Bella

  • Anonymous
    January 01, 2003
    Hello Amit,

    Could you give some more information on which issues you're encountering?

    Thanks,
    Bella

  • Anonymous
    October 31, 2013
    I'm not sure why this is tagged with SharePoint Online, it does not contain any content about how SP Online search is planned and managed. Please make sure that the series addresses this topic.

  • Anonymous
    November 04, 2013
    Hi Dean, Thanks for your feedback. The things you can consider when you plan a Search Center are the same; whether you're creating a Search Center for SharePoint Online or for SharePoint Server 2013 on premises. When it comes to configuration, there are some differences: in SPO you'll use the search administration pages in the SharePoint admin center and on premises you'll use Central Administration. The site collection administration experience is very similar in SPO and on premises. I decided not to make the distinction in this article, since the planning considerations are the same. Scarlet

  • Anonymous
    November 04, 2013
    Hi Scarlet, I'm having trouble determining if I can get all the same benefits using a sub site or a search center site collection. Any recommendations you can share?

  • Anonymous
    November 07, 2013
    Hi Chuck, Whether you'd want to implement a sub site (assuming that you mean a search vertical) or a separate Search Center depends on the search scenario you want to enable. It's difficult for me to judge what would make most sense in your particular case. There's advantages for both: if you use a search vertical, you can reuse parts of an existing Search Center site collection and setup. If you set up a separate Search Center site collection, you can separate the entire search experience and tailor the entire Search Center to a specific use case. Hope this helped.

  • Anonymous
    November 26, 2013
    Hi i want to implement sp2013 search setup with federated search, my client want to display public website content in sp2013 search center , can you please tel me how to do this

  • Anonymous
    December 12, 2013
    Hi Prasanna, I’m not sure if I fully understand which scenario you’re trying to achieve. Could you please tell me if you want to:

  1. Include content from one or more websites in the search results on the Search Center.
  2. Federate search results from Bing in the search results on the Search Center. Thank you. Scarlet
  • Anonymous
    December 27, 2013
    Pingback from Set up a Search Center in SharePoint 2013 | Office 365 Singapore for Business - Win-Pro
  • Anonymous
    August 04, 2014
    Hi ,
    I am planning to have Search Centre for SP2013. I have lots of customization. I have achieved the same in SP2010 using Feature and Search Site Definition where i copied the Basic Search Site Definition and edited all other things like Master page, web parts properties , look and feel of the result page and its items.


    In 2013 i noticed they have display templates and a Feature (SearchCenter Files / Files.xml) which controls everything. I have achieved all the customizations by editing these files manually but i have to achieve this using Visual Studio and need to have package , a Site definition so that once i deployed that definition and when a search site has been created out of that definition all the customisation will be applied.

    could you please suggest how can i achieve that? how can i will have mine files.xml?

  • Anonymous
    September 28, 2014
    Great post, covers the basics and explains it really clearly. thank you very much!
  • Anonymous
    January 28, 2015
    Hello,

    I want refinement panel for federated search, only modified date and file type.

    Thanks,
    Amit Tripathi
  • Anonymous
    April 07, 2015
    The title is Set up a search center in sharepoint 2013....this is background, not information on setting up a search center....