OpenSearch/docs
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
..
community-clients Docs: Prepare plugin and integration docs for 2.0 2015-08-15 18:02:43 +02:00
groovy-api Docs: Fixed URLs in the Groovy docs 2015-06-19 17:54:57 +02:00
java-api Edit search scroll docs for syntactic style 2015-09-19 14:42:14 -05:00
perl Docs: Minor test change to Perl docs 2015-02-28 17:19:55 +01:00
plugins Enhance plugin-descriptor.properties guide 2015-10-06 22:12:45 +02:00
python Updated copyright years to include 2015 2015-02-28 03:18:45 +01:00
reference Engine: Remove Engine.Create 2015-10-07 12:37:34 +02:00
resiliency Update link to Jepsen related test class 2015-10-01 16:34:19 -04:00
ruby Docs: Fixed typos 2015-05-05 10:38:05 +02:00
README.asciidoc Docs: Updated docs/README.asciidoc to point to the new docs repo 2015-04-27 08:54:07 +02:00

README.asciidoc

The Elasticsearch docs are in AsciiDoc format and can be built using the Elasticsearch documentation build process

See: https://github.com/elastic/docs