Step-by-Step Building Search Driven Applications That Matter Scot Hillier SharePoint MVP Scot...

Preview:

Citation preview

Step-by-Step Building Search Driven Applications That MatterScot HillierSharePoint MVPScot Hillier Technical Solutions, LLC

OSP336

Search-Driven ApplicationsSharePoint Server Search ArchitectureKeyword Query SyntaxCustomizing the Query PipelineCustomizing Search Center

Agenda

Search-Driven Applications

demo

Scot HillierSharePoint MVPScot Hillier Technical Solutions, LLC

Search-Driven SharePoint Navigation

Search Offerings

SharePoint Foundation 2010 Search

Single site collectionCan’t crawl external sources

Search Server Express Crawls external sourcesSupports federation

Search Server 2010 Enterprise search engine

SharePoint Server 2010 Adds people, taxonomy , and social networking

FAST Search Server 2010 More capabilities, Highly scalable

Preview Thumbnails for Office documentsMetadata ExtractionFAST Query LanguageRole-Based Ranking and RefinementScalable to over 500 Million items

Additional FAST Search Capabilities

SharePoint Server Search Architecture

Content

Sources

IFilters

Connectors

IndexEngine

Search Service

Database

Managed Properties Database

Crawl Database

Index Files

Federated Connectors

SearchEngine

Search APISearch Admin API

SearchAdministration

Custom Search Solutions

Search Center

Keyword Query Syntax

Managed PropertiesUse any property in keyword queryCreate your own from crawled properties

Must-Know PropertiesisDocument (0 or 1)ContentClass

STS_Site, STS_Web, STS_List, STS_ListItem, STS_List_{Type}, STS_ListItem_{Type}Type can be DocumentLibrary, Events, Tasks, Announcements, DiscussionBoard, Contacts, Links, PictureLibrary

demo

Scot HillierSharePoint MVPScot Hillier Technical Solutions, LLC

Keyword Query Syntax

Search Web Parts

Advanced Search Box Allows users to create detailed searches against Managed Properties

Federated Results Displays results from a federated search locationPeople Refinement Panel Presents facets that can be used to refine a people searchPeople Search Box Allows users to search for people using a keywordPeople Search Core Results Displays the primary result set from a people searchRefinement Panel Presents facets that can be used to refine a searchRelated Queries Presents queries related to the user’s querySearch Action Links Displays links for RSS, alerts, and Windows Explorer Search Best Bets Presents best-bets resultsSearch Box Allows users to enter keyword query searchesSearch Core Results Displays the primary result set from a querySearch Paging Allows a user to page through search resultsSearch Statistics Presents statistics such as the time taken to execute the querySearch Summary Provides a summary display o the executed queryTop Federated Results Displays top results from a federated location

Modifying the Query Pipelineprotected override System.Xml.XPath.XPathNavigator GetXPathNavigator(string viewPath){ QueryManager queryManager = SharedQueryManager.GetInstance(this.Page).QueryManager;

//Get in pipeline before query is run string taskQueryLanguage = queryManager.UserQuery;

//Get in pipeline after query is run XmlDocument resultsDoc = queryManager.GetResults(queryManager[0]);

//Return Navigator return resultsDoc.CreateNavigator();

}

demo

Scot HillierSharePoint MVPScot Hillier Technical Solutions, LLC

Core Results Web Part

TabsSearch and Search Results

XSLTSearch ResultsRefiners

RefinersCustom Properties

Advanced SearchCustom Properties

Customizing Search Center

demo

Scot HillierSharePoint MVPScot Hillier Technical Solutions, LLC

Customizing Search Center

Search-Driven ApplicationsSharePoint Server Search ArchitectureKeyword Query SyntaxCustomizing the Query PipelineCustomizing Search Center

Summary

Related Content

Breakout Sessions: OSP338 Making the Most of Search in SharePoint Online

Hands-on Labs: OSP-53 FAST Search for SharePoint Server 2010

Visit the SharePoint Demo Booth

Exam 70-576: Designing and Developing SharePoint Applications

Find Me At the Technical Learning Center

The Business Collaboration Platform for the Enterprise & the Internet

The capabilities of SharePoint 2010 provide a powerful business collaboration platform

Deliver the Best Productivity Experience

Cut Costs with a Unified Infrastructure

Rapidly Respond to Business Needs

The Business Collaboration Platform for the Enterprise and the Internet

Manage Resources Improve efficiency and save money by better managing work and allocation of resources

Maximize Portfolio Returns Make informed investment decisions and effectively communicate results across a portfolio of projects

Keep Teams Productive Save time and improve project results by centralizing team collaboration on deliverables and tasks

Improve SharePoint ROI Effectively manage requests to maximize the ROI of your SharePoint environmentwww.sharepoint.microsoft.com

www.microsoft.com/project

Project and SharePoint Better Together

Resources

Connect. Share. Discuss.

http://northamerica.msteched.com

Learning

Microsoft Certification & Training Resources

www.microsoft.com/learning

TechNet

Resources for IT Professionals

http://microsoft.com/technet

Resources for Developers

http://microsoft.com/msdn

Complete an evaluation on CommNet and enter to win!

MS Tag

Scan the Tagto evaluate thissession now onmyTechEd Mobile

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to

be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS

PRESENTATION.