SlideShare une entreprise Scribd logo
1  sur  20
Search Queries Explained 
Mikael Svenson – Principal Consultant 
@mikaelsvenson – mikael.svenson@puzzlepart.com – techmikael.blogspot.com
Dev by day – Super Hero by Night 
with great power comes great responsibility
I will not cover 
• Managed property weights 
• Full-text indexes in detail 
• Custom rank profiles 
• Graph Query Language (GQL v1)
I will cover 
• Overview of components involved in a search page 
• Crawled and Managed Properties 
• Keyword Query Language (KQL) 
• FAST Query Language (FQL) 
• Result Sources 
• Query Variables 
• Query Rules 
• Orchestration using Content Search Web Part
Overview 
Web Part 
Result Source 
(Scope) 
Result Type Item Template 
Control 
Template 
Search Index 
Search Result Web Part 
CSWP is hard set
Crawled and Managed Properties 
Column Internal Name Title 
Crawled Property ows_Title 
Managed Property Title 
Column Internal Name (taxonomy) MyLocation 
Crawled Property ows_MyLocation, ows_taxId_MyLocation 
Managed Property owstaxidMyLocation 
Column Internal Name (date) ArticleStartDate 
Crawled Property ows_ArticleStartDate, ows_q_DATE_ArticleStartDate 
Managed Property (type text) ArticleStartDateOWSDATE 
use Date00 / RefinableDate00
What makes a SharePoint column/field 
searchable? 
Managed Property Crawled Property
What makes a SharePoint column/field 
searchable? 
Crawled Property Managed Property 
Included in 
Full text-index 
Not included in 
Full text-index Searchable 
Not 
Searchable 
Column 
Searchable 
x ✓ 
x ✗ 
x x ✓ 
x x ✓ 
x x ✗ 
x x ✗
KQL - Demo 
contoso 
contoso marketing 
contoso OR marketing 
((contoso OR marketing) OR 
(sales)) NOT bistro 
author:julian 
author:julian author:garth 
author:julian AND author:garth 
author:garth title:sales 
size:50..100 
write:“this week" 
write:"last month" 
contoso NEAR(2) marketing 
contoso ONEAR(3) marketing 
marketing ONEAR(3) contoso 
contoso XRANK(cb=10) marketing
KQL - Demo 
GP0|#<guid> All items tagged with term 
GPP|#<guid> All child items of term, but not the term 
GTSet|#<guid> All terms in term set 
All Departments 
owstaxIdDeptTaxonomy:"GTSet|#8ed8c9ea-7052-4c1d-a4d7-b9c10bffea6f" 
Engineering (only have one level) 
owstaxIdDeptTaxonomy:"GP0|#c7284168-2c56-460c-bb37-743a62b4ba57"
FQL – It’s all really FQL 
• More operators 
• starts-with 
• ends-width 
• filter 
• .. http://msdn.microsoft.com/en-us/library/office/ff394606(v=office.15).aspx 
• Perhaps not for human input 
• Refinement filters by default are FQL – ranking will be different
FQL Demo – It’s all really FQL 
• KQL: contoso marketing 
• FQL: and("contoso", "marketing") 
• KQL: ((contoso OR marketing) OR (sales)) NOT bistro 
• FQL: andnot(or(or("contoso", "marketing"), "sales"),"bistro") 
• FQL: title:starts-with("knowledge") 
• Perhaps not for human input 
• Refinement filters by default are FQL – ranking will be different
Result Sources 
• Think of them as 2010 scopes with sorting powers 
• What should be included or omitted? 
• SSA, Tenant, Site Collection, Site Levels 
• GUIDs change on import for SearchConfig export/import
Query Variables – web part on page to filter 
page tag against people 
• {?} notation – exclude if empty 
• {} notation – don’t add quotes 
• {|} notation – multi-value expansion 
• User 
• Page 
• QueryString 
• Custom ones – inject in page or webpart 
• User segments -> query rules
Query Rules 
• Triggering 
• Rewrite 
• Reorder – only one 
• Groups with stop/continue 
• Result Blocks
Search Orchestration 
• Create seven result sources (two for triggering) 
• Create two query rules – above and below the fold 
• Add result blocks per rule 
• Edit page, reconfigure CSWP to use above sources 
• Use async for the below the fold web parts
Summary 
• You are the conductor! 
• You are responsible for making the connections between 
• Column -> cp -> mp -> result source -> query rule -> web part 
• Result type -> display template -> web part
It’s all about.. 
Turning Business Rules into 
Query Rules
Search Queries Explained – A Deep Dive into Query Rules, Query Variables and Search Orchestration

Contenu connexe

Tendances

Effective Searching by Dominik Kornas
Effective Searching by Dominik KornasEffective Searching by Dominik Kornas
Effective Searching by Dominik Kornas
AEM HUB
 
Rapid API Development ArangoDB Foxx
Rapid API Development ArangoDB FoxxRapid API Development ArangoDB Foxx
Rapid API Development ArangoDB Foxx
Michael Hackstein
 

Tendances (20)

Effective Searching by Dominik Kornas
Effective Searching by Dominik KornasEffective Searching by Dominik Kornas
Effective Searching by Dominik Kornas
 
Implementing Site Search in CQ5 / AEM
Implementing Site Search in CQ5 / AEMImplementing Site Search in CQ5 / AEM
Implementing Site Search in CQ5 / AEM
 
Building Modern APIs with GraphQL
Building Modern APIs with GraphQLBuilding Modern APIs with GraphQL
Building Modern APIs with GraphQL
 
An E-commerce App in action built on top of a Multi-model Database
An E-commerce App in action built on top of a Multi-model DatabaseAn E-commerce App in action built on top of a Multi-model Database
An E-commerce App in action built on top of a Multi-model Database
 
Mindtalk Tech - Behind the scenes
Mindtalk Tech - Behind the scenesMindtalk Tech - Behind the scenes
Mindtalk Tech - Behind the scenes
 
Improve Performance in Fast Search for SharePoint - Comperio
Improve Performance in Fast Search for SharePoint - ComperioImprove Performance in Fast Search for SharePoint - Comperio
Improve Performance in Fast Search for SharePoint - Comperio
 
SharePoint Framework, React, and Office UI Fabric spc adriatics 2016
SharePoint Framework, React, and Office UI Fabric spc adriatics 2016SharePoint Framework, React, and Office UI Fabric spc adriatics 2016
SharePoint Framework, React, and Office UI Fabric spc adriatics 2016
 
GraphConnect Europe 2016 - Tuning Your Cypher - Petra Selmer, Mark Needham
GraphConnect Europe 2016 - Tuning Your Cypher - Petra Selmer, Mark NeedhamGraphConnect Europe 2016 - Tuning Your Cypher - Petra Selmer, Mark Needham
GraphConnect Europe 2016 - Tuning Your Cypher - Petra Selmer, Mark Needham
 
A (XPages) developers guide to Cloudant
A (XPages) developers guide to CloudantA (XPages) developers guide to Cloudant
A (XPages) developers guide to Cloudant
 
How web works and browser works ? (behind the scenes)
How web works and browser works ? (behind the scenes)How web works and browser works ? (behind the scenes)
How web works and browser works ? (behind the scenes)
 
Bleeding Edge Databases
Bleeding Edge DatabasesBleeding Edge Databases
Bleeding Edge Databases
 
Solving text search problems with Ruby on Rails
Solving text search problems with Ruby on RailsSolving text search problems with Ruby on Rails
Solving text search problems with Ruby on Rails
 
Presto Summit 2018 - 08 - FINRA
Presto Summit 2018  - 08 - FINRAPresto Summit 2018  - 08 - FINRA
Presto Summit 2018 - 08 - FINRA
 
Rapid API Development ArangoDB Foxx
Rapid API Development ArangoDB FoxxRapid API Development ArangoDB Foxx
Rapid API Development ArangoDB Foxx
 
Flex/Flash meets HTML5 Family
Flex/Flash meets HTML5 FamilyFlex/Flash meets HTML5 Family
Flex/Flash meets HTML5 Family
 
Day 4 - Advance Python - Ground Gurus
Day 4 - Advance Python - Ground GurusDay 4 - Advance Python - Ground Gurus
Day 4 - Advance Python - Ground Gurus
 
Parse - Backend as a Service
Parse - Backend as a ServiceParse - Backend as a Service
Parse - Backend as a Service
 
Building Read Models using event streams
Building Read Models using event streamsBuilding Read Models using event streams
Building Read Models using event streams
 
Elastic Web Mining
Elastic Web MiningElastic Web Mining
Elastic Web Mining
 
Smarter Together - Bringing Relational Algebra, Powered by Apache Calcite, in...
Smarter Together - Bringing Relational Algebra, Powered by Apache Calcite, in...Smarter Together - Bringing Relational Algebra, Powered by Apache Calcite, in...
Smarter Together - Bringing Relational Algebra, Powered by Apache Calcite, in...
 

Similaire à Search Queries Explained – A Deep Dive into Query Rules, Query Variables and Search Orchestration

Advanced query parsing techniques
Advanced query parsing techniquesAdvanced query parsing techniques
Advanced query parsing techniques
lucenerevolution
 
Lessons learned while building Omroep.nl
Lessons learned while building Omroep.nlLessons learned while building Omroep.nl
Lessons learned while building Omroep.nl
bartzon
 
DSpace 4.2 XMLUI Theming
DSpace 4.2 XMLUI ThemingDSpace 4.2 XMLUI Theming
DSpace 4.2 XMLUI Theming
DuraSpace
 

Similaire à Search Queries Explained – A Deep Dive into Query Rules, Query Variables and Search Orchestration (20)

Introduction to AngularJS
Introduction to AngularJSIntroduction to AngularJS
Introduction to AngularJS
 
Self-serve analytics journey at Celtra: Snowflake, Spark, and Databricks
Self-serve analytics journey at Celtra: Snowflake, Spark, and DatabricksSelf-serve analytics journey at Celtra: Snowflake, Spark, and Databricks
Self-serve analytics journey at Celtra: Snowflake, Spark, and Databricks
 
Advanced Relevancy Ranking
Advanced Relevancy RankingAdvanced Relevancy Ranking
Advanced Relevancy Ranking
 
Advanced query parsing techniques
Advanced query parsing techniquesAdvanced query parsing techniques
Advanced query parsing techniques
 
Lab EPiServer Find - Advanced developer scenarios
Lab EPiServer Find - Advanced developer scenariosLab EPiServer Find - Advanced developer scenarios
Lab EPiServer Find - Advanced developer scenarios
 
Autogenerate Awesome GraphQL Documentation with SpectaQL
Autogenerate Awesome GraphQL Documentation with SpectaQLAutogenerate Awesome GraphQL Documentation with SpectaQL
Autogenerate Awesome GraphQL Documentation with SpectaQL
 
Getting started with Laravel & Elasticsearch
Getting started with Laravel & ElasticsearchGetting started with Laravel & Elasticsearch
Getting started with Laravel & Elasticsearch
 
Leveraging SharePoint 2013 Search and CSR
Leveraging SharePoint 2013 Search and CSRLeveraging SharePoint 2013 Search and CSR
Leveraging SharePoint 2013 Search and CSR
 
AngularJS Workshop
AngularJS WorkshopAngularJS Workshop
AngularJS Workshop
 
10 Reasons to Start Your Analytics Project with PostgreSQL
10 Reasons to Start Your Analytics Project with PostgreSQL10 Reasons to Start Your Analytics Project with PostgreSQL
10 Reasons to Start Your Analytics Project with PostgreSQL
 
Lessons learned while building Omroep.nl
Lessons learned while building Omroep.nlLessons learned while building Omroep.nl
Lessons learned while building Omroep.nl
 
Writing an extensible web testing framework ready for the cloud slide share
Writing an extensible web testing framework ready for the cloud   slide shareWriting an extensible web testing framework ready for the cloud   slide share
Writing an extensible web testing framework ready for the cloud slide share
 
DSpace 4.2 XMLUI Theming
DSpace 4.2 XMLUI ThemingDSpace 4.2 XMLUI Theming
DSpace 4.2 XMLUI Theming
 
Lessons learned while building Omroep.nl
Lessons learned while building Omroep.nlLessons learned while building Omroep.nl
Lessons learned while building Omroep.nl
 
Tips for Tuning Solr Search: No Coding Required
Tips for Tuning Solr Search: No Coding RequiredTips for Tuning Solr Search: No Coding Required
Tips for Tuning Solr Search: No Coding Required
 
Análisis de las novedades del Elastic Stack
Análisis de las novedades del Elastic StackAnálisis de las novedades del Elastic Stack
Análisis de las novedades del Elastic Stack
 
Apache Kylin: OLAP Engine on Hadoop - Tech Deep Dive
Apache Kylin: OLAP Engine on Hadoop - Tech Deep DiveApache Kylin: OLAP Engine on Hadoop - Tech Deep Dive
Apache Kylin: OLAP Engine on Hadoop - Tech Deep Dive
 
Advanced guide to develop ajax applications using dojo
Advanced guide to develop ajax applications using dojoAdvanced guide to develop ajax applications using dojo
Advanced guide to develop ajax applications using dojo
 
ELAG Workshop version 1
ELAG Workshop version 1ELAG Workshop version 1
ELAG Workshop version 1
 
Object(ive) Thinking
Object(ive) ThinkingObject(ive) Thinking
Object(ive) Thinking
 

Plus de Mikael Svenson

Plus de Mikael Svenson (11)

Nyheter i O365-porteføljen og Office 2016
Nyheter i O365-porteføljen og Office 2016Nyheter i O365-porteføljen og Office 2016
Nyheter i O365-porteføljen og Office 2016
 
Office graph - Is it your cup of tea?
Office graph - Is it your cup of tea?Office graph - Is it your cup of tea?
Office graph - Is it your cup of tea?
 
SharePoint - The hybrid story and beyond
SharePoint - The hybrid story and beyondSharePoint - The hybrid story and beyond
SharePoint - The hybrid story and beyond
 
Norwegian SharePoint Community - What happened at Ignite
Norwegian SharePoint Community - What happened at IgniteNorwegian SharePoint Community - What happened at Ignite
Norwegian SharePoint Community - What happened at Ignite
 
Techniques for Creating Social Refiners in SharePoint Search
Techniques for Creating Social Refiners in SharePoint SearchTechniques for Creating Social Refiners in SharePoint Search
Techniques for Creating Social Refiners in SharePoint Search
 
SharePoint - Display Templates Overview
SharePoint - Display Templates OverviewSharePoint - Display Templates Overview
SharePoint - Display Templates Overview
 
Share point – client search api’s
Share point – client search api’sShare point – client search api’s
Share point – client search api’s
 
Nsc 2013 06-17 - random rants on 2013
Nsc 2013 06-17 - random rants on 2013Nsc 2013 06-17 - random rants on 2013
Nsc 2013 06-17 - random rants on 2013
 
SharePoint Saturday Belgium - Contextual Search and More..
SharePoint Saturday Belgium - Contextual Search and More..SharePoint Saturday Belgium - Contextual Search and More..
SharePoint Saturday Belgium - Contextual Search and More..
 
Nsc 2011 09-21 search 101
Nsc 2011 09-21 search 101Nsc 2011 09-21 search 101
Nsc 2011 09-21 search 101
 
Er gratis søk egentlig noe tess
Er gratis søk egentlig noe tessEr gratis søk egentlig noe tess
Er gratis søk egentlig noe tess
 

Dernier

If this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaIf this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New Nigeria
Kayode Fayemi
 
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxChiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
raffaeleoman
 
Uncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac FolorunsoUncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac Folorunso
Kayode Fayemi
 
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
Sheetaleventcompany
 

Dernier (20)

My Presentation "In Your Hands" by Halle Bailey
My Presentation "In Your Hands" by Halle BaileyMy Presentation "In Your Hands" by Halle Bailey
My Presentation "In Your Hands" by Halle Bailey
 
If this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaIf this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New Nigeria
 
Busty Desi⚡Call Girls in Sector 51 Noida Escorts >༒8448380779 Escort Service-...
Busty Desi⚡Call Girls in Sector 51 Noida Escorts >༒8448380779 Escort Service-...Busty Desi⚡Call Girls in Sector 51 Noida Escorts >༒8448380779 Escort Service-...
Busty Desi⚡Call Girls in Sector 51 Noida Escorts >༒8448380779 Escort Service-...
 
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
 
ICT role in 21st century education and it's challenges.pdf
ICT role in 21st century education and it's challenges.pdfICT role in 21st century education and it's challenges.pdf
ICT role in 21st century education and it's challenges.pdf
 
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxChiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
 
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
 
Dreaming Marissa Sánchez Music Video Treatment
Dreaming Marissa Sánchez Music Video TreatmentDreaming Marissa Sánchez Music Video Treatment
Dreaming Marissa Sánchez Music Video Treatment
 
Causes of poverty in France presentation.pptx
Causes of poverty in France presentation.pptxCauses of poverty in France presentation.pptx
Causes of poverty in France presentation.pptx
 
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdfAWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
 
Dreaming Music Video Treatment _ Project & Portfolio III
Dreaming Music Video Treatment _ Project & Portfolio IIIDreaming Music Video Treatment _ Project & Portfolio III
Dreaming Music Video Treatment _ Project & Portfolio III
 
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night EnjoyCall Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
 
Uncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac FolorunsoUncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac Folorunso
 
ANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docxANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docx
 
Report Writing Webinar Training
Report Writing Webinar TrainingReport Writing Webinar Training
Report Writing Webinar Training
 
Introduction to Prompt Engineering (Focusing on ChatGPT)
Introduction to Prompt Engineering (Focusing on ChatGPT)Introduction to Prompt Engineering (Focusing on ChatGPT)
Introduction to Prompt Engineering (Focusing on ChatGPT)
 
lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.
 
Air breathing and respiratory adaptations in diver animals
Air breathing and respiratory adaptations in diver animalsAir breathing and respiratory adaptations in diver animals
Air breathing and respiratory adaptations in diver animals
 
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
 
BDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort Service
 

Search Queries Explained – A Deep Dive into Query Rules, Query Variables and Search Orchestration

  • 1.
  • 2. Search Queries Explained Mikael Svenson – Principal Consultant @mikaelsvenson – mikael.svenson@puzzlepart.com – techmikael.blogspot.com
  • 3. Dev by day – Super Hero by Night with great power comes great responsibility
  • 4. I will not cover • Managed property weights • Full-text indexes in detail • Custom rank profiles • Graph Query Language (GQL v1)
  • 5. I will cover • Overview of components involved in a search page • Crawled and Managed Properties • Keyword Query Language (KQL) • FAST Query Language (FQL) • Result Sources • Query Variables • Query Rules • Orchestration using Content Search Web Part
  • 6. Overview Web Part Result Source (Scope) Result Type Item Template Control Template Search Index Search Result Web Part CSWP is hard set
  • 7. Crawled and Managed Properties Column Internal Name Title Crawled Property ows_Title Managed Property Title Column Internal Name (taxonomy) MyLocation Crawled Property ows_MyLocation, ows_taxId_MyLocation Managed Property owstaxidMyLocation Column Internal Name (date) ArticleStartDate Crawled Property ows_ArticleStartDate, ows_q_DATE_ArticleStartDate Managed Property (type text) ArticleStartDateOWSDATE use Date00 / RefinableDate00
  • 8. What makes a SharePoint column/field searchable? Managed Property Crawled Property
  • 9. What makes a SharePoint column/field searchable? Crawled Property Managed Property Included in Full text-index Not included in Full text-index Searchable Not Searchable Column Searchable x ✓ x ✗ x x ✓ x x ✓ x x ✗ x x ✗
  • 10. KQL - Demo contoso contoso marketing contoso OR marketing ((contoso OR marketing) OR (sales)) NOT bistro author:julian author:julian author:garth author:julian AND author:garth author:garth title:sales size:50..100 write:“this week" write:"last month" contoso NEAR(2) marketing contoso ONEAR(3) marketing marketing ONEAR(3) contoso contoso XRANK(cb=10) marketing
  • 11. KQL - Demo GP0|#<guid> All items tagged with term GPP|#<guid> All child items of term, but not the term GTSet|#<guid> All terms in term set All Departments owstaxIdDeptTaxonomy:"GTSet|#8ed8c9ea-7052-4c1d-a4d7-b9c10bffea6f" Engineering (only have one level) owstaxIdDeptTaxonomy:"GP0|#c7284168-2c56-460c-bb37-743a62b4ba57"
  • 12. FQL – It’s all really FQL • More operators • starts-with • ends-width • filter • .. http://msdn.microsoft.com/en-us/library/office/ff394606(v=office.15).aspx • Perhaps not for human input • Refinement filters by default are FQL – ranking will be different
  • 13. FQL Demo – It’s all really FQL • KQL: contoso marketing • FQL: and("contoso", "marketing") • KQL: ((contoso OR marketing) OR (sales)) NOT bistro • FQL: andnot(or(or("contoso", "marketing"), "sales"),"bistro") • FQL: title:starts-with("knowledge") • Perhaps not for human input • Refinement filters by default are FQL – ranking will be different
  • 14. Result Sources • Think of them as 2010 scopes with sorting powers • What should be included or omitted? • SSA, Tenant, Site Collection, Site Levels • GUIDs change on import for SearchConfig export/import
  • 15. Query Variables – web part on page to filter page tag against people • {?} notation – exclude if empty • {} notation – don’t add quotes • {|} notation – multi-value expansion • User • Page • QueryString • Custom ones – inject in page or webpart • User segments -> query rules
  • 16. Query Rules • Triggering • Rewrite • Reorder – only one • Groups with stop/continue • Result Blocks
  • 17. Search Orchestration • Create seven result sources (two for triggering) • Create two query rules – above and below the fold • Add result blocks per rule • Edit page, reconfigure CSWP to use above sources • Use async for the below the fold web parts
  • 18. Summary • You are the conductor! • You are responsible for making the connections between • Column -> cp -> mp -> result source -> query rule -> web part • Result type -> display template -> web part
  • 19. It’s all about.. Turning Business Rules into Query Rules

Notes de l'éditeur

  1. Site columns get’s automatic managed properties of type text Queryable Retrievable Reusable ones Int00 Date00 Double00 Decimnal00 RefinableInt RefinableDate RefinableDouble RefinableDecimal RefinableString
  2. Taking two of the queries we have already tested to rewrite in FQL I have created an FQL enabled result source for the demo and added the guid to the dropdown in the tool
  3. Taking two of the queries we have already tested to rewrite in FQL I have created an FQL enabled result source for the demo and added the guid to the dropdown in the tool I’ll try the count query, but might just time out as it’s a heavy one
  4. I talked about result source for FQL – so let’s take a look
  5. https://delve01.sharepoint.com/sites/contoso/Pages/Query-Variables.aspx?Foo=Bar
  6. Trigger on “connect” Rewrite query Add block and best bet
  7. Result Sources Hero Content Hero Profiles – switch from XSLT to search(?) Video Carousel My Events My Documents Contoso Home Trigger Above – empty template Contoso Home Trigger Below – empty template Query Rules Contoso Above Hero Content – 6 items Hero Profiles – remove dataview, add CBS – 3 item Contoso Below Video Carousel – 10 items (21 not possible) My Events – 2 items My Documents – 5 items