collab365 global 2016_edmusters_searchzerotohero

63
Online Conference June 17 th and 18 th 2015 WWW.COLLAB365.EVENTS SharePoint Search Zero to Search Hero Ed Musters, SharePoint MVP Infusion, Toronto Canada

Upload: ed-musters

Post on 18-Feb-2017

66 views

Category:

Software


0 download

TRANSCRIPT

Page 1: Collab365 global 2016_edmusters_searchzerotohero

     

               

 Online Conference

 June 17th and 18th 2015

WWW.COLLAB365.EVENTS

SharePoint Search Zero to Search Hero

Ed Musters, SharePoint MVPInfusion, Toronto Canada

Page 2: Collab365 global 2016_edmusters_searchzerotohero

WWW.COLLAB365.EVENTS

Ed Musters, SharePoint MVP

Infusion, Toronto Canada

Email : [email protected] : @TechEdTorontoSlideshare: http://www.slideshare.net/emusters

Ed has previously taught SharePoint development in the classroom for many years, is an upcoming Pluralsight Instructor, and is an author for two books on SharePoint development. Ed has been a featured speaker at many international conferences, SharePoint Saturdays, and user groups. Ed would very much enjoy sharing his real world expertise with you!

Page 3: Collab365 global 2016_edmusters_searchzerotohero

WWW.COLLAB365.EVENTS

Presentation SummaryI cannot tell you how many recent customers have simply indexed a universe of content with SharePoint Search OOTB (both SP and non-SP) and commented that “Search sucks” and “I can’t find anything relevant”. You will learn everything you need to know at this session to make use of very powerful OOTB configurable search functionality to “light up” your search experience and become the next Search Hero. No previous knowledge of SharePoint Search is assumed. 

• Audience:   Business• Level: 100• Pre-Requisites: A user of SharePoint and Search, site ownership /

administration a definite plus.

Page 4: Collab365 global 2016_edmusters_searchzerotohero

WWW.COLLAB365.EVENTS

You Will Learn About:What SharePoint Search Features you can ask your Administrator to ConfigureA primer on SharePoint Search TerminologyUsing Search Analytics to find out about what people are searching forThe benefits of having your very own Search Center to configureHow to Federate search with your public web site

Page 5: Collab365 global 2016_edmusters_searchzerotohero

Agenda• How can you be a search hero?• Search Terminology• Authoritative Pages and Search Thesaurus• Search analytics reports• Your Very Own Search Center• Federated Search• Results Sources, Promoted Results and Results Blocks• Search “vertical” / tabs• Information Architecture and Search Refiners• Hybrid Search

Page 6: Collab365 global 2016_edmusters_searchzerotohero

Side Note: The Demo EnvironmentI will be using the Office 365 Trial environment, pre-populated with “Contoso” content, as provisioned via the following link (if you are a Microsoft Partner): https://demos.microsoft.com/

Page 7: Collab365 global 2016_edmusters_searchzerotohero

How can you be a search hero?

Page 8: Collab365 global 2016_edmusters_searchzerotohero

How can you be a search hero?

Arm yourself with search knowledge super powers! Learn the art of the possible!Apply your transformative powers and make your users search experience shine!Learn:• What you can ask your SharePoint Administrators to do• What you can do yourself with your very own Search Center• All the basics before tackling more advanced concepts such as the

Content Search Web Part (which merits its own session!)

Page 9: Collab365 global 2016_edmusters_searchzerotohero

Isn’t SharePoint Online / 2016 / 2013 Search supposed to be awesome and getting better with every version? Isn’t it the “killer app”?

Consider the following:• Are you dissatisfied with your organizations “Enterprise

Search”?• If SharePoint is simply “indexing the universe of content”,

disappointing search results should not be surprising – why might that be?

Page 10: Collab365 global 2016_edmusters_searchzerotohero

Search Terminology

Page 11: Collab365 global 2016_edmusters_searchzerotohero
Page 12: Collab365 global 2016_edmusters_searchzerotohero

Search TerminologyResult Sources – A new or refined set of search results, previously known as scopes. You could limit results to a file extension (e.g. ppt*), a path (e.g. a sub-site / document library), a matching term in a term set, a content type (e.g. Proposals), etc. You could also bring in external / federated results sources (e.g. Bing or from Google Search Appliance) via OpenSearch.Query Rules – I term these “search business rules” where you anticipate what people are looking for, by defining a set of conditions and actions. A simple example is to look for a keyword (“News”) and direct someone to the News home page.

Page 13: Collab365 global 2016_edmusters_searchzerotohero

Search Administration in SharePoint Online

Page 14: Collab365 global 2016_edmusters_searchzerotohero

Authoritative Pages and Search Thesaurus

Page 15: Collab365 global 2016_edmusters_searchzerotohero

Authoritative PagesGiven a listing of all of your site collections, you have the opportunity to rank them in “levels” of “first, second, or third” in terms of search relevance. You don’t have to do them all, but you should do the ones you can.You can also promote relevant content that may be “buried” deep down in some site hierarchy – corporate, division, region, company, department, team...There is a special category called “sites to demote”. The classic example is an archive site you certainly would not want featured prominently in search results simply based on keywords typed in.These settings are global to the Office 365 tenant / SharePoint Farm.

Page 16: Collab365 global 2016_edmusters_searchzerotohero

Authoritative Pages

Page 17: Collab365 global 2016_edmusters_searchzerotohero

Search ThesaurusAvailable in SharePoint On Premise only! But exceptionally useful!A Thesaurus defines synonyms so that searching for one term or the other yields identical search results.All that is required is a simple CSV file in UTF-8 format, and is uploaded in Central Administration. Example file:

A good starting point are your corporate or industry specific acronyms (e.g. For the banking sector).

Key,Synonym,LanguageCOO,Chief Operating Officer,enChief Operating Officer,COO,en

Page 18: Collab365 global 2016_edmusters_searchzerotohero

Search ThesaurusNote the hit highlighting includes search result both with “coo” and “chief operating officer”.

Page 19: Collab365 global 2016_edmusters_searchzerotohero

Search Analytics Reports

Page 20: Collab365 global 2016_edmusters_searchzerotohero

Search Analytics ReportsSearch Analytics reports will show you what people are looking for now, and is a primary input for creating new “search business rules”.At some frequency (e.g. Quarterly), request the “Top Queries By Month”, “Abandoned Queries By Month”, and “No Results Queries by Month”.An actual client example was employees searching for official company holidays – terms included “holiday”, “holidays”, “2016 calendar”, “statutory holidays”, “working calendar”. Together, they comprised a top search on the company intranet. But each term yielded very different search results – and frustration (and wasted time) on the part of the employee! We can resolve this, but the first step is knowing about it.

Page 21: Collab365 global 2016_edmusters_searchzerotohero
Page 22: Collab365 global 2016_edmusters_searchzerotohero

Your Very Own Search Center

Page 23: Collab365 global 2016_edmusters_searchzerotohero

Your Very Own Search CenterYou may have a global / “Enterprise” search in your organization (e.g. from your corporate Intranet).It is definitely worth considering if you should have your very own Search Center for your site collection (a “/sites/Search” sub-site)

We will learn in this part of the presentation the Site Settings you can make to have a unique and specialized Search Center experience.

Site Settings

Page 24: Collab365 global 2016_edmusters_searchzerotohero

Federated Search

Page 25: Collab365 global 2016_edmusters_searchzerotohero

Federated SearchThis technique allows you query an “outside” search index that is compliant with OpenSearch protocol and include the search results within your search center.This is the SharePoint 2013 Hybrid Search approach to include SharePoint On Premise results in SharePoint Online and vice versa.We’ll be introducing Results Sources and Query Rules in this section.Microsoft’s Bing Search is OpenSearch compliant, so let’s use that as an example...

Page 26: Collab365 global 2016_edmusters_searchzerotohero

Bing Federated SearchFirst we need a Results Source that “points” to Bing:

Page 27: Collab365 global 2016_edmusters_searchzerotohero

Bing Federated SearchResults Source details

Bing Search URL

Page 28: Collab365 global 2016_edmusters_searchzerotohero

Federated SearchNow we use a Query Rule to specify we’d like to show our Bing search in a Results Block:

Page 29: Collab365 global 2016_edmusters_searchzerotohero

Google Search Appliance Federated SearchMore practically, clients wish to feature federated searches from their public “.com” site when searching on the Intranet. For example, the product information and brochures your customer is accessing are probably there.Many of our clients are using the Google Search Appliance (GSA) to index their “.com”, so this has to be the search index we query to get results from.One of our banking clients is BMO.com. If you perform a search for “RSP” (“Retirement Savings Plan”), it will reveal the GSA query endpoint:http://findit.bmo.com/search?proxystylesheet=bmo_json&site=bmo_en&client=bmo_en&output=xml_no_dtd&q=rsp&num=10&start=NaN&oe=utf8

Page 30: Collab365 global 2016_edmusters_searchzerotohero

The XSLT File you Need!Here is the magical file (embedded into presentation) that you will need to provide to your GSA team!Note the parameter “proxystylesheet=bmo_json” on previous page. If you try the URL (in Chrome) you will see special “json” search results because of a specialized XSLT file the client providedYou will want them to implement this as “proxystylesheet=OpenSearch” or whatever, which will apply this XSLT to the results before returning them to SharePoint.

GSA_to_SP_OpenSearch.xslt

Page 31: Collab365 global 2016_edmusters_searchzerotohero

GSA Federated!Following exact same approach as for Bing, you add the Results Source and Query Rule to get the GSA search results federated to SharePoint

Page 32: Collab365 global 2016_edmusters_searchzerotohero

Results Sources, Promoted Results and Results BlocksOr: Results Sources and Query Rules, aka “Search Business Rules”

Page 33: Collab365 global 2016_edmusters_searchzerotohero

Results SourcesLet’s look at another example of a custom Results Source:

Page 34: Collab365 global 2016_edmusters_searchzerotohero

Promoted Results / Results BlocksLet’s look at some samples for Query Rules:

Page 35: Collab365 global 2016_edmusters_searchzerotohero

News “Business Rules” Triggered

Page 36: Collab365 global 2016_edmusters_searchzerotohero

Pop Quiz!How would you recommend to do for our previous example found via the search reports?

“An actual client example was employees searching for official company holidays – terms included “holiday”, “holidays”, “2016 calendar”, “statutory holidays”, “working calendar”. Together, they comprised a top search on the company intranet. But each term yielded very different search results – and frustration (and wasted time) on the part of the employee! ”

Page 37: Collab365 global 2016_edmusters_searchzerotohero

Search Verticals / Tabs

Page 38: Collab365 global 2016_edmusters_searchzerotohero

Search Verticals / TabsYou can have additional tabs in your search center.One simple scenario is a “search scope”, limiting search results to a certain path / site / document library, or a specific type of content.Let’s set up a “News” tab that focuses only on Press Releases (the Results Source from the previous section).

Page 39: Collab365 global 2016_edmusters_searchzerotohero

Create and Configure New Search Page In your Search Center, Add a New Page (e.g. “NewsResults”). Then on the search results web part, choose to “Edit Web Part”:

Page 40: Collab365 global 2016_edmusters_searchzerotohero

Configure the Search Results Web PartClick the Change Query button. Change the “Select a Query” drop down to the appropriate Results Source (in our case Press Releases):

Page 41: Collab365 global 2016_edmusters_searchzerotohero

Configure A New Search TabFrom Site Settings search navigation, add a new link to point to your search results page. That’s it! Your search will now have a new tab!

Page 42: Collab365 global 2016_edmusters_searchzerotohero

New Search Tab – No Results SourceAnother example of Sales/Marketing tab. But this time we use Local SP Results and modify the Query Text with a Path parameter:

Page 43: Collab365 global 2016_edmusters_searchzerotohero

Information Architecture and Search Refiners

Page 44: Collab365 global 2016_edmusters_searchzerotohero

Information Architecture and Search RefinersA proper Information Architecture involving logical, physical, and navigation can be a daunting exercise.You can add your own custom search refiners to improve your search center experience.Start simple with one or two types of content.Create a Site Column that is mapped to a managed metadata term set.Add the Site Column to a document library and tag/classify your documents.Map “refinable fields” to your managed metadata and add Search Refiners to your search center.

Page 45: Collab365 global 2016_edmusters_searchzerotohero

Sample Logical Information ArchitecturePhysical content isconnected togetherby tagging withvalues from hierarchical termsets.

Page 46: Collab365 global 2016_edmusters_searchzerotohero

You can create your own term setsScoped to only your site collection, example “Product Group”

Page 47: Collab365 global 2016_edmusters_searchzerotohero

Create Site Column to Map Term Set

Page 48: Collab365 global 2016_edmusters_searchzerotohero

Add The Site Column To A Document Library

In my example, I used the Documents library under Departments -> Sales & Marketing -> Marketing Campaigns sub-site.Go to the library settings and add the Contoso Product site columns using “Add from existing site columns”.

Page 49: Collab365 global 2016_edmusters_searchzerotohero

Tag Your Content!Note I did this quickly using the “Quick Edit” view:

Page 50: Collab365 global 2016_edmusters_searchzerotohero

Crawled Property ->Managed PropertyWhen SharePoint crawls content that has been tagged with your term set, a “Crawled Property” is automatically generated.Notice the “Mapped to Property” is currently blank

Page 51: Collab365 global 2016_edmusters_searchzerotohero

Map to Managed PropertyYou need to have a Managed Property – this is the part that is Searchable, Sortable, and (most importantly) refinable. It is recommended to use the SharePoint provided generic Managed Properties “RefinableString00”, “01”, “02”, etc. OOTB that you can use to map to your Crawled Properties.

Page 52: Collab365 global 2016_edmusters_searchzerotohero

Map to Managed PropertyOn the Managed Property tab, search for “refinablestring”. Edit the next number that has not been assigned – in this case 02.

Page 53: Collab365 global 2016_edmusters_searchzerotohero

Map to Managed PropertyYou can leave everything “as is”, just scroll down to the “Mappings” section. Click Add a Mapping and find and add your crawled property:

Page 54: Collab365 global 2016_edmusters_searchzerotohero

Map to Managed PropertyYou should now see this filled on back on the Managed Property tab:

Page 55: Collab365 global 2016_edmusters_searchzerotohero

Adding a Search RefinerOk! Now we are ready to add a new search refiner! Go to the search results page (e.g. go to Search Center and type in any search criteria, such as “test”).On the search results page, put the page in edit mode:

Page 56: Collab365 global 2016_edmusters_searchzerotohero

Adding a Search RefinerIn that Navigation Zone, choose to edit the web part. In the web part properties, click on the Choose Refiners button:

Page 57: Collab365 global 2016_edmusters_searchzerotohero

Adding a Search RefinerFrom availablerefiners, chooseRefinable String02 and Add.Change the Display Nameto Product

Page 58: Collab365 global 2016_edmusters_searchzerotohero

Adding a Search RefinerSave and publish your page. Test an appropriate search – in my case “Q4”.Notice your new refiner!

Page 59: Collab365 global 2016_edmusters_searchzerotohero

Hybrid Search

Page 60: Collab365 global 2016_edmusters_searchzerotohero

Hybrid SearchHybrid Search is when SharePoint Online directly indexes your SharePoint On Premise.SharePoint Online becomes your one master search index.You can move search configuration from On Premise to Online.In one customer scenario, SharePoint On Premise search is also running for sensitive data (i.e. You can have both).You need SharePoint 2016 or a patch for SharePoint 2013.

Page 61: Collab365 global 2016_edmusters_searchzerotohero

WWW.COLLAB365.EVENTS

Ed Musters, SharePoint MVPInfusion, Toronto Canada

Email : [email protected] : @TechEdTorontoSlideshare: http://www.slideshare.net/emusters

Thank you for watching my session! And enjoy the rest of the conference!

You officially can now can be the next Search Hero for your organization!

Page 62: Collab365 global 2016_edmusters_searchzerotohero

WWW.COLLAB365.EVENTS

Stay tuned for more great sessions …

Page 63: Collab365 global 2016_edmusters_searchzerotohero

WWW.COLLAB365.EVENTS