Extending Microsoft Search Server

Post on 30-May-2018

221 views 0 download

Transcript of Extending Microsoft Search Server

8/9/2019 Extending Microsoft Search Server

http://slidepdf.com/reader/full/extending-microsoft-search-server 1/36

DevTeach Toronto 2010

By: Bob Brown and James Schwartz,

Imason Inc.

Extending Microsoft Search Server 

8/9/2019 Extending Microsoft Search Server

http://slidepdf.com/reader/full/extending-microsoft-search-server 2/36

Who are these two goofy guys anyway?

8/9/2019 Extending Microsoft Search Server

http://slidepdf.com/reader/full/extending-microsoft-search-server 3/36

8/9/2019 Extending Microsoft Search Server

http://slidepdf.com/reader/full/extending-microsoft-search-server 4/36

We¶re Architects!

8/9/2019 Extending Microsoft Search Server

http://slidepdf.com/reader/full/extending-microsoft-search-server 5/36

5

8/9/2019 Extending Microsoft Search Server

http://slidepdf.com/reader/full/extending-microsoft-search-server 6/36

W

hat will I learn today? Overview of the Microsoft

Search Stack

Getting the most out of 

Microsoft Search Server 

Express you can do more

than you think!

Enhancing the searchexperience

8/9/2019 Extending Microsoft Search Server

http://slidepdf.com/reader/full/extending-microsoft-search-server 7/36

Let¶s start with the Microsoft Search stack...

8/9/2019 Extending Microsoft Search Server

http://slidepdf.com/reader/full/extending-microsoft-search-server 8/36

Perhaps you enjoy fishing?

8/9/2019 Extending Microsoft Search Server

http://slidepdf.com/reader/full/extending-microsoft-search-server 9/36

Microsoft Search Server Express (MSSx)

Free and easy!

No redundancy or scaling out

capabilities

Scales to approximately

300,000 items with SQL Server 

Express (also free) or approx

10 million items with SQL

Server 

...BUT still lots of opportunity

we¶ll get to this! 

8/9/2019 Extending Microsoft Search Server

http://slidepdf.com/reader/full/extending-microsoft-search-server 10/36

Microsoft Search Server (MSS)

Same features as MSSx

Can scale out for redundancy

or to increase performance

Scales to from 10 million

items to 100 million

depending on the topology

Increased performance andcapacity

Not free!

8/9/2019 Extending Microsoft Search Server

http://slidepdf.com/reader/full/extending-microsoft-search-server 11/36

Microsoft SharePoint Server 2010

You¶ve already made the

investment in SharePoint, take

advantage of its search capabilities!

Includes all the search features

available in MSS

Includes Additional search

capabilities over MSS

Integration with social

networking features like PeopleSearch and My Sites

Managed taxonomy ± eg. User 

generated tags

8/9/2019 Extending Microsoft Search Server

http://slidepdf.com/reader/full/extending-microsoft-search-server 12/36

FAST Search for SharePoint 2010

Large upfront investment

Enterprise CAL required

Includes all search

features in SharePointSearch 2010

Sophisticated content

processing and property

extraction

Richer search experience

8/9/2019 Extending Microsoft Search Server

http://slidepdf.com/reader/full/extending-microsoft-search-server 13/36

FAST Search for SharePoint 2010

Consider using FAST Search if you:

Require great scalability and performance.

Require an enriched enterprise search experience with the ability tocustomize and tune relevancy and navigation.

Have to crawl different types of internal and external content sources,

including large-scale Web content.

Want to use sophisticated content processing such as propertyextraction

8/9/2019 Extending Microsoft Search Server

http://slidepdf.com/reader/full/extending-microsoft-search-server 14/36

Top 10 Reasons to use FAST Search

1. Content Processing Pipeline

2. Meta-data Extraction

3. Structured Data Search,

4. ³Deep´ Refinement (with precise counts)

5. Visual Search6. Advanced Linguistics

7. Visual Best Bets

8. Extensive Development Platform

9. Context Based Search (custom based search experience based on

user or profile)

10. Extensive Scaling

11. Performance capabilities

8/9/2019 Extending Microsoft Search Server

http://slidepdf.com/reader/full/extending-microsoft-search-server 15/36

Why would I

suggest MSSx to

my boss?

8/9/2019 Extending Microsoft Search Server

http://slidepdf.com/reader/full/extending-microsoft-search-server 16/36

Maybe your boss ispoor...

8/9/2019 Extending Microsoft Search Server

http://slidepdf.com/reader/full/extending-microsoft-search-server 17/36

... or just frugal

8/9/2019 Extending Microsoft Search Server

http://slidepdf.com/reader/full/extending-microsoft-search-server 18/36

Sure it has itslimitations...

8/9/2019 Extending Microsoft Search Server

http://slidepdf.com/reader/full/extending-microsoft-search-server 19/36

...but it can do more than you think

8/9/2019 Extending Microsoft Search Server

http://slidepdf.com/reader/full/extending-microsoft-search-server 20/36

What if we already have MOSS 2007?

8/9/2019 Extending Microsoft Search Server

http://slidepdf.com/reader/full/extending-microsoft-search-server 21/36

MSSx Technical Capabilities

8/9/2019 Extending Microsoft Search Server

http://slidepdf.com/reader/full/extending-microsoft-search-server 22/36

SQLMi r ft r r r r  Mi r ft r r r r  

Query Server Query Server 

Index Server Index Server 

r Pl tf rm

D t

ur 

File

Share

Web

Site

 Content 

Sources

Search Center 

SharePoint

 Web request 

(GET)

Exchange

Public

Folder 

8/9/2019 Extending Microsoft Search Server

http://slidepdf.com/reader/full/extending-microsoft-search-server 23/36

Search Center Results

8/9/2019 Extending Microsoft Search Server

http://slidepdf.com/reader/full/extending-microsoft-search-server 24/36

Demo 1: Searching Customers & Productswith MSSx

8/9/2019 Extending Microsoft Search Server

http://slidepdf.com/reader/full/extending-microsoft-search-server 25/36

8/9/2019 Extending Microsoft Search Server

http://slidepdf.com/reader/full/extending-microsoft-search-server 26/36

SQLMicrosoft Search Server ExpressMicrosoft Search Server Express

Query Server Query Server 

Index Server Index Server 

Search Platform

DataSources

FileShare

WebSite

 Content 

Sources

 Search Center 

ShareP

oint

 Web request 

(GET)

ExchangePublic

Folder 

 

Custom

Data

Source

XML

8/9/2019 Extending Microsoft Search Server

http://slidepdf.com/reader/full/extending-microsoft-search-server 27/36

 Microsoft Search Server 

 XML Crawling Proxy

 ASP.NETWeb Application

 Details ASPX page Crawler Index

Query

 Adventure-

Works

Database

 XML Output

Database

Records crawls

 Listing ASPX page

 Search Results Page

 Search

 Applications

queries

How we did it...

Customers

Products

Employees

 XML iFilter 

8/9/2019 Extending Microsoft Search Server

http://slidepdf.com/reader/full/extending-microsoft-search-server 28/36

Out of the box XML iFilter will 

identify one-level deep nodes as

crawled properties

 new crawled propertySharePoint:customer/address(Text)

The XML iFilter: the key ingredient

8/9/2019 Extending Microsoft Search Server

http://slidepdf.com/reader/full/extending-microsoft-search-server 29/36

nodes two levels deep and lower are searchable, but cannot be

defined as crawled properties

 name and locationnodes will not be able

to be mapped to

managed properties

unless moved to childof root

8/9/2019 Extending Microsoft Search Server

http://slidepdf.com/reader/full/extending-microsoft-search-server 30/36

Demo 2: Setting up Employees fromscratch

8/9/2019 Extending Microsoft Search Server

http://slidepdf.com/reader/full/extending-microsoft-search-server 31/36

 Microsoft Search Server 

 XML Crawling Proxy

 ASP.NETWeb Application

 Details ASPX page Crawler Index

Query

 Adventure-

Works

Database

 XML Output

Database

Records crawls

 Listing ASPX page

 Search Results Page

 Search

 Applications

queries

Recapping...

Customers

Products

Employees

 XML iFilter 

8/9/2019 Extending Microsoft Search Server

http://slidepdf.com/reader/full/extending-microsoft-search-server 32/36

SQLMi r ft r r r r  Mi r ft r r r r  

Query Server Query Server 

Index Server Index Server 

r Pl tf rmSearch Center 

Search as a service

 Web Services

 XML Crawling Proxy

  Any Data

Source

 file share or web site

 Custom application

8/9/2019 Extending Microsoft Search Server

http://slidepdf.com/reader/full/extending-microsoft-search-server 33/36

Gotchas

XML iFilter and Windows 2008 SP2 and R2

Workaround: replace the iFilter 

16 MB limit on crawled pages Workaround: split up the pages

Property node value limits, 255 character limit

Workaround: use XM

Lattribute values

8/9/2019 Extending Microsoft Search Server

http://slidepdf.com/reader/full/extending-microsoft-search-server 34/36

Questions? Comments? Insults?

8/9/2019 Extending Microsoft Search Server

http://slidepdf.com/reader/full/extending-microsoft-search-server 35/36

Helpful Links

Microsoft Search Server Express Download: 2008: http://www.microsoft.com/enterprisesearch/en/us/search-server-

express.aspx

2010 Beta 2:

http://www.microsoft.com/downloads/details.aspx?FamilyID=dfd0cfac-f52c-4c02-a972-0e4f1c4e7977&displaylang=en

Codeplex Search Community Toolkit http://sct.codeplex.com (look for Search Service Tool, Relevancy Tool,

 ASP.Net Server Controls)

8/9/2019 Extending Microsoft Search Server

http://slidepdf.com/reader/full/extending-microsoft-search-server 36/36

Thanks for Attending!

James.Schwartz@imason.comBob.Brown@imason.com