Update from documentation

This commit is contained in:
Michael RICOIS 2015-09-09 06:32:17 +00:00
parent d593194f59
commit 07c52d038f

View File

@ -5,82 +5,76 @@
indexer indexer
{ {
# memory limit, in bytes, kiloytes (16384K) or megabytes (256M) # memory limit, in bytes, kiloytes (16384K) or megabytes (256M)
# optional, default is 32M, max is 2047M, recommended is 256M to 1024M # optional, default is 128M, max is 2047M, recommended is 256M to 1024M
mem_limit = 256M mem_limit = 256M
# maximum IO calls per second (for I/O throttling) # maximum IO calls per second (for I/O throttling)
# optional, default is 0 (unlimited) # optional, default is 0 (unlimited)
# #
# max_iops = 40 # max_iops = 40
# maximum IO call size, bytes (for I/O throttling) # maximum IO call size, bytes (for I/O throttling)
# optional, default is 0 (unlimited) # optional, default is 0 (unlimited)
# #
# max_iosize = 1048576 # max_iosize = 1048576
# maximum xmlpipe2 field length, bytes # maximum xmlpipe2 field length, bytes
# optional, default is 2M # optional, default is 2M
# #
# max_xmlpipe2_field = 4M # max_xmlpipe2_field = 4M
# write buffer size, bytes # write buffer size, bytes
# several (currently up to 4) buffers will be allocated # several (currently up to 4) buffers will be allocated
# write buffers are allocated in addition to mem_limit # write buffers are allocated in addition to mem_limit
# optional, default is 1M # optional, default is 1M
# #
# write_buffer = 1M # write_buffer = 1M
# maximum file field adaptive buffer size # maximum file field adaptive buffer size
# optional, default is 8M, minimum is 1M # optional, default is 8M, minimum is 1M
# #
# max_file_field_buffer = 32M # max_file_field_buffer = 32M
# how to handle IO errors in file fields # how to handle IO errors in file fields
# known values are 'ignore_field', 'skip_document', and 'fail_index' # known values are 'ignore_field', 'skip_document', and 'fail_index'
# optional, default is 'ignore_field' # optional, default is 'ignore_field'
# #
# on_file_field_error = skip_document # on_file_field_error = skip_document
# how to handle syntax errors in JSON attributes # how to handle syntax errors in JSON attributes
# known values are 'ignore_attr' and 'fail_index' # known values are 'ignore_attr' and 'fail_index'
# optional, default is 'ignore_attr' # optional, default is 'ignore_attr'
# #
# on_json_attr_error = fail_index # on_json_attr_error = fail_index
# whether to auto-convert numeric values from strings in JSON attributes # whether to auto-convert numeric values from strings in JSON attributes
# with auto-conversion, string value with actually numeric data # with auto-conversion, string value with actually numeric data
# (as in {"key":"12345"}) gets stored as a number, rather than string # (as in {"key":"12345"}) gets stored as a number, rather than string
# optional, allowed values are 0 and 1, default is 0 (do not convert) # optional, allowed values are 0 and 1, default is 0 (do not convert)
# #
# json_autoconv_numbers = 1 # json_autoconv_numbers = 1
# whether and how to auto-convert key names in JSON attributes # whether and how to auto-convert key names in JSON attributes
# known value is 'lowercase' # known value is 'lowercase'
# optional, default is unspecified (do nothing) # optional, default is unspecified (do nothing)
# #
# json_autoconv_keynames = lowercase # json_autoconv_keynames = lowercase
# lemmatizer dictionaries base path # lemmatizer cache size
# optional, defaut is /usr/local/share (see ./configure --datadir) # improves the indexing time when the lemmatization is enabled
# # optional, default is 256K
# lemmatizer_base = /usr/local/share/sphinx/dicts #
# lemmatizer_cache = 512M
# lemmatizer cache size
# improves the indexing time when the lemmatization is enabled
# optional, default is 256K
#
# lemmatizer_cache = 512M
} }
############################################################################# #############################################################################