These set of options are used when running the indexer
command to create indexes.
This option specifies the maximum RAM usage limit that the indexer
will not exceed. The default value is 32M
.
The memory limit can be specified either in bytes, kilo bytes, or mega bytes:
mem_limit = 33554432 # 32 MB
Here's an example (in kilo bytes):
mem_limit = 32768K
Here's an example (in mega bytes):
mem_limit = 32M
This option specifies the maximum IO calls per second for I/O throttling. The default value is 0
, which means unlimited:
max_iops = 50
This option specifies the maximum IO call size in bytes for I/O throttling. The default value is 0, which means unlimited:
max_iosize = 1048576
This option specifies the maximum length of an xmlpipe2
field. Default value is 2M:
max_xmlpipe2_field = 4M
With this we come to the end of configuration options. We left out some options intentionally and those can be referred to in the Sphinx manual (http://sphinxsearch.com/docs/current.html).