in

Dot Net Mafia

Group site for developer blogs dealing with (usually) .NET, SharePoint 2010, and other Microsoft products, as well as some discussion of general programming related concepts.

This Blog

Syndication

Corey Roth - DotNetMafia.com - Tip of the Day

Bringing you the latest time saving tips for SharePoint 2010, MOSS 2007, ASP.NET, LINQ, and Visual Studio 2010

A quick look at phonetic People Search in SharePoint 2010

Maybe you hadn’t noticed, but talking about Search is my favorite topic in SharePoint (with ECM closely following it). :)  This is why I am so excited about the new features we are seeing in Enterprise Search.  Wildcards and built in refinement were enough to bring a tear to my eye, but People Search is what I think a lot of people will be impressed by.  You see People Search is the gateway to many of the new social aspects in SharePoint 2010.  Your old stuffy CIOs are going to absolutely hate it (since they were probably the ones that blocked twitter and facebook at your organization).  The new hip CIOs that find value in social media are going to totally embrace it and organizational efficiency and the sense of community is really going to go up.  Not to tangent on the whole social thing though, let’s just take a look today at how it’s easier to find people in SharePoint 2010.

Let’s consider my great new fictitious company.  It’s not a big company but there are a number of employees.  Ok, so my fake company isn’t as complete as the one we have seen at the demos at SPC or anything, but hopefully you get the point.  Consider the following users stored in Active Directory.

PeopleSearchActiveDirectory

To work with People Search, you must first have successfully configured user profile synchronization, set up a connection, and then done a full crawl on your Local SharePoint Sites content source.  If your user profile synchronization service isn’t working, do yourself a favor and just reinstall because you will never get it to work.  The content source still uses the sps3 protocol to crawl user profiles.  If no people are returned when you search make sure you have a content source setup using that protocol handler.  I’ll probably write another post on how to set this up pretty soon.

To get started with People Search we start with an Enterprise Search center and click on the people link which gives us a plain search box like the one below.

PeopleSearchStart

Let’s say that I need to lookup the phone number for my IT Director, Michael Adams.  I can of course type his full name in like this and get a result (this is what we basically had in SharePoint 2007).

PeopleSearchResultsFullName

We get a result as expected, but you know, I really don’t call him Michael, I call him Mike.  Shouldn’t that return me a result too?

PeopleSearchResultsPhonetic

Absolutely!  In SharePoint 2007, if you asked for that people would look at you like you wanted the impossible.  Now it works beautifully.    Clicking on the user’s name takes you to the profile page where all of the cool social stuff happens.  I could do several posts on it alone, but here is a quick look at what it looks like.  It allows you to see the org chart along with recent activities along with a corporate style facebook.  Very cool.

PeopleSearchProfile

What else can this thing do though?  Say we want to look up our Team Lead, Richard Jackson.  He doesn’t go by Richard though.  He goes by *** (no jokes please).  Will that yield a result?

PeopleSearchResultsPhonetic2

How cool is that.  The search engine seems to understand nicknames.  So this really isn’t necessarily happening phonetically, it just has a nice thesaurus in it now, but at SPC, we did see search examples where things were spelled phonetically and it worked.  I haven’t had a ton of luck getting that to work.  I also saw it work with non-English names.  Hopefully I can demo that stuff too pretty soon, but I still thought these things were worth showing off.

Let’s do one more example though.  Let’s say I know the last name of the person I need to contact is Williams.  We’ll pretend I am lazy and I only type in Willi in the search box.  Will that give me a result?

PeopleSearchNoResults

The answer this time is actually no.  People Search does support wildcards now, but it is not on by default.  Change the query to Willi* and we’re in business.

PeopleSearchResultsWildcard

It returns matches in both the first and last name.  Very cool.  I’d love to be able to inherit from the PeopleCoreResultsWebPart to add an option to allow wildcards all the time, but Harneet Sidhana [MSFT] does not think we should be able to.  Apparently the web part is perfect and no one would possibly ever want to change it.  Ok, so the web part is pretty cool, but I would like to make changes and that’s just not going to be possible. :-(

Stepping aside from that tangent, I have to mention the Organization Browser.  It’s a cool use of Silverlight that makes it very easily to browser the organization. 

PeopleSearchOrganizationBrowser

This picture doesn’t do it justice.  It certainly would be a lot cooler if I had pictures uploaded for all of my users.  From all of this, hopefully you can see that it should be a lot easier for end users to find people in your organization.  I’m really excited about these new features.

Comments

 

Murray said:

Partial name searching, such as the "Will" for "Williams" example that you gave is already available in SP2007. You just need to add the managed property in front of the criteria (LastName:Will).

A really easy solution is to build a web part that has input boxes for first name and last name and contains a button to execute the search. The web part can then pass the criteria along with the managed property data to the search results page.

We added a part like this to our portal homepage and with over 3000 searches for employees every day, I can't even imagine how many hours it has saved in 3 years.

March 11, 2010 5:05 PM
 

Rajesh Rathi said:

Very interesting read, thank you so much for this insight. I am waiting to go live with SP2010 once it is released.

March 12, 2010 11:08 AM
 

Sharepoint Active Directory said:

Pingback from  Sharepoint Active Directory

March 13, 2010 1:20 PM
 

Carmen said:

Hi!

I have Fast Search SErver for Sharepoint 2010, and I´ve noticed that this phonetic people search just works al Mozilla or Safari, no Internet Explorer!!!

Which Browser do you use???

thanks!!!

June 9, 2010 4:43 AM
 

CoreyRoth said:

Hmm, I've had no issue using IE so far.

June 9, 2010 9:56 AM
 

Silver said:

Hi!

Very good post, thank you for that. But still, you searched for Mike's phone number and didn't find any. Nor does this organization browser show any important information.

Is it possible to show phone numbers in search results or in organization browser somehow?

Thanks.

August 12, 2010 7:01 AM
 

Silver said:

Allright, I got it. Search results will show phone numbers once they're indexed, but organization browser still doesn't.

August 12, 2010 7:20 AM
 

CoreyRoth said:

@Silver Yes, you should be able to show the phone number in your results after it is indexed as you mentioned.  I don't know of any way to customize the organization browser (not saying it isn't possible though).

August 12, 2010 8:54 AM

Leave a Comment

(required)  
(optional)
(required)  
Add

About CoreyRoth

Corey Roth is a SharePoint Consultant for Stonebridge, Inc. specializing in clients in the Energy Sector.
2009 dotnetmafia.
Powered by Community Server (Non-Commercial Edition), by Telligent Systems