1 / 16

Advanced Search-Driven Solutions

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. Search-Driven Applications.

kacy
Download Presentation

Advanced Search-Driven Solutions

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Advanced Search-Driven Solutions Scot Hillier Scot Hillier Technical Solutions, LLC scot@shillier.com

  2. Agenda • Search-Based Applications • Search Architecture • Keyword Query Syntax • Customizing the Query Pipeline • Customizing Search Center

  3. Search-Driven Applications

  4. Search-Driven Applications

  5. Search Offerings

  6. FAST Search Capabilities • Preview Thumbnails for Office documents • Metadata Extraction • FAST Query Language • Role-Based Ranking and Refinement • Scalable to over 500 Million items

  7. Search Architecture

  8. 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

  9. Using Keyword Query Syntax

  10. Search Web Parts

  11. 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(); }

  12. Customizing the Query Pipeline

  13. 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>

  14. Customizing Search Center

  15. Summary • Search-Based Applications • Search Architecture • Keyword Query Syntax • Customizing the Query Pipeline • Customizing Search Center

More Related