Scott Dorman

ephemeral segment

  Home  |   Contact  |   Syndication    |   Login
  603 Posts | 10 Stories | 862 Comments | 51 Trackbacks

News


Post Categories

Image Galleries


Microsoft Store


Creative Commons License



Locations of visitors to this page

Subscribers to this feed

TwitterCounter for @sdorman

View blog authority

Add to Technorati Favorites

Windows Live Alerts

AddThis Social Bookmark Button

LinkedIn profile

Community Credit profile

The Code Project

Follow me on Twitter

Get Free Shots from Snap.com

Community Credit Hall of Fame

Get Feedghost

Xobni outlook add-in for your inbox



Support This Site

Tag Cloud


Article Categories

Archives

Post Categories

Image Galleries

Windows and the Windows Explorer have had search capabilities for a long time and they have gradually improved over the years. The one thing that was always lacking was an ability to search different contexts (or remote sources). There were some improvements with the Windows Desktop search, but I think the federated search capability in Windows 7 really gets it right.

Federated search in Windows 7 introduces support to search different remote data stores using OpenSearch technologies and allows you to search those sources from within Windows Explorer. Below is an example of searching a SharePoint 2007 from within Windows Explorer.

imageThe more interesting aspect of federated search is that, because it uses OpenSearch, there are already a lot of search sites that support search federation. Even better, Microsoft supports creating new federated search providers through the use of federated search connectors, which are simple XML files that describe the search provider.

You can download a document that describes how to build a basic web service that leverages the Windows 7 federated search and the search connector file format from Microsoft.

Here is a sample search connector that works with Microsoft Live Search:

   1: <?xml version="1.0" encoding="UTF-8"?>
   2: <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:ms-ose="http://schemas.microsoft.com/opensearchext/2009/">
   3:     <ShortName>Live Search</ShortName> 
   4:     <Description>Live Search</Description>
   5:     <Url type="application/rss+xml" template="http://search.live.com/results.aspx?q={searchTerms}&amp;count=50&amp;format=rss"/>
   6: </OpenSearchDescription>

Save this XML to a file named “Live Search.osdx” (you should use the .osdx extension since it is already registered in Windows as an “open search description” file) and then double-click the file. You will be prompted to add the search connector:

image

Once you add the search connector, it will create a Search Connector file in the “Searches” folder (%userprofile%/Searches) and places a short cut to that file in the “Links” folder (%userprofile%/Links) that shows up in the Windows Explorer favorites section.

image

By selecting “Live Search” and typing a search term in the search box, the query is sent to Live Search through the OpenSearch provider. Here is an example of searching for the term “federated search” in Live Search:

image

Since the search results are integrated in Windows Explorer, you can take advantage of any built in file previewers and see both the search summary and a preview of each result:

image

Overall, I think the new federated search capabilities in Windows 7 will become an extremely useful and popular way for people to search, especially as businesses take advantage of the technology and start exposing internal file servers and intranet portals as OpenSearch providers.

DotNetKicks Image
posted on Thursday, May 14, 2009 7:01 PM

Feedback

# re: Windows 7 Federated Search 5/15/2009 3:16 AM Ton Jason
Nice!
Until then: Better give Lookeen a try: Central indexing in superior speed and stability. Looks like the former LookOut for Outlook - but is also a enterprise search which can be rolled out by GPO!


cHEErS

Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: