SharePoint 2013 Search
-
Upload
ct-spug -
Category
Technology
-
view
978 -
download
2
description
Transcript of SharePoint 2013 Search
“No-Code Developer”
Scot Hillier Technical Solutions, LLC
@AshleyKHillier [email protected]
About Me
The Power of Search Crawled Properties Managed Properties Keyword Query Language Creating a New Search Link
Agenda
A SharePoint farm is complexDifficult to find things across farm
Data Challenges
Ask SharePoint Search the right questions
Learn to solve common problems:
◦ Show me my tasks◦ Show me all events◦ Show me documents I have authored
The Power of Search
The Power of Search
Service application in Central Administration Manage content sources Set crawl schedule
Search Service Application
Search Service Application
Central Administration
Search Service Application
Content Sources ◦ SharePoint◦ Databases
Crawl Log◦ Summary of items
crawled per content source
Search Schema◦ Crawled Properties◦ Managed Properties
SSA Navigation
Created in the Search Service Application
Indexer crawls repositories
Title, Author, Modified Date, etc.
Crawled Properties
Crawled Properties
Managed Properties are defined in SharePoint◦ Search Service Application◦ Site Collection
Mapped to one or more crawled properties Site Columns become Managed properties
Managed Properties
Type of Field Crawled Managed
Publishing ows_r_<4 letters> OWS<4-letters>
Managed Metadata
ows_taxId owsstaxid
Others Ows_q_<4 letter code> OWS<4 letters>
Property Description
Alias Friendly names
Multi-valued Can have multiple values
Queryable Can be used in property-based searches
Refinable Can be used as a refiner
Retrievable Can be returned in the results
Searchable Includes the value of the managed property in the search index
Sortable Can be used for sorting results
Type The data type of the managed property
Managed Properties
Limitations◦ Text only◦ Cannot be “Sortable”◦ Cannot be “Refinable”
Pre-Defined Managed Properties Re-Indexing Sites and Lists
Site Collection Managed Properties
Managed Properties
Edit a Managed Property
Edit Mappings
Keyword Query Language◦ Primary query language of SharePoint 2013
FAST Query Language◦ Still available
SQL Query◦ Removed from the product
Keyword Query Language (KQL)
Managed properties Property restrictions
◦ >◦ <◦ =◦ : (“contains”)
Elements of KQL
Title : SharePoint
Author = Administrator
Boolean operators◦ Combine elements◦ Make more restrictive queries
Free Text keywords or phrases
Elements of KQL
Title : SharePoint OR Author = Administrator
Familiar form of KQL◦Used in common search engines
Typing words and phrases into Search Center◦Hospitality◦“New England Hospitality”
Leverages Property Restrictions and Boolean Operators
Free-Text KQL
Leverages managed properties from SharePoint
Returns results based on a specified condition
Uses built-in and custom managed properties for powerful, effective solutions
Property Based KQL
<property name><property operator><property value>
Title : Sharepoint
Quick, powerful solutions to common issues
1. Run a KQL search2. Grab URL from the browser3. Expose as a hyperlink on a site
Hyperlink-Based Solutions
Using KQL
Built In Managed Property
ContentClass:STS_List◦ Custom List
ContentClass:STS_ListItem◦ Custom List Item
ContentClass:STS_Web◦ Site
ContentClass
k=ContentClass%3ASTS%5Flistitem%5Ftask
• Copy out entire URL from the search results.
• Navigate to Site where you want to place the Hyperlink
Scopes of information in SharePoint◦ Previous versions of SharePoint
Scopes◦ SharePoint 2013
Result Sources Search Results pages
◦ Customized for a Result Source◦ Added to Search Navigation
Search Navigation Links
Site Settings of Search Site Collection Create a new Result Source
Creating a Custom Result Source
Inside the new Result Source
Using the Query Builder
Site Contents of Search Site Collection◦ Pages library◦ Create page “taskresults.aspx”
Create a New Search Results Page
Edit Search Results web part on taskresults.aspx
Add Result Source to Results Page
Site Settings of Search Site Collection Search Settings
Add Link to Search Navigation
Add Link to Search Navigation
Crawled and Managed Properties Ask Search the right questions using KQL Hyperlink-Based Solutions Creating Result Sources for Search Center
Summary