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

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

Ключ

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

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

В секции Indexer заданы параметры работы модуля с Базой Данных и методы индексации:
ПараметрОписание
ArchiveDirПуть к каталогу архивированных индексов. Значение по умолчанию: sphinx_archive
BuildIndexByContentРасширенная индексация. Значение по умолчанию:  true
DPPrefetchRowCountDBPrefetchRowCount
Количество строк, извлекаемых из БД за 1 раз. Значение по умолчанию: 131072
FetchSizeКоличество объектов, запрашиваемых службой из БД для последующей индексации. Значение по умолчанию: 1200
FetchConcurencyFetchConcurrency
Количества соединений с БД и потоков для загрузки текстовых объектов и формирования xmlpipe2-файлов. Значение по умолчанию: 0
IgnoreMalaysianDict
Отключение малайской морфологии. Значение по умолчанию: true
IndexExactWordsТочное совпадение. Значение по умолчанию: false
IndexRotateTimeoutInMs
Время, за которое индекс должен быть подвергнут ротации (мс). Значение по умолчанию: 60000
PipeDir
Директория для временных файлов, необходимых для построения индекса. Значение по умолчанию: /tmp/sphinx
ProcManConcurrency
Максимальное количество одновременно запущеных запущенных процессов индексирования. Значение по умолчанию: 0 (определить автоматически по количеству ядер процессора)
SearchdPath
Путь до демона searchd. Может отличаться в зависимости от RHEL или Debian Astra Linux. Значение по умолчанию: /usr/bin/searchd
SphinxBaseDir
Директория для файлов индексов демона searchd. Значение по умолчанию: /var/lib/sphinx
SphinxConfigDir
Директория для генерируемых конфигурационных файлов демона searchd. Значение по умолчанию: etc/sphinx
SphinxMorphology
Добавление морфологий языков и словарей из папки /opt/iw/tm5/etc/sphinx/dicts
SphinxTMConfigPath
Путь к общесистемной конфигурации Sphinx. Значение по умолчанию: etc/sphinx.conf
TarPathПуть к утилите архивации. Значение по умолчанию: /bin/tar
TextPrefetchSizeInMb
Ограничение размера объекта на индексацию. Значение по умолчанию: 1024
UseSphinxMorphology
Включение использования морфологий для поисковика Sphinx. Значение по умолчанию: false
WaitTimeInSecsВремя ожидания между попытками получить объекты из БД. Значение по умолчанию: 30 

 

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

Пути к файлам и директориям, начинающиеся с "etc/" и "tmp/", являются относительными. Чтобы получить полный путь к файлу или директории, следует заменить "etc/" или "tmp/" на "otp/iw/tm5/etc/" или "otp/iw/tm5/tmp/", соответственно.

Sv translation
languageen

This file contains the configuration configuration the of indexing module. Indexing parameters are being applied to iw_indexer module.

In The Indexer section parameters section contains parameters of working with database and indexing methods are set:
DPPrefetchRowCount
ParameterDescription
ArchiveDirPath to a catalog to with archived indices. Default valuesThe default value: sphinx_archive
BuildIndexByContentExtended indexing. Possible valuesThe default value: true, false. Default values: true
DBPrefetchRowCount
The number of rows extracted from the database at a time. The default value:  131072
FetchSizeThe number of objects requested by a service from the database for further indexing. The default value: 40001200
FetchConcurrency
The number of connections with the DB and the number of streams for loading text objects and generating xmlpipe2 files. The default value: 0
IgnoreMalaysianDict
Disabling the Malaysian morphology. The default value:  true
IndexExactWordsThe exact match. Possible values: true, false. The default value: false
IndexRotateTimeoutInMs
The time for during which the index can be rotated
ServicePath
The path to  /bin/servicemust be rotated (in miliseconds). The default value: 60000
PipeDir
A directory for temporary files required for building the index. The default value: tmp/sphinx
ProcManConcurrency
The maximum number of simultaneously started indexing processes. The default value: 0 (is estimated automatically by the number of processor cores)
SearchdPath
The path to  the searchd daemon. May differ depending on RHEL or Debian. The default value: /usr/bin/searchd
SphinxBaseDir
Directory for index files of the searchd daemon. The default value: /var/lib/sphinx
SphinxConfigDir
Directory for generated configuration files of the searchd daemon. The default value: etc/sphinx
SphinxTMConfigPath
Path to a systemwide Sphinx configuration
TarPathPath to a backup utility. Default values: /bin/tar
TextPrefetchSizeInMb
Size limit for an object for indexing. The default value: 1024
WaitTimeInSectsTimeout between attempts to receive objects from DB

 

 
. The default value: 30 
Информация
titleNote:

Paths to files and directories starting with "ect/" and "tmp/" are relative. To get a full path to the file or directory, replace "etc/" or "tmp/" with "otp/iw/tm5/etc/" or "otp/iw/tm5/tmp/".