Skip to content

Commit 52a4ca5

Browse files
author
Christoph Büscher
committed
Remove mentioning of types from bulk API docs (#38896)
The docs on master still mention types in the context of conflicts with documents and also mentions the deprecated endpoint including types.
1 parent 9955100 commit 52a4ca5

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/reference/docs/bulk.asciidoc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ The possible actions are `index`, `create`, `delete` and `update`.
4444
`index` and `create` expect a source on the next
4545
line, and have the same semantics as the `op_type` parameter to the
4646
standard index API (i.e. create will fail if a document with the same
47-
index and type exists already, whereas index will add or replace a
47+
index exists already, whereas index will add or replace a
4848
document as necessary). `delete` does not expect a source on the
4949
following line, and has the same semantics as the standard delete API.
5050
`update` expects that the partial doc, upsert and script and its options
@@ -172,9 +172,8 @@ The result of this bulk operation is:
172172
// TESTRESPONSE[s/"_seq_no" : 3/"_seq_no" : $body.items.3.update._seq_no/]
173173
// TESTRESPONSE[s/"_primary_term" : 4/"_primary_term" : $body.items.3.update._primary_term/]
174174

175-
The endpoints are `/_bulk`, `/{index}/_bulk`, and `{index}/{type}/_bulk`.
176-
When the index or the index/type are provided, they will be used by
177-
default on bulk items that don't provide them explicitly.
175+
The endpoints are `/_bulk` and `/{index}/_bulk`. When the index is provided, it
176+
will be used by default on bulk items that don't provide it explicitly.
178177

179178
A note on the format. The idea here is to make processing of this as
180179
fast as possible. As some of the actions will be redirected to other

0 commit comments

Comments
 (0)