Commit Graph

1183 Commits

Author SHA1 Message Date
Tim Vernum ff9c8271e6
Document removal of custom REST wrappers in 8.0 (#83565)
In #71061 we removed support for custom REST Handler Wrappers.

This change adds that information to the migration guide under the
"Plugin changes" section
2022-02-07 19:46:56 -05:00
James Rodewig 3aee6171e7
[DOCS] Link to the 7.17 upgrade assistant docs (#83613) (#83615)
The 8.0 upgrade assistant is only available in 7.17. This updates our docs to link to the 7.17 version of the related Kibana docs page.

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
(cherry picked from commit 3787c13619)

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2022-02-07 18:29:26 -05:00
James Rodewig 294c49c29f
[DOCS] Clean up 8.0 deprecations (#83548)
* Removes a duplicate breaking change/deprecation for `indices.query.bool.max_clause_count`.

* Relocates the `index.merge.policy.max_merge_at_once_explicit` deprecation content to a breaking changes section.

* Adds remediation steps for removing the settings. While they no longer have an effect, specifying these settings will issue a deprecation warning.

Relates to https://github.com/elastic/elasticsearch/pull/83412
2022-02-07 15:00:23 -05:00
James Rodewig 411eefcc46
[DOCS] Remove major release references from migration guide (#83555)
Updates the language in our migration guides to remove references to major releases.
2022-02-07 12:26:24 -05:00
James Rodewig 02ea65aaff
[DOCS] Switch xrefs to external links (#83590)
We reuse our breaking changes in the [Elastic Installation and Upgrade Guide](https://www.elastic.co/guide/en/elastic-stack/current/index.html). To prevent broken links, we have to use external links rather than xrefs inside breaking changes.

Relates to https://github.com/elastic/elasticsearch/pull/83487.
2022-02-07 09:27:48 -05:00
Jake Landis 5c73ad1da2
REST API compatiblity documentation (#83487)
Co-authored-by: debadair <debadair@elastic.co>
2022-02-04 16:32:22 -06:00
Rory Hunter 34c9e257c0 Add 8.0.0-rc2 release notes (#83412) 2022-02-03 12:04:10 +00:00
James Rodewig 882bac8948 [DOCS] Fix CCS compatibility typo 2022-02-02 13:09:40 -05:00
Jack Conradson 43052a1074
Fix joda migration for week based methods in Painless (#83232)
This change updates the docs to correct suggestions for migrating from 
JodaCompatibleZonedDateTime to ZonedDateTime in Painless for week based year and week of 
week based year.
2022-01-27 12:23:49 -08:00
James Rodewig cb6265f9bd
[DOCS] Move snapshot repo types to separate pages (#82826)
With https://github.com/elastic/elasticsearch/pull/81870, the Azure, GCS, and S3 repository types have separate, dedicated pages in the Elasticsearch guide. For consistency, this PR creates separate pages for the shared file system, read-only URL, and source-only repository types.

Related changes:

- Adds redirects to the plugins docs
- Fixes a few breaking changes that refer to the Azure, GCS, and S3 repositories as plugins.

Co-authored-by: Adam Locke <adam.locke@elastic.co>
2022-01-26 17:13:39 -05:00
James Rodewig 84429e6ff2
[DOCS] Fix typo in `action.destructive_requires_name` breaking change (#83085)
In 8.0+, the `action.destructive_requires_name` setting defaults to `true`, not `false`.
2022-01-25 11:03:28 -05:00
Mat Schaffer b2f2e3a7a3
Upgrade documentation for xpack.monitoring.history.duration (#82295)
* Upgrade documentation for xpack.monitoring.history.duration

* A few updates now that https://github.com/elastic/elasticsearch/pull/82498 has been opened with a concrete policy.

* Grammar fix

* Update docs/reference/migration/migrate_8_0/cluster-node-setting-changes.asciidoc

Co-authored-by: James Baiera <james.baiera@gmail.com>

Co-authored-by: James Baiera <james.baiera@gmail.com>
2022-01-24 11:10:16 +09:00
James Rodewig 49f9c0308c [DOCS] Use external link in 8.0 breaking change 2022-01-11 11:20:15 -05:00
James Rodewig dfb9f6f18d
[DOCS] Document 8.0 BWC support for CCS (#80809)
As of 8.0, the compatibility window for cross-cluster search (CCS) to an earlier release will be one minor release. This updates the CCS docs and adds a related 8.0 breaking change.

Closes https://github.com/elastic/elasticsearch/issues/80782
2022-01-11 10:33:12 -05:00
Rory Hunter d2dbef5063
Convert repository plugins to modules (#81870)
Closes #81652.

Convert the `repository-azure`, `repository-gcs` and `repository-s3`
plugins into modules, so that they are always included in the
Elasticsearch distribution. Also change plugin installation, removal
and syncing so that attempting to add or remove these plugins still
succeeds but is now a no-op.
2022-01-10 10:45:42 +00:00
Costin Leau ec57fbec6f
SQL: Remove JDBC dependency on ES lib geo (#82166)
As part of the effort of making JDBC driver self sufficient, remove the
ES lib geo dependencies without any replacement.
Currently the JDBC driver takes the WKT text and instantiates a geo
object based on the ES lib geo.
Moving forward the driver will return the WKT string representation
without any conversion letting the user pick the geo library desired.
That can be ES lib geo, jts, spatial4j or others.

Note this is a breaking change.

Relates #80277
2022-01-04 07:55:41 +02:00
James Rodewig efeb1983ae
[DOCS] Combine 8.0 breaking changes for mapping type endpoints (#81730)
Combines several 8.0 breaking changes for the removal of API endpoints that contain mapping types. These items were separate because we previously organized breaking changes by area.

This is a follow-on to #79162.
2021-12-17 16:03:51 -05:00
Alan Woodward f0bf6f5ee3
Configure IndexSearcher.maxClauseCount() based on Node characteristics (#81525)
This commit deprecates the indices.query.bool.max_clause_count node setting,
and instead configures the maximum clause count for lucene based on the available
heap and the size of the thread pool.

Closes #46433
2021-12-17 11:37:32 +00:00
James Rodewig cec4a79a8e [DOCS] Fix formatting typo 2021-12-09 15:46:44 -05:00
James Rodewig 1519bb6ecb
[DOCS] Update snapshot defaults for system indices (#81226)
Updates the snapshot and restore docs for https://github.com/elastic/elasticsearch/pull/79670.

Closes https://github.com/elastic/elasticsearch/issues/81183
2021-12-08 10:15:14 -05:00
Keith Massey 68a9eaa4dc
Adding discovery.zen.bwc_ping_timeout to the list of removed zen settings (#81310)
This commit adds the discovery.zen.bwc_ping_timeout setting our documentation about the
settings that have been removed in 8.0.
2021-12-03 16:16:48 -06:00
James Rodewig e999ad0061
[DOCS] Relocate 8.0 `repositories.fs.compress` breaking change (#81216)
The change removes a node-level setting. It was accidentally placed with REST API changes as part of https://github.com/elastic/elasticsearch/issues/79162. This moves the breaking change to the cluster and node setting changes section.
2021-12-01 09:53:10 -05:00
Ignacio Vera 00aa197399
Fields API should return normalize geometries (#80649)
Fields API deliver now the normalize geometries instead of the plain geometries from source

Co-authored-by: James Rodewig <james.rodewig@elastic.co
2021-12-01 08:10:54 +01:00
James Rodewig 58f32b361f
[DOCS] Update 8.0 breaking change for searchable snapshot shared cache (#80793)
You can no longer configure `xpack.searchable.snapshot.shared_cache.size` as a user setting in ESS on 7.13+ deployments. This PR removes the ESS icon from the related 8.0 breaking change for the setting.

It also clarifies the breaking change text to indicate that configuring the setting on non-frozen nodes will result in an error on startup.

Relates to https://github.com/elastic/elasticsearch/pull/80795
2021-11-19 11:25:55 -05:00
James Rodewig 2f4143267e
[DOCS] Un-deprecate transient cluster settings (#80766) (#80780)
#80556 reverted the deprecation of transient cluster settings. This replaces deprecation language in the docs with a warning/recommendation to avoid transient settings.

Closes #80557
# Conflicts:
#	docs/reference/migration/migrate_7_16.asciidoc
2021-11-16 16:00:13 -05:00
James Rodewig 5061c460e6
[DOCS] Remove unneeded breaking changes files (#80729)
Removes some unneeded files related to the previous organization of breaking changes.

Relates to #79162 and https://github.com/elastic/stack-docs/pull/1877
2021-11-15 17:24:58 -05:00
James Rodewig 987010db47
[DOCS] Fix 8.0 breaking change tags (#80725)
Includes command line tool deprecations in the notable changes tag.
2021-11-15 12:00:35 -05:00
James Rodewig 767a23727e
[DOCS] Organize breaking changes by component (#79162)
* Reorganizes the 8.0.0 and 8.1.0 breaking changes and deprecations into component-based categories.
* Adds an ESS icon to cluster settings on the ESS user settings allowlist.
* Adds tips for sections that aren't relevant to Cloud users.
* Updates the labels for some items to provide better context.

Co-authored-by: debadair <debadair@elastic.co>
2021-11-15 10:42:12 -05:00
David Turner f9afa8750f
Fix up docs for #78876 (#80580)
Follow-up to #78876 to rework the deprecation docs slightly.
2021-11-10 10:23:01 +00:00
Nikola Grcevski 3308dd5c00
Undo transient settings deprecation (#80558)
This change removes the deprecation warning when calling
the cluster settings APIs with transient settings.

Relates to #80556
2021-11-09 17:07:55 -05:00
Artem Prigoda 27fd66d084
Deprecate lenient parsing of bulk actions (#78876)
Make sure there are no arbitrary fields after an action declaration and that it gets properly closed by a curly bracket.

Resolves #43774
2021-11-09 13:09:19 +01:00
David Turner 8cf4c7b6fb
Remove last few mentions of Zen discovery (#80410)
We have a few leftover mentions of `zen` discovery, mostly for
historical/BwC reasons, which this commit removes.

Prior to this commit the default value for `discovery.type` was `zen`
but this was not written down anywhere or officially supported: the two
options were to set it to `single-node` or to omit it entirely. This
commit changes the default to `multi-node` and documents this.

Co-authored-by: Adam Locke <adam.locke@elastic.co>
2021-11-09 09:52:06 +01:00
Jake Landis 375481e615
Add a note about support for deprecation.skip_deprecated_settings (#80035)
This commit adds a warning that this setting should only
be used indirectly by ESS/ECE/ECK. Wording is borrowed from
[cloud-only](54335b0790/shared/attributes.asciidoc (L145))
2021-11-08 07:57:30 -06:00
Artem Prigoda a2c3daead1
Return 200 OK response code for a cluster health timeout (#78968)
Returning 408 for a cluster health timeout was deprecated in #78180 and backported to 7.x in #78940

Now we can do a breaking change in 8.0 respecting the user choice to run ES in 7.x compatible mode via the REST Compatibility layer.

Fixes #70849
2021-11-06 19:46:27 +01:00
James Rodewig f56a0f4b66
[DOCS] Remove `testenv` annotations from doc snippet tests (#80023)
Removes `testenv` annotations and related code. These annotations originally let you skip x-pack snippet tests in the docs. However, that's no longer possible.

Relates to #79309, #31619
2021-11-05 18:38:50 -04:00
James Rodewig cb6347b3da
[DOCS] Add transient settings migration guide (#80091) (#80272)
Changes:

* Adds a transient settings migration guide to the 7.16 docs.
* Updates the related deprecation docs to link to the guide.

Closes #80055

Relates to #79167.
2021-11-03 09:23:25 -04:00
Lisa Cawley a80be4d7ac
[DOCS] Fixes version in ML breaking change (#80240) 2021-11-02 18:47:53 -07:00
Lisa Cawley 18320c0757
[DOCS] Adds breaking change for allow_no_datafeeds and allow_no_jobs (#80155) 2021-11-01 12:08:29 -07:00
James Rodewig 51e65b4dcb
[DOCS] Fix whitespace in tier filtering 8.0 breaking change (#79913)
Adds some whitespace so these display as unordered lists.
2021-10-27 09:30:30 -04:00
Dan Hermann 9e93765ee1
Document removal of freeze index API in migration guide (#79801) 2021-10-27 08:01:21 -05:00
Adam Locke 4d8dd1ff3f
[DOCS] Fix typos in 8.0 security migration (#79802)
* [DOCS] Fix typo

* Fix other typos

* Fix line break in deprecation notice
2021-10-26 08:51:51 -04:00
Ioannis Kakavas 0eb2baa07d
CLI tool to (re)set users password (#79709)
This change introduces a new CLI tool that can be used to set and
reset the password of all the built-in users and users in the native
realm in Elasticsearch. It depends on the file realm being enabled
(which it is, by default) and can (re)set one built-in user password at a time.
It removes the previously introduced elasticsearch-reset-elastic-password
and elasticsearch-reset-kibana-system-password as their functionality is
covered by this new tool.
2021-10-26 07:57:18 +03:00
Lisa Cawley c10bf9be84
[DOCS] Add transform breaking changes (#79531) 2021-10-25 08:08:18 -07:00
bellengao fd68b04049
Throw a RepositoryConflictException when trying to put or delete a repository in use (#56070) 2021-10-21 13:16:36 +02:00
Przemyslaw Gomulka 6aa0db817c
[DOCS] Migration information about ES logging breaking changes (#79146)
Adds breaking change docs for #47105. (ECS layout and plaintext log files removal)

Relates to #46119
2021-10-20 17:02:29 +02:00
Gordon Brown 1a906897e6
Implement framework for migrating system indices (#78951)
This PR adds a framework for migrating system indices as necessary prior
to Elasticsearch upgrades. This framework uses REST APIs added in
another commit:
- GET _migration/system_features

This API, which gets the status of "features" (plugins which own system
indices) with regards to whether they need to be upgraded or not. As of
this PR, this API also reports errors encountered while migrating system
indices alongside the index that was being processed when this occurred.

As an example of this error reporting:

```json
{
    "feature_name": "logstash_management",
    "minimum_index_version": "8.0.0",
    "upgrade_status": "ERROR",
    "indices": [
        {
            "index": ".logstash",
            "version": "8.0.0",
            "failure_cause": {
                "error": {
                    "root_cause": [
                        {
                            "type": "runtime_exception",
                            "reason": "whoopsie",
                            "stack_trace": "<omitted for brevity>"
                        }
                    ],
                    "type": "runtime_exception",
                    "reason": "whoopsie",
                    "stack_trace": "<omitted for brevity>"
                }
            }
        }
    ]
}
```

- POST _migration/system_features

This API starts the migration process. The API for this has no changes,
but when called, any system indices which need to be migrated will be
migrated, with status information stored in the cluster state for later
use by the GET _migration/system_features API.
2021-10-19 18:52:22 -06:00
James Baiera ceaf53cf9e
Add deprecation info API entries for deprecated monitoring settings (#78799)
Recently we have deprecated a number of settings in monitoring. These settings should be represented in the deprecation info API. This PR will be backported with some minor changes to the 7.x branch so that we can start the deprecation process in that release cycle.
2021-10-19 12:45:38 -04:00
Ioannis Kakavas d6ef299975
Add note in breaking changes for nameid_format (#77785)
* Add note in breaking changes for nameid_format

We changed the default for `nameid_format` in 8.0 in #44090 but
did not add anything to the breaking changes in the release notes.
This change amends that.

* remove reference to settings

* Fix docs build

* Accepting most of James' suggested changes

Thanks James!

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>

* Incorporating changes from Ioannis

* Apply suggestions from code review

Co-authored-by: Tim Vernum <tim@adjective.org>

* Apply suggestions from code review

Co-authored-by: Ioannis Kakavas <ikakavas@protonmail.com>

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
Co-authored-by: Adam Locke <adam.locke@elastic.co>
Co-authored-by: Tim Vernum <tim@adjective.org>
2021-10-19 12:38:52 -04:00
William Brafford 5c6a481cb7
Use 'migration' instead of 'upgrade' in GET system feature migration status responses (#79302)
* Change 'upgrade' to 'migration' in System Index Migration responses

* Mute rest compatibility test
2021-10-19 12:15:26 -04:00
Jack Conradson 55e5daf470
Add deprecated methods for JodaCompatibleZonedDateTime to docs (#79202)
This change adds all the JodaCompatibleZonedDateTime methods that no longer exist to the 
migration docs with their ZonedDateTime equivalents.

Fixes: #78739
2021-10-18 08:00:47 -07:00
Adam Locke 8510766e7d
[DOCS] Add deprecation notice for reset password tool (#78793)
* [DOCS] Add deprecation notice for elastic-reset-password

* Change links to be external

* Update wording

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
2021-10-18 07:59:01 -04:00
Keith Massey 87fa61cc3f
Filtering setting deprecation info API messages based on a setting (#78725) (#79184)
This commit adds the ability to configure a list of settings that will be ignored by the deprecation info
API. Any deprecation messages for any of the settings given will be suppressed. This can be used to hide
settings that users do not have the ability to change.
Relates #78725
2021-10-14 16:31:13 -05:00
Martijn van Groningen 04e5823a69
Remove default maxmind geoip databases from distribution (#78362)
* Adjusted integration tests to use geoip test fixture or to use test databases provided via config dirs (for qa module / docs).
* Kept the geolite2-databases dependency for most of the unit tests only.
* Made fallback_to_default_databases parameter on geoip processor a noop and emit deprecation warning upon using it.
* If no geoip databases are available yet to a node then the geoip processor factory returns a processor implementation that flags documents that databases are unavailable. This allows these documents to be reindex later with a pipeline. These documents will have a tag string array field, which contains a string _geoip_database_unavailable_{database_name} for each missing database in a pipeline.
* Added reload pipeline capabilities is IngestService, so that when databases are available again on a node then pipelines with geoip processor definition can be reloaded.

Relates to #68920
2021-10-13 14:52:18 +02:00
James Rodewig ae50acdbf8
[DOCS] Add 8.0 breaking change for adjacency matrix setting (#79023)
Adds an 8.0 breaking change for the removal of the
`index.max_adjacency_matrix_filters` index setting.

Relates to #77803.
2021-10-13 08:33:39 -04:00
James Rodewig a023febd20
[DOCS] Update the 8.0 Java breaking change for consistency (#79018)
Portions of the change reference Java 11 while other portions reference
Java 17. This updates the docs to consistently use Java 17.
2021-10-13 07:27:31 -04:00
William Brafford 0a28c7cb91
Implement GET API for System Feature Upgrades (#78642)
* Implement and test get feature upgrade status API
* Add integration test for feature upgrade endpoint
* Use constant enum for statuses
* Add unit tests for transport class methods
2021-10-07 15:18:47 -04:00
debadair 248b2293f9
[DOCS] Add info about FIPS and Java 17 (#78580)
* [DOCS] Updated breaking changes entry for Java 11.
2021-10-06 11:54:48 -07:00
James Baiera aa3d5109b1
Automatically install monitoring templates at plugin initialization (#78350)
This PR adds a MonitoringIndexTemplateRegistry to the monitoring plugin which automatically 
installs all monitoring templates locally when the plugin is initialized. Exporters have been 
updated to no longer attempt installation of the monitoring templates, and instead will wait for 
the templates to become available before setting themselves as started. Some older 
functionality related to templates has been removed as well, such as the expectation that 
version 6 monitoring templates are installed, as well as the setting that controls their installation
(xpack.monitoring.exporters.<EXPORTER>.index.template.create_legacy_templates).
2021-10-05 14:05:20 -04:00
Jack Conradson 2cf160f2c0
Remove deprecated code from stored scripts (#78643)
This change removes several pieces of deprecated code from stored scripts.

Stored scripts/templates are no longer allowed to be an empty and will throw an exception when used 
with PutStoredScript.

ScriptMetadata will now drop any existing stored scripts that are empty with a deprecation warning in 
the case they have not been previously removed.

The code field is now only allowed as source as part of a PutStoredScript JSON blob.
2021-10-05 10:41:39 -07:00
James Rodewig 2893ea911b
[DOCS] Remove duplicate line from migration guide (#78688) 2021-10-05 08:52:11 -04:00
Joe Gallo 4a14f2f6f9
Validate that snapshot repository exists for ILM policies at creation/update time (#78468) 2021-10-04 15:19:10 -04:00
debadair 7431a9656e
[DOCS] Fix erroneous page break. (#78487) 2021-09-29 15:12:13 -07:00
William Brafford 8c2fe902f3
Feature upgrade rest stubs (#77827)
* Add stubs for get API
* Add stub for post API
* Register new actions in ActionModule
* HLRC stubs
* Unit tests
* Add rest api spec and tests
* Add new action to non-operator actions list
2021-09-29 16:25:15 -04:00
Jack Conradson 086ba1aefb
Remove JodaCompatibleZonedDateTime (#78417)
This change removes JodaCompatibleZonedDateTime and replaces it with ZonedDateTime for use in 
scripting.

Breaking changes:
* JodaCompatibleDateTime no longer exists and cannot be cast to in Painless. Use ZonedDateTime 
instead.
* The dayOfWeek method on ZonedDateTime returns the DayOfWeek enum instead of an int from 
JodaCompatibleDateTime. dayOfWeekEnum still exists on ZonedDateTime as an augmentation to 
support the transition to ZonedDateTime, but is now deprecated in favor of dayOfWeek on 
ZonedDateTime.
2021-09-29 13:01:40 -07:00
James Rodewig 4544ab2dbb
[DOCS] Always enable file and native realms unless explicitly disabled (#78405)
* [DOCS] Always enable file and native realms by default

Adds an 8.0 breaking change for PR #69096.

The copy is based on the 7.13 deprecation notice added with PR #69320.

* reword

* Update docs/reference/migration/migrate_8_0/security.asciidoc

Co-authored-by: Yang Wang <ywangd@gmail.com>

* Update docs/reference/migration/migrate_8_0/security.asciidoc

Co-authored-by: Yang Wang <ywangd@gmail.com>

Co-authored-by: Yang Wang <ywangd@gmail.com>
2021-09-29 09:10:30 -04:00
James Rodewig f4b5ef7416
[DOCS] Remove `include_type_name` query parameter (#78394)
Adds an 8.0 breaking change for PR #48632.
2021-09-29 09:00:15 -04:00
James Baiera eafbd336c2
Remove Monitoring ingest pipelines (#77459)
Monitoring installs a number of ingest pipelines which have been historically used
to upgrade documents when mappings and document structures change between 
versions. Since there aren't any changes to the document format, nor will there be 
by the time the format is completely retired, we can comfortably remove these 
pipelines.
2021-09-28 16:10:02 -04:00
James Rodewig 58595e7af5
[DOCS] Searches on the `_type` field are no longer supported (#78400)
Adds an 8.0 breaking change for PR #68564
2021-09-28 14:51:45 -04:00
James Rodewig 485e7deaa0
[DOCS] Re-add docs for multiple data paths (MDP) (#78342)
We deprecated support for multiple data paths (MDP) in 7.13. However,
we won't remove support until after 8.0.

Changes:

* Reverts PR #72267, which removed MDP docs
* Removes a related item from the 8.0 breaking changes.
2021-09-28 09:20:45 -04:00
James Rodewig 0c01bcdd9f
[DOCS] Remove index API's `types` option (#78335)
Adds an 8.0 breaking change for PR #47203.
2021-09-28 08:44:25 -04:00
James Rodewig 1764fa0e8f
[DOCS] Remove `type` query (#78334)
Adds an 8.0 breaking change for PR #47207.
2021-09-28 08:44:06 -04:00
James Rodewig b20939f071
[DOCS] Document empty first line support for msearch API (#78284)
Adds an 8.0 breaking change for PR #41011
2021-09-27 08:58:22 -04:00
James Rodewig 38125c147d
[DOCS] Remove `gateway.auto_import_dangling_indices` setting (#78280)
Adds an 8.0 breaking change for PR #59698.
2021-09-26 19:24:01 -04:00
James Rodewig 181aebd1dc
[DOCS] Watcher history now writes to a data stream (#78277)
Adds an 8.0 breaking change for PR #64252.
2021-09-23 16:07:01 -04:00
James Rodewig 96c4bd96a9
[DOCS] Remove support for `unmapped_type:string` sort (#78272)
* [DOCS] Remove support for `unmapped_type:string` sort

Adds an 8.0 breaking change for PR #45675.

* Clarify error

* Reset mapping changes
2021-09-23 13:37:46 -04:00
James Rodewig 80ba92f1b1
[DOCS] Add breaking change for unsupported `script` fields (#78217)
Adds an 8.0 breaking change for PR #59507.
2021-09-22 17:41:06 -04:00
James Rodewig 15baf4017a
[DOCS] Remove `_term` and `_time` agg order keys (#78209)
Adds an 8.0 breaking change for the removal of the `_term` and `_time`
agg `order` keys.

Relates to #39450
2021-09-22 15:54:14 -04:00
James Rodewig ce56c19346
[DOCS] Remove support for EOL OSs and `SysV init` (#78199)
Adds an 8.0 breaking change for the removal of support for several EOL operating
systems and `SysV init`.

Relates to #51480 and #51716
2021-09-22 13:41:52 -04:00
James Rodewig 2b2f0e1d7f
[DOCS] Remove the `listener` thread pool (#78194)
Changes:
* Removes docs for the `listener` thread pool
* Adds an 8.0 breaking change for the thread pool removal

Relates to #53314 and #53049
2021-09-22 13:41:05 -04:00
Ryan Ernst a06aff9b01
Revert "Fail index creation using custom data path (#76792)" (#78031)
This reverts commit 79d91ed9d3.
2021-09-22 09:02:56 -07:00
James Rodewig 49444ccd10
[DOCS] Add breaking change for ECS user agent (#77971)
In 8.x, we'll ignore the `ecs` option for the `user_agent` ingest processor.
This adds a related breaking change to the 8.0 migration docs.

Relates to #38828
2021-09-21 09:19:44 -04:00
James Rodewig f3f11ab365
[DOCS] Add breaking change for `moving_avg` (#78018)
Documents the removal of the `moving_avg` aggregation in the 8.0 breaking changes.

Relates to #29594.
2021-09-20 13:16:11 -04:00
James Rodewig 3a23dd919c
[DOCS] Fix deprecation version for cluster recovery breaking change (#77787) 2021-09-15 10:35:26 -04:00
István Zoltán Szabó db239e2b50
[DOCS] Adds update datafeeds API changes to the migration guide. (#77689) 2021-09-14 13:55:42 +02:00
James Rodewig 3f71a979c1
[DOCS] Fix impact sentences for removed system properties (#77601)
Several sentences in the 8.0 breaking changes reference setting
system properties in `elasticsearch.yml`, which is not supported. This corrects
those sentences.

It also fixes a sentence that references the `http.content_type.required`
setting as a system property.
2021-09-13 09:06:59 -04:00
Ryan Ernst 79d91ed9d3
Fail index creation using custom data path (#76792)
Custom per-index data paths were deprecated in 7.14. This commit blocks
creation of indices in 8.0 from configuring custom data paths.

relates #73168
2021-09-09 20:38:30 -07:00
Lee Hinman 35def9464c
Make the ILM `freeze` action a no-op (#77158)
* Make the ILM `freeze` action a no-op

This changes the ILM `freeze` action to not actually freeze the index, instead performing no
operation.

Relates to #70192

* zoop -> noop in documentation anchor

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2021-09-08 16:05:46 -04:00
Przemyslaw Gomulka 9d3b39ccb7
[doc] Remove external herokuapp website link (#77405)
The website is no longer live and is external to elastic domain. It was used as help for testing migration
2021-09-08 14:10:08 +02:00
Tim Brooks 673e8e17f4
Enable LZ4 transport compression by default (#76326)
This commit enables LZ4 transport compression by default at the
indexing_data level.

Relates to #73497.
2021-08-17 12:19:42 -06:00
Tim Vernum 01f20a3343
Default hasher to PBKDF2_STRETCH on FIPS mode (#76274)
When running in FIPS mode, (fips_mode.enabled: true), the default
password hasher is now "pbkdf2_stretch"

In non-FIPS mode the default is still "bcrypt"

In 7.x and earlier, the default hasher was always "bcrypt"
In 8.0-alpha1, the default hasher on FIPS was "pbkdf2"

Resolves: #66840
2021-08-13 12:18:44 +10:00
Tim Vernum c5796645cf
Include removal of PKCS#11 in breaking changes doc (#75440)
Relates: #75404
2021-08-03 12:50:43 +10:00
James Rodewig 78607b5abd
[DOCS] Fix formatting for several 8.0 breaking changes (#75715) 2021-07-26 18:46:58 -04:00
James Rodewig ab8766777b
[DOCS] Fix tags and xrefs for 8.0 breaking changes (#75712)
A tag is required to reuse Elasticsearch breaking changes in the Stack
Guide. To display properly, the breaking changes must use external
links rather than xrefs.

This PR correctly places those tags for reuse. It also replaces
several xrefs with external links for reuse.
2021-07-26 17:43:39 -04:00
Lisa Cawley 990b548694
[DOCS] Fixes link in EQL breaking changes (#75710) 2021-07-26 14:28:59 -07:00
James Rodewig ced1c01dfc
[DOCS] Fix formatting for 8.0 breaking changes (#75709)
Fixes a few malformed collapsible sections for breaking changes.
2021-07-26 17:17:34 -04:00
Adrien Grand feb6620d14
`indices.query.bool.max_clause_count` now limits all query clauses (#75297)
In the upcoming Lucene 9 release, `indices.query.bool.max_clause_count` is
going to apply to the entire query tree rather than per `bool` query. In order
to avoid breaks, the limit has been bumped from 1024 to 4096.

The semantics will effectively change when we upgrade to Lucene 9, this PR
is only about agreeing on a migration strategy and documenting this change.

To avoid further breaks, I am leaning towards keeping the current setting name
even though it contains `bool`. I believe that it still makes sense given that
`bool` queries are typically the main contributors to high numbers of clauses.

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
2021-07-21 12:16:30 +02:00
Mark Tozzi 7af39dbc35
Remove deprecated date histo interval (#75000)
Date histogram interval parameter was deprecated in 7.2, in favor of the more specific fixed_interval and calendar_interval parameters.  The old logic used some poorly understood guessing to decide if it should operate in fixed or calendar mode.  The new logic requires a specific choice by the user, which is more explicit.  In 7.x REST compatibility mode, we will parse the interval as calendar if possible, and otherwise interpret it as fixed.
2021-07-20 13:08:45 -04:00
Francisco Fernández Castaño abc7a4776d
Avoid auto following leader system indices in CCR (#72815)
Relates #67686
2021-07-09 18:08:41 +02:00
James Rodewig d4ed43c5a4
[DOCS] Remove deprecated `geo_shape` parameters (#74519)
* Removes docs and references for the following `geo_shape` mapping parameters:
  * `tree`
  * `tree_levels`
  * `strategy`
  * `distance_error_pct`
* Updates a related breaking change.

Relates to #70850
2021-06-29 08:52:05 -04:00
Ignacio Vera d7ef5b6d21
Remove bounding box query type parameter (#74536)
The parameter has been deprecates in 7.14 as it is a no-op.
2021-06-28 07:37:04 +02:00