전문 관리 > Windchill 환경 구성 > Windchill Search Administration > Index Search Administration > Indexing File Content > Disable Content Indexing of Files
  
Disable Content Indexing of Files
You can control which files are indexed by MIME type and file extension:
wt.index.filterFileTypes
Use this property to disable content indexing by file extension.
For more information, see Windchill Search Properties.
* 
This property is enabled and disabled using the wt.index.checkDocumentTypes property.
DataFormatUtil
Use the DataFormatUtil command line tool to disable indexing by MIME type.
To disable indexing for a MIME type, set the indexable property to false.
For more information, see Specify MIME Types for Content Indexing.
The configurations set in wt.index.filterFileTypes property takes precedence over the configuration in the wt.content.DataFormatUtil property. During the process of content indexing, the system first checks whether a file extension is mentioned in the wt.index.filterFileTypes property. If yes, the system does not index the content with that file extension and skips checking wt.content.DataFormatUtil property. If the file extension is not listed in wt.index.filterFileType property, the system checks for the format type in wt.content.DataFormatUtil property and executes the process accordingly.
* 
Excluding a file type from content indexing does not affect whether the associated Windchill object is indexed.
Example Scenario
The Microsoft Visio MIME type is indexed by default. This MIME type includes three extensions: VSD, VSS, and VST.
In this example, you do not want to index VST files (Visio templates).
You have several options:
Use DataFormatUtil to disable indexing for the Microsoft Visio MIME type (application/visio).
This solution is not acceptable because it also disables indexing for VSD and VSS files.
Use DataFormatUtil to remove the VST extension from the Microsoft Visio MIME type.
This solution is acceptable but not ideal.
When a user uploads a VST file, it is treated as an unknown file type.
Use DataFormatUtil to remove the VST extension from the Microsoft Visio MIME type.
Create a separate “Microsoft Visio Templates” MIME entry with indexing disabled.
This solution is acceptable.
Duplicate MIME types are allowed under different format names.
Use the wt.index.filterFileTypes property.
This solution is acceptable.
Update wt.properties with the following:
wt.index.checkDocumentTypes=true
wt.index.filterFileTypes=VST