Thesaurus Commands

thlist

The thlist command returns a list of all the thesauri loaded in the matching engine.

thcreate  -thesaurus <name> -file <file>[-local]

The thcreate command is used to create a thesaurus in the matching engine.

file is the name of a standard thesaurus definition file. See the TIBCO® Patterns server documentation for the format of this file. If -local is supplied, the file is read by NSC from the local file system. Otherwise it is read by the TIBCO Patterns server from its loadable-data directory.

wdcreate  -thesaurus <name> -file <file>[-local]

The wdcreate command is used to create a weighted dictionary in the matching engine.

file is the name of a weighted dictionary definition file. See the TIBCO® Patterns server documentation for the format of this file. If -local is supplied, the file is read by NSC from the local file system. Otherwise it is read by the TIBCO Patterns server from its loadable-data directory.

cthcreate  -thesaurus <name> -file <file>[-local]

The cthcreate command is used to load a combined thesaurus/weighted dictionary in the matching engine.

file is the name of a weighted dictionary definition file. See the TIBCO® Patterns server documentation for the format of this file. If -local is supplied, the file is read by NSC from the local file system. Otherwise it is read by the TIBCO Patterns server from its loadable-data directory.

thdelete  [-thesauruslist <name1,name2,....>]

The thdelete command is used to delete a thesaurus, weighted dictionary or combined thesaurus/dictionary that is currently loaded in the matching engine. Warning: Specifying thesauri is optional. Failure to specify a thesaurus will delete all thesauri.