Federated Search in Windows 7

One new feature in Windows 7 (Ultimate or Enterprise) that hasn’t had much coverage is federated search.  This is, essentially, a way to allow searching of damn near any resource from within Windows.  Here’s how a search on TechNet looks:


Because the results are represented as files (shortcuts, actually), you can now work with your search results just like any other set of files.  You can copy them into a folder, right-click them and click Print, drop them on the Start button to pin them to your Start menu, or view your results in any of the usual Windows Explorer views.  For example, here are the results of a YouTube search:


And how do you get at all this magic?  Well, this is a case where Microsoft actually got things right.  First, everything is based on the simple standards-based OpenSearch format.  Basically, this means your data source has to support RSS, and you need a simple XML file telling Windows how to access the data.  These files (usually going with an .osdx extension) are pretty simple, and opening one on Windows 7 will automatically set everything up for you.

Want to try?  Here are some good examples:

Some of these come from SevenForums.com, where you can find a wealth of other information on federated search.

Notice anything missing here?  There is a search engine called Google that still fulfills a small niche among certain people that isn’t really easy to use.  This is because Google doesn’t support OpenSearch, and as far as I know, doesn’t intend on doing it any time soon.  There are ways around this, of course, but none are particularly elegant.

Curious as to how this all works?  Well, just have a look at an example .osdx file.  Here’s the YouTube one:

<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:ms-ose="http://schemas.microsoft.com/opensearchext/2009/">
<Description>OpenSearch Youtube via Windows 7 Search.</Description>
<Url type="application/rss+xml" template="http://www.youtube.com/rss/tag/{searchTerms}.rss&amp;num=10&amp;output=rss"/>
<Url type="text/html" template="http://www.youtube.com/results.aspx?q={searchTerms}"/>

As you can see, there’s really not much here beyond a bit of meta information and a reference to the web-based RSS service.  Pretty simple, yes?  This means implementing this search ability in your own applications shouldn’t be all that hard, either.  This makes for a really easy way to integrate your application into Windows.

For more details, check out OpenSearch.org.


  1. I have not checked in here for a little while since I have presumed it was becoming tiresome. However, the past several posts are top quality. Therefore I suppose I'll add you back to my regular blog list. You deserve it, buddy 123 hp dj 3630 setup installation

  2. I high appreciate this post. It’s hard to find the good from the bad sometimes, but I think you’ve nailed it! would you mind updating your blog with more information? Laptop cu gia re

  3. Thanks for sharing nice information with us. i like your post and all you share with us is uptodate and quite informative, i would like to bookmark the page so i can come here again to read you, as you have done a wonderful job. ACMarket Android

  4. I have read your blog it is very helpful for me. I want to say thanks to you. I have bookmark your site for future updates. AppValley iOS 11

  5. Excellent article. Very interesting to read. I really love to read such a nice article. Thanks! keep rocking. Office Blinds

  6. Since I assumed it was getting boring I haven't checked in here for a little while. The most recent posts Bookkeeping Services In Dubai though are excellent. So I guess I'll re-add you to my list of frequent blog readers. You merit it.


Copyright © 2010 Paul Guenette and Matthew Sleno.