Partager via


The IE8 Smart Address Bar Without Windows Search

As mentioned in the  first post on this topic, the IE8 Smart Address Bar works better with Windows Search installed. However, IE8 does not require Windows Search, and IE8 will still provide a superior experience to IE7 if it’s not there. We are going to go through and detail the differences between IE8 with and without Windows Search so people can understand the trade-offs.

To start with, we made a choice to use Windows Search as our index & query engine when we began work on IE8 almost two years ago. We could have written our own engine, or we could have used a different engine, but it came down to a simple realization: we have a team of people here at Microsoft who are dedicated to creating a great search & indexing experience, and it’s called the Windows Search team (formerly known as “Windows Desktop Search.” And to avoid any confusion, we’re talking about the local search index team, not the folks who run live.com – those are separate organizations). The people on that team are experts at what they do, and by leveraging their technology, we get the benefit of all of their hard work and expertise. We consider the folks on the Windows Search part of the extended IE team (the same way you can consider, say, the folks on the networking team, who write TCP/IP for Windows, as part of the IE family).

Once we made the decision to use Windows Search, the next question was simple: what happens to IE8 when Windows Search is not installed? Well, on one hand, you could argue that IE8 should work just as well with as without Windows Search, but then we’d just be duplicating Windows Search inside IE, which reverses the decision we just decided not to make. So, while it was clear we would have to make some trade-offs in IE8 when Windows Search was not present, we still wanted to make sure that IE8 without Windows Search was superior to IE7.

This screenshot shows IE8 on Windows XP, where Windows Search is not included by default:

The IE8 Smart Address Bar on Windows XP without Windows Search

As you can see, even without Windows Search, you still get the new look with Titles, URLs, grouping, and hit highlighting. Typed addresses are still available, and you also get the expandable keyboard shortcut section at the bottom. This is one of those areas where we think the IE8 experience is better than IE7: IE8 is providing richer data back to the user in an easier-to read format. An IE8 user in front of the keyboard of this machine will instantly recognize this as IE8, and therefore should be familiar with the other IE8 features (all of which you can read about here on the IE blog). Despite the new look, underneath, IE8 acts a lot like IE7 did when you type in the address bar.

Here are the details about what’s different in IE8 when Windows Search is not available, but first, a primer about Windows Search. Windows Search has two basic parts: an index and a query engine. We’re not going to go into detail about these here, but IE8 works with both parts to return results to users quickly. The part of Windows Search that we rely on when the user types in the address bar is the query engine. It’s fast, and it does a bunch of hard work (like word breaking) for us. It’s the presence of this fast and flexible query engine that enables us to take what you type, search across a huge amount of disparate data, and return results in time measured in milliseconds. Remember that Favorites are file objects, History is represented in an internal WININET container, typed addresses are stored in the registry, and RSS uses structured storage. That’s four different storage mechanisms for four different data types, all of which are first class citizens in IE. Windows Search allowed us to standardize how we search across these four data types, and made it fast. Best of all, by not changing the underlying data types, we incurred no compatibility costs. People can continue to XCOPY their Favorites around or roam them with 3rd party services, and IE8 will continue to work just fine.

Windows Search allows for smarter searches (because of word breaking)

Without Windows Search, IE8 loses the ability to do word breaking when it searches.

“Word breaking” refers to taking a string (say, “https://www.microsoft.com/windows/products/winfamily/ie/default.mspx”) and splitting it up into individual words or elements (“http” + “www” + “microsoft” + “com” + “windows” + “products” + “winfamily” + “ie” + “default” + “mspx”). Word breakers know to split up strings not just at spaces (which typically don’t occur in URLs), but at characters like slashes, hyphens, and question marks (which are common characters in a URL). Without word breaking, my example URL is just one long big unbroken word, and all IE8 can do quickly in the address bar is strip away the prefix (the “https://www.”) and match against the domain (Microsoft.com).

IE7 (and earlier) did not do word breaking when it tried to match what you typed against URLs in your history.

For matching against Favorites, I can type “Microsoft at” to match against the string “Microsoft At Home,” but I won’t get a match if I type “Home.”

Windows Search allows IE8 to search across multiple fields for matches

One of the benefits of Windows Search is the ability to quickly search for matches across many fields or properties, all at once. For instance, for Favorites, IE8 can match what you type against a variety of properties of that Favorite: the Favorite’s URL, the Favorite’s local name (whatever you called it when you saved it), and the folder(s) the Favorite is saved in.

Without Windows Search, IE8 is limited to just searching for the Favorite by name. For History items, we’re limited to just searching by URL. This is how IE7 worked as well. One improvement we made in IE8 without Windows Search is that, unlike in IE7 where it only checked the top level of your Favorites folder for matches, with IE8, we’ll search your entire hierarchy of Favorites for title matches.

Windows Search allows IE8 to search for Feeds and Feed Items

Without Windows Search, IE8 won’t return any Feeds or Feed Items in the dropdown. That means the entire Feeds section of the dropdown will never be present on a machine without Windows Search. If you read a Feed Item in the browser, its URL and Title will be in your History, so it will show up in the list as a History item. This is how some of the other browsers (including IE7) already treat Feeds and Feed Items: they show up once they’re in your History.

Windows Search allows IE8 to provide relevancy sorting

Because the rich data about a site you visit is stored in the Windows Search index, without it IE8 can’t quickly save and compute the relevance of any given address compared to another. Instead we’ll fall back to alphabetic sorting, which is how IE7 sorted its results.

Unfortunately, without relevancy, we also cannot provide an Autocomplete Suggestion. For that reason, this option (and its SHIFT+ENTER shortcut) will not be visible when Windows Search is not installed.

Without Windows Search, History entries will be sorted alphabetically by URL, and Favorite entries will be sorted alphabetically by Title.

So in summary, here’s what you get when you use IE8 without Window Search:

  • The new look, including page titles, URLs, grouping, highlighting, typed addresses, and keyboard shortcuts
  • The ability to do simple matching against domains for History items, like IE7 did
  • The ability to do simple matching against Favorite names, like IE7 did (although IE will search your entire Favorites folder hierarchy with IE8)
  • Alphabetic sorting of sites & Favorites that match

For the corporate IT people out there, there are no policies (or preferences) in IE to enable or disable using Windows Search separately. IE8 will use Windows Search if it’s available and running.

As a reminder, IE8 works with either Windows Search 3 or 4. Windows Vista ships with Windows Search 3, and Windows Search 4 is available as a free download for users running Windows XP, Windows Server 2003 & 2008, and Windows Vista (with some restrictions on service pack levels).

For users who choose to run IE8 without Windows Search, we hope this post clears up any questions about how IE8 should act. And for others, we hope it’s convinced you to try out Windows Search to see what IE8 can really do!

Thanks,

Christopher Vaughan and Seth McLaughlin
Program Managers

Comments

  • Anonymous
    September 11, 2008
    PingBack from http://www.easycoded.com/the-ie8-smart-address-bar-without-windows-search/

  • Anonymous
    September 11, 2008
    What about XP SP3? What does it use? Search 3?

  • Anonymous
    September 11, 2008
    Windows XP does not include Windows Search to the best of my knowledge. That includes SP3. You can however download WS3 or WS4 from the URL I refer to in the post. -Christopher

  • Anonymous
    September 11, 2008
    Off-topic: I noticed that in the "Introducing Application Compatibility" article from 8-27-2008, one of the comments of the article said that you can create a registry entry for control of this at: HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION] My question: Is there going to be an equivalent item in the INTERNETFEATURELIST enumeration that I can use via CoInternetSetFeatureEnabled()?

  • Anonymous
    September 11, 2008
    Is IE8 still going to load up stuff off my desktop when I type in a value and press enter? (PS I hate this "feature") E.g. If I have an icon on my desktop for "media", (a folder) and I type in "media" then press enter... is IE going to go to my default search provider and run a query? (e.g. Google for "media") or is it going to open the folder on my desktop? (undesired)

  • Anonymous
    September 11, 2008
    The comment has been removed

  • Anonymous
    September 11, 2008

  1. i show windows live as my only search provider and i see the shift-enter option.
  2. what if i don't want any search provider? i don't see any way to remove the one that's there. i believe in ie7 the remove option is available.
  • Anonymous
    September 11, 2008
    The comment has been removed

  • Anonymous
    September 11, 2008
    The comment has been removed

  • Anonymous
    September 11, 2008
    IE8B2 on Vista x64 with WS v4 does not list any of my favorites from the "smart bar". Desktop search (e.g. from the Start menu) does list my favorites, which is odd ... My favorites are located in a non-default location (I changed the location using the Favorites folder -> Properties -> Location tab feature). Favorites show up in IE and can be modified without problems.

  • Anonymous
    September 11, 2008
    The AI community at large does not use the phrase "word breaking". Instead, it is generally called "word segmentation".

  • Anonymous
    September 11, 2008
    Brandon: The WTFAYTAW community at large doesn't use the phrase "word segmentation".  Instead, it is generally called "floozle flossing."  Thanks.

  • Anonymous
    September 11, 2008
    Marc F: This sounds like a bug. If your machine is busy, it may time to index your feeds, but in general, I haven't heard of them not appearing. We'll try to repro internally. One note: we know that feeds with a "?" in their title don't show up in the index - we'll fix that post-B2. Name Required: We only index favorites in the default location in B2. We'll find favorites in non-default locations after B2. Ted: Thanks for making me smile.

  • Anonymous
    September 11, 2008
    The problem I'm experiencing is that results should pop up instantly.  Mine are taking 4-5 seconds to display.  This is fine for advanced searching, but I should at least see URL autocomplete matches immediately.  When I type "recon", it should show www.reconditionedsales.com immediately, and then continue to work on other possible matches.   John

  • Anonymous
    September 11, 2008
    One of the things I hated about Windows Search (in XP), which always resulted in me uninstalling it, was that it would hog the system at start up, but then I read online about configuring Windows Seacrch to only index certain folders (I set it to only index My Documents, Favorites and History) so that the indexing time would be shorter and Windows Search would not index files that change every time the machine boots. I just reinstalled Windows Search and I am very impressed at how matches are quickly displayed in the Smart Address Bar as I type. Mucho props to y'all (IE and WS team) for the great way Internet Explorer and Windows Search work together.

  • Anonymous
    September 11, 2008
    As I understand it, IE8 is a front end to Windows Search. Does it mean IE8 can use the Windows Search Advanced Query Syntax to manually restrict the scope of the search (like limiting to RSS feeds only or limiting history searches to past 2 days or such). Are IE items searchable from the Windows Search Deskbar/Windows Explorer-mounted search boxes? Is the AQS syntax usable from there? If so what are the properties that are available from AQS?

  • Anonymous
    September 11, 2008
    Chris: Thanks for the info. Prior to this article about WS combined with the Address bar, I had auto complete disabled. I enabled auto complete and only fav's and history items appeared. Then I rebuilt the index and now its working. You might be right that the sys was still indexing. When I opted to rebuild it, I let the sys idle until it completed.

  • Anonymous
    September 11, 2008
    I still don't understand why you didn't just include the Windows Search functionality with IE8. Wouldn't that have respected their work? Cos frankly, without it the IE8 smart bar is pretty dumb.

  • Anonymous
    September 11, 2008
    @David Naylor -- if the entire Windows Search were bundled with IE (for XP), you'd probably see someone (coughGoogle) complaining of antitrust bundling violations.  "MS is trying to illegally use their IE monopoly to increase the marketshare of their desktop search product and hurt competition (e.g. Google desktop search)." Plus, I believe I remember reading numerous complaints (non-antitrust-related) from people about how Windows Search was bundled with Live Photo Gallery. The other option is to clone all of Windows Search into an IE-only copy... that would be pretty silly though.

  • Anonymous
    September 11, 2008
    "The other option is to clone all of Windows Search into an IE-only copy... that would be pretty silly though." No, it wouldn't. It would have made perfect sense actually.

  • Anonymous
    September 11, 2008
    David: so that you can index the same data twice? ...

  • Anonymous
    September 11, 2008
    Very well done. Does address bar work like search engine for internet sites?

  • Anonymous
    September 11, 2008
    @Sterling: Not to sound like a Vista fanboy, but Vista's IO priority levels make it feel even more responsive than XP with respect to the search indexer. @everyone: Disclaimer: Whether Vista is more responsive than XP on the whole is a separate topic, and is not the objective of my comment :)

  • Anonymous
    September 11, 2008
    The comment has been removed

  • Anonymous
    September 11, 2008
    Great job IE team. Windows Search 4 is currently the best desktop search on the market. Beats Copernic and Google. But you should highlight this when IE8 RTMs. Something like "Works better with Windows Search". Otherwise people won't know.

  • Anonymous
    September 12, 2008
    The comment has been removed

  • Anonymous
    September 12, 2008
    @Phylyp: I hear ya! I would switch to Vista if the current machine (and, yes, OS (XP), wasn't working well. I'm afraid the money tree I planted out back hasn't sprung any leaves yet ;-)

  • Anonymous
    September 12, 2008
    I still can imagine how the mart address bar will be...But I think it's important to make it really user friendly because for common user to get adapted with something new is not easy. Especially if they use search tool oftenly.

  • Anonymous
    September 15, 2008
    Nice post. A couple of quick questions:

  1. Do you search the content of RSS feeds, or just the titles? My experiments show it's just the titles...
  2. How do you stop your data appearing in the shell search results? Cheers! Matt
  • Anonymous
    March 16, 2009
        스마트 주소 표시줄에 관한 이전글 에서 말한 대로, Internet Explorer 8 의 스마트 주소 표시줄은 Windows Search 가 설치된 환경에서

  • Anonymous
    June 12, 2009
    During the IE8 beta periods, we unveiled a bunch of exciting new changes to the address bar. Throughout