Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
programming4us
Windows 7

Configuring Search and Indexing Options (part 4) - Refining a Search in Windows Explorer

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
3/18/2011 10:07:51 PM

6. Refining a Search in Windows Explorer

Searching from a Windows Explorer folder yields an uncategorized list of items from the current location—typically a folder or a library. It's a great way to find something when you have a general idea of where it is saved and you want to filter out extraneous hits from inappropriate locations. For example, if you're looking for songs by a particular artist, just click the Music library in the navigation pane and then start typing the artist's name in the search box.

Inside Out: See all files in a folder and its subfolders

If you have opened Windows Explorer to a particular folder and you want to avoid the tedium of opening subfolders to view their contents, try using the wildcard character that's been around as long as Microsoft has been making operating systems. Entering an asterisk (*) in the search box immediately returns all files in the current folder and all its subfolders. Assuming the list is of manageable size, you can then group, filter, sort, or otherwise rearrange the items within it to find exactly what you're looking for.


Here again, the word wheel is your friend. Unless your fingers are as fleet as Rachmaninoff's, the odds are that any of his music you have will appear in the search results long before you get to the last syllable of his name (see Figure 7). (What's more, if you try to type the whole thing and make a mistake somewhere along the line, you're likely to wind up with nothing.)

Figure 7. Select a folder or library to narrow the search scope, and use search filters (below the box in the upper right corner) to refine your results further.


Unlike Windows Vista, there is no limit on the number of results that Windows 7 will return when you perform a search in a Windows Explorer folder (in one test of a well-used system, we searched for the word the and ended up with more than 75,000 items; a similar search for the even more common word a returned 145,000 items). Of course, scrolling through a results list containing thousands of items isn't likely to be all that helpful; instead, you probably want to refine your search.

The easiest way to narrow the results list is to use the Search Builder, a new feature in Windows 7. The Search Builder allows you to add search filters (which conveniently appear below the search box after you've typed a few characters) by pointing and clicking. In Figure 7, for example, four available search filters appear directly below the search box. Clicking any of the highlighted blue keywords here adds it to the search box and, where appropriate, calculates a list of options from which you can choose. Thus, if you click Artists you see a list of all artists available in the current location and can choose one. If your music collection includes dozens of renditions of "Somewhere Over the Rainbow," click Title and then enter the text rainbow. Then click Artists and use the drop-down list to see a filtered list containing only the names of artists who are associated with songs in your collection that contain that word.

Inside Out: Go wide to see more search filters

The number of search filter options that appears below the search box is constrained by the width of the search box. Thus, in Figure 7 it appears that only four search filters are available for the music library. In reality, Windows Search offers up to eight filters for music folders. To see the entire selection, drag the handle between the address bar and the search box to the left. When you click in the newly widened search box you'll see the full set, as shown here:




There's nothing magical about search filters. You could accomplish the same thing by mastering the advanced query syntax and then typing keywords and values manually into the search box; this option allows you to achieve the same results by simply pointing and clicking.

The exact selection of point-and-click search filters available in a particular library (or a folder within a library) depends on the template assigned to that folder. Table 2 lists the search filters you will see for each folder type, in order from left to right; if you don't see all available search filters, widen the search box.
Table 2. Available Search Filters by Folder Type
Folder TypeSearch Filters Available from the Search Box
DocumentsAuthors, Type, Date Modified, Size, Name, Folder Path, Tags, Title
MusicAlbum, Artists, Genre, Length, Folder Path, Year, Rating, Title
PicturesDate Taken, Tags, Type, Date Modified, Name, Size, Folder Path, Rating
VideosLength, Date Created, Type, Date Modified, Name, Folder Path, Tags, Rating
General ItemsKind, Date Modified, Type, Size, Name, Folder Path, Tags

Note that the search filters shown in Table 2 are available only for indexed searches. If you begin your search by opening a folder directly, rather than accessing that folder from a library, Windows will perform a grep search, and the only available search filters will be Date Modified and Size.

Inside Out: Reuse a search filter

If you've added a value to a search filter using its drop-down list, how do you choose a different value? The tedious way is to delete the text from the search box and then start over. The much faster way is to click the value that appears after the property name. Doing so displays the drop-down list again, allowing you to make a different selection.


If you use multiple search filters, the search engine assumes you want to apply all filters to the result set, effectively using the AND operator. Each filter you add thus has the effect of further narrowing the current results set. You can change this behavior by manually grouping properties with parentheses and using the AND, OR, and NOT operators explicitly. 

Inside Out: Search from a common dialog box

Like the search box in Windows Explorer, the search box in a common Open or Save As dialog box takes as its default scope the current folder and its subfolders. Searching from a dialog box might not sound all that nifty at first. After all, if you're trying to open a file and you don't know exactly where it is, you can always hunt for it from a Windows Explorer folder, and then double-click it when the Windows Search engine ferrets it out. But this technique can be quite useful if you're already in the dialog box and find yourself confronted with a superfluity of files. If you start from a library or a location within your homegroup, you can use the full array of search tricks, including search filters, to locate the exact file you're looking for.

Other -----------------
- Configuring Search and Indexing Options (part 3) - Basic Search Techniques & Searching from the Start Menu
- Configuring Search and Indexing Options (part 2) - Monitoring the Index, and Tuning Indexer Performance & Other Index Maintenance Tasks
- Using Advanced System Management Tools : Editing the Registry (part 3) - Using .Reg Files to Automate Registry Changes
- Using Advanced System Management Tools : Editing the Registry (part 2) - Backing Up Before You Edit & Browsing and Editing with Registry Editor
- Using Advanced System Management Tools : Editing the Registry (part 1)
- Using Advanced System Management Tools : Managing Services
- Using the Windows 7 Task Scheduler (part 2) - Creating a Task
- Using the Windows 7 Task Scheduler (part 1)
- Using Microsoft Management Console (part 2) - Creating Your Own MMC Consoles
- Using Microsoft Management Console (part 1)
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server