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

Вы просматриваете старую версию данной страницы. Смотрите текущую версию.

Сравнить с текущим просмотр истории страницы

« Предыдущий Версия 6 Следующий »

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,Zonal index. Once enabled - new tablespaces are to be indexed only within the zonal 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 (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 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
}
 
  • Нет меток