From 9ce7ca21e4aded64e8ba0e21dbe251e281f64b3d Mon Sep 17 00:00:00 2001 From: Colin Goodheart-Smithe Date: Tue, 30 Sep 2014 10:54:50 +0100 Subject: [PATCH] Docs: Added breaking changes docs for Indices APIs Adds the breaking changes defaults for the change of default indices options for the GET Aliases API --- docs/reference/migration/migrate_1_x.asciidoc | 3 --- docs/reference/migration/migrate_2_0.asciidoc | 12 ++++++++++++ 2 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 docs/reference/migration/migrate_2_0.asciidoc diff --git a/docs/reference/migration/migrate_1_x.asciidoc b/docs/reference/migration/migrate_1_x.asciidoc index 1216012ea4c..2c671c92375 100644 --- a/docs/reference/migration/migrate_1_x.asciidoc +++ b/docs/reference/migration/migrate_1_x.asciidoc @@ -58,9 +58,6 @@ curl -XGET 'http://localhost:9200/_all/_aliases' curl -XGET 'http://localhost:9200/_aliases' -------------------------------------------------- -In addition, the <> now supports <> options and, by default, will -produce an error response if a requested index does not exist. - The <> will return a section for `mappings` even if there are no mappings. This ensures that the following two examples are equivalent: diff --git a/docs/reference/migration/migrate_2_0.asciidoc b/docs/reference/migration/migrate_2_0.asciidoc new file mode 100644 index 00000000000..e0ff8e9f671 --- /dev/null +++ b/docs/reference/migration/migrate_2_0.asciidoc @@ -0,0 +1,12 @@ +[[breaking-changes-2.0]] +== Breaking changes in 2.0 + +This section discusses the changes that you need to be aware of when migrating +your application to Elasticsearch 2.0. + +=== Indices API + +The <> will, by default produce an error response +if a requested index does not exist. This change brings the defaults for this API in +line with the other Indices APIs. The <> options can be used on a request +to change this behavior \ No newline at end of file