How to register Microsoft Filter Pack IFilters with SQL Server

Extended support for SQL Server 2005 ended on April 12, 2016. If you are still running SQL Server 2005, you will no longer receive security updates and technical support. We recommend upgrading to SQL Server 2014 and Azure SQL Database to achieve breakthrough performance, maintain security and compliance, and optimize your data platform infrastructure. Learn more about the options for upgrading from SQL Server 2005 to a supported version.

Summary

This article describes how to register Microsoft Filter Pack IFilters with Microsoft SQL Server. After you register the IFilters, you can enable additional file types for SQL Server to index and perform full-text search. These additional file types include the file types that are supported by the 2007 Microsoft Office system and the 2010 Microsoft Office system.

More Information

To register Filter Pack IFilters, follow these steps:
  1. To download and install Microsoft Filter Packs, visit the following Microsoft websites:

    Microsoft Office 2007 Filter Packs

    Microsoft Office 2010 Filter Packs

    Note The architecture of the Filter Pack must match the operating system architecture. For example, you must install the x86 version of the Filter Pack for x86-based operating systems.
  2. Start SQL Server Management Studio.
  3. In SQL Server Management Studio, select the instance in which you want to enable IFilters, and then run the following command in that instance:
    sp_fulltext_service 'load_os_resources', 1
  4. If you are running SQL Server 2008 or later, go to step 5. If you are running SQL Server 2005, stop and restart the msftesql service. To do this, follow these steps:
    1. At a command prompt, type the following command and then press Enter:
      net stop msftesql
      Note To stop the msftesql service for a specific instance, run the following command:
      net stop msftesql$ instance_name
    2. At a command prompt, type the following command and then press Enter:
      net start msftesql
      Note To start the msftesql service for a specific instance, run the following command:
      net start msftesql$ instance _name
  5. Restart the SQL Server service, or do the following to load the new iFilters:

     sp_fulltext_service 'Update_languages'  go  sp_fulltext_service 'Restart_all_fdhosts'  go 
  6. To verify the iFilters are now available in SQL Server, run the following command:
    Select * from sys.fulltext_document_types 
The following file types are supported by the Office 2007 Filter Pack:
.docx.docm.pptx.pptm.xlsx
.xlsm.xlsb.zip.one.vdx
.vsd.vss.vst.vsx.vtx
The following file types are supported by the Office 2010 Filter Pack:
.docx.docm.dotx.pptx.pptm.xlsx
.xlsm.zip.html.doc.xls.ppt
.dot.vss.vsd.vst.vdx.vsx
.vtx.vdw.one.odt.odp.ods
.msg.pub

References

For more information about how to use SQL Server Management Studio, see the following Microsoft Developer Network (MSDN) website:
คุณสมบัติ

รหัสบทความ: 945934 - การตรวจสอบครั้งสุดท้าย: 14 ธ.ค. 2016 - ฉบับแก้ไข: 1

คำติชม