leverage search and customize to your brand within sharepoint 2010

47
1 ironworks.com | 804.967.9200 Search Your Way to Success Leverage Search and Customize to your Brand within SharePoint 2010

Upload: chaitu-madala

Post on 14-May-2015

2.222 views

Category:

Technology


3 download

DESCRIPTION

Slides from my SharePoint session given on August 12 2011 at SharePoint Saturday The Conference in Washington DC titled "Leverage Search and Customize to your Brand within SharePoint 2010"

TRANSCRIPT

Page 1: Leverage Search and Customize to your Brand within SharePoint 2010

1ironworks.com | 804.967.9200

Search Your Way to Success

Leverage Search and Customize to your Brand within SharePoint 2010

Page 2: Leverage Search and Customize to your Brand within SharePoint 2010

2

About The Presenter

• Over 8 years of experience in development and implementation of web and windows-based IT solutions

• Background in SharePoint, WCF, Windows Workflow, InfoPath Forms Services, ASP.NET, ADO.NET, XML, XSLT, AJAX, JavaScript, and SQL

• Numerous SharePoint engagements: Extranets, Intranets, Publicly-Facing Web Sites, Enterprise Search, Document Management, Web Part Development, and Custom Applications

• Bachelor of Science in Computer Science• Microsoft Certified Professional (MCP) for SharePoint 2010• Microsoft Certified Technology Specialist (MCTS) for MOSS 2007• Brainbench Certified in SPS 2003, C# & ASP.NET

Chaitu MadalaSharePoint Architect

[email protected]

Blog: http://www.goodbadtechnology.blogspot.com

Page 3: Leverage Search and Customize to your Brand within SharePoint 2010

33

Ironworks Introduction

Page 4: Leverage Search and Customize to your Brand within SharePoint 2010

4

Ironworks Introduction

Key Facts:

• Started in 2001• 250 Employees• Offices in Richmond (HQ), Washington DC, Raleigh, Charlotte, Atlanta, Minneapolis• Key Industries: Healthcare, Government, Not for Profit and Financial Services

Project-based technology consulting firm with key strengths in:

• Enterprise Content Management / Portal Integration• Business Intelligence• PMO / Management Consulting• Interactive User-Centric Design

Key Differentiators:

• Competitive Rates, Senior Resources, Loyal Clients, Results and Delivery Driven

Page 6: Leverage Search and Customize to your Brand within SharePoint 2010

6

Agenda

• The Value of SharePoint Search

• Optimizing the Out of the Box

• Leveraging the Search Core Results Web Part

• Building your own Search Results Web Part

• Excluding parts of Pages from Crawl

• Exploring Other Search Features

• Crawling PDF files and TIFF Images (Optical Character Recognition)

• Life in the FAST Lane

• Q & A

Page 7: Leverage Search and Customize to your Brand within SharePoint 2010

77

The Value of SharePoint Search

Page 8: Leverage Search and Customize to your Brand within SharePoint 2010

8

Why Focus on SharePoint Search?

Search is an Easy Win

• Improve content “Findability”• Users understand search• Does not require SharePoint content

Other Benefits of Search

• Efficient cross-site content rollup• Query logs allow data mining

SharePoint 2010 Search Enhancements

• Search-driven navigation• Document preview • Search Suggestions while typing• Did you mean suggestions• Federated Results• More…

Page 9: Leverage Search and Customize to your Brand within SharePoint 2010

9

The Value of SharePoint Search

Page 10: Leverage Search and Customize to your Brand within SharePoint 2010

10

The SharePoint 2010 Enterprise Search Center

Page 11: Leverage Search and Customize to your Brand within SharePoint 2010

1111

Optimizing the Out of the Box

Page 12: Leverage Search and Customize to your Brand within SharePoint 2010

12

Focus on What Matters to the End User

Search Relevancy

• Security Trimming• Metadata Tagging• Exclusions/Crawl Rules

User Interface

• Search Scopes• Search Result Styling

Content Highlighting

• Best Bets• Thesaurus Files

Page 13: Leverage Search and Customize to your Brand within SharePoint 2010

13

Relevancy: How SharePoint Scores Your Content

• Click Distance from Authoritative Sites Shorter distance more relevant

• Anchor Text Hyperlinks to Content

• URL Depth Results higher in hierarchy more relevant

• URL Matching

• Metadata Extraction

• File Type Biasing PPT more relevant than XLS

• Text Analysis Matching Terms, Term Frequency, Term Variants

• Star Ratings

• Social Behavior

• People nearer to you in hierarchy

Page 14: Leverage Search and Customize to your Brand within SharePoint 2010

14

What You Can Do About It

Scope Exclusion Rules

• Hide Folders

Crawl Rules

• Hide System Pages & Other Content

Relevance Tuning for SharePoint 2010 Search

• Managed Property Weighting

Free Tool In Codeplex - http://searchrelevancy.codeplex.com/

Relevance Tuning for FAST

• Rank Profiles• Keyword-Driven Rank• Static Rank• Dynamic Rank• Linguistic Relevance

Page 15: Leverage Search and Customize to your Brand within SharePoint 2010

15

Visual How To: Configure Scope Exclusions

Page 16: Leverage Search and Customize to your Brand within SharePoint 2010

16

Visual How To: Configure Crawl Rules

Page 17: Leverage Search and Customize to your Brand within SharePoint 2010

17

User Interface: Search Scopes

Page 18: Leverage Search and Customize to your Brand within SharePoint 2010

18

User Interface: Search Result Styling

Page 19: Leverage Search and Customize to your Brand within SharePoint 2010

19

User Interface: Search Result Styling

Page 20: Leverage Search and Customize to your Brand within SharePoint 2010

20

User Interface: Metadata Searching

Page 21: Leverage Search and Customize to your Brand within SharePoint 2010

2121

Leveraging the Search Core Results Web Part

Page 22: Leverage Search and Customize to your Brand within SharePoint 2010

22

Rollup Options: Content Query Web Part

Provides a granular query languagePolls live data

Security trimmed/Audience filteredCan be slow

Restricted to site collectionStyling requires touching system XSLT

No paging support

Page 23: Leverage Search and Customize to your Brand within SharePoint 2010

23

Rollup Options: Search Core Results Web Part

Can aggregate any searchable content

Highly performant

Security trimmed/Audience filtered

Data must be indexed

Can be styled on per instance basis

Paging Support

Page 24: Leverage Search and Customize to your Brand within SharePoint 2010

24

Leveraging Search Core Results

Page 25: Leverage Search and Customize to your Brand within SharePoint 2010

25

Custom XSLT in 4 Easy Steps

Get “Raw” Results XML from SCRWP Save it as a file Import XML file as a data source in SPD

Configure Data View Web Part Set XML file as DVWP data source

Customize XSLT Use WYSIWYG editor to configure DVWP layout

Deploy Custom XSLT Copy XSLT from DVWP back to SCRWP Close the page in SPD without saving to avoid un-ghosting

Page 26: Leverage Search and Customize to your Brand within SharePoint 2010

26

Visual How To: Custom XSLT Using DVWP

<?xml version="1.0" encoding="UTF-8"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

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

Screen captures courtesy of Patrick Tisseghem’s Blog Post:

“Custom XSLT for the Search Core Results Web Part”

http://www.u2u.info/Blogs/Patrick/Lists/Posts/Post.aspx?ID=1669

Page 27: Leverage Search and Customize to your Brand within SharePoint 2010

2727

Building your own Search Results Web Part

Page 28: Leverage Search and Customize to your Brand within SharePoint 2010

28

Building your own Search Results Web Part

What?– Tailor search results web part

to meet specific needs

Why?– OOB search results web part

does not offer full wild card search & custom sort options

How?– Either extend OOB search

results web part– Build your own using

“FullTextSqlQuery” object

The Query: AND (ContentTypeName='Ratings' OR ContentTypeName='Review‘) AND (CONTAINS(url, '/getinsurance/auto')) ORDER BY Write DESC

Page 29: Leverage Search and Customize to your Brand within SharePoint 2010

29

Need to build your own Search Results Web Part

Why?

OOB Search Core Results Web Part does not offer full wild card search

Ex: Share* is permitted but not *hare*

OOB Search Core Results Web Part does not offer custom sort options

SharePoint determines relevancy and it offers sort options on relevancy and

modified date fields only

Add your own criteria

Ex 1: Randomize Results

Ex 2: Add Today’s date support.

Get Calendar events that occur in the future. (StartDate > {Today})

Page 30: Leverage Search and Customize to your Brand within SharePoint 2010

3030

Excluding parts of Pages from Crawl

Page 31: Leverage Search and Customize to your Brand within SharePoint 2010

31

Excluding parts of Pages from Crawl

What?– Partial Page Exclusion

Why?– Accurate Search Results

How?– No OOB Solution– Needs development of a

custom control– We did it & posted it -

http://underthehood.ironworks.com/2010/05/sharepoint-search-partial-page-exclusion.html

Page Content

Page 32: Leverage Search and Customize to your Brand within SharePoint 2010

3232

Exploring Other Search Features

Page 33: Leverage Search and Customize to your Brand within SharePoint 2010

33

Other Features of SharePoint Search

RSS Feeds and Alerts Tailor search result feeds to meet specific interests

Best Bets Target search result delivery and highlight priority content

Federated Search Deliver a Search Center that is a one-stop search solution

Query Logs Tune site structure, metadata, and best bets through data mining

Page 34: Leverage Search and Customize to your Brand within SharePoint 2010

34

Other Search Features: RSS Feeds and Alerts

Page 35: Leverage Search and Customize to your Brand within SharePoint 2010

35

Other Search Features: Best Bets

=

Page 36: Leverage Search and Customize to your Brand within SharePoint 2010

36

Other Search Features: Federated Search

Page 37: Leverage Search and Customize to your Brand within SharePoint 2010

37

Other Search Features: Query Logs

Page 38: Leverage Search and Customize to your Brand within SharePoint 2010

38

Crawling PDF files and TIFF Images

PDF Files

1. Install the 64-bit Adobe PDF iFilter on Indexing Server(s)

2. Add a new file type for ‘pdf’ in the File Type interface under the Search Service Application within Central Administration

3. Make the required RegEdit changes

4. Perform an IISRESET & restart the search services

TIFF Images using Optical Character Recognition

5. Add Windows TIFF iFilter feature to Indexing Server(s)

6. Enable TIFF OCR scanning through group policy on the indexing server

7. Force TIFF IFilter to OCR every page in a TIFF document (Optional)

8. Reboot the server and kick a full crawl

Page 39: Leverage Search and Customize to your Brand within SharePoint 2010

3939

Life in the FAST Lane

Page 40: Leverage Search and Customize to your Brand within SharePoint 2010

40

FAST for SharePoint 2010

Page 41: Leverage Search and Customize to your Brand within SharePoint 2010

41

FAST for SharePoint 2010

Page 42: Leverage Search and Customize to your Brand within SharePoint 2010

42

FAST for SharePoint 2010

Page 43: Leverage Search and Customize to your Brand within SharePoint 2010

43

When to Use FAST

Use FAST if…

Require user experience enhancements Have high volumes of content that update frequently Require almost real time incremental indexing Need to automate content processing

Do Not Use FAST if…

Content is static Budget constraints

Page 44: Leverage Search and Customize to your Brand within SharePoint 2010

44

Ironworks Blogs

• Fit & Finish: Insight from the Ironworks User Experience Group– http://fitandfinish.ironworks.com/

• Under the Hood: Insight from the Ironworks Technology Group– http://underthehood.ironworks.com/

Contact

• For further information about Microsoft SharePoint services at Ironworks, please contact – Keith Long: [email protected]

Q&A

Page 45: Leverage Search and Customize to your Brand within SharePoint 2010

45

Referenced Resources

Find It All with SharePoint Enterprise Search

http://technet.microsoft.com/en-us/magazine/2007.01.search.aspx

Using a Search Center in Office SharePoint Server 2007

http://media.mindsharp.com/PDFs/Using_a_Search_Center_in_MOSS07.pdf

MOSS Faceted Search Solution on CodePlex

http://facetedsearch.codeplex.com/

Custom XSLT for the Search Core Results Web Part

http://www.u2u.info/Blogs/Patrick/Lists/Posts/Post.aspx?ID=1669

Federated Search Overview

http://msdn.microsoft.com/en-us/library/cc806030.aspx

SharePoint 2010 Enterprise Search

http://sharepoint.microsoft.com/en-us/product/capabilities/search/Pages/default.as

px

FAST Search Server 2010

http://sharepoint.microsoft.com/en-us/product/capabilities/search/Pages/Fast-Sear

ch.aspx

Page 46: Leverage Search and Customize to your Brand within SharePoint 2010

46

Final Notes

Presenter Contact Information:

Chaitu Madala

SharePoint Architect, Ironworks Consulting

[email protected]

LinkedIn: http://www.linkedin.com/in/cmadala

Under The Hood Blog: http://underthehood.ironworks.com

Good Bad Technology: http://goodbadtechnology.blogspot.com

Page 47: Leverage Search and Customize to your Brand within SharePoint 2010

47

Richmond10900 Nuckols RoadSuite 400 Glen Allen, VA 23060804.967.9200

Research Triangle11000 Regency ParkwaySuite 404Cary, NC 27518919.462.2092

DC Metro8133 Leesburg PikeSuite 650Vienna, VA 22182703.506.3964

Charlotte10405 Toringdon WaySuite 205Charlotte, NC 28277704.848.8889

Minneapolis6 Pine Tree DriveSuite 280Arden Hills, MN 55112651.493.2601

ironworks.com | 804.967.9200