indices.asciidoc 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. [[modules-indices]]
  2. == Indices
  3. The indices module allow to control settings that are globally managed
  4. for all indices.
  5. [float]
  6. === Indexing Buffer
  7. The indexing buffer setting allows to control how much memory will be
  8. allocated for the indexing process. It is a global setting that bubbles
  9. down to all the different shards allocated on a specific node.
  10. The `indices.memory.index_buffer_size` accepts either a percentage or a
  11. byte size value. It defaults to `10%`, meaning that `10%` of the total
  12. memory allocated to a node will be used as the indexing buffer size.
  13. This amount is then divided between all the different shards. Also, if
  14. percentage is used, allow to set `min_index_buffer_size` (defaults to
  15. `48mb`) and `max_index_buffer_size` which by default is unbounded.
  16. The `indices.memory.min_shard_index_buffer_size` allows to set a hard
  17. lower limit for the memory allocated per shard for its own indexing
  18. buffer. It defaults to `4mb`.
  19. [float]
  20. === TTL interval
  21. You can dynamically set the `indices.ttl.interval` allows to set how
  22. often expired documents will be automatically deleted. The default value
  23. is 60s.
  24. The deletion orders are processed by bulk. You can set
  25. `indices.ttl.bulk_size` to fit your needs. The default value is 10000.
  26. See also <<mapping-ttl-field>>.
  27. [float]
  28. === Recovery
  29. The following settings can be set to manage recovery policy:
  30. [horizontal]
  31. `indices.recovery.concurrent_streams`::
  32. defaults to `3`.
  33. `indices.recovery.file_chunk_size`::
  34. defaults to `512kb`.
  35. `indices.recovery.translog_ops`::
  36. defaults to `1000`.
  37. `indices.recovery.translog_size`::
  38. defaults to `512kb`.
  39. `indices.recovery.compress`::
  40. defaults to `true`.
  41. `indices.recovery.max_bytes_per_sec`::
  42. defaults to `20mb`.
  43. [float]
  44. === Store level throttling
  45. The following settings can be set to control store throttling:
  46. [horizontal]
  47. `indices.store.throttle.type`::
  48. could be `merge` (default), `not` or `all`. See <<index-modules-store>>.
  49. `indices.store.throttle.max_bytes_per_sec`::
  50. defaults to `20mb`.