OpenSearch/docs/reference/migration
Boaz Leskes bcb3fab6ac Engine: Remove Engine.Create
The `_create` API is handy way to specify an index operation should only be done if the document doesn't exist. This is currently implemented in explicit code paths all the way down to the engine. However, conceptually this is no different than any other versioned operation - instead of requiring a document is on a specific version, we require it to be deleted (or non-existent). This PR removes Engine.Create in favor of a slight extension in the VersionType logic.

There are however a couple of side effects:
- DocumentAlreadyExistsException is removed and VersionConflictException is used instead (with an improved error message)
- Update will reject version parameters if the upsert option is used (it doesn't compute anyway).
- Translog.Create is also removed infavor of Translog.Index (that's OK because their binary format was the same, so we can just read Translog.Index of the translog file)

Closes #13955
2015-10-07 12:37:34 +02:00
..
migrate_2_0 add paragraph about removal of conf file option 2015-10-06 19:36:48 +02:00
index.asciidoc Remove the scan and count search types. 2015-09-07 15:18:45 +02:00
migrate_1_0.asciidoc Docs: Remove docs for the `filtered`, `and`, `or` and `(f)query` queries. 2015-09-11 11:00:54 +02:00
migrate_1_4.asciidoc Query DSL: Remove filter parsers. 2015-05-07 20:14:34 +02:00
migrate_1_6.asciidoc parent/child: Deprecated the `top_children` in favour of the `has_child` query. 2015-05-07 09:27:54 +02:00
migrate_2_0.asciidoc Mapping: Default position_offset_gap to 100 2015-08-25 14:21:50 -04:00
migrate_2_1.asciidoc [search] Limit the size of the result window 2015-09-10 15:38:29 -04:00
migrate_3_0.asciidoc Engine: Remove Engine.Create 2015-10-07 12:37:34 +02:00