Vous êtes sur la page 1sur 44

Ashley Hillier

www.shillier.com
ashley@scothillier.net
No-Code Developer

Scot Hillier Technical Solutions, LLC




@AshleyKHillier
ashley@scothillier.net
The Power of Search
Crawled Properties
Managed Properties
Keyword Query Language
Creating a New Search Link
A SharePoint farm is complex
Difficult to find things across
farm

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

Service application in Central Administration
Manage content sources
Set crawl schedule
Content Sources
SharePoint
Databases
Crawl Log
Summary of items
crawled per content
source
Search Schema
Crawled Properties
Managed Properties


Created in the Search Service Application

Indexer crawls repositories

Title, Author, Modified Date, etc.
Managed Properties are defined in SharePoint
Search Service Application
Site Collection
Mapped to one or more crawled properties
Site Columns become 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
Limitations
Text only
Cannot be Sortable
Cannot be Refinable
Pre-Defined Managed Properties
Re-Indexing Sites and Lists
Keyword Query Language
Primary query language of SharePoint 2013
FAST Query Language
Still available
SQL Query
Removed from the product
Managed properties
Property restrictions
>
<
=
: (contains)

Title : SharePoint
Author = Administrator
Boolean operators
Combine elements
Make more restrictive queries



Free Text keywords or phrases

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
Leverages managed properties from
SharePoint
Returns results based on a specified
condition
Uses built-in and custom managed properties
for powerful, effective solutions

<property name><property operator><property value>
Title : Sharepoint
Quick, powerful solutions to common issues

1. Run a KQL search
2. Grab URL from the browser
3. Expose as a hyperlink on a site
Built In Managed Property

ContentClass:STS_List
Custom List
ContentClass:STS_ListItem
Custom List Item
ContentClass:STS_Web
Site
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
Site Settings of Search Site Collection
Create a new Result Source

Inside the new Result Source

Site Contents of Search Site Collection
Pages library
Create page taskresults.aspx

Edit Search Results web
part on taskresults.aspx

Site Settings of Search Site Collection
Search Settings

Crawled and Managed Properties
Ask Search the right questions using KQL
Hyperlink-Based Solutions
Creating Result Sources for Search Center

Vous aimerez peut-être aussi