Windows 7 / Getting Started

Modifying IFilter Behavior

When the indexer is crawling the file system, each IFilter has three options from which to choose for a file that has one of the file extensions associated with the IFilter:

  • Index both the contents of the file and the file's properties
  • Index only the properties of the file
  • Do not index files of this type

Note The indexer will always try to index properties from a property handler (IPropertyStore) shell implementation. IFilter properties are overridden if there is a property handler. IFilter properties will override property handler properties for the property store. However, the system index will contain properties from both the property handlers and the IFilters.

To modify how a particular file type (extension) is handled during indexing by its associated IFilter, follow these steps:

  1. Open Indexing Options in Control Panel.
  2. Click Advanced and respond to the UAC prompt to open the Advanced Options properties dialog box.
  3. Click the File Types tab and select or clear the check box for the file extension depending on whether you want to modify that particular file type (See Figure below).
Configuring how file extensions are handled by their associated IFilters

Note that by default, files that have no file extension have only their properties indexed, not their contents. Beginning with Windows 7, however, you can change this behavior by performing the following steps:

  1. In Control Panel, open Indexing Options and click Advanced.
  2. Select the File Types tab, type a period (.) in the Add New Extension To List text box, and click Add to associate files that have no extension with the File Properties filter.
  3. Select Index Properties And File Contents to associate files with no extension with the Plain Text filter.

Important Because the Plain Text filter does not differentiate between binary and plain text files, you must be aware of the impact of making the changes described previously. Specifically, making this change may result in binary files being indexed, which will send useless information to the indexer.

[Previous] [Contents] [Next]

In this tutorial:

  1. Managing Search
  2. Search and Indexing Enhancements
  3. Search in Windows XP
  4. Search in Windows Vista
  5. Search in Windows 7
  6. Understanding the Windows Search Versions
  7. Search Versions Included in Windows 7 and Windows Vista
  8. Search Versions Included in Windows Server 2008
  9. Search Versions Available for Earlier Versions of Windows
  10. How Windows Search Works
  11. Understanding Search Engine Terminology
  12. Windows Search Engine Processes
  13. Enabling the Indexing Service
  14. Windows Search Engine Architecture
  15. Understanding the Catalog
  16. Default System Exclusion Rules
  17. Understanding the FANCI Attribute
  18. Default Indexing Scopes
  19. Initial Configuration
  20. Understanding the Indexing Process
  21. Modifying IFilter Behavior
  22. How Indexing Works
  23. Rebuilding the index
  24. Viewing Indexing Progress
  25. Understanding Remote Search
  26. Managing Indexin
  27. Configuring the Index
  28. Configuring the Index Location Using Group Policy
  29. Configuring Indexing Scopes and Exclusions Using Group Policy
  30. Configuring Offline Files Indexing
  31. Configuring Indexing of Encrypted Files
  32. Configuring Indexing of Encrypted Files Using Control Panel
  33. Configuring Indexing of Similar Words
  34. Configuring Indexing of Text in TIFF Image Documents
  35. Other Index Policy Settings
  36. Using Search
  37. Configuring Search Using Folder Options
  38. Configuring What to Search
  39. Configuring How To Search
  40. Using Start Menu Search
  41. Searching Libraries
  42. Advanced Query Syntax
  43. Using Federated Search
  44. Deploying Search Connectors
  45. Troubleshooting Search and Indexing Using the Built-in Troubleshooter