How to define Search scopes in SharePoint 2013 Using Result Sources?

define search scope sharepoint 2010

In SharePoint 2013 search scopes has been changed by result sources, the “Scopes” are replaced by a new thing called “Result Sources”. By replaced I mean you cannot create or use the Search scopes anymore. No more displaying a custom search scope in a Drop-down next to search box. Only two system Search scopes All Sites and People will be available at search results page. The method of customizing the display of the search results in SharePoint 2013 search has improved drastically from SharePoint 2010.


Read some SharePoint tutorials on:

What happen to Search Scopes – They are depreciated or rather are integrated in Federated Search to create advanced version of these Scopes.

What are Result Sources – Result Sources are actually the combination of Federated Search and Search Scopes. In SharePoint 2013 you can Create a new Result Source and specify the “Protocol” (to search Local SharePoint or Remote SharePoint farm etc…) and can specify the “Query Transformation”.

Steps:
1. Log in to your SharePoint Central Administration site as a SharePoint farm administrator.
2. Click ‘Manage service applications’ under the ‘Application Management’ heading.
3. Click ‘Search Service Application’.
4. Click ‘ Result Sources’ under the ‘Queries and Results’ heading in the left-hand navigation panel.



define search scope sharepoint 2013

define search scope sharepoint 20135. Click ‘New Result Sources ‘.

define search scope sharepoint 2016

define search scope sharepoint 2016Search scopes and the clumsy rules to define them are gone in SharePoint Search 2013

define search scope sharepoint 2010
define search scope sharepoint 2010

Instead of Search Scopes, SharePoint 2013 Search uses Results Sources to define a subset of searchable content. Result Sources use a query transform property to define the items that are included in the result source




6. Fill the following information on the Add Result Source that is opened

a. Name – Key in the Result Source name. The value should be distinct with a different value from any other Result Source.

b. Description – For the result that is going to be created, enter the description.

c. Protocol – In order to retrieve the search results, this is utilized to select one of the 4 protocols.
– In this specific Search Service Application, if the results will be shown utilizing the Search Index, choose Local SharePoint.
– A trust must be set up between the two farms in order to consume the Search Index of another farm. If the Search results are going to be shown utilizing the index of a Search Service in a different farm, select Remote SharePoint.
– When the search results are shown using a Search Engine that utilizes OpenSearch 1.0/1.1, choose OpenSearch
– When the results are shown using Exchange Server 2013 use Exchange

d. Type -If everything in the Search Index is included in the results displayed using the Result Source, choose SharePoint Search Results. Choose People Search Results when the search results shown take only results focuses on people.

e. Query Transform – A different Query transform can be keyed in or the Query Transform Tab can be omitted with the default query transform. The Query builder can be set up utilizing a different Query Transform. There will be more discussion in a different article regarding more details on constructing a Query transform using the Query Builder.

f. Credentials Information – You can mention the authentication that has to be utilized for connection to the Result Source here.

7. Fill in the information for the new Result Sources, and then click ‘OK’.

Ex: People Scope / Result Sources

configure result sources sharepoint 2013
configure result sources sharepoint 2013


Hope it will be helpful to you.

Check out Best Alternative to InfoPath -> Try Now

You May Also like the Following SharePoint Online Tutorials:

About Sagar Pardeshi

I am Developer working on Microsoft Technologies for the past 6+years. I am very much passionate about programming and my core skills are SharePoint, ASP.NET & C#,Jquery,Javascript,REST. I am running this blog to share my experience & learning with the community I am an MCP, MCTS .NET & Sharepoint 2010, MCPD Sharepoint 2010, and MCSD HTML 5,Sharepoint 2013 Core Solutions. I am currently working on Sharepoint 2010, MOSS 2007, Sharepoint 2013,Sharepoint 2013 App Dev, C#, ASP.NET, and SQL Server 2008.

View all posts by Sagar Pardeshi →