Configuration of language including morphological support and CFDB languages is being performed in cfdb_language parameter of database.conf configuration file. To delete a dictionary from the System: - Stop the searchd Stop iw_indexer process:
service searchd service iwtm stop Stop the iw_indexer processindexer - Stop searchd process:
service iwtm searchd stop indexer - Open the Open database.conf fileconf file:
- vim
mcedit /opt/iw/tm5/csw/oracle/database.conf when using Oracle database.vim conf - if you use Oracle DBMS; mcedit /opt/iw/tm5/csw/postgresql/database.conf when using Postgre SQL- if you use PostgreSQL DBMS.
- Delete the
'morphology language' value from the code of a language with morphology support from define cfdb_language parameter parameter. - Remove Delete indexing files from directory:
from /var/lib/sphinx/Run the iw_indexer process. directory. - Start iw_indexer process:
service iwtm start indexer
| Информация |
|---|
| After dictionary removal full database reindexing takes place. |
As a result of 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 language including morphological support will be as well restored. To remove language including morphological support after System update, once again delete 'morphology language' value from cfdb_language parameter of database.conf configuration file . you delete a dictionary, the database is completely reindexed. |
If you delete a language with morphology support, this language is also deleted from Categories and Terms during the System update. | Информация |
|---|
| If you want to save the language in Categories and Terms, then add the code of the language with morphology support to the cfdb_language parameter of the database.conf configuration file just before updating the System. This will also restore the language with morphology support. If you want to delete the language with morphology support after the System update, repeat the steps described above. |
|