SlideShare a Scribd company logo
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 InternalName 
Title 
CrawledProperty 
ows_Title 
Managed Property 
Title 
Column InternalName (taxonomy) 
MyLocation 
CrawledProperty 
ows_MyLocation,ows_taxId_MyLocation 
Managed Property 
owstaxidMyLocation 
Column InternalName (date) 
ArticleStartDate 
CrawledProperty 
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 inFull text-index 
Not included inFull text-index 
Searchable 
NotSearchable 
ColumnSearchable 
x 
✓ 
x 
✗ 
x 
x 
✓ 
x 
x 
✓ 
x 
x 
✗ 
x 
x 
✗
KQL -Demo 
contoso 
contosomarketing 
contosoOR marketing 
((contosoOR marketing) OR (sales)) NOT bistro 
author:julian 
author:julianauthor:garth 
author:julianAND author:garth 
author:garthtitle:sales 
size:50..100 
write:“thisweek" 
write:"lastmonth" 
contosoNEAR(2) marketing 
contosoONEAR(3) marketing 
marketing ONEAR(3) contoso 
contosoXRANK(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: contosomarketing 
•FQL: and("contoso", "marketing") 
•KQL: ((contosoOR 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 SearchConfigexport/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 asyncfor 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
Turning Business Rules into Query Rules 
It’s all about..
Q & A

More Related Content

What's hot

A Persistence Service for the OSGi Framework - Carl Rosenberger, Chief Softwa...
A Persistence Service for the OSGi Framework - Carl Rosenberger, Chief Softwa...A Persistence Service for the OSGi Framework - Carl Rosenberger, Chief Softwa...
A Persistence Service for the OSGi Framework - Carl Rosenberger, Chief Softwa...
mfrancis
 
Developers Guide to Cosmos DB
Developers Guide to Cosmos DBDevelopers Guide to Cosmos DB
Developers Guide to Cosmos DB
Seven Peaks Speaks
 
Laravel and SOLR
Laravel and SOLRLaravel and SOLR
Laravel and SOLR
Peter Steenbergen
 
Apache Calcite (a tutorial given at BOSS '21)
Apache Calcite (a tutorial given at BOSS '21)Apache Calcite (a tutorial given at BOSS '21)
Apache Calcite (a tutorial given at BOSS '21)
Julian Hyde
 
Railsで作るBFFの功罪
Railsで作るBFFの功罪Railsで作るBFFの功罪
Railsで作るBFFの功罪
Recruit Lifestyle Co., Ltd.
 
OData support in Cast Iron 7.5.1
OData support in Cast Iron 7.5.1OData support in Cast Iron 7.5.1
OData support in Cast Iron 7.5.1
Sarath Ambadas
 
State-of-the-Art Drupal Search with Apache Solr
State-of-the-Art Drupal Search with Apache SolrState-of-the-Art Drupal Search with Apache Solr
State-of-the-Art Drupal Search with Apache Solr
guest432cd6
 
PHP, the GraphQL ecosystem and GraphQLite
PHP, the GraphQL ecosystem and GraphQLitePHP, the GraphQL ecosystem and GraphQLite
PHP, the GraphQL ecosystem and GraphQLite
JEAN-GUILLAUME DUJARDIN
 
Webinar: What's new in Neo4j 2.0
Webinar: What's new in Neo4j 2.0 Webinar: What's new in Neo4j 2.0
Webinar: What's new in Neo4j 2.0
Neo4j
 
Introduction to GraphQL: Mobile Week SF
Introduction to GraphQL: Mobile Week SFIntroduction to GraphQL: Mobile Week SF
Introduction to GraphQL: Mobile Week SF
Amazon Web Services
 
Agile api dev Into the Box 2018
Agile api dev Into the Box 2018Agile api dev Into the Box 2018
Agile api dev Into the Box 2018
Ortus Solutions, Corp
 
BarCamp cloudsearch
BarCamp cloudsearchBarCamp cloudsearch
BarCamp cloudsearch
kopertop
 
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
Acquia
 
Oracle APEX Nitro
Oracle APEX NitroOracle APEX Nitro
Oracle APEX Nitro
Marko Gorički
 
Speed Up Your APEX Apps with JSON and Handlebars
Speed Up Your APEX Apps with JSON and HandlebarsSpeed Up Your APEX Apps with JSON and Handlebars
Speed Up Your APEX Apps with JSON and Handlebars
Marko Gorički
 
Entity Framework Core 1.x/2.x Advanced
Entity Framework Core 1.x/2.x AdvancedEntity Framework Core 1.x/2.x Advanced
Entity Framework Core 1.x/2.x Advanced
Christian Nagel
 
Flex/Flash meets HTML5 Family
Flex/Flash meets HTML5 FamilyFlex/Flash meets HTML5 Family
Flex/Flash meets HTML5 Family
Sho Ito
 
A smarter Pig: Building a SQL interface to Apache Pig using Apache Calcite
A smarter Pig: Building a SQL interface to Apache Pig using Apache CalciteA smarter Pig: Building a SQL interface to Apache Pig using Apache Calcite
A smarter Pig: Building a SQL interface to Apache Pig using Apache Calcite
Julian Hyde
 
Web crawl with Elixir
Web crawl with ElixirWeb crawl with Elixir
Web crawl with Elixir
이재철
 
Meetup#2: Building responsive Symbology & Suggest WebService
Meetup#2: Building responsive Symbology & Suggest WebServiceMeetup#2: Building responsive Symbology & Suggest WebService
Meetup#2: Building responsive Symbology & Suggest WebService
Minsk MongoDB User Group
 

What's hot (20)

A Persistence Service for the OSGi Framework - Carl Rosenberger, Chief Softwa...
A Persistence Service for the OSGi Framework - Carl Rosenberger, Chief Softwa...A Persistence Service for the OSGi Framework - Carl Rosenberger, Chief Softwa...
A Persistence Service for the OSGi Framework - Carl Rosenberger, Chief Softwa...
 
Developers Guide to Cosmos DB
Developers Guide to Cosmos DBDevelopers Guide to Cosmos DB
Developers Guide to Cosmos DB
 
Laravel and SOLR
Laravel and SOLRLaravel and SOLR
Laravel and SOLR
 
Apache Calcite (a tutorial given at BOSS '21)
Apache Calcite (a tutorial given at BOSS '21)Apache Calcite (a tutorial given at BOSS '21)
Apache Calcite (a tutorial given at BOSS '21)
 
Railsで作るBFFの功罪
Railsで作るBFFの功罪Railsで作るBFFの功罪
Railsで作るBFFの功罪
 
OData support in Cast Iron 7.5.1
OData support in Cast Iron 7.5.1OData support in Cast Iron 7.5.1
OData support in Cast Iron 7.5.1
 
State-of-the-Art Drupal Search with Apache Solr
State-of-the-Art Drupal Search with Apache SolrState-of-the-Art Drupal Search with Apache Solr
State-of-the-Art Drupal Search with Apache Solr
 
PHP, the GraphQL ecosystem and GraphQLite
PHP, the GraphQL ecosystem and GraphQLitePHP, the GraphQL ecosystem and GraphQLite
PHP, the GraphQL ecosystem and GraphQLite
 
Webinar: What's new in Neo4j 2.0
Webinar: What's new in Neo4j 2.0 Webinar: What's new in Neo4j 2.0
Webinar: What's new in Neo4j 2.0
 
Introduction to GraphQL: Mobile Week SF
Introduction to GraphQL: Mobile Week SFIntroduction to GraphQL: Mobile Week SF
Introduction to GraphQL: Mobile Week SF
 
Agile api dev Into the Box 2018
Agile api dev Into the Box 2018Agile api dev Into the Box 2018
Agile api dev Into the Box 2018
 
BarCamp cloudsearch
BarCamp cloudsearchBarCamp cloudsearch
BarCamp cloudsearch
 
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
 
Oracle APEX Nitro
Oracle APEX NitroOracle APEX Nitro
Oracle APEX Nitro
 
Speed Up Your APEX Apps with JSON and Handlebars
Speed Up Your APEX Apps with JSON and HandlebarsSpeed Up Your APEX Apps with JSON and Handlebars
Speed Up Your APEX Apps with JSON and Handlebars
 
Entity Framework Core 1.x/2.x Advanced
Entity Framework Core 1.x/2.x AdvancedEntity Framework Core 1.x/2.x Advanced
Entity Framework Core 1.x/2.x Advanced
 
Flex/Flash meets HTML5 Family
Flex/Flash meets HTML5 FamilyFlex/Flash meets HTML5 Family
Flex/Flash meets HTML5 Family
 
A smarter Pig: Building a SQL interface to Apache Pig using Apache Calcite
A smarter Pig: Building a SQL interface to Apache Pig using Apache CalciteA smarter Pig: Building a SQL interface to Apache Pig using Apache Calcite
A smarter Pig: Building a SQL interface to Apache Pig using Apache Calcite
 
Web crawl with Elixir
Web crawl with ElixirWeb crawl with Elixir
Web crawl with Elixir
 
Meetup#2: Building responsive Symbology & Suggest WebService
Meetup#2: Building responsive Symbology & Suggest WebServiceMeetup#2: Building responsive Symbology & Suggest WebService
Meetup#2: Building responsive Symbology & Suggest WebService
 

Viewers also liked

Spca2014 sp buy orbuild goedhart
Spca2014 sp buy orbuild goedhartSpca2014 sp buy orbuild goedhart
Spca2014 sp buy orbuild goedhart
NCCOMMS
 
Spca2014 thvo adfs pub vochten
Spca2014 thvo adfs pub vochtenSpca2014 thvo adfs pub vochten
Spca2014 thvo adfs pub vochten
NCCOMMS
 
Spca2014 sp ci with tfs online and azure matthias einig
Spca2014 sp ci with tfs online and azure matthias einigSpca2014 sp ci with tfs online and azure matthias einig
Spca2014 sp ci with tfs online and azure matthias einig
NCCOMMS
 
Spca2014 navigating clouds sp_con14_mackie
Spca2014 navigating clouds sp_con14_mackieSpca2014 navigating clouds sp_con14_mackie
Spca2014 navigating clouds sp_con14_mackie
NCCOMMS
 
Spca2014 yammer share point_what_next_moneypenny
Spca2014 yammer share point_what_next_moneypennySpca2014 yammer share point_what_next_moneypenny
Spca2014 yammer share point_what_next_moneypenny
NCCOMMS
 
Spca2014 share point azure_the_best_of_friends_moneypenny
Spca2014 share point  azure_the_best_of_friends_moneypennySpca2014 share point  azure_the_best_of_friends_moneypenny
Spca2014 share point azure_the_best_of_friends_moneypenny
NCCOMMS
 
Spca2014 sp connect 10 worst practices sam marshall 1.0d
Spca2014 sp connect 10 worst practices sam marshall 1.0dSpca2014 sp connect 10 worst practices sam marshall 1.0d
Spca2014 sp connect 10 worst practices sam marshall 1.0d
NCCOMMS
 
Spca2014 public rovers
Spca2014 public roversSpca2014 public rovers
Spca2014 public rovers
NCCOMMS
 
Spca2014 marianne vanwanrooij collaboration_and_enterprise_content_management
Spca2014 marianne vanwanrooij collaboration_and_enterprise_content_managementSpca2014 marianne vanwanrooij collaboration_and_enterprise_content_management
Spca2014 marianne vanwanrooij collaboration_and_enterprise_content_management
NCCOMMS
 
Spca2014 thvo sql pub vochten
Spca2014 thvo sql pub vochtenSpca2014 thvo sql pub vochten
Spca2014 thvo sql pub vochten
NCCOMMS
 
Spca2014 office365 ap is full hackett obrien
Spca2014 office365 ap is full hackett obrienSpca2014 office365 ap is full hackett obrien
Spca2014 office365 ap is full hackett obrien
NCCOMMS
 
Spca2014 social refiners svenson
Spca2014 social refiners svensonSpca2014 social refiners svenson
Spca2014 social refiners svenson
NCCOMMS
 
Spca2014 real world business value of social kapic
Spca2014 real world business value of social kapicSpca2014 real world business value of social kapic
Spca2014 real world business value of social kapic
NCCOMMS
 
Spca2014 practical large scale migration guidance v1.0 andries den haan
Spca2014 practical large scale migration guidance v1.0 andries den haanSpca2014 practical large scale migration guidance v1.0 andries den haan
Spca2014 practical large scale migration guidance v1.0 andries den haan
NCCOMMS
 
Spca2014 office 365 the year in review and next year too oosterveld
Spca2014 office 365 the year in review and next year too oosterveldSpca2014 office 365 the year in review and next year too oosterveld
Spca2014 office 365 the year in review and next year too oosterveld
NCCOMMS
 
Spca2014 keynote johnson
Spca2014 keynote johnsonSpca2014 keynote johnson
Spca2014 keynote johnson
NCCOMMS
 
Spca2014 mirjam van olst upgrading share point 2010 custom solutions to sha...
Spca2014 mirjam van olst   upgrading share point 2010 custom solutions to sha...Spca2014 mirjam van olst   upgrading share point 2010 custom solutions to sha...
Spca2014 mirjam van olst upgrading share point 2010 custom solutions to sha...
NCCOMMS
 
SPCA2013 - Test-driven Development with SharePoint 2013 and Visual Studio
SPCA2013 - Test-driven Development with SharePoint 2013 and Visual StudioSPCA2013 - Test-driven Development with SharePoint 2013 and Visual Studio
SPCA2013 - Test-driven Development with SharePoint 2013 and Visual Studio
NCCOMMS
 
Spca2014 search workshop niaulin
Spca2014 search workshop niaulinSpca2014 search workshop niaulin
Spca2014 search workshop niaulin
NCCOMMS
 

Viewers also liked (19)

Spca2014 sp buy orbuild goedhart
Spca2014 sp buy orbuild goedhartSpca2014 sp buy orbuild goedhart
Spca2014 sp buy orbuild goedhart
 
Spca2014 thvo adfs pub vochten
Spca2014 thvo adfs pub vochtenSpca2014 thvo adfs pub vochten
Spca2014 thvo adfs pub vochten
 
Spca2014 sp ci with tfs online and azure matthias einig
Spca2014 sp ci with tfs online and azure matthias einigSpca2014 sp ci with tfs online and azure matthias einig
Spca2014 sp ci with tfs online and azure matthias einig
 
Spca2014 navigating clouds sp_con14_mackie
Spca2014 navigating clouds sp_con14_mackieSpca2014 navigating clouds sp_con14_mackie
Spca2014 navigating clouds sp_con14_mackie
 
Spca2014 yammer share point_what_next_moneypenny
Spca2014 yammer share point_what_next_moneypennySpca2014 yammer share point_what_next_moneypenny
Spca2014 yammer share point_what_next_moneypenny
 
Spca2014 share point azure_the_best_of_friends_moneypenny
Spca2014 share point  azure_the_best_of_friends_moneypennySpca2014 share point  azure_the_best_of_friends_moneypenny
Spca2014 share point azure_the_best_of_friends_moneypenny
 
Spca2014 sp connect 10 worst practices sam marshall 1.0d
Spca2014 sp connect 10 worst practices sam marshall 1.0dSpca2014 sp connect 10 worst practices sam marshall 1.0d
Spca2014 sp connect 10 worst practices sam marshall 1.0d
 
Spca2014 public rovers
Spca2014 public roversSpca2014 public rovers
Spca2014 public rovers
 
Spca2014 marianne vanwanrooij collaboration_and_enterprise_content_management
Spca2014 marianne vanwanrooij collaboration_and_enterprise_content_managementSpca2014 marianne vanwanrooij collaboration_and_enterprise_content_management
Spca2014 marianne vanwanrooij collaboration_and_enterprise_content_management
 
Spca2014 thvo sql pub vochten
Spca2014 thvo sql pub vochtenSpca2014 thvo sql pub vochten
Spca2014 thvo sql pub vochten
 
Spca2014 office365 ap is full hackett obrien
Spca2014 office365 ap is full hackett obrienSpca2014 office365 ap is full hackett obrien
Spca2014 office365 ap is full hackett obrien
 
Spca2014 social refiners svenson
Spca2014 social refiners svensonSpca2014 social refiners svenson
Spca2014 social refiners svenson
 
Spca2014 real world business value of social kapic
Spca2014 real world business value of social kapicSpca2014 real world business value of social kapic
Spca2014 real world business value of social kapic
 
Spca2014 practical large scale migration guidance v1.0 andries den haan
Spca2014 practical large scale migration guidance v1.0 andries den haanSpca2014 practical large scale migration guidance v1.0 andries den haan
Spca2014 practical large scale migration guidance v1.0 andries den haan
 
Spca2014 office 365 the year in review and next year too oosterveld
Spca2014 office 365 the year in review and next year too oosterveldSpca2014 office 365 the year in review and next year too oosterveld
Spca2014 office 365 the year in review and next year too oosterveld
 
Spca2014 keynote johnson
Spca2014 keynote johnsonSpca2014 keynote johnson
Spca2014 keynote johnson
 
Spca2014 mirjam van olst upgrading share point 2010 custom solutions to sha...
Spca2014 mirjam van olst   upgrading share point 2010 custom solutions to sha...Spca2014 mirjam van olst   upgrading share point 2010 custom solutions to sha...
Spca2014 mirjam van olst upgrading share point 2010 custom solutions to sha...
 
SPCA2013 - Test-driven Development with SharePoint 2013 and Visual Studio
SPCA2013 - Test-driven Development with SharePoint 2013 and Visual StudioSPCA2013 - Test-driven Development with SharePoint 2013 and Visual Studio
SPCA2013 - Test-driven Development with SharePoint 2013 and Visual Studio
 
Spca2014 search workshop niaulin
Spca2014 search workshop niaulinSpca2014 search workshop niaulin
Spca2014 search workshop niaulin
 

Similar to Spca2014 search queries explained svenson

SharePoint Search - SPSNYC 2014
SharePoint Search - SPSNYC 2014SharePoint Search - SPSNYC 2014
SharePoint Search - SPSNYC 2014
Avtex
 
Find Anything In Your APEX App - Fuzzy Search with Oracle Text
Find Anything In Your APEX App - Fuzzy Search with Oracle TextFind Anything In Your APEX App - Fuzzy Search with Oracle Text
Find Anything In Your APEX App - Fuzzy Search with Oracle Text
Carsten Czarski
 
Introduction to AngularJS
Introduction to AngularJSIntroduction to AngularJS
Introduction to AngularJS
Jussi Pohjolainen
 
Django introduction @ UGent
Django introduction @ UGentDjango introduction @ UGent
Django introduction @ UGent
kevinvw
 
Elasticsearch for Westcoast
Elasticsearch for WestcoastElasticsearch for Westcoast
Elasticsearch for Westcoast
Charlie Hull
 
How did it go? The first large enterprise search project in Europe using Shar...
How did it go? The first large enterprise search project in Europe using Shar...How did it go? The first large enterprise search project in Europe using Shar...
How did it go? The first large enterprise search project in Europe using Shar...
Petter Skodvin-Hvammen
 
Autogenerate Awesome GraphQL Documentation with SpectaQL
Autogenerate Awesome GraphQL Documentation with SpectaQLAutogenerate Awesome GraphQL Documentation with SpectaQL
Autogenerate Awesome GraphQL Documentation with SpectaQL
Nordic APIs
 
Salesforce Development Best Practices
Salesforce Development Best PracticesSalesforce Development Best Practices
Salesforce Development Best Practices
Vivek Chawla
 
SharePoint and jQuery Essentials
SharePoint and jQuery EssentialsSharePoint and jQuery Essentials
SharePoint and jQuery Essentials
Mark Rackley
 
Querying_with_T-SQL_-_01.pptx
Querying_with_T-SQL_-_01.pptxQuerying_with_T-SQL_-_01.pptx
Querying_with_T-SQL_-_01.pptx
QuyVo27
 
Apache Solr Search Course Drupal 7 Acquia
Apache Solr Search Course Drupal 7 AcquiaApache Solr Search Course Drupal 7 Acquia
Apache Solr Search Course Drupal 7 Acquia
Dropsolid
 
Badcamp 2012 - SFSU Drupal Features Studycase
Badcamp 2012 - SFSU Drupal Features StudycaseBadcamp 2012 - SFSU Drupal Features Studycase
Badcamp 2012 - SFSU Drupal Features Studycase
Emanuele Quinto
 
Oracle by Muhammad Iqbal
Oracle by Muhammad IqbalOracle by Muhammad Iqbal
Oracle by Muhammad Iqbal
YOUTH MEDIA AGENCY
 
Search
SearchSearch
I2 - SharePoint Hybrid Search Start to Finish - Thomas Vochten
I2 - SharePoint Hybrid Search Start to Finish - Thomas VochtenI2 - SharePoint Hybrid Search Start to Finish - Thomas Vochten
I2 - SharePoint Hybrid Search Start to Finish - Thomas Vochten
SPS Paris
 
Lab EPiServer Find - Advanced developer scenarios
Lab EPiServer Find - Advanced developer scenariosLab EPiServer Find - Advanced developer scenarios
Lab EPiServer Find - Advanced developer scenarios
Patrick van Kleef
 
Kql and the content search web part
Kql and the content search web part Kql and the content search web part
Kql and the content search web part
InnoTech
 
Challenges of Simple Documents: When Basic isn't so Basic - Cassandra Targett...
Challenges of Simple Documents: When Basic isn't so Basic - Cassandra Targett...Challenges of Simple Documents: When Basic isn't so Basic - Cassandra Targett...
Challenges of Simple Documents: When Basic isn't so Basic - Cassandra Targett...
Lucidworks
 
ELAG Workshop version 1
ELAG Workshop version 1ELAG Workshop version 1
ELAG Workshop version 1
Karsten Kryger Hansen
 
The SharePoint and jQuery Guide by Mark Rackley - SPTechCon
The SharePoint and jQuery Guide by Mark Rackley - SPTechConThe SharePoint and jQuery Guide by Mark Rackley - SPTechCon
The SharePoint and jQuery Guide by Mark Rackley - SPTechCon
SPTechCon
 

Similar to Spca2014 search queries explained svenson (20)

SharePoint Search - SPSNYC 2014
SharePoint Search - SPSNYC 2014SharePoint Search - SPSNYC 2014
SharePoint Search - SPSNYC 2014
 
Find Anything In Your APEX App - Fuzzy Search with Oracle Text
Find Anything In Your APEX App - Fuzzy Search with Oracle TextFind Anything In Your APEX App - Fuzzy Search with Oracle Text
Find Anything In Your APEX App - Fuzzy Search with Oracle Text
 
Introduction to AngularJS
Introduction to AngularJSIntroduction to AngularJS
Introduction to AngularJS
 
Django introduction @ UGent
Django introduction @ UGentDjango introduction @ UGent
Django introduction @ UGent
 
Elasticsearch for Westcoast
Elasticsearch for WestcoastElasticsearch for Westcoast
Elasticsearch for Westcoast
 
How did it go? The first large enterprise search project in Europe using Shar...
How did it go? The first large enterprise search project in Europe using Shar...How did it go? The first large enterprise search project in Europe using Shar...
How did it go? The first large enterprise search project in Europe using Shar...
 
Autogenerate Awesome GraphQL Documentation with SpectaQL
Autogenerate Awesome GraphQL Documentation with SpectaQLAutogenerate Awesome GraphQL Documentation with SpectaQL
Autogenerate Awesome GraphQL Documentation with SpectaQL
 
Salesforce Development Best Practices
Salesforce Development Best PracticesSalesforce Development Best Practices
Salesforce Development Best Practices
 
SharePoint and jQuery Essentials
SharePoint and jQuery EssentialsSharePoint and jQuery Essentials
SharePoint and jQuery Essentials
 
Querying_with_T-SQL_-_01.pptx
Querying_with_T-SQL_-_01.pptxQuerying_with_T-SQL_-_01.pptx
Querying_with_T-SQL_-_01.pptx
 
Apache Solr Search Course Drupal 7 Acquia
Apache Solr Search Course Drupal 7 AcquiaApache Solr Search Course Drupal 7 Acquia
Apache Solr Search Course Drupal 7 Acquia
 
Badcamp 2012 - SFSU Drupal Features Studycase
Badcamp 2012 - SFSU Drupal Features StudycaseBadcamp 2012 - SFSU Drupal Features Studycase
Badcamp 2012 - SFSU Drupal Features Studycase
 
Oracle by Muhammad Iqbal
Oracle by Muhammad IqbalOracle by Muhammad Iqbal
Oracle by Muhammad Iqbal
 
Search
SearchSearch
Search
 
I2 - SharePoint Hybrid Search Start to Finish - Thomas Vochten
I2 - SharePoint Hybrid Search Start to Finish - Thomas VochtenI2 - SharePoint Hybrid Search Start to Finish - Thomas Vochten
I2 - SharePoint Hybrid Search Start to Finish - Thomas Vochten
 
Lab EPiServer Find - Advanced developer scenarios
Lab EPiServer Find - Advanced developer scenariosLab EPiServer Find - Advanced developer scenarios
Lab EPiServer Find - Advanced developer scenarios
 
Kql and the content search web part
Kql and the content search web part Kql and the content search web part
Kql and the content search web part
 
Challenges of Simple Documents: When Basic isn't so Basic - Cassandra Targett...
Challenges of Simple Documents: When Basic isn't so Basic - Cassandra Targett...Challenges of Simple Documents: When Basic isn't so Basic - Cassandra Targett...
Challenges of Simple Documents: When Basic isn't so Basic - Cassandra Targett...
 
ELAG Workshop version 1
ELAG Workshop version 1ELAG Workshop version 1
ELAG Workshop version 1
 
The SharePoint and jQuery Guide by Mark Rackley - SPTechCon
The SharePoint and jQuery Guide by Mark Rackley - SPTechConThe SharePoint and jQuery Guide by Mark Rackley - SPTechCon
The SharePoint and jQuery Guide by Mark Rackley - SPTechCon
 

More from NCCOMMS

O365Con19 - UI:UX 101 Learn How to Design Custom Experiences for SharePoint -...
O365Con19 - UI:UX 101 Learn How to Design Custom Experiences for SharePoint -...O365Con19 - UI:UX 101 Learn How to Design Custom Experiences for SharePoint -...
O365Con19 - UI:UX 101 Learn How to Design Custom Experiences for SharePoint -...
NCCOMMS
 
O365Con19 - Model-driven Apps or Canvas Apps? - Rick Bakker
O365Con19 - Model-driven Apps or Canvas Apps? - Rick BakkerO365Con19 - Model-driven Apps or Canvas Apps? - Rick Bakker
O365Con19 - Model-driven Apps or Canvas Apps? - Rick Bakker
NCCOMMS
 
O365Con19 - Office 365 Groups Surviving the Real World - Jasper Oosterveld
O365Con19 - Office 365 Groups Surviving the Real World - Jasper OosterveldO365Con19 - Office 365 Groups Surviving the Real World - Jasper Oosterveld
O365Con19 - Office 365 Groups Surviving the Real World - Jasper Oosterveld
NCCOMMS
 
O365Con19 - Developing Timerjob and Eventhandler Equivalents - Adis Jugo
O365Con19 - Developing Timerjob and Eventhandler Equivalents - Adis JugoO365Con19 - Developing Timerjob and Eventhandler Equivalents - Adis Jugo
O365Con19 - Developing Timerjob and Eventhandler Equivalents - Adis Jugo
NCCOMMS
 
O365Con19 - Sharepoint with (Artificial) Intelligence - Adis Jugo
O365Con19 - Sharepoint with (Artificial) Intelligence - Adis JugoO365Con19 - Sharepoint with (Artificial) Intelligence - Adis Jugo
O365Con19 - Sharepoint with (Artificial) Intelligence - Adis Jugo
NCCOMMS
 
O365Con19 - What Do You Mean 90 days Isn't Enough - Paul Hunt
O365Con19 - What Do You Mean 90 days Isn't Enough - Paul HuntO365Con19 - What Do You Mean 90 days Isn't Enough - Paul Hunt
O365Con19 - What Do You Mean 90 days Isn't Enough - Paul Hunt
NCCOMMS
 
O365Con19 - Tips and Tricks for Complex Migrations to SharePoint Online - And...
O365Con19 - Tips and Tricks for Complex Migrations to SharePoint Online - And...O365Con19 - Tips and Tricks for Complex Migrations to SharePoint Online - And...
O365Con19 - Tips and Tricks for Complex Migrations to SharePoint Online - And...
NCCOMMS
 
O365Con19 - Start Developing Teams Tabs and SharePoint Webparts with SPFX - O...
O365Con19 - Start Developing Teams Tabs and SharePoint Webparts with SPFX - O...O365Con19 - Start Developing Teams Tabs and SharePoint Webparts with SPFX - O...
O365Con19 - Start Developing Teams Tabs and SharePoint Webparts with SPFX - O...
NCCOMMS
 
O365Con19 - Start Your Journey from Skype for Business to Teams - Sasja Beere...
O365Con19 - Start Your Journey from Skype for Business to Teams - Sasja Beere...O365Con19 - Start Your Journey from Skype for Business to Teams - Sasja Beere...
O365Con19 - Start Your Journey from Skype for Business to Teams - Sasja Beere...
NCCOMMS
 
O365Con19 - Lets Get Started with Azure Container Instances - Jussi Roine
O365Con19 - Lets Get Started with Azure Container Instances - Jussi RoineO365Con19 - Lets Get Started with Azure Container Instances - Jussi Roine
O365Con19 - Lets Get Started with Azure Container Instances - Jussi Roine
NCCOMMS
 
O365Con19 - Azure Blackbelt - Jussi Roine
O365Con19 - Azure Blackbelt - Jussi RoineO365Con19 - Azure Blackbelt - Jussi Roine
O365Con19 - Azure Blackbelt - Jussi Roine
NCCOMMS
 
O365Con19 - Customise the UI in Modern SharePoint Workspaces - Corinna Lins
O365Con19 - Customise the UI in Modern SharePoint Workspaces - Corinna LinsO365Con19 - Customise the UI in Modern SharePoint Workspaces - Corinna Lins
O365Con19 - Customise the UI in Modern SharePoint Workspaces - Corinna Lins
NCCOMMS
 
O365Con19 - Be The Protagonist of Your Modern Workplace - Corinna Lins
O365Con19 - Be The Protagonist of Your Modern Workplace - Corinna LinsO365Con19 - Be The Protagonist of Your Modern Workplace - Corinna Lins
O365Con19 - Be The Protagonist of Your Modern Workplace - Corinna Lins
NCCOMMS
 
O365Con19 - How to Really Manage all your Tasks Across Microsoft 365 - Luise ...
O365Con19 - How to Really Manage all your Tasks Across Microsoft 365 - Luise ...O365Con19 - How to Really Manage all your Tasks Across Microsoft 365 - Luise ...
O365Con19 - How to Really Manage all your Tasks Across Microsoft 365 - Luise ...
NCCOMMS
 
O365Con19 - Sharing Code Efficiently in your Organisation - Elio Struyf
O365Con19 - Sharing Code Efficiently in your Organisation - Elio StruyfO365Con19 - Sharing Code Efficiently in your Organisation - Elio Struyf
O365Con19 - Sharing Code Efficiently in your Organisation - Elio Struyf
NCCOMMS
 
O365Con19 - Things I've Learned While Building a Product on SharePoint Modern...
O365Con19 - Things I've Learned While Building a Product on SharePoint Modern...O365Con19 - Things I've Learned While Building a Product on SharePoint Modern...
O365Con19 - Things I've Learned While Building a Product on SharePoint Modern...
NCCOMMS
 
O365Con19 - Keep Control of Your Data with AIP and CA - Bram de Jager
O365Con19 - Keep Control of Your Data with AIP and CA - Bram de JagerO365Con19 - Keep Control of Your Data with AIP and CA - Bram de Jager
O365Con19 - Keep Control of Your Data with AIP and CA - Bram de Jager
NCCOMMS
 
O365Con19 - Kaizala a Dive Into the Unknown - Rick van Rousselt
O365Con19 - Kaizala a Dive Into the Unknown - Rick van RousseltO365Con19 - Kaizala a Dive Into the Unknown - Rick van Rousselt
O365Con19 - Kaizala a Dive Into the Unknown - Rick van Rousselt
NCCOMMS
 
O365Con19 - How to Inspire Users to Unstick from Email - Luise Freese
O365Con19 - How to Inspire Users to Unstick from Email - Luise FreeseO365Con19 - How to Inspire Users to Unstick from Email - Luise Freese
O365Con19 - How to Inspire Users to Unstick from Email - Luise Freese
NCCOMMS
 
O365Con19 - O365 Identity Management and The Golden Config - Chris Goosen
O365Con19 - O365 Identity Management and The Golden Config - Chris GoosenO365Con19 - O365 Identity Management and The Golden Config - Chris Goosen
O365Con19 - O365 Identity Management and The Golden Config - Chris Goosen
NCCOMMS
 

More from NCCOMMS (20)

O365Con19 - UI:UX 101 Learn How to Design Custom Experiences for SharePoint -...
O365Con19 - UI:UX 101 Learn How to Design Custom Experiences for SharePoint -...O365Con19 - UI:UX 101 Learn How to Design Custom Experiences for SharePoint -...
O365Con19 - UI:UX 101 Learn How to Design Custom Experiences for SharePoint -...
 
O365Con19 - Model-driven Apps or Canvas Apps? - Rick Bakker
O365Con19 - Model-driven Apps or Canvas Apps? - Rick BakkerO365Con19 - Model-driven Apps or Canvas Apps? - Rick Bakker
O365Con19 - Model-driven Apps or Canvas Apps? - Rick Bakker
 
O365Con19 - Office 365 Groups Surviving the Real World - Jasper Oosterveld
O365Con19 - Office 365 Groups Surviving the Real World - Jasper OosterveldO365Con19 - Office 365 Groups Surviving the Real World - Jasper Oosterveld
O365Con19 - Office 365 Groups Surviving the Real World - Jasper Oosterveld
 
O365Con19 - Developing Timerjob and Eventhandler Equivalents - Adis Jugo
O365Con19 - Developing Timerjob and Eventhandler Equivalents - Adis JugoO365Con19 - Developing Timerjob and Eventhandler Equivalents - Adis Jugo
O365Con19 - Developing Timerjob and Eventhandler Equivalents - Adis Jugo
 
O365Con19 - Sharepoint with (Artificial) Intelligence - Adis Jugo
O365Con19 - Sharepoint with (Artificial) Intelligence - Adis JugoO365Con19 - Sharepoint with (Artificial) Intelligence - Adis Jugo
O365Con19 - Sharepoint with (Artificial) Intelligence - Adis Jugo
 
O365Con19 - What Do You Mean 90 days Isn't Enough - Paul Hunt
O365Con19 - What Do You Mean 90 days Isn't Enough - Paul HuntO365Con19 - What Do You Mean 90 days Isn't Enough - Paul Hunt
O365Con19 - What Do You Mean 90 days Isn't Enough - Paul Hunt
 
O365Con19 - Tips and Tricks for Complex Migrations to SharePoint Online - And...
O365Con19 - Tips and Tricks for Complex Migrations to SharePoint Online - And...O365Con19 - Tips and Tricks for Complex Migrations to SharePoint Online - And...
O365Con19 - Tips and Tricks for Complex Migrations to SharePoint Online - And...
 
O365Con19 - Start Developing Teams Tabs and SharePoint Webparts with SPFX - O...
O365Con19 - Start Developing Teams Tabs and SharePoint Webparts with SPFX - O...O365Con19 - Start Developing Teams Tabs and SharePoint Webparts with SPFX - O...
O365Con19 - Start Developing Teams Tabs and SharePoint Webparts with SPFX - O...
 
O365Con19 - Start Your Journey from Skype for Business to Teams - Sasja Beere...
O365Con19 - Start Your Journey from Skype for Business to Teams - Sasja Beere...O365Con19 - Start Your Journey from Skype for Business to Teams - Sasja Beere...
O365Con19 - Start Your Journey from Skype for Business to Teams - Sasja Beere...
 
O365Con19 - Lets Get Started with Azure Container Instances - Jussi Roine
O365Con19 - Lets Get Started with Azure Container Instances - Jussi RoineO365Con19 - Lets Get Started with Azure Container Instances - Jussi Roine
O365Con19 - Lets Get Started with Azure Container Instances - Jussi Roine
 
O365Con19 - Azure Blackbelt - Jussi Roine
O365Con19 - Azure Blackbelt - Jussi RoineO365Con19 - Azure Blackbelt - Jussi Roine
O365Con19 - Azure Blackbelt - Jussi Roine
 
O365Con19 - Customise the UI in Modern SharePoint Workspaces - Corinna Lins
O365Con19 - Customise the UI in Modern SharePoint Workspaces - Corinna LinsO365Con19 - Customise the UI in Modern SharePoint Workspaces - Corinna Lins
O365Con19 - Customise the UI in Modern SharePoint Workspaces - Corinna Lins
 
O365Con19 - Be The Protagonist of Your Modern Workplace - Corinna Lins
O365Con19 - Be The Protagonist of Your Modern Workplace - Corinna LinsO365Con19 - Be The Protagonist of Your Modern Workplace - Corinna Lins
O365Con19 - Be The Protagonist of Your Modern Workplace - Corinna Lins
 
O365Con19 - How to Really Manage all your Tasks Across Microsoft 365 - Luise ...
O365Con19 - How to Really Manage all your Tasks Across Microsoft 365 - Luise ...O365Con19 - How to Really Manage all your Tasks Across Microsoft 365 - Luise ...
O365Con19 - How to Really Manage all your Tasks Across Microsoft 365 - Luise ...
 
O365Con19 - Sharing Code Efficiently in your Organisation - Elio Struyf
O365Con19 - Sharing Code Efficiently in your Organisation - Elio StruyfO365Con19 - Sharing Code Efficiently in your Organisation - Elio Struyf
O365Con19 - Sharing Code Efficiently in your Organisation - Elio Struyf
 
O365Con19 - Things I've Learned While Building a Product on SharePoint Modern...
O365Con19 - Things I've Learned While Building a Product on SharePoint Modern...O365Con19 - Things I've Learned While Building a Product on SharePoint Modern...
O365Con19 - Things I've Learned While Building a Product on SharePoint Modern...
 
O365Con19 - Keep Control of Your Data with AIP and CA - Bram de Jager
O365Con19 - Keep Control of Your Data with AIP and CA - Bram de JagerO365Con19 - Keep Control of Your Data with AIP and CA - Bram de Jager
O365Con19 - Keep Control of Your Data with AIP and CA - Bram de Jager
 
O365Con19 - Kaizala a Dive Into the Unknown - Rick van Rousselt
O365Con19 - Kaizala a Dive Into the Unknown - Rick van RousseltO365Con19 - Kaizala a Dive Into the Unknown - Rick van Rousselt
O365Con19 - Kaizala a Dive Into the Unknown - Rick van Rousselt
 
O365Con19 - How to Inspire Users to Unstick from Email - Luise Freese
O365Con19 - How to Inspire Users to Unstick from Email - Luise FreeseO365Con19 - How to Inspire Users to Unstick from Email - Luise Freese
O365Con19 - How to Inspire Users to Unstick from Email - Luise Freese
 
O365Con19 - O365 Identity Management and The Golden Config - Chris Goosen
O365Con19 - O365 Identity Management and The Golden Config - Chris GoosenO365Con19 - O365 Identity Management and The Golden Config - Chris Goosen
O365Con19 - O365 Identity Management and The Golden Config - Chris Goosen
 

Spca2014 search queries explained svenson

  • 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 InternalName Title CrawledProperty ows_Title Managed Property Title Column InternalName (taxonomy) MyLocation CrawledProperty ows_MyLocation,ows_taxId_MyLocation Managed Property owstaxidMyLocation Column InternalName (date) ArticleStartDate CrawledProperty 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 inFull text-index Not included inFull text-index Searchable NotSearchable ColumnSearchable x ✓ x ✗ x x ✓ x x ✓ x x ✗ x x ✗
  • 10. KQL -Demo contoso contosomarketing contosoOR marketing ((contosoOR marketing) OR (sales)) NOT bistro author:julian author:julianauthor:garth author:julianAND author:garth author:garthtitle:sales size:50..100 write:“thisweek" write:"lastmonth" contosoNEAR(2) marketing contosoONEAR(3) marketing marketing ONEAR(3) contoso contosoXRANK(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: contosomarketing •FQL: and("contoso", "marketing") •KQL: ((contosoOR 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 SearchConfigexport/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 asyncfor 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. Turning Business Rules into Query Rules It’s all about..
  • 20.
  • 21. Q & A