- Result Sources
- Federated Search
- Setup Bing Search
- Search External Data Sources
- Setup File Shares Search
SharePoint enterprise search is regarded as one of the world’s best search technologies. SharePoint 2013 has gone one step farther and added new enhancements to this world-class technology. There are new enhancements for finding people and expertise. Phonetic search works in multiple languages. Search results display authored documents and information about past projects that can showcase a person’s expertise. There are contact cards that provide a way to contact people directly from the search results.
Navigation has been enhanced so that users can find search box quickly. Search results are logically grouped and provide query suggestions. Search center sites can be created that focus on a particular scope. Scopes can be added in the central administration to limit the search to particular areas. By the way, the terminology has slightly changed in SharePoint 2013. Search scopes in SharePoint 2010 are now called as Result Sources in SharePoint 2013. Administrator can define a result source. Local SharePoint is the default predefined result source. With a result source, administrator can restrict queries to a subset of content by using a query transformation. You can use a query transformation to return on video results from the local SharePoint index.
One big improvement is the search result preview. Users can rest the pointer over a search result to preview the document content in the hover panel to the right of the result.
|Figure 1: Hover panel|
- You will add a new content source.
- You will add a new scope (result source) and add rules for this new scope.
- You will add a new tab in the search center on your SharePoint site and create search pages for this tab. You will create two pages, one that will host the Search Box web part and the other will be used to display filtered search results.
- You will modify Search Box web part and associate it with the newly created scope. This way you will get filtered search results.
|Figure 2: Content Sources|
|Figure 3: Result Sources (Scopes)|
7. Click New Result Source. Enter New Search in Name field. Enter New Search Scope in Description field. In Protocol, keep Local SharePoint selected. In Type, keep SharePoint Search Results selected. In Query Transform, keep default option selected. To build a new query transformation, click Launch Query Builder. Remove text from the Query text box. Select Query from the search box from Keyword filter drop down and click Add keyword filter button. Select --Show all managed properties-- from the Property filter. Again open Property filter and select Created. Select Less than in the comparison drop down. Select Today’s date (~5 days) from the value drop down. Click Add property filter button. This query will return all items that were created before today’s date. Click OK.
|Figure 4: Build Your Query|
|Figure 5: Custom results page|