Presentation is loading. Please wait.

Presentation is loading. Please wait.

Mike Fitzmaurice Enterprise Technology Strategist Microsoft Corporation OFC326.

Similar presentations


Presentation on theme: "Mike Fitzmaurice Enterprise Technology Strategist Microsoft Corporation OFC326."— Presentation transcript:

1

2 Mike Fitzmaurice Enterprise Technology Strategist Microsoft Corporation OFC326

3 Understand the technical building blocks Customizing the SharePoint Server search UI Reusing search using other applications Extending the reach of SharePoint search Walking through configuration options

4 Multiple repositories, including business data, people Relevance, according to enterprise rules Security everywhere Customizable user experience Performance Part of an integrated strategy Windows Search for the Desktop Microsoft Office SharePoint Server for Search Windows SharePoint Services Exchange Server SQL Server

5 Indexer User Requests Load Balancer Web front ends Query servers Propagation of indexes Content Sources SQL Server Index Files Crawling Property Store

6

7 Content sources OOB support for Web Content, NTFS File Shares, Exchange Public Folders, Lotus Notes Databases, SharePoint Content, SharePoint profiles, Business Data Catalog More repositories can be accessed using custom protocol handlers Scopes Used to create logical slices of the corpus Scopes can span multiple content sources Scope by Property, Site, Content Source, URL Properties

8 Matching Keywords and Best Bets High Confidence Action Links Search Tabs Search Box Pagination Statistics Core Results

9 View by relevance or social distance Refine results using various properties

10 People Search Implements the core results Customizes the search experience Refine by Job Title/ Department Sort by social distance Display results differently

11 All Sites and People tabs provided OOB Add your own Search Tabs Tabs can be added for additional scopes Specific site address Specific property Specific content source Include/Exclude Consists of a layout page and a results page Search tabs are not available in MOSS for Search!!

12 9 OOB web parts Search Box Core Results High Confidence Statistics Pagination Action Links Matching Keywords and Best Bets Search Summary (Did you mean?) Advanced Search Web part properties such as Formatting Turning stemming on/off Number of results returned XSL

13 Best bets Setup best bets at the site collection level Simple things you can do for relevance Authoritative pages Demoted sites Exclude specific items Managed Properties Add your own Add them to Advanced Search Change weighting of properties (via the OM, requires a bit of code)

14 Create a custom look and feel or results layout Modified through web part properties Leverage the power of XSLT Formatting Logic Math

15 Parameter Section Parameters passed by results, web part properties No Keyword Section You didn’t enter a keyword No Results Section No results were returned Customize with your own message to help users Main Body Result Section Where it all happens Results Template Section Matches results in XML Selected column matching – Title, URL, etc. Hit Highlighting, Auto definition

16

17 Add/Remove/Change Tabs Add/Remove OOB Web Parts Add custom web parts Tune results Change Web Part Properties Change XSL

18 Customizing the Query and Results Query Object Model Customizing the Index Index custom data - Protocol Handlers, IFilters, BDC Custom Query Time Security Trimmer

19 Use Case Launching a URL from a custom application Windows Desktop Search Save searches Keywords results.aspx?k=fish Scopes results.aspx?k=fish&s=BDC Sort/View results.aspx?v=date results.aspx?v=relevance Page results.aspx?start=21 Property matching results.aspx?k=“author:Duguid –site:http://ryanduguid.com”

20 Use query OM To build custom search UI web parts To have direct access to query and results properties To invoke custom queries 2 types of query syntaxes Keyword SQL

21 Use Case Business user Simple and easy to use Required and excluded term support Bike –fitness SharePoint search -author:”Ryan Duguid” Filter by any string or integer property Author:Ryan Employees:30 Implicit “AND” behavior Consistent property:value syntax across Office, Windows and Live search gallery hinges –brass site:http//supportdesk scope:Products

22 Use Case Advanced search solutions Complex queries Consistent SQL across enterprise and desktop SELECT URL, Title, Description FROM portal..SCOPE() WHERE FREETEXT(‘gallery hinges’) AND SITE = “http://supportdesk” AND SCOPE = “Products” AND NOT CONTAINS(‘brass’)

23 Full strength, complete coverage FREETEXT() Arbitrary groupings for AND, OR, NOT CONTAINS() LIKE ORDER BY ASC | DESC Removed in MOSS 2007 UNION ALL MATCHES SELECT * COALESCE TABLE

24 Managed code API Single request – multiple results Result Types Relevant results High confidence results Special terms Definitions Optional parameters # of Sentences in Summary Implicit - AND/OR Number of results Ignore noise words Enable stemming Language

25 Query OM Input Output SQL Query Query Engine Result Table Collection ResultTable: IDataReader Relevant results High confidence Special terms Definitions Site UI Custom Client Execute() Keyword Query Optional Parameters Local

26 Adding Custom Web Parts OOB Web Parts use sealed hidden object You’ll need your own query object to share with other Web Parts You *can* use URL request parameters we pass between pages

27 Use Case Office Research Pane Windows Desktop Search Remote application ASP.NET 2.0, WinForms, Java apps Similar features to query object model Results in XML or data table formats http://o12server/_vti_bin/search.asmx

28 Methods Query – returns results as XML format Research and Reference Service- compatible XML Used in the Office Research pane QueryEx – Returns.NET DataSet Different result types, features GetSearchMetaData – Retrieve available properties and scopes Registration Status

29 Any SharePoint site query can be syndicated over RSS Any RSS reader or RSS consumer Web Part can make use of this Caveat: need to authenticate with server

30

31 MOSS ships with support for Web Content, NTFS File Shares, Exchange Public Folders, Lotus Notes DBs, SharePoint Content, SharePoint Profiles, Business Data Catalog Develop a Protocol Handler to gather data from custom repositories e.g. Vorsite for Documentum Connects to a content source and enumerates the documents Interfaces are the same as in SPS 2003 New registry path: Register PH under HKLM\Software\Microsoft\Office Server\12.0\Search\Setup\ProtocolHandlers

32 Install OneNote IFilter (requires OneNote on the server  ) Install PDF IFilter (64 bit now available) Develop IFilter for custom file formats Reads a document and extracts the plain text content and properties for the indexer to index Support reading from streams

33 Integration without writing code Information in LOB systems is often hard to access MOSS 2007 can bring that data to your users Data is accessed through the Business Data Catalog Exposed through Search, Meta Data, BDC web parts Once a web service or a relational data source is registered with the BDC, search can easily index the data No need to write code Highly customizable results Integrated with scopes and search center

34 Built-in Query-time security trimming (Same as SPS 2003) File shares, WSS/SPS 2003, Exchange, Lotus Notes (via mapping) New! Support for result time custom security trimming ISecurityTrimmer interface (Microsoft.Office.Server.Search.Query namespace) Implement Initialize() and CheckAccess() Add the custom security trimmer assembly to the GAC Register the security trimmer using stsadm command

35

36 Search service People service --- Shared Service Provider (SSP) http://sales http://finance http://hr spsite spweb Web Applications Content Databases External content

37 Content sources Crawl rules File types Crawl logs Content access accounts Property mappings Server name mappings Search-based alerts Scopes Reporting

38

39 Customize Thesaurus and Noise Words Located in drive:\Program Files\Microsoft Office Servers\12.0\Data\Config tsxxx.xml and noisexxx.txt where xxx is the language code Thesaurus supports Replacement or Expansion sets Substitution weights and stemming are supported

40 Google Appliance SharePoint Search Office SharePoint Server SharePoint MOSS

41 The user interface is easily customized to achieve a different look and feel It’s easy to extend search to develop custom applications, local or remote You can plug in any data source and search it securely You can win in search!

42 1. Creating custom XSL - http://msdn2.microsoft.com/en-us/library/bb428855.aspx http://msdn2.microsoft.com/en-us/library/bb428855.aspx 2. Adding managed properties to Advanced Search - http://www.codeproject.com/spoint/MOSS_Advanced_Search.asp http://www.codeproject.com/spoint/MOSS_Advanced_Search.asp 3. Querying Enterprise Search and Custom Security Trimming - http://msdn2.microsoft.com/en-us/library/aa981100.aspx http://msdn2.microsoft.com/en-us/library/aa981100.aspx 4. MOSS Query Tool http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=89b3cda 7-aad9-4919-8faf-34ef9b28c57b http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=89b3cda 7-aad9-4919-8faf-34ef9b28c57b 5. BDC Tool - Coming with the SDK in August!! 6. Mondosoft’s Ontolica Wildcard Search - http://www.ontolica.com http://www.ontolica.com 7. PDF IFilter 32 bit from Adobe - http://www.adobe.com/support/downloads/detail.jsp?ftpID=2611 http://www.adobe.com/support/downloads/detail.jsp?ftpID=2611 64 bit from Foxit - http://www.foxitsoftware.com/pdf/ifilter/ http://www.foxitsoftware.com/pdf/ifilter/ 8. OneNote IFilter http://technet2.microsoft.com/Office/en-us/library/2e715e42-c09b-4b4f-a082- b19e1cad96031033.mspx?mfr=true http://technet2.microsoft.com/Office/en-us/library/2e715e42-c09b-4b4f-a082- b19e1cad96031033.mspx?mfr=true 9. Add MOSS to Windows Desktop Search or Vista Instant Search Provider http://blogs.msdn.com/joelo/archive/2006/12/08/tips-to-enable-sharepoint-intranet- search-using-windows-desktop-search-3-0-rtw.aspx http://blogs.msdn.com/joelo/archive/2006/12/08/tips-to-enable-sharepoint-intranet- search-using-windows-desktop-search-3-0-rtw.aspx

43

44

45 © 2007 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.


Download ppt "Mike Fitzmaurice Enterprise Technology Strategist Microsoft Corporation OFC326."

Similar presentations


Ads by Google