Skip to content

modules/indices/indexing_buffer.asciidoc #151

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: cn
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions docs/reference/modules/indices/indexing_buffer.asciidoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
[[indexing-buffer]]
=== Indexing Buffer
=== 索引缓冲区

索引缓冲区用来存储新索引的文档。当它填满后,缓冲区中的文档被写入磁盘上的一个段。它(缓冲区)分散在节点上的所有分片之间。

以下设置是 _静态_ 的,必须在群集中的每个数据节点上配置:
The indexing buffer is used to store newly indexed documents. When it fills
up, the documents in the buffer are written to a segment on disk. It is divided
between all shards on the node.
Expand All @@ -10,16 +13,12 @@ in the cluster:

`indices.memory.index_buffer_size`::

Accepts either a percentage or a byte size value. It defaults to `10%`,
meaning that `10%` of the total heap allocated to a node will be used as the
indexing buffer size shared across all shards.
接受百分比或字节大小值。默认为 `10%`,意味着分配给节点的总堆内存的 `10%` 将用作索引缓冲区大小,并在所有分片中共享。

`indices.memory.min_index_buffer_size`::

If the `index_buffer_size` is specified as a percentage, then this
setting can be used to specify an absolute minimum. Defaults to `48mb`.
如果将 `index_buffer_size` 指定为百分比,则设置可用于指定绝对最小值。默认为 `48MB`。

`indices.memory.max_index_buffer_size`::

If the `index_buffer_size` is specified as a percentage, then this
setting can be used to specify an absolute maximum. Defaults to unbounded.
如果将 `index_buffer_size` 指定为百分比,则设置可用于指定绝对最大值。默认为无边界。