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

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

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.
Комментарий: Published by Scroll Versions from space RED and version 6.10-11
Sv translation
languageru
СодержимоеОписание
{
 
    "Bookworm": {...}

см. Общая секция Bookworm

    "DebugBreak": false, 
Посылать ли SIGTRAP (SIGBREAK на Windows) при обработке любого исключения. Служит для отладки
    "Indexer": {

В файле хранится конфигурация модуля индексации. Параметры индексации применяются к модулю iw_indexer.

В секции Indexer заданы параметры работы модуля с Базой Данных и методы индексации:
        "ArchiveDir": "sphinx_archive", 
Путь к каталогу архивированных индексов. Если построение расширенного индекса по областям события отключена (false), то слова, найденные полнотекстовым поиском, подсвечены не будут.
        "BuildIndexByContent": true, 
Расширенная индексация. Если построение расширенного индекса по областям события отключена (false), то слова, найденные полнотекстовым поиском, не будут подсвечены на КФП (краткая форма показа данных события).
        "BuildIndexZoned": false, 
Зональный индекс. Если включен - новые табличные пространства будут индексироваться только в зональном индексе. Имеющиеся старые индексы будут сохранены.
        "DBPrefetchRowCount": 131072, 
Количество строк, извлекаемых из БД за 1 раз.
        "DebugNoCleanTemp": false, 
Не удалять временные файлы .xmlpipe2. (Использовать true только для отладки).
        "ExpireDeltaSecs": 43200,
Время, спустя которое удаляются дельта-индексы после добавления новых ТП
        "FetchConcurrency": 0, 

Количество соединений с БД и потоков для загрузки текстовых объектов и формирования xmlpipe2-файлов. Значение по умолчанию: 0 (определить автоматически исходя из настройки ProcManConcurrency) (по умолчанию равно ProcManConcurrency, поделённому на число строящихся видов индекса (зональный индекс не учитывается):

  • только общий индекс;
  • общий индекс и индекс по содержимому.
        "FetchSize": 1200, 
Количество объектов, запрашиваемых службой из БД для последующей индексации. 
        "IgnoreMalaysianDict": true, 
Отключение малайской морфологии.
        "IndexExactWords": false, 

Точное совпадение. Значение параметра влияет на compatible magic индекса - т.е. переиндексирование не требуется и не происходит, но новые документы складываются в другие индексы и поиск работает как в новых, так и в старых файлах индексов.

        "IndexRotateTimeoutInMs": 60000, 
Время, за которое индекс должен быть подвергнут ротации (мс).
        "MinWordLen": 1,

Параметр влияет на значение параметра min_word_len в конфигурации индексов searchd. Значение параметра определяет минимальную длину слова, которое будет индексировано. Слова короче этого значения не попадают в индекс, поиск по таким словам невозможен, но, тем не менее, продолжают влиять на расстояние между индексируемыми словами, что необходимо учитывать при составлении поисковых запросов с точным порядком следования слов.

Экспериментальный параметр. Ожидается, что значение 2 или 3 поможет немного уменьшить размер файлов индексов без значительного ухудшения качества поиска. Диапазон значений: от 1 до 42.

Значение параметра влияет на compatible magic индекса - т.е. переиндексирование не требуется и не происходит, но новые документы складываются в другие индексы и поиск работает как в новых, так и в старых файлах индексов.

        "PipeDir": "tmp/sphinx", 
Директория для временных файлов, необходимых для построения индекса.
        "ProcManConcurrency": 0, 
Максимальное количество одновременно запущенных процессов индексирования. индексирования (По по умолчанию определяется автоматически по количеству и равно числу ядер процессора).
        "SearchdPath": "/usr/bin/searchd", 
Путь до демона iw_searchd. Может отличаться в зависимости от RHEL или Astra Linux. 
        "ServicePath": "/sbin/service", 
Путь до скрипта service
        "SphinxBaseDir": "/var/lib/sphinx", 
Директория для файлов индексов демона iw_searchd. Значение по умолчанию: /var/lib/sphinx
        "SphinxConfigDir": "etc/sphinx", 
Директория для генерируемых конфигурационных файлов демона  iw_searchd. Значение по умолчанию: etc/sphinx
        "SphinxTMConfigPath": "etc/sphinx.conf", 
Путь к общесистемной конфигурации Sphinx. Значение по умолчанию: etc/sphinx.conf
        "TarPath": "/bin/tar", 
Путь к утилите архивации. Значение по умолчанию: /bin/tar
        "TextPrefetchSizeInMb": 1024, 
Ограничение размера объекта на индексацию. Значение по умолчанию: 1024
        "WaitTimeInSecs": 30,
Время ожидания между попытками получить объекты из БД. Значение по умолчанию: 30 
        "CharTable": "" 
Таблица символов. Параметр включается опционально. Будет использоваться при наличии в конф. файле. В случае отсутствия будет сгенерирована таблица символов по умолчанию ("0..9, _, a..z, U+430..U+44F, U+451, A..Z->a..z, U+401->U+451, U+410..U+42F->U+430..U+44F").
    }, 
 
    "Logging": {...}
см. Общая секция Logging
    "NookDir": "/opt/iw/tm5", 

В секции указывается рабочий каталог модуля. По умолчанию – /opt/iw/tm5.

    "Permissions": {...}
см. Общая секция Permissions
    "ResourceLimits": {...},
см. Общая секция ResourceLimits
    "Startup":  {...},
см. Общие настройки конфигурации
}
 
Sv translation
languageen
ContentDescription
{
 
    "Bookworm": {...}

see General section Bookworm

 

    "DebugBreak": false, 
If SIGTRAP should be sent (SIGBREAK to Windows) while any exception handling. Used for debugging purposes.
    "Indexer": {

Indexer configuration is stored in the file. Indexing parameters are applied to iw_indexer module.

In the Indexer section interaction with DB parameters and indexing methods are specified.
        "ArchiveDir": "sphinx_archive", 
Path to the archived indexes directory. If the working index construction as per event areas is disabled (false), the words, found via full-text search will not be highlited.
        "BuildIndexByContent": true, 
Enable extended indexing. If the working index construction as per event areas is disabled (false), the words found via full-text search will not be highlited in short form preview.
"BuildIndexZoned": false,Zone index. Once enabled - new tablespaces are to be indexed only within the zone index. All the rest old indexes will be stored.
        "DBPrefetchRowCount": 131072, 
Number of rows, fetched from DB at a time.
        "DebugNoCleanTemp": false, 
Do not delete temporary files .xmlpipe2. (Use true only for debugging purposes).
        "ExpireDeltaSecs": 43200,
After this period of time delta indexes are being deleted since the new tablespaces were added.
        "FetchConcurrency": 0, 

Number of connections with DB and streams for text objects loading and xmlpipe2 files generation. Default value: 0 (automatically determine from the ProcManConcurrency value)is equal to ProcManConcurrency, divided into the number of index types being under construction ( zonal index is not taken into consideration):

  • general index only;
  • general index and index by contents.
        "FetchSize": 1200, 
Number of objects, requested from DB by the service for later indexing .
        "IgnoreMalaysianDict": true, 
Disable malaysian morphology.
        "IndexExactWords": false, 

Exact match. The value affects the compatible magic index, i.e. reindexing is not required and not performed, but new documents are added to other indexes and the search does work in new and old index files.

        "IndexRotateTimeoutInMs": 60000, 
Index rotation time (msec).
        "MinWordLen": 1,

The parameter affects the min_word_len value in the index configuration searchd. The value of the parameter determines the minimum word length to be indexed. If the length of a word is shorter than the value, the search by these words does not work. Nonetheless, it affects the indexed word distance, thus, it should be considered, when constructing search queries with the exact phrase match.

Experimental parameter. It is expected that the 2 or 3 value will help to decrease the index file size with no sacrifice of search quality. Range: from 1 to 42.

Exact match. The value affects the compatible magic index, i.e. reindexing is not required and not performed, but new documents are added to other indexes and the search does work in new and old index files.

        "PipeDir": "tmp/sphinx", 
Temporary files directory needed for index construction.
        "ProcManConcurrency": 0, 
Maximum number of concurrent concurrently started indexing processes (automatically determine from the number of CPU cores and equal to it).
        "SearchdPath": "/usr/bin/searchd", 
Path to iw_searchd. It can be different depending on RHEL or Astra Linux.
        "ServicePath": "/sbin/service", 
Path to the service script.
        "SphinxBaseDir": "/var/lib/sphinx", 
Directory for the w_searchd daemon index files. Default value: /var/lib/sphinx
        "SphinxConfigDir": "etc/sphinx", 
Directory for the iw_searchd daemon generated configuration files. Default value: etc/sphinx
        "SphinxTMConfigPath": "etc/sphinx.conf", 
Path to Sphinx systemic configuration. Default value: etc/sphinx.conf
        "TarPath": "/bin/tar", 
Path to a file archiver. Default value: /bin/tar
        "TextPrefetchSizeInMb": 1024, 
Indexed object size limit. Default value: 1024
        "WaitTimeInSecs": 30
Time between attempts to retrieve objects from BD. Default value: 30 
        "CharTable": "" 
Table of symbols. Parameter enabling is optional. To be used when it is contained within the configuration file. Once is absent, the table of symbols is to be generated by default ("0..9, _, a..z, U+430..U+44F, U+451, A..Z->a..z, U+401->U+451, U+410..U+42F->U+430..U+44F").
    }, 
 
    "Logging": {...}
see General section Logging
    "NookDir": "/opt/iw/tm5", 

In this section the module working directory is specified. By default – /opt/iw/tm5

    "Permissions": {...}
see General section Permissions
    "ResourceLimits": {...},
see General section ResourceLimits
    "Startup":  {...},
see Configuration general settings
}