OpenSearch/docs/reference/indices
Michael McCandless 399f0ccce9 Core: add only_ancient_segments to upgrade API, so only segments with an old Lucene version are upgraded
This option defaults to false, because it is also important to upgrade
the "merely old" segments since many Lucene improvements happen within
minor releases.

But you can pass true to do the minimal work necessary to upgrade to
the next major Elasticsearch release.

The HTTP GET upgrade request now also breaks out how many bytes of
ancient segments need upgrading.

Closes #10213

Closes #10540

Conflicts:
	dev-tools/create_bwc_index.py
	rest-api-spec/api/indices.upgrade.json
	src/main/java/org/elasticsearch/action/admin/indices/optimize/OptimizeRequest.java
	src/main/java/org/elasticsearch/action/admin/indices/optimize/ShardOptimizeRequest.java
	src/main/java/org/elasticsearch/action/admin/indices/optimize/TransportOptimizeAction.java
	src/main/java/org/elasticsearch/index/engine/InternalEngine.java
	src/test/java/org/elasticsearch/bwcompat/StaticIndexBackwardCompatibilityTest.java
	src/test/java/org/elasticsearch/index/engine/InternalEngineTests.java
	src/test/java/org/elasticsearch/rest/action/admin/indices/upgrade/UpgradeReallyOldIndexTest.java
2015-04-16 05:24:33 -04:00
..
aliases.asciidoc [DOCS] add -i flag to more curl HEAD calls 2015-03-21 08:56:20 +01:00
analyze.asciidoc Revert "Rest: Add json in request body to scroll, clear scroll, and analyze API" 2015-03-23 12:57:19 +01:00
clearcache.asciidoc Docs: Removed all the added/deprecated tags from 1.x 2014-09-26 21:04:42 +02:00
create-index.asciidoc Docs: Removed all the added/deprecated tags from 1.x 2014-09-26 21:04:42 +02:00
delete-index.asciidoc Added `action.destructive_requires_name` that controls whether wildcard expressions and `_all` is allowed to be used for destructive operat Also the delete index api requires always an index to be specified (either concrete index, alias or wildcard expression) 2014-01-09 11:36:50 +01:00
flush.asciidoc [ENGINE] Remove full flush / FlushType.NEW_WRITER 2015-02-04 17:38:05 +01:00
get-field-mapping.asciidoc Mappings: Remove support for new indexes using path setting in 2015-02-05 12:44:43 -08:00
get-index.asciidoc Indices API: Added GET Index API 2014-09-11 11:19:21 +01:00
get-mapping.asciidoc Docs: Removed all the added/deprecated tags from 1.x 2014-09-26 21:04:42 +02:00
get-settings.asciidoc Consistent REST API changes for GETting data 2014-01-14 22:33:52 +01:00
indices-exists.asciidoc [DOCS] add -i flag to more curl HEAD calls 2015-03-21 08:56:20 +01:00
open-close.asciidoc Added `action.destructive_requires_name` that controls whether wildcard expressions and `_all` is allowed to be used for destructive operat Also the delete index api requires always an index to be specified (either concrete index, alias or wildcard expression) 2014-01-09 11:36:50 +01:00
optimize.asciidoc Core: Remove ability to run optimize and upgrade async 2015-02-11 11:30:27 -08:00
put-mapping.asciidoc Docs: Fix order for PUT _mapping docs 2014-10-16 18:49:36 +02:00
recovery.asciidoc Docs: Updated version annotations in master 2015-04-09 14:50:11 +02:00
refresh.asciidoc Rename RobinEngine and friends to InternalEngine 2014-01-13 15:49:10 +01:00
segments.asciidoc Stats: Added verbose option to segments api, with full ram tree as first 2015-01-06 10:04:52 -08:00
shadow-replicas.asciidoc Add shadow replicas for shared filesystems 2015-02-18 15:34:06 -07:00
stats.asciidoc Filter indices stats for translog 2015-03-20 14:38:49 -07:00
templates.asciidoc [DOCS] add -i flag to more curl HEAD calls 2015-03-21 08:56:20 +01:00
types-exists.asciidoc [DOCS] add -i flag to curl HEAD call 2015-03-21 08:56:12 +01:00
update-settings.asciidoc Core: remove index.fail_on_merge_failure 2015-03-14 09:53:42 -04:00
upgrade.asciidoc Core: add only_ancient_segments to upgrade API, so only segments with an old Lucene version are upgraded 2015-04-16 05:24:33 -04:00
warmers.asciidoc Docs: Removed all the added/deprecated tags from 1.x 2014-09-26 21:04:42 +02:00