Skip to navigation

PCPro-Computing in the Real World Printed from www.pcpro.co.uk

Register to receive our regular email newsletter at http://www.pcpro.co.uk/registration.

The newsletter contains links to our latest PC news, product reviews, features and how-to guides, plus special offers and competitions.

// Home / Blogs

Posted on May 12th, 2009 by Barry Collins

How to create your own search engine in Windows 7

SearchOne of the rarely talked about new features in Windows 7 is federated search. This not only allows you to search for files on SharePoint servers or the company intranet as if they were stored locally on your PC, it also lets you search public websites from within Windows Explorer. 

Right now you’re probably asking why on Earth you’d want to search websites in Explorer when you’ve got a perfectly good web browser and Google for such purposes? Well, there are several advantages. First, Windows Explorer starts searching websites as you type, just like it does with locally-stored files, meaning the page you’re looking for often crops up before you’ve even finished typing the search terms. It’s blisteringly fast too – often quicker than the website’s own search engine.

What’s more, you can get a full page preview of the website without even opening the browser, and print the page with nothing more than a right click on the search results. So, for example, you could search for and print out the review of the Samsung NC20 netbook you saw on PC Pro  last week in about five seconds flat.

Windows 7 search connector  

SEARCH CONNCECTORS

To search a website from within Windows 7 you need a small piece of code called a Search Connector. You’ll find connectors for several leading websites – including Flickr, YouTube and Wikipedia – in the Connectors Pack provided by the Redmond Pie website.  To install a search connector, simply unzip the Connectors Pack, double-click on the Connector of your choice and it will automatically install itself in your Windows Explorer Favourites.

ROLL-YOUR-OWN CONNECTOR

You can also create a connector to search any website you like – be it your personal blog, your company’s website or just one of your regular haunts. 

This requires a minor bit of fiddling with HTML code in a text editor such as Windows Notepad or the ever-reliable TextPad.

Copy and paste the following code into your text editor:

<?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/”>

<ShortName>PC Pro</ShortName>

<Description>Search PC Pro using Windows 7 Federated Search</Description>

<Url type=”application/rss+xml” template=”http://api.search.live.com/rss.aspx?source=web&query={searchTerms} site:www.pcpro.co.uk&web.count=50″/>

<Url type=”text/html” template=”http://search.live.com/results.aspx?q={searchTerms}+site:www.pcpro.co.uk“/>

</OpenSearchDescription> 

 

You’ll need to replace the code marked in bold with your own title, description and URLs. When you’ve made the edits, save your code in the All Files format and add the .osdx extention to the filename, so that Windows 7 recognises it as a Search Connector. 

Once saved, you can email the Connector to friends and colleagues, or upload the file to your website and allow readers to download it.

You can download the PC Pro Search Connector here. 

(Note: it might well be possible to replace Microsoft’s Live Search with an alternative search engine – can’t think who – although we’ve been unable to find the relevant API. Let us know if you find one, although the Windows Live Search worked perfectly in our tests). 

Tags: , ,

Posted in: How To, Windows 7

Permalink | Trackback

Follow any responses to this entry through the RSS 2.0 feed.

Social Bookmark this article: What is this?

3 Responses to “ How to create your own search engine in Windows 7 ”

  1. Derek O'Harrow Says:
    May 12th, 2009 at 2:33 pm

    Excellent article. Any idea how to implement this for an Intranet?

     
  2. Jackson Says:
    May 14th, 2009 at 8:53 am

    You fail to recognise the key issue with federated search which is that every search site will be using its own ranking algorithm. The federator software has no way to properly sort the results from the separate result listings into a properly ranked single list. There are other issues too. Only when the federated sites all use the same underlying ranking engine will the consolidated results be ranked correctly – fine for Windows and Sharepoint as MS will assume everyone uses, but add in Google or Wolfram alpha or all the other specialised engines?

    I don’t have W7 to test this with but unless the results are grouped/separated by the source engine the relative positioning of results in the ranking will have limited value as an indicator of relevance.

     
  3. Barry Collins Says:
    May 14th, 2009 at 9:13 am

    Derek – apologies for the slow reply. I believe you’ll need Windows Server 2008 R2 to implement the intranet/SharePoint search.

    Jackson – I’m not suggesting federated search is a replacement for Google for general internet searches. It’s just a convenient way of quickly retrieving information from your favourite sites.

    Barry

     

Leave a Reply

* required fields

* Will not be published

Categories

Authors

Archives

advertisement

SEARCH
SIGN UP

Your email:

Your password:

remember me

advertisement


Hitwise Top 10 Website 2008