+ All Categories
Home > Technology > Making the Most of Search in SharePoint Online - TechEd North America

Making the Most of Search in SharePoint Online - TechEd North America

Date post: 01-Jun-2015
Category:
Upload: corey-roth
View: 2,752 times
Download: 0 times
Share this document with a friend
Description:
Slides from my talk about Search with SharePoint Online at TechEd North America and TechEd Europe 2012.
Popular Tags:
42
Transcript
Page 1: Making the Most of Search in SharePoint Online - TechEd North America
Page 2: Making the Most of Search in SharePoint Online - TechEd North America

Making the most of Search in SharePoint OnlineCorey RothApplications ArchitectInfusion

Page 4: Making the Most of Search in SharePoint Online - TechEd North America

Challenges with Search

“Too many results”“I can’t find anything”“Not enough options on search page”“Results not relevant”

Page 5: Making the Most of Search in SharePoint Online - TechEd North America

Agenda

Overview of search in SharePoint OnlineQuerying SearchCustomizing SearchExtending SearchSearch on public facing web sites

Page 6: Making the Most of Search in SharePoint Online - TechEd North America

Key Takeaways

Familiarity with search in SharePoint OnlineAdvanced keyword queriesOut-of-the-box customizations to search interfaceUsing the search web service with SilverlightGetting more out of search than you do today

Page 7: Making the Most of Search in SharePoint Online - TechEd North America

Search in SharePoint Online

“It just works” – no configuration requiredSimilar search experience to SharePoint on-premisesIndexing occurs automatically every five minutesSearch settings configured at the Site Collection levelNo access to Search SA

Page 8: Making the Most of Search in SharePoint Online - TechEd North America

demo

Corey RothApplications ArchitectInfusion

Search in SharePoint Online

Page 9: Making the Most of Search in SharePoint Online - TechEd North America

Finding things easier

Documents can be found easier by

knowing the right query...using scopes to segment resultsmaking use of best bets

Page 10: Making the Most of Search in SharePoint Online - TechEd North America

Improve search with queries

SharePoint Online also uses Keyword Query syntaxUse wildcard operator (*) to find more results

i.e.: account* finds account, accounts, accountant, and accounting

Use >, >=, <, <= operators to query results by date

i.e.: Write>=“1/1/2011”Query by author or title using built-in managed properties

i.e.: Author:”Christina Murphy”i.e.: Title:”Budget 2012”

Page 11: Making the Most of Search in SharePoint Online - TechEd North America

Built-in Managed Properties

Managed Property

Description

Author Author of documentSite Used to query items by URLTitle Title of page or documentWrite Date document was modifiedIsDocument Set to 1 to return only documents

Page 12: Making the Most of Search in SharePoint Online - TechEd North America

Segmenting results with Scopes

Scopes allow the user to limit resultsResults can be restricted to:

a specific folderhostnamedomain or subdomain

Cannot be restricted to a content source or managed propertyGrouped together with Scope Display Groups

Page 13: Making the Most of Search in SharePoint Online - TechEd North America

demo

Corey RothApplications ArchitectInfusion

Querying Search and Scopes

Page 14: Making the Most of Search in SharePoint Online - TechEd North America

Provide more search options

Page 15: Making the Most of Search in SharePoint Online - TechEd North America

Many options for displaying scopes

Scopes on the master page can be optionally shownScopes dropdown uses the scope display group, Search Dropdown

Page 16: Making the Most of Search in SharePoint Online - TechEd North America

Empower users with a Search Center

Specify a Site Collection Search Center to provide users with customized search resultsHave contextual search use your Search CenterSearch Center created using New Site

Page 17: Making the Most of Search in SharePoint Online - TechEd North America

Find your people

An easy-to-use interface to find people Phonetic search helps find people when names are misspelledAutomatically recognizes common nicknames

i.e.: Robert / Rob / Bob / RobertoNo configuration required

User Profile Synchronization and people indexing pre-configuredMy Sites pre-configured

People queries executed from search center

Page 18: Making the Most of Search in SharePoint Online - TechEd North America

demo

Corey RothApplications ArchitectInfusion

People Search

Page 19: Making the Most of Search in SharePoint Online - TechEd North America

Improving how users view results

Users want to be able to find results quickly and easilyTailoring search center can greatly increase productivity

Page 20: Making the Most of Search in SharePoint Online - TechEd North America

Customizing Search CenterPages

Page Functiondefault.aspx Simple search box for SharePoint

searchesresults.aspx Results page for SharePoint searchespeople.aspx Search box for people searchpeopleresults.aspx

Results page for people search

advanced.aspx Search page with advanced options

Page 21: Making the Most of Search in SharePoint Online - TechEd North America

Customizing Search CenterWeb Parts - SearchBoxEx

The “search box”Provide value by adding a scope drop downCustomize labels and other textOptionally disable advanced search

Page 22: Making the Most of Search in SharePoint Online - TechEd North America

Customizing Search CenterWeb Parts - CoreResultsWebPart

Displays search resultsResults customizable using XSLSpecify a scope to limit resultsDisplays 10 results by defaultCan hard code query using Fixed Keyword Query

Page 23: Making the Most of Search in SharePoint Online - TechEd North America

Customizing Search CenterWeb Parts – Refinement Panel

Allows users to refine results based upon categories

i.e.: Author, site, document type, modified date

Customizable using XSLFilter categories configured using XML

Page 24: Making the Most of Search in SharePoint Online - TechEd North America

Customizing Search CenterWeb Parts – Advanced Search

Web part for performing advanced queriesAllows querying by managed propertyQuery by document type

Page 25: Making the Most of Search in SharePoint Online - TechEd North America

demo

Corey RothApplications ArchitectInfusion

Customizing Search Center

Page 26: Making the Most of Search in SharePoint Online - TechEd North America

Extending Search

Out-of-the-box search works great, but users want a rich interfaceCreating a Silverlight application to query search and display results provides a great user experienceSearch.asmx web service can query from client and remote applications

Page 27: Making the Most of Search in SharePoint Online - TechEd North America

Search.asmx

Located at /_vti_bin/search.asmxUser query string contained in an XML Input parameterQuery() method returns results as an ADO.NET DataSetQueryEx() method returns results as an XML stringUses credentials of currently logged in user

Page 28: Making the Most of Search in SharePoint Online - TechEd North America

Search.asmx – Query Input XML<QueryPacket xmlns="urn:Microsoft.Search.Query" Revision="1000">  <Query domain="QDomain">    <SupportedFormats>      <Format>urn:Microsoft.Search.Response.Document.Document</Format>    </SupportedFormats>    <Context>      <QueryText language="en-US" type="STRING">Sales</QueryText>    </Context>  </Query></QueryPacket>

Page 29: Making the Most of Search in SharePoint Online - TechEd North America

Search.asmx – Query Output XML<diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1"> <Results xmlns=""> <RelevantResults diffgr:id="RelevantResults1" msdata:rowOrder="0"><Rank>71596192</Rank> <Title>Team Site</Title>

<Path>https://dotnetmafia.sharepoint.com</Path> <Write>2011-09-09T02:41:26-07:00</Write> <SiteName>https://dotnetmafia.sharepoint.com</SiteName>…</RelevantResults>

Page 30: Making the Most of Search in SharePoint Online - TechEd North America

demo

Corey RothApplications ArchitectInfusion

Extending Search with Silverlight using Visual Studio 2012 RC

Page 31: Making the Most of Search in SharePoint Online - TechEd North America

Search on Public Facing Web Sites

Search center is not created on public site collectionsSearch can be used if:

a search center is createda scope is created for the public site collectionsearch box or link is included in the master pagebranding is applied to search center (optional)

Page 32: Making the Most of Search in SharePoint Online - TechEd North America

demo

Corey RothApplications ArchitectInfusion

Searching Public Facing Web Sites

Page 33: Making the Most of Search in SharePoint Online - TechEd North America

Can I do <x> with SharePoint Online?

SharePoint Online has many of the same features available from On-PremisesBefore you customize, know before you go

Page 34: Making the Most of Search in SharePoint Online - TechEd North America

What’s out?

Search Service ApplicationCrawling of File Shares, BCS, Exchange public foldersSearch Custom ConnectorsFAST SearchSearch Object Model

Page 35: Making the Most of Search in SharePoint Online - TechEd North America

What’s in?

Search CenterSearch Web PartsRefinement PanelAdvanced SearchPeople SearchKeywords, Best Bets, SynonymsScopes (on site collection)Contextual SearchSearch Web Service (search.asmx)

Page 36: Making the Most of Search in SharePoint Online - TechEd North America

Recap

Familiarity with search in SharePoint OnlineAdvanced keyword queriesOut-of-the-box customizations to search interfaceUsing the search web service with SilverlightGetting more out of search than you do today

Page 37: Making the Most of Search in SharePoint Online - TechEd North America

Related Content

Breakout Sessions (session codes and titles)

Hands-on Labs (session codes and titles)

Product Demo Stations (demo station title and location)

Related Certification Exam

Find Me Later At…

Required Slide*delete this box when your slide is finalized

Speakers, please list the Breakout Sessions, Labs, Demo Stations and Certification Exams that relate to your session. Also indicate when they can find you staffing in the TLC.

Page 38: Making the Most of Search in SharePoint Online - TechEd North America

Track Resources

Adding a link to a document’s folder in Search Results - http://t.co/2fqdnMFx

How to: Add search to a public facing web site with SPO - http://t.co/2IYaptxk

How to: Use Visual Studio 2012 to publish to SPO - http://t.co/7Lj6tMOt

How to: Use the Silverlight Web Part with VS 2012 - http://t.co/6hPeySGf

Page 39: Making the Most of Search in SharePoint Online - TechEd North America

Resources

Connect. Share. Discuss.

http://northamerica.msteched.com

Learning

Microsoft Certification & Training Resources

www.microsoft.com/learning

TechNet

Resources for IT Professionals

http://microsoft.com/technet

Resources for Developers

http://microsoft.com/msdn

Page 40: Making the Most of Search in SharePoint Online - TechEd North America

Complete an evaluation on CommNet and enter to win!

Page 41: Making the Most of Search in SharePoint Online - TechEd North America

MS Tag

Scan the Tagto evaluate thissession now onmyTechEd Mobile

Required Slide *delete this box when your slide is finalized

Your MS Tag will be inserted here during the final scrub.

Page 42: Making the Most of Search in SharePoint Online - TechEd North America

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to

be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS

PRESENTATION.


Recommended