mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 07:37:19 -04:00
Requests to the bulk API comprise a sequence of items, each of which starts with a JSON object describing the item. This object includes the type of action to perform with the item which should be one of `create`, `update`, `index`, or `delete`. In earlier versions Elasticsearch would ignore items with an unrecognized type, skipping the next line in the request, but this lenient behaviour means that there is no way for the client to associate the items in the response with the items in the request, and in some cases it would cause the remainder of the request to be parsed incorrectly. With this commit, requests to the bulk API must comprise only items with recognized types. Elasticsearch will reject requests containing any items with an unrecognized type with a `400 Bad Request` error response. |
||
---|---|---|
.. | ||
apis | ||
migrate_8_0 | ||
index.asciidoc | ||
migrate_8_0.asciidoc | ||
migrate_8_1.asciidoc | ||
migrate_8_2.asciidoc | ||
migrate_8_3.asciidoc | ||
migrate_8_4.asciidoc | ||
migrate_8_5.asciidoc | ||
migration.asciidoc | ||
migration_intro.asciidoc | ||
transient-settings-migration-guide.asciidoc |