[This is preliminary documentation and is subject to change.]

Author: Halfvares Mats, Teknikhuset AB.

Published: 2008-10-13

Applies to:

Type: How to


More information

As a part of Content Studio database maintenance it sometimes is necessary to repopulate the fulltext index. This is easy to do using a scheduled SQL Agent job. The Content Studio installation program also offers the possibility to install a daily job for incremental population combined with a weekly job that makes a full population of the index. From SQL Management Studio you can easily change the schedule of these jobs according to your needs.
Unfortunately, SQL Express Edition does not offer this possibility so as an alternative you can use the command line tool to accomplish the same thing.

For each time you execute the command a new entry is added at the end of the repopulate.txt file, thus enabling you to keep records of the fulltext maintenance.

If you want to perform this task automatically according to a schedule you can set up a job in Windows Schedule Task manager. Remember to use a runtime account that has the needed privileges in Sql Server to perform the operation needed and that this account must have permission to write to the log file.

Note
The usaged of the cmd.exe program (located in the System32 directory) can be restricted to the user currently logged in (INTERACTIVE), Services and Administrators. By default this is true on Server 2003 but not on Vista/Server 2008 or XP.
If you use a dedicated, non local administrator account to run these jobs, make sure that this account has at least READ/EXECUTE permission on the cmd.exe file located in the System32 directory.

New in version 5.2

Starting with version 5.2 Content Studio now supports background fulltext index updating. This minimizes the need for the operations described in this article.