You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
call. You should experiment with different settings to find the optimum
744
744
size for your particular workload.</p><p>If using the HTTP API, make sure that the client does not send HTTP
745
745
chunks, as this will slow things down.</p><h3><aid="bulk-versioning"></a>Versioning<ahref="https://github.com/elastic/elasticsearch/edit/6.x/docs/reference/docs/bulk.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h3><p>Each bulk item can include the version value using the
746
-
<codeclass="literal">_version</code>/<codeclass="literal">version</code> field. It automatically follows the behavior of the
746
+
<codeclass="literal">version</code> field. It automatically follows the behavior of the
747
747
index / delete operation based on the <codeclass="literal">_version</code> mapping. It also
748
-
support the <codeclass="literal">version_type</code>/<codeclass="literal">_version_type</code> (see <aclass="link" href="docs-index_.html#index-versioning" title="Versioningedit">versioning</a>)</p><h3><aid="bulk-routing"></a>Routing<ahref="https://github.com/elastic/elasticsearch/edit/6.x/docs/reference/docs/bulk.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h3><p>Each bulk item can include the routing value using the
749
-
<codeclass="literal">_routing</code>/<codeclass="literal">routing</code> field. It automatically follows the behavior of the
748
+
support the <codeclass="literal">version_type</code> (see <aclass="link" href="docs-index_.html#index-versioning" title="Versioningedit">versioning</a>)</p><h3><aid="bulk-routing"></a>Routing<ahref="https://github.com/elastic/elasticsearch/edit/6.x/docs/reference/docs/bulk.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h3><p>Each bulk item can include the routing value using the
749
+
<codeclass="literal">routing</code> field. It automatically follows the behavior of the
750
750
index / delete operation based on the <codeclass="literal">_routing</code> mapping.</p><h3><aid="bulk-wait-for-active-shards"></a>Wait For Active Shards<ahref="https://github.com/elastic/elasticsearch/edit/6.x/docs/reference/docs/bulk.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h3><p>When making bulk calls, you can set the <codeclass="literal">wait_for_active_shards</code>
751
751
parameter to require a minimum number of shard copies to be active
752
752
before starting to process the bulk request. See
753
753
<aclass="link" href="docs-index_.html#index-wait-for-active-shards" title="Wait For Active Shardsedit">here</a> for further details and a usage
754
754
example.</p><h3><aid="bulk-refresh"></a>Refresh<ahref="https://github.com/elastic/elasticsearch/edit/6.x/docs/reference/docs/bulk.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h3><p>Control when the changes made by this request are visible to search. See
755
-
<aclass="link" href="docs-refresh.html" title="?refresh">refresh</a>.</p><h3><aid="bulk-update"></a>Update<ahref="https://github.com/elastic/elasticsearch/edit/6.x/docs/reference/docs/bulk.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h3><p>When using <codeclass="literal">update</code> action <codeclass="literal">_retry_on_conflict</code> can be used as field in
755
+
<aclass="link" href="docs-refresh.html" title="?refresh">refresh</a>.</p><h3><aid="bulk-update"></a>Update<ahref="https://github.com/elastic/elasticsearch/edit/6.x/docs/reference/docs/bulk.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h3><p>When using <codeclass="literal">update</code> action <codeclass="literal">retry_on_conflict</code> can be used as field in
756
756
the action itself (not in the extra payload line), to specify how many
757
757
times an update should be retried in the case of a version conflict.</p><p>The <codeclass="literal">update</code> action payload, supports the following options: <codeclass="literal">doc</code>
0 commit comments