Дерево страниц

Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.
Комментарий: Published by Scroll Versions from space TMAG and version 7.13
Sv translation
languageru

Чтобы удалить словарь из Системы: 

  1. Остановите процессы iw_indexer и iw_is:
    iwtm stop indexer
    iwtm stop is
  2. Откройте файл database.conf используемой СУБД PostgreSQL:
    mcedit /opt/iw/tm5/csw/postgresql/database.conf
    Если используется СУБД Oracle, то для добавления терминов откройте файл database.conf:
    mcedit /opt/iw/tm5/csw/oracle/database.conf
     

  3. Удалите код языка с поддержкой морфологии из параметра  define cfdb_language.
  4. Удалите файлы индексации из директории /var/lib/sphinx/
  5. Запустите процессы:
    iwtm start indexer
    iwtm stop is

После удаления словаря будет произведена полная переиндексация БД. 

Информация
titleПримечание:

Чтобы сохранить язык БКФ, добавьте код языка с поддержкой морфологии в параметр cfdb_language конфигурационного файла database.conf непосредственно перед обновлением Системы. При этом язык с поддержкой морфологии также будет восстановлен.

Чтобы удалить язык с поддержкой морфологии после обновления Системы, повторно пройдите шаги, указанные в данном разделе.

Sv translation
languageen

To delete a dictionary from the System: 

  1. Stop the iw_indexer and iw_is processes:
    iwtm stop indexer
    iwtm stop is
  2. Open database.conf file if you use PostgreSQL DBMS: 

    mcedit /opt/iw/tm5/csw/postgresql/database.conf
    If you use Oracle DBMS, open file database.conf to add terms:
    mcedit /opt/iw/tm5/csw/oracle/database.conf
     

  3. Delete code of language with morphology support from  define cfdb_language parameter.
  4. Delete indexing files from /var/lib/sphinx/ directory.
  5. Start processes:
    iwtm start indexer
    iwtm stop is

After you delete a dictionary, the database is completely reindexed.

Информация
titleNote:

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.