Line 733: |
Line 733: |
| mkdir -p /etc/e-smith/templates/etc/zarafa/search.cfg | | mkdir -p /etc/e-smith/templates/etc/zarafa/search.cfg |
| cat /usr/share/doc/zarafa-search/example-config/search.cfg | sed -e 's/\r$//g' > /etc/e-smith/templates/etc/zarafa/search.cfg/search.cfg | | cat /usr/share/doc/zarafa-search/example-config/search.cfg | sed -e 's/\r$//g' > /etc/e-smith/templates/etc/zarafa/search.cfg/search.cfg |
− | replace /etc/e-smith/templates/etc/zarafa/search.cfg/search.cfg cleanup_lockfiles '{ ${'\''zarafa-search'\''}{cleanup_lockfiles} || '\''no'\''; }' | + | replace /etc/e-smith/templates/etc/zarafa/search.cfg/search.cfg coredump_enabled '{ ${'\''zarafa-search'\''}{coredump_enabled} || '\''no'\''; }' |
| replace /etc/e-smith/templates/etc/zarafa/search.cfg/search.cfg limit_results '{ ${'\''zarafa-search'\''}{limit_results} || '\''0'\''; }' | | replace /etc/e-smith/templates/etc/zarafa/search.cfg/search.cfg limit_results '{ ${'\''zarafa-search'\''}{limit_results} || '\''0'\''; }' |
| replace /etc/e-smith/templates/etc/zarafa/search.cfg/search.cfg log_method '{ ${'\''zarafa-search'\''}{log_method} || '\''file'\''; }' | | replace /etc/e-smith/templates/etc/zarafa/search.cfg/search.cfg log_method '{ ${'\''zarafa-search'\''}{log_method} || '\''file'\''; }' |
| replace /etc/e-smith/templates/etc/zarafa/search.cfg/search.cfg log_level '{ ${'\''zarafa-search'\''}{log_level} || '\''2'\''; }' | | replace /etc/e-smith/templates/etc/zarafa/search.cfg/search.cfg log_level '{ ${'\''zarafa-search'\''}{log_level} || '\''2'\''; }' |
| replace /etc/e-smith/templates/etc/zarafa/search.cfg/search.cfg log_timestamp '{ ${'\''zarafa-search'\''}{log_timestamp} || '\''1'\''; }' | | replace /etc/e-smith/templates/etc/zarafa/search.cfg/search.cfg log_timestamp '{ ${'\''zarafa-search'\''}{log_timestamp} || '\''1'\''; }' |
− | replace /etc/e-smith/templates/etc/zarafa/search.cfg/search.cfg index_interval '{ ${'\''zarafa-search'\''}{index_interval} || '\''5'\''; }' | + | replace /etc/e-smith/templates/etc/zarafa/search.cfg/search.cfg term_cache_size '{ ${'\''zarafa-search'\''}{term_cache_size} || '\''64M'\''; }' |
− | replace /etc/e-smith/templates/etc/zarafa/search.cfg/search.cfg index_threads '{ ${'\''zarafa-search'\''}{index_threads} || '\''1'\''; }' | + | replace /etc/e-smith/templates/etc/zarafa/search.cfg/search.cfg optimize_start '{ ${'\''zarafa-search'\''}{optimize_start} || '\''2'\''; }' |
− | replace /etc/e-smith/templates/etc/zarafa/search.cfg/search.cfg index_max_field_length '{ ${'\''zarafa-search'\''}{index_max_field_length} || '\''10000'\''; }' | + | replace /etc/e-smith/templates/etc/zarafa/search.cfg/search.cfg optimize_stop '{ ${'\''zarafa-search'\''}{optimize_stop} || '\''5'\''; }' |
− | replace /etc/e-smith/templates/etc/zarafa/search.cfg/search.cfg index_merge_factor '{ ${'\''zarafa-search'\''}{index_merge_factor} || '\''10'\''; }'
| + | replace /etc/e-smith/templates/etc/zarafa/search.cfg/search.cfg optimize_age '{ ${'\''zarafa-search'\''}{optimize_age} || '\''7'\''; }' |
− | replace /etc/e-smith/templates/etc/zarafa/search.cfg/search.cfg index_max_buffered_docs '{ ${'\''zarafa-search'\''}{index_max_buffered_docs} || '\''10'\''; }'
| |
− | replace /etc/e-smith/templates/etc/zarafa/search.cfg/search.cfg index_min_merge_docs '{ ${'\''zarafa-search'\''}{index_min_merge_docs} || '\''10'\''; }'
| |
− | replace /etc/e-smith/templates/etc/zarafa/search.cfg/search.cfg index_max_merge_docs '{ ${'\''zarafa-search'\''}{index_max_merge_docs} || '\''2147483647'\''; }'
| |
− | replace /etc/e-smith/templates/etc/zarafa/search.cfg/search.cfg index_term_interval '{ ${'\''zarafa-search'\''}{index_term_interval} || '\''128'\''; }'
| |
− | replace /etc/e-smith/templates/etc/zarafa/search.cfg/search.cfg index_cache_timeout '{ ${'\''zarafa-search'\''}{index_cache_timeout} || '\''0'\''; }' | |
| replace /etc/e-smith/templates/etc/zarafa/search.cfg/search.cfg index_attachments '{ ${'\''zarafa-search'\''}{index_attachments} || '\''no'\''; }' | | replace /etc/e-smith/templates/etc/zarafa/search.cfg/search.cfg index_attachments '{ ${'\''zarafa-search'\''}{index_attachments} || '\''no'\''; }' |
− | replace /etc/e-smith/templates/etc/zarafa/search.cfg/search.cfg index_attachment_max_size '{ ${'\''zarafa-search'\''}{index_attachment_max_size} || '\''5120'\''; }' | + | replace /etc/e-smith/templates/etc/zarafa/search.cfg/search.cfg index_attachment_max_size '{ ${'\''zarafa-search'\''}{index_attachment_max_size} || '\''5M'\''; }' |
| replace /etc/e-smith/templates/etc/zarafa/search.cfg/search.cfg index_attachment_parser_max_memory '{ ${'\''zarafa-search'\''}{index_attachment_parser_max_memory} || '\''0'\''; }' | | replace /etc/e-smith/templates/etc/zarafa/search.cfg/search.cfg index_attachment_parser_max_memory '{ ${'\''zarafa-search'\''}{index_attachment_parser_max_memory} || '\''0'\''; }' |
| replace /etc/e-smith/templates/etc/zarafa/search.cfg/search.cfg index_attachment_parser_max_cputime '{ ${'\''zarafa-search'\''}{index_attachment_parser_max_cputime} || '\''0'\''; }' | | replace /etc/e-smith/templates/etc/zarafa/search.cfg/search.cfg index_attachment_parser_max_cputime '{ ${'\''zarafa-search'\''}{index_attachment_parser_max_cputime} || '\''0'\''; }' |