160 likes | 307 Vues
Explore advanced search-driven applications designed to enhance your organization’s search capabilities. Our offerings include comprehensive search architecture, customized query pipelines, and keyword query syntax to effectively tailor search experiences. Learn how to utilize FAST search capabilities, manage metadata extraction, role-based ranking, and refine search results. Discover how to scale to over 500 million indexed items while implementing custom search center features with tabs and display modifications to optimize user interactions. Elevate your search strategy with our technical solutions.
E N D
Advanced Search-Driven Solutions Scot Hillier Scot Hillier Technical Solutions, LLC scot@shillier.com
Agenda • Search-Based Applications • Search Architecture • Keyword Query Syntax • Customizing the Query Pipeline • Customizing Search Center
FAST Search Capabilities • Preview Thumbnails for Office documents • Metadata Extraction • FAST Query Language • Role-Based Ranking and Refinement • Scalable to over 500 Million items
Keyword Query Syntax • 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
Modifying the Query Pipeline protected override System.Xml.XPath.XPathNavigator GetXPathNavigator(string viewPath) { QueryManagerqueryManager = SharedQueryManager.GetInstance(this.Page).QueryManager; //Get in pipeline before query is run string taskQueryLanguage = queryManager.UserQuery; //Get in pipeline after query is run XmlDocumentresultsDoc = queryManager.GetResults(queryManager[0]); //Return Navigator return resultsDoc.CreateNavigator(); }
Customizing Search Center • Custom Tabs • Customizing Search Results Display <?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>
Summary • Search-Based Applications • Search Architecture • Keyword Query Syntax • Customizing the Query Pipeline • Customizing Search Center