Microsoft KB Archive/322896

= How To Prevent Scanning Specific File Types in Index Server =

Article ID: 322896

Article Last Modified on 7/2/2004

-

APPLIES TO


 * Microsoft Index Server 2.0

-



This article was previously published under Q322896



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SUMMARY
This article explains how to exclude a particular file type from being scanned and indexed, which can increase indexing performance by reducing the number of files that Index Server has to evaluate.



MORE INFORMATION
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

Index Server has to scan each file in a catalog even though the file may not be ultimately filtered. This can cause performance problems in some environments where a number of files exist that do not have to be scanned, but must remain in the catalog directory.

To exclude certain file extensions from being scanned on a per catalog basis. Note that the catalog must be rebuilt, follow these steps:  Start Regedit.exe. Select the following key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\ContentIndex\Catalogs\YOURCATALOG\Scopes

  Add the following in the Scopes section: Name: *.tif Data Type: REG_SZ Data: ,,4  Stop Indexing Service, and then delete the contents of the Catalog.wci directory for your catalog. Restart Indexing Service and let the catalog build completely.</ol>

<div class="references_section">