SlideShare a Scribd company logo
Search-Driven Applications with
SharePoint 2013
#SPSBE16
Max Melcher
April 18th, 2015
PlatinumGoldSilver
Thanks to our sponsors!
Maximilian Melcher
Maximilian Melcher (MCSE, MCPD) is a Managing Consultant for Alegri
International Services in Munich, Germany. Max is a specialist in SharePoint
technologies focused on search, social computing, web content management
and collaboration. Max has led SharePoint implementations for Dax 30
companies since 2009. Max’s free time is spent on twitter mostly with a good
coffee in his hands.
Twitter: @maxmelcher
Blog: http://melcher.it
Email: Maximilian.Melcher@alegri.eu
www: http://alegri.de
2
SharePoint Search History
FAST Search for SharePoint
• Common Crawl and Query
Components
• FAST and SharePoint Farm
are tightly coupled
FAST ESP for SharePoint
• License Deal for FAST and
SharePoint 2007
• The original FAST
Integration was used
SharePoint 2013
Search
• ONE Search Engine
• ONE Farm
• Simple, easy, powerful
6
5
6
7
2
SharePoint 2013 Search
SharePoint 2013 Search
SharePoint
2010
Search
FAST
Search For
SharePoint
FAST
Technology
9
10
SharePoint 2013 Search
11
`
Exchange
SharePoint
Custom solution
Public API
Office Search Scenarios
Public API
Unit of scale/role boundary
HTTP
File shares
SharePoint
User profiles
Lotus Notes
Documentum
Exchange folders
Custom - BCS
SharePoint
SP Apps
Devices
Non-SP UX
13
Continuous crawling
SP2010 SP2013
14
Crawled Property  Managed Property
DocId Partition Content Title Author Modified RefinableText1
111 0 Xyz... My lab ... Rune ... Some value
222 0 Abc... My Word ... Rune ... ...
333 1 .... ....
Crawled Properties
Managed Properties
Content
Processing
14
 KQL or FQL
 TermA TermB = free text search
 TermA + TermB or TermA AND TermB = both terms must be present
 Property Query
 author:”Max Melcher”
 Good read: SharePoint Search Queries Explained by
Mikael Svenson.
2
Query Language
Search-Driven Applications with
SharePoint 2013
#SPSBE16
Max Melcher
April 18th, 2015
 Modern Portals are based on Search Driven Apps
 Dynamically aggregated content – no matter where
 Individual, modern design
 Performance / Scale
 Tailored for users
 fast, responsive, sexy
17
2
Search-Driven Applications with SharePoint 2013 (#SBSBE16)
2
Motivation: a typical use case
2
Motivation: a typical use case
2
Motivation: The reason
 100 persons go to the page 5 times a day
 7 seconds time reduction
 ~130 days per year
 ~ 105.000€ lost profit
2
Motivation: Business Case
24
Motivation: Search-based News Slider
25
Motivation: Most searched documents
Available options for search driven applications
26
JavaScript Client Object Model (JSOM)
C# Client Object Model (CSOM)
REST
Server Side Object Model (SSOM)
Content By Search WebPart
 Question: “all master data files for my location”
2
Content by Search WebPart: Example
2
Content by Search WebPart
 Variables will be replaced during query runtime:
 {searchTerms}
 {Site} oder {Site.URL}
 {Site.<Eigenschaft>}
 {User} or {User.Name}
 {User.<Eigenschaft>}
 …
 MSDN: Query Variables
 ? – If Operator
 {?{searchTerms} -ContentClass=urn:content-class:SPSPeople}
2
Query Variables
 Question: “all master data files for my location”
 Query: ContentType:”Projektstammblatt” AND
Location:{User.Standort}
2
Content by Search WebPart: Beispiel
31
JavaScript: Demo
2
JSOM Fiddle
Free app: https://store.office.com/jsom-fiddle-WA104320165.aspx?lc=en-
gb&assetid=WA104320165&ui=en-US&rs=en-GB&ad=GB
Minimal example for JSOM:
var ctx = SP.ClientContext.get_current();
var keywordQuery = new Microsoft.SharePoint.Client.Search.Query.KeywordQuery(ctx);
keywordQuery.set_queryText("SharePoint");
var searchExecutor = new Microsoft.SharePoint.Client.Search.Query.SearchExecutor(ctx);
var results = searchExecutor.executeQuery(keywordQuery);
ctx.executeQueryAsync(
function (s, a) {// Success},
function (s, e) {// Error}
);
2
JSOM
 https://intranet.demo.com/_api/search/query?querytext
='SharePoint’
 Accept Header for JSON:
application/json;odata=verbose
 Tool recommendation:
 Google Chrome PostMan (free)
34
REST: Demo
35
Search Query Tool
Tool Recommendation: Search Query Tool
36
CSOM: Demo
37
CSOM: Code
 Question: “all master data files for me”
 Query:
Author:"Max Melcher" OR ModifiedBy:"Max Melcher"
ContentType:Projektstammblatt
 Note: Query Variables do not work in apps.
2
CSOM: Code
2
Demo: Customer Directory
Awesome example: http://sympmarc.com/series/create-a-
simple-sharepoint-2013-employee-directory-on-
office365/ by Marc D Anderson
40
Conclusion
 PERFORMANCE
 SCOPE
 EASY but POWERFUL
 HIGH AVAILABILITY
 SECURITY TRIMMING
 USER SEGMENTS /
CONTEX
 HARDWARE
 FRESHNESS
41
Questions?
Thank you!
http://form.responster.com/yphpWK
#SPSBE16
http://melcher.it/s/4k
#SPSBE16
Implementing a better search experience
by Elio Struyf
- #SPSBE07
How to build your own Delve: combining machine learning, big data and SharePoint
by Joris Poelmans
- #SPSBE11
SPSBE Search Sessions

More Related Content

PPTX
Implementing Enterprise Search in SharePoint 2010
PPTX
Spsvb Developer Intro to SharePoint Search
PPTX
MongoDB.local Seattle 2019: Building Your First MongoDB App Using Atlas & Stitch
PPTX
Using Azure Search to build Office 365 search driven solutions
PPTX
SP24S088 - Custom Indexing Connectors - How to integrate external systems int...
PDF
Beyond simple search – adding business value in the enterprise
PPTX
SharePoint Saturday/Friday Honolulu
PPTX
Information architecture search_bettertogether
Implementing Enterprise Search in SharePoint 2010
Spsvb Developer Intro to SharePoint Search
MongoDB.local Seattle 2019: Building Your First MongoDB App Using Atlas & Stitch
Using Azure Search to build Office 365 search driven solutions
SP24S088 - Custom Indexing Connectors - How to integrate external systems int...
Beyond simple search – adding business value in the enterprise
SharePoint Saturday/Friday Honolulu
Information architecture search_bettertogether

What's hot (19)

PPTX
Being INSIGHTFUL is the only way to get on SharePoint Hybrid !
PPT
PoolParty - Metadata Management made easy
PPTX
SPTechCon Extending ECM for Developers
PPT
PoolParty Thesaurus Management Quick Overview
PDF
Fried data summit data quality data analytics together
PDF
Spark and MongoDB
PPTX
Share Point Object Model
PDF
Pharos - Face of the KMC
PPTX
Webinar: Live Data Visualisation with Tableau and MongoDB
PPTX
Introduction to Azure Search
PPTX
Search driven architecture in SharePoint
PPTX
SUGBLR - Explore working with mongo db in Sitecore
POTX
Content Management with MongoDB by Mark Helmstetter
PPTX
Sharepoint 2010 Object model topology
PDF
Webinar: Introducing the MongoDB Connector for BI 2.0 with Tableau
PPTX
Managed Metadata and Taxonomies in SharePoint 2013
PPTX
FAST Search for SharePoint 2010
PPTX
MongoDB and Azure Data Bricks - Microsoft
PPTX
Building Custom BCS .NET Connectors
Being INSIGHTFUL is the only way to get on SharePoint Hybrid !
PoolParty - Metadata Management made easy
SPTechCon Extending ECM for Developers
PoolParty Thesaurus Management Quick Overview
Fried data summit data quality data analytics together
Spark and MongoDB
Share Point Object Model
Pharos - Face of the KMC
Webinar: Live Data Visualisation with Tableau and MongoDB
Introduction to Azure Search
Search driven architecture in SharePoint
SUGBLR - Explore working with mongo db in Sitecore
Content Management with MongoDB by Mark Helmstetter
Sharepoint 2010 Object model topology
Webinar: Introducing the MongoDB Connector for BI 2.0 with Tableau
Managed Metadata and Taxonomies in SharePoint 2013
FAST Search for SharePoint 2010
MongoDB and Azure Data Bricks - Microsoft
Building Custom BCS .NET Connectors
Ad

Similar to Search-Driven Applications with SharePoint 2013 (#SBSBE16) (20)

PPTX
Building Search Driven Applications
PPTX
Search-driven apps with SharePoint 2013 - Whats possible with the new platform?
PPTX
SPSSTL - Building Search Driven Applications
PPTX
Developing Search-driven application in SharePoint 2013
PPTX
SharePoint 2013 Search Based Solutions
PPTX
Let’s build a_search-based_application_in_share_point_2013_-_baltimorespug
PPTX
Lets build a_search-based_application_in_share_point_2013_-_spsdc[2]
PPTX
Customizing the SharePoint 2013 user interface with JavaScript - Chris OBrien
PPTX
SPConnections - What's new in SharePoint 2013 Search
PPTX
SharePoint 2013 Search - A Developer’s Perspective - SPSSV 2013
PPTX
Houston tech fest dev intro to sharepoint search
PPTX
SPC.Org - SharePoint 2013 Search
PPTX
EPC Group - Comprehensive Overview of SharePoint 2010's Enterprise Search Cap...
PPTX
Search Driven Solutions
PPTX
Working with a super model for SharePoint Tuga IT 2016
PDF
Building Search Driven Applications in SharePoint 2010 - SharePoint Fest 2012
PPTX
Leveraging SharePoint 2013 Search and CSR
PPT
SPLive Orlando - Beyond the Search Center - Application or Solution?
PPTX
Fast search for share point
PPTX
Building search-driven Windows 8 and Windows Phone 8 apps for SharePoint Serv...
Building Search Driven Applications
Search-driven apps with SharePoint 2013 - Whats possible with the new platform?
SPSSTL - Building Search Driven Applications
Developing Search-driven application in SharePoint 2013
SharePoint 2013 Search Based Solutions
Let’s build a_search-based_application_in_share_point_2013_-_baltimorespug
Lets build a_search-based_application_in_share_point_2013_-_spsdc[2]
Customizing the SharePoint 2013 user interface with JavaScript - Chris OBrien
SPConnections - What's new in SharePoint 2013 Search
SharePoint 2013 Search - A Developer’s Perspective - SPSSV 2013
Houston tech fest dev intro to sharepoint search
SPC.Org - SharePoint 2013 Search
EPC Group - Comprehensive Overview of SharePoint 2010's Enterprise Search Cap...
Search Driven Solutions
Working with a super model for SharePoint Tuga IT 2016
Building Search Driven Applications in SharePoint 2010 - SharePoint Fest 2012
Leveraging SharePoint 2013 Search and CSR
SPLive Orlando - Beyond the Search Center - Application or Solution?
Fast search for share point
Building search-driven Windows 8 and Windows Phone 8 apps for SharePoint Serv...
Ad

Recently uploaded (20)

PPTX
A Presentation on Artificial Intelligence
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Machine learning based COVID-19 study performance prediction
PDF
cuic standard and advanced reporting.pdf
PDF
KodekX | Application Modernization Development
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Electronic commerce courselecture one. Pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Empathic Computing: Creating Shared Understanding
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Spectral efficient network and resource selection model in 5G networks
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
A Presentation on Artificial Intelligence
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Encapsulation_ Review paper, used for researhc scholars
Review of recent advances in non-invasive hemoglobin estimation
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Machine learning based COVID-19 study performance prediction
cuic standard and advanced reporting.pdf
KodekX | Application Modernization Development
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Dropbox Q2 2025 Financial Results & Investor Presentation
Electronic commerce courselecture one. Pdf
20250228 LYD VKU AI Blended-Learning.pptx
Empathic Computing: Creating Shared Understanding
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Spectral efficient network and resource selection model in 5G networks
“AI and Expert System Decision Support & Business Intelligence Systems”
Building Integrated photovoltaic BIPV_UPV.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication

Search-Driven Applications with SharePoint 2013 (#SBSBE16)

Editor's Notes

  • #2: Template may not be modified Twitter hashtag: #spsbe for all sessions
  • #6: http://farm5.staticflickr.com/4059/4339658005_53925274d5_o.jpg
  • #7: http://farm8.staticflickr.com/7056/6795013658_1399fd2592_o.jpg
  • #8: http://upload.wikimedia.org/wikipedia/commons/4/45/Binoculars_25x100.jpg
  • #17: Template may not be modified Twitter hashtag: #spsbe for all sessions
  • #19: Dell.com
  • #20: Microsoft.com
  • #28: path:https://intranet.demo.com/Projektstammbltter path:https://intranet.demo.com/Projektstammbltter filetype:infopathml Location:"{User.Standort}"
  • #39: CSOM code that queries SharePoint to retrieve latest items of content type “Projektstammblatt”