indices.asciidoc 2.1 KB

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