How to: Alter the List of Registered Word Breakers and Filters (Transact-SQL)
After any word breakers or filters are installed or uninstalled on a system, the changes do not automatically take effect on server instances. This topic describes how to view the currently registered word breaker or filters and how to register newly installed word breakers and filters on an instance of SQL Server 2008.
To view a list of languages whose word breakers are currently registered
To view a list of the filters that are currently registered
Use the sp_help_fulltext_system_components system stored procedure, as follows:
EXEC sp_help_fulltext_system_components 'filter';
To register newly installed word breakers and filters
Use the sp_fulltext_service system stored procedure to update the list of languages, as follows:
exec sp_fulltext_service 'update_languages';
To unregister uninstalled word breakers and filters
Use the sp_fulltext_service to update the list of languages, as follows:
exec sp_fulltext_service 'update_languages'
Use the sp_fulltext_service to restart the filter daemon host processes (fdhost.exe), as follows:
exec sp_fulltext_service 'restart_all_fdhosts';
To replace existing word breakers or filters when installing new ones
When preparing to install a DLL file that contains new word breakers or filters, verify that it has a different filename from any of the existing DLL files installed on your server instance.
Copy the new DLL file into the directory containing the standard SQL Server DLL files for the server instance. The default location is:
C:\Program Files\Microsoft SQL Server\MSSQL.instance_name\MSSQL\Binn
We highly recommend that you load only signed and verified components. Also, we recommend that you run the FDHOST Launcher (MSSQLFDLauncher) Service with the least possible privileges.
Install the new word breaker or filters.
To install licensed third-party word breakers
To install and load Microsoft Filter Pack IFilters
Use sp_fulltext_service to load newly installed word breakers and filters in the server instance, as follows:
EXEC sp_fulltext_service @action='load_os_resources', @value=1;
Use sp_fulltext_service to update the list of languages, as follows:
EXEC sp_fulltext_service 'update_languages';
Restart the filter daemon host processes (fdhost.exe), using sp_fulltext_service as follows:
EXEC sp_fulltext_service 'restart_all_fdhosts';