mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 07:37:19 -04:00
Docs: Explain _bulk?refresh shard targeting
Only the shards that receive the bulk request will be affected by `refresh`. Imagine a `_bulk?refresh=wait_for` request with three documents in it that happen to be routed to different shards in an index with five shards. The request will only wait for those three shards to refresh. The other two shards of that make up the index do not participate in the `_bulk` request at all. Relates to #31819
This commit is contained in:
parent
94d3ddd1d1
commit
c0b2ef55b8
1 changed files with 7 additions and 0 deletions
|
@ -230,6 +230,13 @@ example.
|
||||||
Control when the changes made by this request are visible to search. See
|
Control when the changes made by this request are visible to search. See
|
||||||
<<docs-refresh,refresh>>.
|
<<docs-refresh,refresh>>.
|
||||||
|
|
||||||
|
NOTE: Only the shards that receive the bulk request will be affected by
|
||||||
|
`refresh`. Imagine a `_bulk?refresh=wait_for` request with three
|
||||||
|
documents in it that happen to be routed to different shards in an index
|
||||||
|
with five shards. The request will only wait for those three shards to
|
||||||
|
refresh. The other two shards of that make up the index do not
|
||||||
|
participate in the `_bulk` request at all.
|
||||||
|
|
||||||
[float]
|
[float]
|
||||||
[[bulk-update]]
|
[[bulk-update]]
|
||||||
=== Update
|
=== Update
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue