Configuration of morphology and language including morphological support and CFDB languages is being performed in cfdb_language parameter of database.conf configuration file. To delete dictionary from the System: - Stop the searchd process:
service searchd stop - Stop the iw_indexer process:
service iwtm stop indexer - Open the database.conf file:
vim mcedit /opt/iw/tm5/csw/oracle/database.conf when using Oracle database.vim mcedit /opt/iw/tm5/csw/postgresql/database.conf when using Postgre SQL.
- Delete the
'morphology language' value from the define cfdb_language parameter. - Remove indexing files from directory:
directory /var/lib/sphinx/ - Run the iw_indexer process.
service iwtm start indexer
| Информация |
|---|
| After dictionary removal full database reindexing takes place. |
As a result of morphology language deletion including morphological support, CFDB language will be deleted from the System as well. To keep CFDB language, add 'morphology language' value to cfdb_language parameter of database.conf configuration file immediately before updating the System. Wherein morphology language including morphological support will be as well restored. To remove morphology language including morphological support after System update, once again delete 'morphology language' value from cfdb_language parameter of database.conf configuration file . |