Microsoft ® Official Course Interacting with the Search Service Microsoft SharePoint 2013 SharePoint Practice.

Slides:



Advertisements
Similar presentations
WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
Advertisements

Needles in a Haystack Harnessing the SharePoint Search Engine Presenter: Ivan Wilson – SharePoint Gurus.
SharePoint User Group Chicago: 1/24/2013 SharePoint 2013 Search Overview.
Microsoft ® Official Course Client-Side SharePoint Development SharePoint Practice Microsoft SharePoint 2013.
SharePoint 2007: Search Deep Dive Erik Mau Inetium.
MS DB Proposal Scott Canaan B. Thomas Golisano College of Computing & Information Sciences.
Enterprise Search With SharePoint Portal Server V2 Steve Tullis, Program Manager, Business Portal Group 3/5/2003.
Microsoft SharePoint 2013 SharePoint 2013 as a Developer Platform
Managing Identity and Permissions
Microsoft ® Official Course Developing Optimized Internet Sites Microsoft SharePoint 2013 SharePoint Practice.
Thank you SPSKC15 sponsors!. SharePoint 2013 Search Service Application (SSA) Ambar Nirgudkar Software Engineer
Microsoft ® Official Course Introducing Apps for SharePoint SharePoint Practice Microsoft SharePoint 2013.
SharePoint 2010 Business Intelligence Module 3: Business Intelligence Center.
Service Broker Lesson 11. Skills Matrix Service Broker Service Broker, provides a solution to common problems with message delivery and consistency that.
Definitions Collaboration – working together on team projects and sharing information, often through ad-hoc processes, to accomplish project goals. Document.
Sharepoint Portal Server Basics. Introduction Sharepoint server belongs to Microsoft family of servers Integrated suite of server capabilities Hosted.
Microsoft Office System UK Developers Conference Radisson Edwardian, Heathrow 29 th & 30 th June 2005.
Title Information First Lastname, Title August 2012 Software Assurance Planning Services.
Presented by Jacob Wilson SharePoint Practice Lead/Principal Bross Group 1.
Enterprise Search. Search Architecture Configuring Crawl Processes Advanced Crawl Administration Configuring Query Processes Implementing People Search.
Alonso Robles Solutions Architect speakTECH
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
Configuration Management and Server Administration Mohan Bang Endeca Server.
Module 8 Configuring and Securing SharePoint Services and Service Applications.
Module 14: WCF Send Adapters. Overview Lesson 1: Introduction to WCF Send Adapters Lesson 2: Consuming a Web Service Lesson 3: Consuming Services from.
Building Search Portals With SP2013 Search. 2 SharePoint 2013 Search  Introduction  Changes in the Architecture  Result Sources  Query Rules/Result.
Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Yaroslav Pentsarskyy
SharePoint 2010 Search Architecture The Connector Framework Enhancing the Search User Interface Creating Custom Ranking Models.
User Experience Takes user input, displays results Search Engine Builds index, returns results Content Processing Retrieves content, prepares for indexing.
Searching Business Data with MOSS 2007 Enterprise Search Presenter: Corey Roth Enterprise Consultant Stonebridge Blog:
© 2015 Ascendum Solutions. All rights reserved. Welcome To Create Dazzling End-user applications using SharePoint Search Speaker: Bill Crider #sharepointcincy2015.
Module 10 Administering and Configuring SharePoint Search.
New & Improved Events List Relationships and Joins Large List Support Field & List Item Validation.
0 SharePoint Search 2013 Rafael de la Cruz SharePoint Developer Seneca Resources twitter.com/delacruz_rafael
Module 6 Securing Content. Module Overview Administering SharePoint Groups Implementing SharePoint Roles and Role Assignments Securing and Auditing SharePoint.
Module 7: Advanced Application and Web Filtering.
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Search Overview Search Features: WSS and Office Search Architecture Content Sources and.
Unplugged FAST meets SharePoint (FS4SP)
Microsoft ® Official Course Structuring and Publishing Websites for All Users Microsoft SharePoint 2013 SharePoint Practice.
Microsoft ® Official Course Developing a Publishing Site for Web Content Microsoft SharePoint 2013 SharePoint Practice.
Module 9 User Profiles and Social Networking. Module Overview Configuring User Profiles Implementing SharePoint 2010 Social Networking Features.
Búsqueda en SharePoint 2010: una introducción. Quick, easy, powerful search (for free!) Complete intranet search High-end search delivered through SharePoint.
JAVA BEANS JSP - Standard Tag Library (JSTL) JAVA Enterprise Edition.
Module 1: Overview of Microsoft Office SharePoint Server 2007.
Arizona SharePoint Professionals Group Thomas Baer Senior Consultant, Statêra
Object storage and object interoperability
ASP-2-1 SERVER AND CLIENT SIDE SCRITPING Colorado Technical University IT420 Tim Peterson.
Microsoft ® Official Course Designing and Managing Features and Solutions Microsoft SharePoint 2013 SharePoint Practice.
WINDOW SEARCH SERVER Topics  Topology  High-level Architecture  Performance  WSS vs. MOSS Search Comparison  Search Server 2008.
Microsoft ® Official Course Implementing Enterprise Content Management Microsoft SharePoint 2013 SharePoint Practice.
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
Module 2: Authoring Basic Reports. Overview Creating a Basic Table Report Formatting Report Pages Calculating Values.
Microsoft ® Official Course Module 9 Working with Business Connectivity Services.
Architecting Search in 2013/2016 On-Prem Ajay Iyer.
Leveraging SharePoint Search In SharePoint 2013 Jameson Bozeman.
Introduction to Enterprise Search Corey Roth Blog: Twitter: twitter.com/coreyrothtwitter.com/coreyroth.
Search can be Your Best Friend You just Need to Know How to Talk to it IW 306 Ágnes Molnár.
ArcGIS for Server Security: Advanced
Architecting Search in SharePoint 2016
About Client Client is a pioneer in industry that provides catastrophe risk modeling, real-time risk exposure and risk management through available live.
An introduction to REST for SharePoint 2013
Searching Business Data with MOSS 2007 Enterprise Search
Searching Business Data with MOSS 2007 Enterprise Search
Multi-Farm, Cross-Continent SharePoint Architecture
WEB API.
11/16/2018 4:57 AM Creating Great End-User Experiences with Fast Search for SharePoint 2010 OSP322 Mark Stone Dan Benson © 2007 Microsoft Corporation.
Project Management in SharePoint
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
Project Management in SharePoint
Presentation transcript:

Microsoft ® Official Course Interacting with the Search Service Microsoft SharePoint 2013 SharePoint Practice

Module Overview Understanding the SharePoint 2013 Search Service Building Search Queries with KQL and FQL Executing Search Queries from Code

Lesson 1: Understanding the SharePoint 2013 Search Service Search Architecture Demonstration: Exploring the Search Architecture The Search Index Crawled Properties Managed Properties Demonstration: Exploring Crawl and Managed Properties Search Schema Demonstration: Exploring the Search Schema

Search Architecture SharePoint Architecture has six roles Administration Crawling Content Processing Analytics Processing Query Processing Index Core services are run in following processes NodeRunner.exe HostControllerService.exe Mssmdm.exe

Demonstration: Exploring the Search Architecture In this demonstration your instructor will demonstrate the Search Architecture and the search index

Demonstration: Exploring the Search Architecture

The Search Index Search index resides on the file system Broken into partitions for improved performance Default Security Link Usage People Redundancy provided by creating index partitions and replicas Similar to columns and rows in FAST Search

Crawled Properties Crawl property is data about an item from its content source or within the item Example: A metadata column in a list (source) The createdate from the filesystem (source) The title from a word document (item) Crawl properties are retrieved from the crawler and the content processing components Crawl properties are grouped into categories

Managed Properties Managed properties are single or aggregated crawl properties that are configured for specific search purposes Mapped order matters for single value properties Only managed properties are included in search index Example: Crawl property name is not user friendly Multiple crawl properties from different sources need to be mapped to same managed property Can be used as a refiner Can be searchable

Demonstration: Exploring Crawl and Managed Properties In this demonstration your instructor will explore crawled and managed properties

Demonstration: Exploring Crawl and Managed Properties

Search Schema SharePoint Search Schema defines several search configuration specific details Result Sources Result Types Managed Properties 2013 Search Schema is multi-leveled Service Application Site Collection Site Allows customizations that are appropriate for each level’s use cases

Demonstration: Exploring the Search Schema

Lesson 2: Building Search Queries with KQL and FQL SharePoint Query Languages Keyword Query Language (KQL) Queries KQL Operators Advanced KQL FAST Query Language (FQL) Queries

SharePoint Query Languages SharePoint supports two types of query languages Keyword Query Language (KQL) FAST Query Language (FQL) KQL is the default query language FQL must be enabled manually SQL Syntax (FullTextSqlQuery) queries no longer supported Any older applications will break when moving to SharePoint 2013

Keyword Query Language (KQL) Queries KQL queries can be up to 2048 characters Programmatically you can increase this limit Simple keyword queries are run against the full text index They are not case sensitive Includes any crawled property with the Include in full- text index checked Phrases are designated with double quotes (“SharePoint”)

KQL Operators KQL allows the use of various operators to allow advanced query capabilities Queries with no operator specified are implicitly AND operators Available operators include Wildcard Comparison (, =,<>) Contains (:) Proximity (NEAR, ONEAR) Ranking (XRANK) Synonym (WORDS) All operators are case sensitive and must be in uppercase

Advanced KQL Simple keyword searches tend to present two common issues Never any results Too many results Advanced queries resolve this

FAST Query Language (FQL) Queries FAST Query Language (FQL) is a developer’s search query language Originally part of FAST Search engine Syntax has changed slightly from 2010 Disabled by default, must be enabled in code and on a result source Use KeywordQuery.EnableFQL property Three main elements Token expressions Property specification Operators

Lesson 3: Executing Search Queries from Code Search APIs Executing Web Service Queries Executing Server-Side Queries Demonstration: Server Side Object Model Executing Client Side Queries Demonstration: Client Side Object Model Executing Representational state transfer (REST) Queries Demonstration: Executing FQL Queries

Search APIs There are several ways to submit a query to SharePoint Search User Interface (UI) Web Services Server Object Model Client Side Object Model REST Based on industry standards Web services, HTTP, REST,.NET Easily integrate search into legacy applications

Executing Web Service Queries Web Services are deprecated in 2013 Still work, but you should migrate to different API Uses the /_vti_bin/spsearch.asmx end point Query and QueryEx methods require a specially xml formatted query parameter

Executing Server-Side Queries Server side object model must be run on a SharePoint server Must be run in x64 application Use KeywordQuery class to build queries Execute method is deprecated Use new SearchExecutor class to execute single and multiple queries

Demonstration: Server Side Object Model In this demonstration your instructor will demonstrate how to make search server side object model calls

Executing Client Side Queries Client side object model is a.NET API that can run from any.NET client App does not have to run on SharePoint server Calls are proxied to the server side object model Similar to Server Side, use the KeywordQuery class to construct queries SearchExecutor class is also used to send multiple queries at once Results are returned in a ResultTableCollection Iterate through all ResultTable objects to get the full result set (Promoted Results, Main Results) QueryAsUserIgnoreAppPrincipal permission scope

Demonstration: Client Side Object Model In this demonstration your instructor will show you how to make client-side service object model

Executing Representational state transfer (REST) Queries Representation state transfer (REST) is a simple HTTP based protocol GET, POST, MERGE REST Search requests utilizes the end point Result format can be in XML or JSON Based on Accept header Application/atom+xml Application/json REST Query Suggestions requests utilize the end point Helpful for autocomplete controls

Demonstration: Executing FQL Queries In this demonstration your instructor will demonstrate how to execute FAST Query Language (FQL) queries

Demonstration: Executing FQL Queries

Lab: Executing Search Queries from SharePoint Apps Exercise 1: Submitting Search Queries from Client- Side Code Exercise 2: Using a Custom Action to Launch A Search App

Lab Scenario The management team at Contoso is concerned about the proliferation of duplicate content across the new intranet portal. The team wants to provide a way for users to check, given a particular document, whether similar content exists elsewhere on the portal. To implement this functionality, you will create an app that uses client-side search APIs to query the search index for similar content. In addition to using the client applications, they would also like to be able to find items based on metadata but without having to type the queries. They would like you to add a custom action to the menu items to redirect to the

Lab Scenario client app.

Module Review and Takeaways