Configuration of morphology and Categories and terms languages is being performed in cfdb_language parameter of database.conf configuration file. To add new dictionary to the System: - Stop the searchd process:
service searchd stop - Stop the iw_indexer process:
service iwtm stop indexer - Open database.conf file:
vim /opt/iw/tm5/csw/oracle/database.conf when using Oracle database. vim /opt/iw/tm5/csw/postgresql/database.conf when using Postgre SQL.
- Add
'morphology language' value for cfdb_language parameter . For example, adding new german dictionary, configuration file will look as follows: define cfdb_language = 'rus deu' - Copy a package with dictionary to a disk and execute its installationGo to the dictionary packages directory:
cd opt/disrt/infowatch/traffic-monitor/Linux - Run the installation packages:
rpm -i name_of_a_package
For example: rpm -i iwtm-sphinx_dict-deu-6.x-yz.x86_64.rpm - Run the iw_indexer process:
service iwtm start indexer
| Информация |
|---|
| To set language priority, make language parameter the last in the list of define cfdb_language parameters of database.conf file |
| Информация |
|---|
| Installing new dictionary full database reindexing happens. |
|