Upload
michael-oryszak
View
178
Download
0
Embed Size (px)
Citation preview
Session Overview • Search Basics• Understanding Queries• Showing Dynamic Content• Closeout and Final Questions
Target Audience:Site Administrators and Power Users looking to maximize the effectiveness of their site.
Search BasicsContent Classification
• ContentClass Overview– Not all content is the same– ContentClass property helps
to segment content by its fundamental type
• Examples:– SPSPeople – User Profiles– STS_Site – Site Collection– STS_Web – Site/Web– STS_list_[doccumentlibrary] * – List– STS_listitem_[documentlibrary] * – List
Item
• * Note name in brackets can be replaced with template name
Search BasicsManaged Properties
• Can be used to query against a specific attribute
• Examples:– Author– CreatedBy– LastModifiedTime– FirstName
Understanding Queries• Query Formatting
– Limit – 255 characters– Content Classes - ContentClass:Value– Managed Properties - Property:Value– Logical Operators - AND, OR, NOT, +, -– Relational Operators - <, >, <=, >=, <>– Filename – filename:”name”– File Type – filetype:value– Location – path:”url”
Sample Queries
ContentClass:STS_Site• Uses the content classes specification to return all of the Site
Collections
Department:”IT”• Would return all of the people with a value of IT in the Department
user profile property
Filetype:PDF• Would return all PDF documents
Understanding Queries
ContentType:”Check Request” AND RequestStatus:”Completed”• Returns results for items with a ContentType set to “Check Request” and a RequestStatus
of “Completed”
contentclass:sts_listitem_announcements AND author:“Jane Doe" • Would return all announcements authored by Jane Doe
ContentType:”Enrollment Form” AND Write>”1/1/2016” AND Filetype:PDF• Would return all content classified as an Enrollment form, added or modified after
6/1/2012, and of the filetype PDF.
Available Web PartsStrong emphasis on using Search to power large,
dynamic sites that can display content beyond the site collection
Web Part CategoriesContent RollupSearch-Driven ContentSearch
Content Rollups• Content Search Web Part introduced with
2013– Uses Search to return results– Provides interface for configuring and testing
your query– Provides configuration for 3 views; List, List with
Paging, or Slideshow– Provides configuration for property mapping
(identification)
Search-Driven Content Web Parts• These are extensions of
the Content Search web part, providing an initial query to work from
• Extensively use Result Sources
• Web Parts include:– Recommended Items– Recently Changed Items– Popular Items– Pictures– Pages– Items Matching Tag– Videos– Web Pages– Wiki Pages
Search• Contains traditional search related web parts
– Find by Document ID– Refinement– Search Box– Search Navigation– Search Results– Taxonomy Refinement Panel
Resources• Keyword Query Syntax Reference
– http://technet.microsoft.com/en-us/subscriptions/index/ee558911(v=office.14).aspx
• Property Restriction Keyword Queries– http://technet.microsoft.com/en-us/subscriptions/ff394509.aspx
• My Search Blog Posts– http://mikeoryszak.com/tag/search/