Commit graph

1015 commits

Author SHA1 Message Date
James Rodewig
8d4ef1e38e
[DOCS] Update ingest pipeline xrefs (#70178) 2021-03-10 08:28:19 -05:00
James Rodewig
5ff8b8c730
[DOCS] Remove outdated default distro refs (#69465) 2021-02-23 12:26:57 -05:00
Jason Tedor
d3ac7c9806
Remove support for JAVA_HOME (#69149)
This commit removes support for JAVA_HOME. As we previously deprecated
usage of JAVA_HOME to override the path for the JDK, this commit follows
up by removing support for JAVA_HOME. Note that we do not treat
JAVA_HOME being set as a failure, as it is perfectly reasonable for a
user to have JAVA_HOME configured at the system level.
2021-02-17 20:22:44 -05:00
debadair
73e711064a
[DOCS] Updating migration guide heading. (#68500)
* [DOCS] Updating migration guide heading.

* Fixed anchor

* Fixed anchor
2021-02-03 16:14:42 -08:00
Tianlun Li
b0d185bb0d
Remove deprecated gateway settings (#53845)
This commit removes the following deprecated settings in v8:

- `gateway.expected_nodes`
- `gateway.expected_master_nodes`
- `gateway.recover_after_nodes`
- `gateway.recover_after_master_nodes`

Co-authored-by: ShawnLi1014 <shawnli1014@gmail.com>
2021-02-03 14:10:45 +00:00
James Rodewig
03334b9801
[DOCS] Add security privileges to API docs (#67939) 2021-01-27 09:06:06 -05:00
debadair
3b7f2f50c6
Rebranded breaking changes as the migration guide (#67496)
* Rebranded breaking changes as the migration guide

* Fixed heading level
2021-01-14 09:14:48 -08:00
James Rodewig
86814df052
[DOCS] Clean up index template xrefs (#67264) 2021-01-11 12:38:09 -05:00
David Turner
ec08f924c7
Introduce ?wait_for_active_shards=index-setting (#67158)
In 7.x the close indices API defaulted to `?wait_for_active_shards=0`
but from 8.0 it defaults to respecting the index settings instead.  This
commit introduces the `index-setting` value for this parameter on this
API allowing users to opt-in to the future behaviour today, and emits a
deprecation warning indicating that the default no longer needs to be
used and will be unsupported in future.

In 7.x a follow up PR will introduce support for the same
`index-setting` value for this parameter and will emit deprecation
warnings if users try and use the default instead.

Relates #66419
2021-01-11 08:33:16 +00:00
James Rodewig
0f50732068
[DOCS] Note breaking change applies to legacy rollup jobs (#66894) 2020-12-30 09:59:24 -05:00
David Turner
b622adeb7a Revert "Document new waiting on shards on index close (#66543)"
This reverts commit 1c059e79e8.
2020-12-17 21:32:16 +00:00
David Turner
1c059e79e8
Document new waiting on shards on index close (#66543)
In 8.x the default for `?wait_for_active_shards` changes from `NONE` to
`DEFAULT` on calls to `POST /index/_close`. This commit adds this change
to the breaking changes docs.

Relates #66419, #66542
2020-12-17 17:51:24 +00:00
David Roberts
c5bef7f9a7
[ML] Deprecate anomaly detection post data endpoint (#66347)
There is little evidence of this endpoint being used
and there is quite a lot of code complexity associated
with the various formats that can be used to upload
data and the different errors that can occur when direct
data upload is open to end users.

In a future release we can make this endpoint internal
so that only datafeeds can use it, and remove all the
options and formats that are not used by datafeeds.

End users will have to store their input data for
anomaly detection in Elasticsearch indices (which we
believe all do today) and use a datafeed to feed it
to anomaly detection jobs.
2020-12-15 18:37:20 +00:00
David Turner
ff5cb90cc9
Remove escape hatch permitting incompatible builds (#65753)
Today in `7.x` there is a deprecated system property that bypasses the
check that prevents nodes of incompatible builds from communicating.
This commit removes the system property in `master` so that the check is
always enforced.

Relates #65601, #65249
2020-12-02 19:30:55 +00:00
Przemyslaw Gomulka
3b859f56a9
Compress audit logs (#64472)
audit logs should be compressed when rolling over due to size based
triggering policy breaching 1GB.
Files are not being deleted.

closes #63843
2020-12-02 17:36:31 +01:00
Christoph Büscher
c327794ae8
Fix range query on date fields for number inputs (#63692)
Currently, if you write a date range query with numeric 'to' or 'from' bounds,
they can be interpreted as years if no format is provided. We use
"strict_date_optional_time||epoch_millis" in this case that can interpret inputs
like 1000 as the year 1000 for example. 
This PR change this to always interpret and parse numbers with the "epoch_millis"
parser if no other formatter was provided.

Closes #63680
2020-12-01 18:49:50 +01:00
Dan Hermann
923b2b90c5
Remove the deprecated local parameter for _cat/indices (#64868) 2020-11-16 07:53:16 -06:00
Dan Hermann
f63a3b5cdc
Remove the deprecated local parameter for _cat/shards (#64867) 2020-11-13 07:34:15 -06:00
Dan Hermann
c829f8edd1
Remove deprecated _upgrade API (#64732) 2020-11-12 11:09:56 -06:00
Julie Tibshirani
79c267f4fc
Document breaking change around _id field data. (#64610) 2020-11-04 13:45:07 -08:00
James Rodewig
4f82e667ae
[DOCS] Fix "the the" typos (#64344) 2020-10-29 10:11:58 -04:00
Alan Woodward
bfaf3040c6
Convert geo field mappers to Parametrized form (#63836)
Relates to #62988
2020-10-22 09:11:41 +01:00
Alan Woodward
b1d6d42a68
Remove mapping boost parameter entirely (#62639)
Follow up to #62623, this commit removes support in 8x for index-time boosts.
There is no longer a boost field on MappedFieldType. Indexes created in 8x
and after will throw exceptions if a boost parameter is included in mappings,
and indexes created in 7x will emit warnings.
2020-09-23 14:28:59 +01:00
Alan Woodward
2b0418df5f
Emit deprecation warnings when boosts are defined in mappings (#62623)
We removed index-time boosting back in 5x, and we no longer document the 'boost'
parameter on any of our mapping types. However, it is still possible to define an
index-time boost on a field mapper for a surprisingly large number of field types, and
they even have an effect (sometimes, on some queries).

As a first step in finally removing all traces of index time boosting, this comment emits
a deprecation warning whenever a boost parameter is found on a mapping definition.
2020-09-18 15:34:54 +01:00
Tanguy Leroux
a25f06dbfc
Deprecate Repository Stats API (#62297)
This commit deprecates the Repository Stats API added in 7.8.0 as 
an experimental API behind a feature flag. The goal is to deprecate 
this API in 7.10.0 and remove it in a follow up PR in 8.0.0.

This API is now superseded by the Repositories Metering API.
2020-09-14 13:44:41 +02:00
Przemyslaw Gomulka
a3a7ae77fa
[doc] joda migration guide to version 8 (#60506)
indices created in v6 and not migrated earlier to java-time have to be
updated before upgrading to v8
closes #60374
2020-08-20 16:01:42 +02:00
Jay Modi
ec1c2bd8dc
Remove content type required setting (#61043)
This change removes the HTTP content type required setting, which was
deprecated in 6.0 and only existed for users upgrading from 5.x so that
they did not need to remove the setting immediately. The setting has no
effect on behavior.
2020-08-12 12:42:26 -06:00
David Turner
19eb922d9f
Remove join timeout (#60873)
There is no point in timing out a join attempt any more. Timing out and
retrying with the same master is pointless, and an in-flight join
attempt to one master no longer blocks attempts to join other masters.
This commit removes this unnecessary setting.

Relates #60872 in which this setting was deprecated.
2020-08-10 13:57:54 +01:00
James Rodewig
56c778235c
[DOCS] Fix metadata field refs (#60764) 2020-08-05 13:21:00 -04:00
James Rodewig
2774cd6938
[DOCS] Swap [float] for [discrete] (#60124)
Changes instances of `[float]` in our docs for `[discrete]`.

Asciidoctor prefers the `[discrete]` tag for floating headings:
https://asciidoctor.org/docs/asciidoc-asciidoctor-diffs/#blocks
2020-07-23 11:48:22 -04:00
James Rodewig
80b674fb25
[DOCS] Reformat snippets to use two-space indents (#59973) 2020-07-21 12:24:26 -04:00
James Rodewig
3a5013ea63
[DOCS] Clarify that passwords are not preserved for kibana_system user (#59449)
Updates the 8.0 breaking changes to clarify that passwords for the removed
`kibana` user are not preserved for the replacement `kibana_system` users.

Closes #59353
2020-07-13 15:58:36 -04:00
James Rodewig
2be9db01c8
[DOCS] Replace datatype with data type (#58972) 2020-07-07 13:52:10 -04:00
James Rodewig
51628f4c49
[DOCS] Add data streams to deprecation info API docs (#58685) 2020-07-02 09:38:11 -04:00
Christoph Büscher
3d4f9fedaf
Check for negative "from" values in search request body (#54953)
Today we already disallow negative values for the "from" parameter in the search
API when it is set as a request parameter and setting it on the
SearchSourceBuilder, but it is still parsed without complaint from a search
body, leading to differing exceptions later. This PR changes this behavior to be
the same regardless of setting the value directly, as url parameter or in the
search body. While we silently accepted "-1" as meaning "unset" and used the
default value of 0 so far, any negative from-value is now disallowed.

Closes #54897
2020-05-28 16:25:19 +02:00
James Rodewig
3fcc22e1cc
[DOCS] Add impact sections to snapshot/restore 8.0 breaking changes (#56441)
Co-authored-by: David Turner <david.turner@elastic.co>
2020-05-27 10:25:15 -04:00
James Rodewig
b79629d08c
[DOCS] Add impact sections to security 8.0 breaking changes (#56439)
Co-authored-by: Tim Vernum <tim@adjective.org>
2020-05-26 09:20:06 -04:00
David Turner
076c254f50
Fix list of discovery.zen settings removed in 8.0 (#56865)
In #39466 we removed all the settings in the `discovery.zen` namespace in 8.0
and documented their removal as a breaking change. Conspicuously absent from
the list of removed settings is the `discovery.zen.minimum_master_nodes`
setting, and there are two other omitted settings and a duplicated one too.
This commit fixes up these docs.
2020-05-17 18:50:46 +01:00
James Rodewig
6e9100d181
[DOCS] Add impact sections to 8.0 java api breaking changes (#56510) 2020-05-15 08:47:35 -04:00
James Rodewig
0f1266a7b0 [DOCS] Fix inconsistency in 8.0 breaking changes
Changes 'document types' to 'mapping types' for consistency.
2020-05-12 16:45:35 -04:00
Lee Hinman
fc708ccca4
Remove prefer_v2_templates query string parameter (#56546)
This commit removes the `prefer_v2_templates` flag and setting. This was a brief setting that
allowed specifying whether V1 or V2 template should be used when an index is created. It has been
removed in favor of V2 templates always having priority.

Relates to #53101
Resolves #56528

This is not a breaking change because this flag was never in a released version.
2020-05-11 14:56:48 -06:00
James Rodewig
8b78081938 [DOCS] Minor reword in 8.0 breaking changes 2020-05-11 11:43:59 -04:00
James Rodewig
42cad3ce93
[DOCS] Add impact sections to settings 8.0 breaking changes (#56440)
Co-authored-by: Rory Hunter <pugnascotia@users.noreply.github.com>
2020-05-11 09:08:16 -04:00
James Rodewig
303bed81ad
[DOCS] Add collapsible sections to 8.0 breaking changes [Part 4] (#56356) 2020-05-11 08:59:40 -04:00
James Rodewig
754a3e98e6
[DOCS] Add impact sections to API, search, transport, thread pool 8.0 breaking changes (#56437) 2020-05-08 12:55:56 -04:00
James Rodewig
9ab920c8f1
[DOCS] Collapse remaining 8.0 breaking changes (#56418) 2020-05-08 10:21:33 -04:00
James Rodewig
d6fbbe9afd
[DOCS] Add collapsible sections to 8.0 breaking changes [Part 3] (#56297) 2020-05-07 12:22:05 -04:00
William Brafford
410b03e5bc
Remove deprecated settings from 8.0.0 (#56211)
In 7.8.0, we deprecated the settings for disabling 
basic license feature APIs. This PR removes those
settings altogether for 8.0. This is a breaking
change: if these options appear in elasticsearch.yml,
they will no longer be recognized.
2020-05-05 13:59:31 -04:00
James Rodewig
e3e1e3ee89
[DOCS] Add collapsible sections to 8.0 breaking changes [Part 2] (#55862) 2020-05-05 09:44:29 -04:00
James Rodewig
4c44806d0f
[DOCS] Add collapsible sections to 8.0 breaking changes [Part 1] (#55811)
Co-authored-by: debadair <debadair@elastic.co>
2020-05-05 09:43:50 -04:00