Upload
kacy
View
27
Download
0
Embed Size (px)
DESCRIPTION
Advanced Search-Driven Solutions. Scot Hillier Scot Hillier Technical Solutions, LLC [email protected]. Agenda. Search-Based Applications Search Architecture Keyword Query Syntax Customizing the Query Pipeline Customizing Search Center. Search-Driven Applications. - PowerPoint PPT Presentation
Citation preview
Advanced Search-Driven Solutions
Scot HillierScot Hillier Technical Solutions, LLC
Search-Based Applications Search Architecture Keyword Query Syntax Customizing the Query Pipeline Customizing Search Center
Agenda
Search-Driven Applications
DEMOSearch-Driven Applications
SharePoint Foundation 2010 Search
Single site collectionCan’t crawl external sources
Search Server Express Crawls external sourcesSupports federation
Search Server 2010 Enterprise search engineSharePoint Server 2010 Adds people, taxonomy , and social
networkingFAST Search Server 2010 Highly scalable
Search Offerings
Preview Thumbnails for Office documents Metadata Extraction FAST Query Language Role-Based Ranking and Refinement Scalable to over 500 Million items
FAST Search Capabilities
Search Architecture
Managed Properties◦ Use any property in keyword query
Must-Know Properties◦ isDocument (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
Keyword Query Syntax
DEMOUsing Keyword Query Syntax
Search Web PartsAdvanced Search Box Allows users to create detailed searches against Managed PropertiesFederated 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();
}
DEMOCustomizing the Query Pipeline
Custom Tabs Customizing Search Results Display
Customizing Search Center
<?xml version="1.0" encoding="utf-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output method="xml" version="1.0“ encoding="utf-8" indent="yes"/> <xsl:template match="/"> <xmp><xsl:copy-of select="*"/></xmp> </xsl:template></xsl:stylesheet>
DEMOCustomizing Search Center
Search-Based Applications Search Architecture Keyword Query Syntax Customizing the Query Pipeline Customizing Search Center
Summary