Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 50 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
50
Dung lượng
2,2 MB
Nội dung
Managing Indexing CHAPTER 19
853
FIGURE 19-4 Modifying the locations that are indexed
For example, to index the entire system volume, select the check box for this volume
(usually C). This adds the system drive to the list of start addresses for the indexer, with
the following default exclusions: ProgramData, Data, AppData, Windows, and CSC.
You can override these exclusions by making hidden and system files visible in Windows
Explorer and then clicking Show All Locations (as shown in Figure 19-4), expanding the sys-
tem volume in the folder tree, and selecting each excluded folder. This is not recommended,
however, because adding program and operating system files to the index can slow search
queries and degrade the search experience for users. In addition, if the FANCI bit is set on a
directory, the directory will appear dimmed, and when you point to it, additional info will be
displayed on how to index the contents of that directory (see Figure 19-5).
Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.
CHAPTER 19 Managing Search
854
FIGURE 19-5 Indexing a hidden system folder
Configuring Indexing Scopes and Exclusions Using Group Policy
To specify locations to be indexed by using Group Policy, enable the following policy setting
for targeted computers:
Computer Configuration\Policies\Administrative Templates\Windows Components\Search
\Default Indexed Paths
Then configure this policy by specifying the local file system paths for the volumes and
directories that you want to include as indexed scopes on the targeted computers.
To specify locations to be excluded from indexing by using Group Policy, enable the
following policy setting for targeted computers:
Computer Configuration\Policies\Administrative Templates\Windows Components\Search
\Default Excluded Paths
Then configure this policy by specifying the local file system paths for the volumes and
directories that you want to exclude from being indexed on the targeted computers.
Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.
Managing Indexing CHAPTER 19
855
note Users whose computers are targeted by these two policy settings can override
them manually using Indexing Options in Control Panel. For example, a location that is
indexed because of the first Group Policy setting can be excluded manually from being
indexed by the user. Similarly, a location that is excluded from being indexed because of
the second Group Policy setting can be included for indexing manually by the user.
Configuring Offline Files Indexing
Indexing of offline content in the CSC store is enabled by default, but you can disable it by
using Indexing Options in Control Panel or by using Group Policy. Only the entire per-user
offline cache can be indexed—individual files within the cache cannot be included or
excluded from being indexed.
Configuring Offline Files Indexing Using Control Panel
To disable indexing of the Offline Files cache using Indexing Options in Control Panel, follow
these steps:
1. Click Modify to open the Indexed Locations dialog box.
2. Clear the check box labeled Offline Files.
The preceding procedure disables indexing of offline files for the current user. To disable
indexing of offline files for a different user of the computer using Indexing Options in Control
Panel, follow these steps:
1. Click Modify to open the Indexed Locations dialog box.
2. Click Show All Locations and respond to the UAC prompt.
3. Clear the check box for the particular user’s Offline Files cache.
note To disable offline files indexing for all users of a computer, you must disable it
using Group Policy, as explained in the next section.
Configuring Offline Files Indexing Using Group Policy
Using Group Policy, you can disable indexing of offline files only for all users of the computer,
not for a particular user. To disable indexing of offline files for all users, enable the following
policy setting for targeted computers:
Computer Configuration\Policies\Administrative Templates\Windows Components\Search
\Prevent Indexing Files In Offline Files Cache
Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.
CHAPTER 19 Managing Search
856
Configuring Indexing of Encrypted Files
Indexing files encrypted using EFS are disabled by default in Windows 7, but you can enable
them by using Indexing Options in Control Panel or by using Group Policy. Beginning with
Windows 7, indexing the contents of encrypted files is supported, which makes searching en-
crypted content as easy as searching unencrypted content. (In Windows 7, the non-encrypted
properties of a file are always indexed, regardless of whether the file itself is encrypted.) The
only limitation is that users can search only encrypted content stored on the local file systems
of their computers, not encrypted content stored on network shares. Prior to Windows Vista
SP2, only encrypted files that were made available for offline use could be indexed.
iMpoRtAnt If you decide to enable indexing of encrypted content on a computer run-
ning Windows 7, Microsoft recommends that you use Windows BitLocker Drive Encryption
to encrypt the disk volume on which the index resides on your computer. Microsoft does
not recommend using EFS to encrypt the index.
Configuring Indexing of Encrypted Files Using Control Panel
To enable indexing of encrypted files using Indexing Options in Control Panel, follow these
steps:
1. Click Advanced to open the Advanced Options properties dialog box.
2. Select the Index Encrypted Files check box.
3. If the disk volume where the index resides is not yet protected by Windows BitLocker,
the following warning dialog box is displayed:
4. Click Continue to enable the indexing of encrypted content on your computer.
5. If you use a smart card to access encrypted files, a balloon notification appears above
the notification area, indicating that EFS needs your smart card personal identification
number (PIN). Clicking this notification opens a Windows Security dialog box in which
you can type the PIN for your smart card.
Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.
Managing Indexing CHAPTER 19
857
iMpoRtAnt Selecting or clearing the Index Encrypted Files check box rebuilds the index
immediately. Depending on how many files you have, this can take up to several hours to
complete, and searches might be incomplete while the index is being rebuilt.
Configuring Indexing of Encrypted Files Using Group Policy
To enable indexing of encrypted files using Group Policy, enable the following policy setting
for targeted computers:
Computer Configuration\Policies\Administrative Templates\Windows Components\Search
\Allow Indexing Of Encrypted Files
If you enable this policy setting, indexing disregards encryption flags (although access
restrictions still apply) and attempts to decrypt and index the content. If you disable this set-
ting, the Windows Search service (including third-party features) should not index encrypted
items, such as files or e-mails, to avoid indexing encrypted stores.
Configuring Indexing of Similar Words
By default, words that differ only in diacritics (accents) are considered the same word by the
indexer (at least for English and some other languages). If you want such words to be treated
as different words by the indexer, you can use Indexing Options in Control Panel or you can
use Group Policy. Note that changing this policy results in a full rebuild of the index because
it changes the internal structure of the content index.
note The default setting for how diacritics are handled varies by language. For example,
the default is Off in English, but it is On in several other languages.
Configuring Indexing of Similar Words Using Control Panel
To cause words that differ only in diacritics to be indexed as different words using Indexing
Options in Control Panel, follow these steps:
1. Click Advanced and respond to the UAC prompt to open the Advanced Options
properties dialog box.
2. Select the Treat Similar Words With Diacritics As Different Words check box.
Configuring Indexing of Similar Words Using Group Policy
To cause words that differ only in diacritics to be indexed as different words using Group
Policy, enable the following policy setting for targeted computers:
Computer Configuration\Policies\Administrative Templates\Windows Components\Search
\Allow Using Diacritics
Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.
CHAPTER 19 Managing Search
858
Configuring Indexing of Text in TIFF Image Documents
New in Windows7 is the ability for users to search for text within TIFF image documents that
are compliant with the TIFF 6.0 specification. This capability uses Optical Character Recognition
(OCR) processing and is not enabled by default.
iMpoRtAnt Enabling the indexing of text in TIFF image documents can result in signifi-
cant processing overhead.
Configuring Indexing of Text in TIFF Image Documents Using Control
Panel
To enable the indexing of text in TIFF image documents manually on a computer running
Windows 7, perform the following steps:
1. Open Control Panel, click Programs, and then click Turn Windows Features On Or Off.
2. Select the Windows TIFF IFilter check box and click OK.
3. Rebuild the index if you have existing TIFF image documents in the indexing scope on
your computer.
note If your TIFF image documents are stored on a computer running Windows Server
2008 R2, you can use the Add Features Wizard to add the Windows TIFF IFilter feature so
you can enable the indexing of text in TIFF image documents stored on the server.
Configuring Indexing of Text in TIFF Image Documents Using Group
Policy
You can use Group Policy to configure how indexing text in TIFF image documents takes
place. The applicable policy settings are found under:
Computer Configuration\Policies\Administrative Templates\Windows Components\Search
\OCR\
The policy settings for configuring the indexing of text in TIFF image documents are as
follows:
n
Force TIFF IFilter To Perform OCR For Every Page In A TIFF Document Lets users
turn off the performance optimization so that the TIFF IFilter performs OCR for every
page in a TIFF document, which allows indexing of all recognized text. By default,
the TIFF IFilter optimizes its performance by skipping OCR for document pages that
have non-text content (such as photos). In some cases, pages that contain text can be
misclassified as non-text pages. If this is the case, the text in these pages will not be
indexed.
Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.
Managing Indexing CHAPTER 19
859
If you enable this setting, TIFF IFilter will perform OCR for every page in a TIFF docu-
ment to index all recognized text. Therefore, the OCR process will be slower. This
decrease in performance can be significant if there are a great deal of non-text pages
in TIFF documents on the system.
If you disable or do not configure this setting, TIFF IFilter optimizes its performance by
skipping non-text content during the OCR process.
n
Select OCR Languages From A Code Page This policy setting allows the selection
of OCR languages that belong to one of the supported code pages. If you enable this
policy setting, the selected OCR languages are used in OCR processing during the
indexing of TIFF files. The default system language is ignored unless it is among the
selected OCR languages. If you disable or do not configure this policy setting, only the
default system language is used.
All selected OCR languages must belong to the same code page. If you select languages
from more than one code page, the entire OCR language selection is ignored and only
the default system language is used.
Re-indexing is not initiated when you enable this policy and select OCR languages. This
policy setting applies only to the indexing of new files unless re-indexing is initiated
manually.
Other Index Policy Settings
Table 19-5 lists some additional policy settings for configuring indexing in Windows7. All the
policy settings listed in this table are found in the following location:
Computer Configuration\Policies\Administrative Templates\Windows Components\Search
For detailed information concerning all policy settings for indexing, see the Windows
Server 2008 R2 and Windows7 Group Policy Settings Reference, which can be obtained from
the Microsoft Download Center at http://www.microsoft.com/downloads/.
Policy settings for configuring the user search experience for Windows Explorer in
Windows 7 are described in the section titled “Using Search” later in this chapter.
TABLE 19-5 Additional Group Policy Settings for Windows Search
POLICY DESCRIPTION
Prevent Indexing E-mail
Attachments
Enabling this policy setting prevents the indexing of the content
of e-mail attachments.
Prevent Indexing
Microsoft Office Outlook
Enabling this policy setting prevents the indexing of all Outlook
items, including messages, contacts, calendar items, notes, and
so on.
Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.
CHAPTER 19 Managing Search
860
POLICY DESCRIPTION
Prevent Indexing Public
Folders
Enabling this policy setting prevents the indexing of Exchange
Server public folders in Outlook 2003 or later versions when the
user is running in cached mode and the Download Public Folder
Favorites option is turned on. When this policy setting is set to
Disabled or Not Configured, Outlook users have the option of
indexing cached public folders.
Prevent Displaying
Advanced Indexing
Options In The Control
Panel
Enabling this policy setting will prevent users of targeted
computers from being able to open Indexing Options in Control
Panel to locally configure search and indexing settings on their
computers.
diReCt FRoM tHe SoURCe
Indexing and Libraries—Hard Disk Drives vs. Removable Storage
Anton Kucer, Senior Program Manager
Windows Experience Find & Organize Team
I
n Windows 7, hard disk drives appear in the Hard Disk Drives location in Windows
Explorer. Typical devices in this category include internal and external hard drives.
Examples of external hard drives are drives connected via a USB, FireWire, or ESATA
cable to an external port on a PC. All drives that appear under Hard Disk Drives and
are formatted as NTFS, FAT, FAT32, or exFAT can be included in a library and added
to the indexer.
By contrast, devices with removable storage appear in the Devices With Removable
Storage category in Windows Explorer. Typical storage devices in this category
include DVD drives, CD drives, flash card readers, and USB flash drives. This category
is intended to represent devices that have media that can be removed. However, not
all devices accurately report supporting removable media. As a result, it is common
to see devices in this category that do not have removable media, such as USB flash
drives or portable media players such as a Zune or an iPod. Drives or media that
appear under Devices With Removable Storage cannot be added to a library or
added to the indexer.
Understanding Drive Letter Assignment Rules
To simplify the description of how drive letter assignment rules work, only the
following devices are considered: devices that can be externally connected to a
PC, require only one drive letter, and are not floppy disk, CD, or DVD drives. For
a complete description of drive letter assignments, see the following:
http://support.microsoft.com/kb/234048.
Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.
Managing Indexing CHAPTER 19
861
When a device that will be assigned a drive letter is attached to Windows for the
first time, it is assigned the next available letter (that is, one that is not currently
being used for an attached device or resource) starting with C. If the drive is
removed and then reattached, Windows assigns the same drive letter unless that
drive letter has been recycled for use with a different device or resource. If the drive
letter has been recycled, the device once again is assigned the next available drive
letter starting with C.
For example, let‘s say that before any external devices are attached, the computer
has two hard disk drives (C and D) and a DVD/CD-RW drive (G). When an external
drive is plugged in for the first time, the lowest available drive letter (E) is assigned
to External Drive 1. If External Drive 1 is unplugged and External Drive 2 is plugged
in, drive letter E is recycled and assigned to External Drive 2. If External drive 1 is
then plugged back in again, it is assigned a new drive letter, F.
As long as drive letters are not recycled (for example, due to a new device being
plugged in while one of the other devices is unplugged), both external drives can be
removed and added in any order and they maintain their current drive letters. For
example, if both external drives are removed and then External Drive 1 is plugged
back in, it is still assigned the drive letter F.
Drive Letter Assignment and Its Impact on Indexing
The indexer does not support tracking indexed locations via a unique ID. Indexed
locations are just tracked via their Uniform Resource Identifier (for example, file:///
F:\Music). The indexer has the following limitations when it is indexing a location on
a drive and the drive letter changes:
n
When a drive letter changes, the indexer does not have the ability to dynami-
cally update the path information for indexed items. For example, if the
location E:\Music from External Drive 1 is added to the indexer and External
Drive 1 is later assigned the drive letter F, the indexer does not recognize
F:\Music as a location that should be indexed. Instead, it maintains the old
index scope, E:\Music.
n
When the drive letter is assigned to a new drive, the indexer is able to detect
that content has changed. If the new drive is supported, it removes all indexed
content from the old drive and attempts to index the new drive.
Drive Letter Assignment and Its Impact on Libraries
Libraries also do not support tracking locations that have been added to them via
a unique ID. However, they do store additional information about locations, such as
creation time, and they have link tracking functionality that can use this information
to resolve locations in many cases when drive letters have changed, as follows:
Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.
CHAPTER 19 Managing Search
862
n
Link tracking can resolve locations in cases in which folders are added to a
library and drive letters have changed as a result. When this occurs, the
library is updated to point to the new location (for example, E:\Music gets
updated to F:\Music). Additionally, the library notifies the indexer to remove
the old location (in this case, E:\Music) and add the new location (F:\Music).
n
Libraries do not resolve locations when drive letters change after the root of a
drive has been added to a library.
Behavior When a Drive Is Not Available
When an external drive is no longer available (for example, it is unplugged from the
computer) after a location from the drive has been added to a library and the in-
dexer and the drive letter have not been recycled, the indexer trims any results from
that location for any queries that are sent to it. The indexing control panel shows
the location as being indexed but identifies it as unavailable.
Best Practices for Using External Hard Drives with Libraries
Best practices when using external hard drives with libraries include:
n
Attaching all drives that you will use with the computer at the same time
prevents the recycling of drive letters.
n
Do not add a device that is assigned A or B drive letters to a library. The
indexing of these drive letters is not supported and prevents the addition of
these locations to a library. Note that Windows7 will never automatically
assign drive letter A or B to an external drive. You would need to have
manually forced assignment of these drive letters (for example, via the Disk
Management console).
Mitigating Drive Letter Recycling
The resolutions given previously, in which you need to manually remove a location
and then add a location back to resolve issues caused by drive letter recycling, need
to be done only once in most cases. However, after the root of a drive is added to a
library, there can be situations in which its drive letter is continually recycled.
For example, suppose that a user has two external hard drives that are never
attached to the computer at the same time. One hard drive (External Drive 1) is
attached to the laptop only when the user is at work, and the other hard drive
(External Drive 2) is attached to the laptop only when the user goes home. When
External Drive 1 is plugged in, it is assigned drive letter E; and whenever External
Drive 2 is plugged in, it is also assigned drive letter E. So if E\ from External Drive 1
is added to a library, every time External Drive 2 is plugged in, it shows up in the
library instead. Each time this occurs, the indexer ends up re-indexing the entire
drive.
Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.
[...]... the Windows7 Federated Search Provider Implementer’s Guide, which can be downloaded from http://www.microsoft.com/downloads /details.aspx?FamilyID=c709a596-a9e9-49e7-bcd4-3196649293 17& DisplayLang=en Using Search Chapter 19 Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark 879 Troubleshooting Search and Indexing Using the Built-in Troubleshooter New in Windows7 is the Windows. .. searching in Windows 7, see the Windows Search, Browse, and Organize Administrator‘s Guide found on TechNet at http://technet.microsoft.com/en-us/library/dd744681.aspx Using Search Chapter 19 Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark 873 How It Works Advanced Query Syntax A QS is a syntax used for creating complex search queries using the Search feature of Windows 7 AQS... running Windows 7, press the Windows Logo key+F and type your search string Other methods for doing this include pressing Ctrl+F from any Windows Explorer window and clicking Start, followed by pressing F3 The re-scope links displayed at the bottom of the search results in Windows Explorer can be customized by administrators using Group Policy The following Group Policy settings are new in Windows 7 and... dialog box shown in Figure 19- 17 Figure 19- 17 Adding a search connector for searching MSDN Clicking Add in this dialog box installs the MSDN search connector (MSDN.searchConnector-ms) in the Favorites area of the navigation pane of Windows Explorer to allow the easy searching of content on MSDN (see Figure 19-18) Figure 19-18 Searching MSDN for information about Windows 7 878 Chapter 19 Managing Search... re-scope links displayed in Windows Explorer: n Pin Internet Search Sites To The “Search Again” Links And The Start Menu Allows users to resend searches to customized Internet or intranet sites from Windows Explorer and the Start menu This policy setting is found in the following location: User Configuration\Policies\Administrative Templates \Windows Components \Windows Explorer 872 Chapter 19 Managing... Configuration\Policies\Administrative Templates \Windows Components \Windows Explorer n Turn Off Display Of Recent Search Entries In The Windows Explorer Search Box Prevents the display of recent searches and prevents search strings from persisting in the user portion of the registry This policy setting is found in the following location: User Configuration\Policies\Administrative Templates \Windows Components \Windows Explorer n... Configuration\Policies\Administrative Templates \Windows Components \Windows Explorer n Turn Off Numerical Sorting In Windows Explorer Causes Windows Explorer to use logical file name sorting, as in previous versions of Windows This policy setting is found in the following location: User Configuration\Policies\Administrative Templates \Windows Components \Windows Explorer More Info For more information concerning libraries and how to... causes Windows to search within subfolders when you search from any Windows Explorer window Clearing this option will cause Windows to search only within the selected folder n Find Partial Matches This option is enabled by default and causes Windows to display results as you type your search For example, if you type fi in the Search box on the Start menu, one of the results returned will be Windows. .. significantly in Windows 7 compared with how it was implemented in Windows Vista These numerous enhancements now make Start Menu Search a universal entry point that users can use to find programs, settings, and files quickly and easily For example, in Windows Vista, the results from Start Menu Search were hard-coded into four groups: Programs, Favorites And History, Communications, and Files Beginning with Windows. .. a search, open Windows Explorer, select the C: \Windows directory in the navigation pane, and type log in the Search box at the upper-right part of the window (see Figure 19 -7) Note that the %Windir% folder is not indexed by default, so searching this folder is slow because it uses the grep method instead of the Windows Search service (This method was used by the Search Assistant in Windows XP.) On . default in Windows 7, but you can enable
them by using Indexing Options in Control Panel or by using Group Policy. Beginning with
Windows 7, indexing. running
Windows 7, perform the following steps:
1. Open Control Panel, click Programs, and then click Turn Windows Features On Or Off.
2. Select the Windows