Enabling Db2 Text Search for rich text document support

Rich text support can be enabled on properly configured Db2 Text Search servers.

Before you begin

To enable rich text document support for Db2 Text Search servers you must, as the instance owner, run the richtextTool utility with the enable option.

Before enabling rich text document support, each Db2 Text Search server must be prepared for rich text document support. For more information, see Installing Db2 Accessories Suite for Db2 Text Search

DB2PATH represents the Db2 database server installation directory. On Linux/Unix platforms, it is commonly located under /opt/ibm/db2/<Db2 version>. On Windows, it is commonly located under C:\Program Files\IBM\SQLLIB\.


Restrictions

In order to run richtextTool enable, you must be logged on as the instance owner.

Procedure

  1. Log on as the instance owner.
  2. Stop the Db2 Text Search instance service. To stop the service, run db2ts STOP FOR TEXT.
  3. Run the richtextTool utility from a Db2 command window to enable support.
    • For Linux® and UNIX operating systems:
      $INSTHOME/sqllib/db2tss/bin/richtextTool enable DB2PATH
      
      where INSTHOME is the instance home directory and DB2PATH is the location of the latest Db2 copy.
    • For Windows operating systems:
      DB2PATH\db2tss\bin\richtextTool.bat enable DB2PATH
      
      where DB2PATH is the location where you installed the latest Db2 copy.
  4. Start the Db2 Text Search instance service. To start the service, run db2ts START FOR TEXT.

Results

You have enabled rich text support for a Db2 Text Search server.