92
Finding a Needle in the Haystack: SharePoint Style LET’S TALK ABOUT SEARCH FEATURES

Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Finding a Needle in the Haystack:

SharePoint StyleLET’S TALK ABOUT SEARCH FEATURES

Page 2: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

David Drever

• SharePoint Services Lead

• Microsoft Office Servers and Services MVP

• SharePoint JoAT (Jack of All Trades)

• Leadership team member Saskatchewan

SharePoint Office365 User Group

(https://www.meetup.com/SKSPOUG/)

Email : [email protected]

Twitter : @DavidMDrever

Website: http://prairiedeveloper.com

Contact Details:

Solvera Solutions

Page 3: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Joanne KleinSharePoint/O365 Consultant

NexNovus Consulting

Saskatchewan SharePoint/O365 User Group

@JoanneCKlein [email protected] JoanneCKlein.com

Page 4: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Agenda

What about Delve?

1

Why we like search

2

Search Feature “Should-haves”

3

Search Odds and Sodds

4

Page 5: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Agenda

What about Delve?

1

Why we like search

2

Search Feature “Should-haves”

3

Search Odds and Sodds

4

Page 6: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Agenda

What about Delve?

1

Why we like search

2

Search Feature “Should-haves”

3

Search Odds and Sodds

4

Page 7: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Agenda

What about Delve?

1

Why we like search

2

Search Feature “Should-haves”

3

Search Odds and Sodds

4

Page 8: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Disclaimer

High level

discussion of

SharePoint Search

Features

Each Feature

could be it’s own

presentation

We won’t be

able to cover

everything you

would like

Page 9: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Do we still

need

traditional

search?

What about

Delve?

Page 10: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

What is Delve? Office Graph

Page 11: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Delve uses Search too!

Page 12: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”
Page 13: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Delve

Page 14: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

What Delve can’t do…

Display Targeted content

Show List items!• Tasks

• Announcements

• Calendar entries

“Show me all Budget Documents for 2016”

“Show me all past Corporate Events”

Page 15: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Do we still need traditional search?

Yes, we do!

Page 16: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Why we like Search

Page 17: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Scope Control

Document Library

Content Type

Site

Site Collection

Web Application

(SP on-prem)

Tenant

(SPO)

Page 18: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Security TrimmedSecurity-trimmed

Page 19: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Customizable

Can even customize the web parts themselves.

Page 20: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”
Page 21: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Customizable

Display Templates• Control how your search results look!

• Search results

• “Supporting” web parts

Page 22: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Customizable Search

Result

Page 23: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Content Search Webpart Search

Webpart

Page 24: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Search

Webparts

Page 25: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Why can’t I find anything in SharePoint?

Page 26: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Why can’t I find anything in SharePoint?

Under-utilized

Search Features

Page 27: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”
Page 28: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Search Features…

Result SourcesSearch Web

Parts

Result Types &

Display

Templates

Query Builder

Page 29: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Result Sources

Page 30: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Result Source

Limit searches to:

Content Subset of results

Page 31: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Result Source

Defaults

Each has a

Search

Result

Source

Page 32: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Content

Search Web

Part

Out of the box result

sources

Page 33: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

User’s Helpdesk Incidents

Build a custom Result Source!

{searchTerms}

ContentType:HelpDeskIncident

AssignedTo={User.Name}

Source URL

Query

Page 34: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Result Source: “User’s Helpdesk Incidents”

Page 35: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Search Web Parts

Page 36: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

SharePoint Search Provides

Powerful, Highly

Configurable OOTB

Web Parts

Create Your Own

Search Pages with

a Single Web Part

Building your own

pages let’s YOU

control the data

returned

Page 37: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

What Search Brings to the Table

Basic text box,

just type your

query

Search Box

Web Part

Page 38: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Search Box Web Part

Page 39: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

What Search Brings to the Table

Allows navigation

to particular

Search Vertical

Directs to separate

page with

customized search

Web Parts

Search

Navigation Web

Part

Page 40: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Search Navigation

Web Part

Page 41: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

What Search Brings to the Table

Uses your queries

from Search Box

Data sources for

results are

configurable

Search Results

Web Part

Query and Refiners

can be defined

internally (without

user interaction)

Page 42: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Search Results Web

Part

Page 43: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

What Search Brings to the Table

Narrows down or

refines results from

returned query

Refiner Web Part

Utilizes Managed

Properties to refine

the search results

Refines based on

returned results not

entire index

Page 44: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Search Refiner

Web Part

Page 45: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Query Builder

Page 46: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Advanced ModeQuick Mode

Query Builder✓Content Search Web part

✓ Search Results Web part

Page 47: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Show me all active

contracts across

our company

Show me all

contracts renewing

in the next month

Page 48: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Query Builder DemoDemo setup

Company Contract

Co

nte

nt

Typ

e

Contract Status

Contract Renewal Date

IT Contracts

HR Contracts

Mktg Contracts

Contract Site Collection

HR Subsite

IT Subsite

Marketing

Subsite

Page 49: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Query Builder

Crawl generates crawled properties

Map Managed properties to Crawled properties:

ContractStatusAlias ContractRenewalDateAlias

Page 50: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Query Builder Demo

Page 51: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”
Page 52: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Result Types & Display Templates

Page 53: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Defining How Search Results Are

Categorized

A Result type is a

set of rules that

define data type

categories

But wait there’s more!!

Can also define

rules based on

Metadata

Combine file types

and metadata

together in a single

rule

Page 54: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Defining How Search Results Are

Categorized

SharePoint comes

with 31 default

Result Types

One is a default

for when no

other type fits

Can copy from

existing result types

when creating

new ones

Need to define

the attributes to

look for (Result

Conditions)

Then tell the

Result Type

what to do

(Result Action)

Page 55: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Result Type

Page 56: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Controlling How Your Results Are

Displayed

Display Templates

provide a customized

way of displaying

data in search results

and other sources

Templates allow for

the addition of logic

into result

presentations

Prior to SP2013, XSL

files had to be

modified. More

cumbersome

Page 57: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Controlling How Your Results Are

Displayed

Defined at the Site

Collection level.

Result Item display

templates as a

whole are two

parts

Item Display Template

Hover Panel Template

Page 58: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Display Template Examples

Github Tiles Template

Sharegate Slick Display

Template

http://en.share-gate.com/blog/sharepoint-display-template

https://github.com/SPCSR/DisplayTemplates

Page 59: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Little Documented step: Property Sync

https://technet.microsoft.com/en-us/library/dn794209.aspx

Page 60: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Demo – Display Template

Page 61: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Search Odds and Sodds

Query

Suggestions

Query Rules

Entity Extraction

(on-premises)

Thesaurus

(on-premises)

Page 62: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Entity Extraction

Page 63: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Entity Extraction

“How to get metadata if there is no metadata”

Page 64: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Entity Extraction

Infers the value of managed properties

Show up as refiners in search results

Manufacturing

Company

“Product Names”

Educational

Institutions

“School Names”

Oil & Gas

Company

“Oil Wells”

On-premises

Only!

Page 65: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Entity Extraction

STEP 1: Create a dictionary

KEY, DISPLAY format

Page 66: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Entity Extraction

STEP 2: Deploy the dictionary

$searchServiceApp = Get-SPEnterpriseSearchServiceApplication

Import-SPEnterpriseSearchCustomExtractionDictionary

–SearchApplication $searchServiceApp

–Filename <path>–DictionaryName <dictionaryname>

Where

<path> is a UNC filename<dictionaryname> is Microsoft.UserDictionaries.EntityExtraction.Custom.WordPart.n

(where n is 1,2,3,4 or 5)

Page 67: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Full crawl

required!

Entity

Extraction

STEP 3:

Configure

managed

property

Page 68: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Entity ExtractionSTEP 4: Configure a

refiner

Include

WordPartCustomRefiner1

as a refiner on the search

page

Page 69: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Query Suggestions

Page 70: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

I’m looking for: “Ti…”

How about:

Tickets…

Time…

Tim Hortons…

Query Suggestions

Page 71: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

What are Query Suggestions?

Word predictions

to assist your

search

Enabled

automatically in

Search Box WPs

Configurable by

you.

Add words to

always

suggest

Add words

to never

suggest

Page 72: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Rules for a Always Suggest File

One phrase for each line

Do not require quotes for multiline

Blank lines are acceptable

Order doesn’t matter. Sorted within SharePoint.

Files with duplicates will not upload

Page 73: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Rules for a Never Suggest File

One phrase for each line

Do REQUIRE quotes for multiline

Blank lines are acceptable

Order doesn’t matter. Sorted within SharePoint.

Often used to ensure misspells aren’t suggested

Files with duplicates will not upload

Page 74: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Thesaurus

Page 75: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Thesaurus

When you search for… Also include results for…

VP EVP, Vice President, Executive Vice President

HR Human Resources

SIN Social Insurance Number

Page 76: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Deploy a Thesaurus on-premises

STEP 1: Create a thesaurus file of synonyms

Format: KEY, SYNONYM, LANGUAGE format

Not case sensitive

Terms can’t include:

# / \ . ?

Page 77: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Deploy a Thesaurus on-premises

STEP 2: Deploy with PowerShell

$searchapp = Get-SPEnterpriseSearchServiceApplication

Import-SPEnterpriseSearchThesaurus –SearchApplication $searchapp -Filename <Path>

Change is immediate! No crawl required

Page 78: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

SharePoint Online thesaurus…

Ignite 2016 Roadmap!

Interim solution by Mikael Svenson and Elio Struyf

SharePoint List Javascript

Page 79: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Query Rules

Page 80: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Query Rules

What are

they?

Why would I

want them?

Page 81: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Use Cases

When anyone uses the search term ‘benefit’ show the HR Benefit

Policy at the top of search results.

When anyone searches for any department name, show the

organizational chart at the top of search results.

Page 82: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

How to add a Query Rule

Promoted Results

Result Blocks

ActionsCondition +

Page 83: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

STEP 1: Add a Condition

Let’s enhance what happens when people search for ‘budget’…

Page 84: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

STEP 2: Add an action

“Promoted Result”

Page 85: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Step 2: Add an action

“Result Block”

Page 86: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Don’t listen to them. It’s not ALL your fault!

Page 87: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Don’t listen to them. It’s not ALL your fault!

Users have to learn how to use search!

Page 88: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

http://icansharepoint.com/infographic-search-sharepoint/

Matt Wade

@thatmattwade

Page 89: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Troubleshooting

SharePoint Search Query Tool

https://sp2013searchtool.codeplex.com/

SharePoint 2013SharePoint

Online

Page 90: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Presentation URLs

Thesaurus:

https://joannecklein.com/2016/11/15/sharepoint-thesaurus-a-great-on-boarding-tool/

https://www.eliostruyf.com/a-better-way-for-search-synonyms-in-sharepoint-online-2013-2016/

http://www.techmikael.com/2016/06/bringing-out-client-side-hammer-one.html

Page 91: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

Thank you! Questions?

Page 92: Finding a Needle in the Haystack: SharePoint Style · • SharePoint Services Lead • Microsoft Office Servers and Services MVP • SharePoint JoAT (Jack of All Trades) ... • “Supporting”

David Drever and Joanne Klein

Thanks for coming out!!

Saskatchewan SharePoint Office365 User Group

(https://www.meetup.com/SKSPOUG/)

Email : [email protected]

Twitter : @DavidMDrever

Blog: prairiedeveloper.com

Email: [email protected]

Twitter: @JoanneCKlein

Blog: JoanneCKlein.com