What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize...

59

Transcript of What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize...

Page 1: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.
Page 2: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Optimize Search Relevance in SharePoint 2013 Victor Poznanski Principal Program Manager

Jan Inge BergsethArchitect

SPC145

Page 3: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

When You Leave, You Should Know…What:

…our view of relevance is…what tools you can use to manage relevance

When:…to use result sources, query rules, dynamic rules & relevance models

How:…to manage the relevance lifecycle

Page 4: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Challenges for Search

Users and their data

Page 5: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Challenges: Data ComplexityWhat we give to search engines

What most search engines see

1 2 3 4awaycomecontrastivecustomizeforfs14howoptimizingourrelevance (3)

shouldsimplesomess14techniquesview (2)whatwhenwithyou

Author: victor poznanskiTitle: conf relevancy sharepoint Date: 9.4.9Type: pptAuthority: 6Anchor: SPC presentation …

This release adds:• Non-search clicks• Improved clicks• Improved phrases

Page 6: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Challenges: Intent Where is my talk for the

SharePoint conference?

Are SharePoint Conferences always

held at the same place?

I wonder if there are any

presentations from previous

conferences

Different people have different intents

Query Rules help you handle intents

There is rarely a single right answer

SharePoint Conference

Page 7: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Query management tools Relevance management tools

Search Quality ≡ Relevance

Conversational user experience

Query management tools Relevance management tools

Collection Quality

Cust

om

ization

Cust

om

ization

Query management tools Relevance management tools

Page 8: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Configuration in the Conceptual Relevance Flow

For all queries:

Authorities: Level 1: http://networksRanking model: {incorporate user ratings}

Query:BT networkquarterly report

Search Web Part

Query Processing Engine

Document Collection

Thesaurus: BT British TelecomBest bets: BT Network …/BTN.htm

(WORDS BT, British Telecom) AND(WORDS network, networks, networked) AND (WORDS quarterly, quarterlies) AND(WORDS report, reports, reported)

Mixed Results for:• BT Network best bet• BT network quarterly

report• BT network

ContentType=reports

Dynamic Reordering Rules: Quarterly Report {prefer docs from http://reports}

Query Rule: {Terms} Quarterly Report {Terms} ContentType=“reports”

Page 9: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Improving Search Quality…the quality improvement cycle

Page 10: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

The Quality Improvement Cycle

Identify the problem queries

Diagnose the

problems

Try to fix

Deploy

1. social features2. user feedback web parts3. analytics reports4. Best Bets

1. eliminate crawl issues2. check permissions3. Test query: item=url4. check freshness

Page 11: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Fixing the Problem: Core Tools

Authorities

• Identify important data hubs

Result Source

• Scope or federate your searches

Page 12: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Fixing the Problem: New Tools

Query Rules: Reformulate the query

Dynamic Reranking Rules: Reorder the Results

Custom Ranking Model: Build relevance from ground zero

Tuning Tool: Incrementally improve existing ranking model

Con

trol

Sim

plic

ity

Page 13: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Using AuthoritiesHelp the ranker to see important hubs

Page 14: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Authorities: SSA-level configuration

Sites that are important

Sites with low intrinsic relevance

Takes ~24hrs to propagate

Page 15: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Authorities: Disconnected

Main Site: Project data

Second Site: Documentatio

n

Third Site: Glossaries

Most Authoritative Second-level Non-authoritative

Page 16: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Authorities: Connected

Page 17: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Authorities: Connected

1

0

1

1

2

4

3

2

4

Setting an authority affects all sites connected through hyperlinks

Sites are weighted

by distance to the authority

Page 18: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Authorities: Connected

1

0

1

1

2

1

1

2

0

Setting an authority can have unexpected side- effects

Page 19: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Authorities: Connected

1

0

1

1

2

1

-

2

0

Non-authorities do not affect connected sites

Page 20: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Using Result SourcesLimiting the scope of queries and federating

Page 21: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Queries are Sent to Sources“Customer

services monthly report”

Results from that sourceSourceUser aims a

query at a source

Protocol/Location

Query Transformation

(scope restriction)

Page 22: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Scoping Your Queries with Result Sources

Page 23: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Scoping a Source I

Page 24: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Scoping a Source II

User’s original queryRestrict to this site

Page 25: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

OpenSearch federation demoUsage of OpenSearch federation against Bing (web)Create result block where we edit query to get a specific resultAdding a Bing URL with query as a more linkPin result block to the top.

Page 26: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Query Rules

• Conditionally rewrite the query• Conditionally federate to other

sources

Page 27: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Query Rules: rewriting the query

E.g. for monthly report customer support, prefer:• …results that might be monthly reports• …from particular sites• …with particular authors• …and the most recent date

Page 28: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Query Rules: conditional federationGlaxoSmithKline

bring results from the CRM vertical for this customerBenefits

bring results from the HR vertical

Page 29: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Query Rules: conditions and actions

if query starts with

“what is”

Query Condition

if user segment

is “sales”

ContextCondition

Add results from Wikipedia (without the

“what is”)

Action

What is COGS? [Bing] COGS site:en.wikipedia.org

Page 30: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Query Rules: conditions and actionsPHRASE-BASED MATCHES• Exact match, beginning or end• Ad-hoc or term store dictionary• Match a regex (advanced)

HISTORICAL (LOG-BASED) MATCHES• Is this query more likely aimed at

the following source…?• Do people mostly click on result

of the following type…?

Query ConditionsCURATED (BEST BET)• Show a promoted result

REFORMULATE THE USER QUERY• Show a block of results• Replace the core results

with a different query

Actions

Page 31: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Reformulating a User Query I

monthly report customer support

Action Terms Subject Terms

customer support site:http://reports/regularcontenttype=“MonthlyReport”

Query Transform

Page 32: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Query Rules are Associated with Sources“Customer

services monthly report”

Query Rules associated with that

source

Results from that source + Best Bets +Result Blocks

Local SharePointUser aims a query at a source

Page 33: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Building a Rule (site settings)

Page 34: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Query rule demo• Use Term to create a dictionary with action terms• Use advanced query text match and assign match to

{actionTerms}, remaining terms to {subjectTerms}• Use result block to edit the title• Use query builder to add query terms

Page 35: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Search Verticals And Federation

Page 36: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Simple Search VerticalsSearch Box

Results web part

Nav Entry (all are verticals)

Query Rules

Item Templates

Refiners

Sort Menu

Result source for this site

Page 37: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Federating Results in from a Vertical

Results from the people vertical are federated in to “everything”

Page 38: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Federating using More Likely Queries I

Page 39: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Federating using More Likely Queries II

Page 40: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Vertical demo• From the SharePoint Federate results from the MyRank vertical• Use query condition “Query commonly used in Source” and

select the “MyRank Results (system)”• Add a result block with title: SharePoint Results for

"{subjectTerms}"

Page 41: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Tweaking Relevance

Page 42: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Dynamic Reordering Rules

Dynamic Rules let you reorder results according to a set of criteria• Just like query rules apply to user queries, dynamic rules apply to results

They are configured as part of a query• They translate into a special query syntax called XRANK

Result actions let you promote or demote results that match• In many cases, you can use this instead of Best Bets.

Page 43: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Using the Query Builder

Page 44: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Using the Query Builder

The query template

Page 45: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Using the Query Builder: Sorting

Page 46: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Using the Query Builder: Sorting

This will ensure the freshest reports will come back, but there is no ranking

If the primary sort key is not “rank”, you cannot add dynamic ordering rules

Page 47: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Using the Query Builder: Dynamic Rules

Page 48: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Result conditions and actions

Result Conditions

Result Actions

Promote up or demote down

Manual condition looks like a query

Page 49: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Promotion and Demotion

A promotion-to-top places any result at the top of the results

A promotion of 10 moves a mediocre relevant result to the top

A demotion of 10 places a mediocre revelant result under the most relevant results.

A demotion-to-bottom places any result at the bottom of the results

Page 50: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Dynamic ordering (Xrank) demoAlternatives in O15:

• Edit "Search result" web part• Create a new result source• Query rule without condition

• Create the query rule without condition• Query rule w/o condition and "Change ranked results by

changing the query"

Page 51: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Ranking and Ranking Customization

Page 52: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

You can Tune a Custom Ranking Model After…

You’ve considered or tried simpler optionsAuthorities, Thesaurus, Query Rules, Dynamic Rules

You’ve seen ranking could be improved for most queries

A meta-data property should be incorporated into ranking schema, eg: user rating

You’ve configured new managed properties & recrawled:

• Add a new managed property (integers: sortable/refinable, text: searchable)

• Recrawl

Page 53: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

How Can You Change Ranking?

ΣRank Score

ωpowerpoint

ωauthor

ωactivity

Title=“XBOX Monthly report”

Type=pptActivity=2M clicksAuthor=Ian RankemRating = 5

Title=“XBOX Monthly report”

Type=pptActivity=2M clicksAuthor=Ian RankemRating = 5

Query: Ian Monthly

ωrating

Transform (normalization)

Document(managed properties)

Page 54: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Tuning Tool demoUse SharePoint list with custom propertyMap Custom property to managed propertyCreate new custom rankmodel using tuning toolPublish new modelUse new model in result source and test

Page 55: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

SummarySearch quality is even better in this release

Improved ranking that builds on SS and FS + new featuresImproved linguistics: stemming and thesaurusIdentify hubs: authorities

Manage intent diversityHandle different intents with query rules

Friendly tools for managing relevanceManage the relevance lifecycle using admin UITune ranking models with free tuning tool

Page 56: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Search HOLs and events @ SPCHOL031 – Introduction to Search in SharePoint 2013

HOL034 – Exploring Search Query Rules in SharePoint 2013

HOL032 – Extending the Search experience in SharePoint 2013

HOL033 – People Search in SharePoint 2013

HOL035 – SharePoint Server 2013 Search Connectors and Using BCSMeet a Search SME

Ask questions, meet the community and share knowledge!

Mon-Thu @ Exhibit Hall

Hands on Labs

Daily 10:30am-6:30pm @ HOL Lab Lounge

Ask the Experts

Discuss search!

Wed 6:15PM @ Ask the Experts Lounge

Page 57: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Related Search Sessions @ SPCMon 3:45pm - SPC202 - Search Architecture in SharePoint 2013Speakers: Thomas Molbach, Rune Zakariassen

Tue 9:00am - SPC063 - Customizing Search Experiences in SharePoint 2013Speaker: Kerem Yuceturk

Tue 10:30am - SPC044 - Crawl and Index all Enterprise Content with SharePoint 2013 Search - Speaker: Vaidy Raghavan

Tue 10:30am - SPC125 - Hybrid and Search in the Cloud Speaker: Brad Stevenson

Wed 9:00am - SPC143 - Making Great Search Based Applications with Query Rules in SharePoint 2013 - Speaker: Pedro DeRose

Tue 5:00pm - SPC203 - Search Content Enrichment and Extensibility in SharePoint 2013Speakers: Runar Olsen, Kathrine Hammervold

Page 58: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

Evaluate this session now on MySPC using your laptop or mobile device: http://myspc.sharepointconference.com

MySPC

Page 59: What we give to search engines What most search engines see 1 2 3 4 away come contrastive customize for fs14 how optimizing our relevance (3) should.

© 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.