Customizing Search

You’ve just read about how Search works fresh out of the box. But you can tailor its behavior, either for security reasons or to customize it to the kinds of work you do.

Unfortunately for you, Microsoft has stashed the various controls that govern searching into three different places. Here they are, one area at a time.

The first source is in the Folder Options→Search dialog box. To open it, find the View tab on the Ribbon in any Explorer window; click Options. In the resulting dialog box, click the Search tab. You wind up at the dialog box shown in Figure 7-3.

The dialog box shown in Figure 7-2 is the master control over the search index, the massive, invisible, constantly updated database file that tracks your PC’s files and what’s in them. As described earlier, you can use this dialog box to add or remove folders from what Windows is tracking.

But there are a few more handy options here, too, lurking behind the Advanced Indexing Options button.

To find this third area of search options, start in the Indexing Options dialog box (Control Panel) and click Advanced. Authenticate if necessary. Now you’re ready to perform these powerful additional tweaks.

On the first tab, here’s the kind of fun you can have:

Windows ordinarily searches for just about every kind of useful file: audio files, program files, text and graphics files, and so on. It doesn’t bother peering inside things like Windows operating system files and applications, because what’s inside them is programming code with little relevance to most people’s work. Omitting these files from the index keeps the index smaller and the searches fast.

But what if you routinely traffic in very rare Venezuelan Beekeeping Interchange Format (VBIF) documents—a file type your copy of Windows has never met before? You won’t be able to search for their contents unless you specifically teach Windows about them.

In the Advanced Options dialog box, click the File Types tab. Type the filename extension (such as VBIF) into the text box at the lower left. Click Add and then OK. From now on, Windows will index this new file type.

On the other hand, if you find that Windows uses up valuable search-results menu space listing, say, Web bookmarks—stuff you don’t need to find very often—you can tell it not to bother. Now the results list won’t fill up with files you don’t care about.

Turn the checkboxes on or off to make Windows start or stop indexing them.

Using the “How should this file be indexed” options at the bottom of the box, you can also make Windows stop searching these files’ contents—the text within them—for better speed and a smaller index.