Updating dictionaries

You need to update dictionaries to define new stop words or update a list of existing stop words.

Procedure

To update dictionaries:

  1. Add or modify stop words in XML files.
    • For an integrated text search server:
      <DB2PATH>/sqllib/db2tss/config/dictionaries
    • For a stand-alone text search server:
      <ECMTS_HOME>/config/dictionaries
    If you want to add a custom stop word such as a product name, add the stop word to the XML files for each language in which you expect to receive queries.
  2. Stop the Db2® text search instance services on the database server.
  3. Run the stop word tool from the <TS_HOME>/bin directory on the text search server host to update stop word dictionaries.
  4. Start the Db2 text search instance services.