OpenSearch/rest-api-spec/api
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
..
bulk.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.aliases.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.allocation.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.count.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.fielddata.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.health.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.help.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.indices.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.master.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.nodes.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.pending_tasks.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.plugins.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.recovery.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.segments.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.shards.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.thread_pool.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
clear_scroll.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cluster.get_settings.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cluster.health.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cluster.pending_tasks.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cluster.put_settings.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cluster.reroute.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cluster.state.json Cluster state REST api: routing_nodes as an independent metric option 2015-04-08 15:35:11 +02:00
cluster.stats.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
count.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
count_percolate.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
delete.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
delete_by_query.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
delete_script.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
delete_template.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
exists.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
explain.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
get.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
get_script.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
get_source.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
get_template.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
index.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.analyze.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.clear_cache.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.close.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.create.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.delete.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.delete_alias.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.delete_template.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.delete_warmer.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.exists.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.exists_alias.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.exists_template.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.exists_type.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.flush.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.get.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.get_alias.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.get_aliases.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.get_field_mapping.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.get_mapping.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.get_settings.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.get_template.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.get_upgrade.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.get_warmer.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.open.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.optimize.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.put_alias.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.put_mapping.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.put_settings.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.put_template.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.put_warmer.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.recovery.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.refresh.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.segments.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.stats.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.update_aliases.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.upgrade.json 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
indices.validate_query.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
info.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
mget.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
mlt.json Search: Remove the `count` search type. 2015-03-31 11:31:49 +02:00
mpercolate.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
msearch.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
mtermvectors.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
nodes.hot_threads.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
nodes.info.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
nodes.shutdown.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
nodes.stats.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
percolate.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
ping.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
put_script.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
put_template.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
scroll.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
search.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
search_exists.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
search_shards.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
search_template.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
snapshot.create.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
snapshot.create_repository.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
snapshot.delete.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
snapshot.delete_repository.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
snapshot.get.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
snapshot.get_repository.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
snapshot.restore.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
snapshot.status.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
snapshot.verify_repository.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
suggest.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
termvectors.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
update.json Make sure that the parent option on the update request only is delgated to upsert index request. 2015-03-28 08:53:11 +01:00