Commit graph

1024 commits

Author SHA1 Message Date
James Rodewig
345a3ab227
[DOCS] List indices.query.bool.max_clause_count as static cluster setting (#70810) (#70813)
Co-authored-by: Dimitri Koutsos <nephel@users.noreply.github.com>
2021-03-24 09:24:27 -04:00
Yang Wang
1e4732e4a9
Deprecate the behaviour of implicitly disabling file/native realm (#69320)
As a precursor for #50892, this PR deprecate the behaviour of file and/or
native realm being implicitly disabled when there are other explicitly
configured realms.

With this change, the recommend way of disabling file/native realm is to
explicitly set enabled to false, e.g.:

xpack.security.authc.realms.file.default_file.enabled: false

This PR ensures that a warning is generated whenever file and/or native realm
is implicitly disabled.

This change also brings a question about the order parameter. Currently, the
order parameter is mandatory in 8.0 and gets a warning message if it is missing
in 7.x. However, it makes sense to not specify the order parameter if the realm
is disabled. So I also updated the order parameter related code to do just
that.
2021-03-15 16:56:07 +11:00
James Rodewig
e52a5ed1b9
[DOCS] Update ingest pipeline xrefs (#70178) (#70227) 2021-03-10 08:42:49 -05:00
James Rodewig
0845e1ec9c
[DOCS] Add breaking change for REST APIs without request body (#69565) (#69602) 2021-02-25 08:57:29 -05:00
Christoph Büscher
aa39799076
Add note about changed fields API behaviour for nested (#68813)
Add a note about the changes in the `fields` API around the response format for
nested fields.

Relates to #67432
2021-02-11 10:53:38 +01:00
James Rodewig
5c19f460e7
[DOCS] Add missing xref to 7.11 breaking changes (#68613) 2021-02-05 17:12:02 -05:00
debadair
722bbd813d
[DOCS] Rebrand breaking changes as the Migration guide (#66569) (#67495) (#68501)
* [DOCS] Rebrand breaking changes as the Migration guide (#66569) (#67495)

* [DOCS] Rebrand breaking changes as the Migration guide (#66569)

* [DOCS] Rebrand breaking changes as the Migration guide

* Edits

* Fix version reference

* Fixed typo

* Added subsection intros & added info about the deprecation policy

* Fixed duplicate anchor

* [DOCS] Updated 7.12 migration topic

* Fixed unterminated block
2021-02-03 15:34:16 -08:00
James Rodewig
bfafe4c026
[DOCS] Add security privileges to API docs (#67939) (#68053) 2021-01-27 09:29:12 -05:00
Benjamin Trent
1562b23df7
[ML] updating 7.11 breaking changes doc (#67377) (#67535)
Updates breaking changes doc for ML to include changes to the trained models API.

forward port of: #67377
2021-01-14 15:00:35 -05:00
James Rodewig
995b5744bd [DOCS] Add periods to collapsible summary 2021-01-13 10:56:44 -05:00
James Rodewig
e3636739d7
[DOCS] Add periods to collapsible summaries (#67439) (#67445) 2021-01-13 10:42:33 -05:00
Alan Woodward
33f016310d
Add breaking changes for #64597 and #63945 (#67420) 2021-01-13 14:09:13 +00:00
James Rodewig
287719e4c8
[DOCS] Tweak breaking changes headings (#67304) (#67349) 2021-01-12 09:31:39 -05:00
James Rodewig
3872f08b33
[DOCS] Clean up index template xrefs (#67264) (#67272) 2021-01-11 12:58:00 -05:00
James Rodewig
29447ba15b
[DOCS] Fix formatting for breaking changes (#67267) (#67275) 2021-01-11 12:56:39 -05:00
James Rodewig
d126c31636
[DOCS] Fix Fleet links (#66553) (#66558) 2020-12-17 15:35:15 -05:00
David Turner
62356984b1
Fail force-merges on read-only engines (#64756) (#66490)
Today we treat all force-merges on a read-only (e.g. frozen) engine as
no-ops, indicating to the client that they succeeded even if they had no
effect. This commit corrects that behaviour, resolving the resulting
confusion, by rejecting force-merges on read-only engines that are
definitely not no-ops.

Co-authored-by: Howard <danielhuang@tencent.com>
2020-12-17 13:18:42 +00:00
Hendrik Muhs
8e377da291
[7.x][Transform] use ISO dates in output instead of epoch millis (#65584) (#65952)
Transform writes dates as epoch millis, this does not work for historic data in some cases or is
unsupported. Dates should be written as such. With this PR transform starts writing dates in ISO
format, but as existing transform might rely on the format it provides backwards compatibility for
old jobs as well as a setting to write dates as epoch millis.

fixes #63787
backport #65584
2020-12-07 17:18:55 +01:00
Alan Woodward
92e4b15048
Use ValueFetcher when loading text snippets to highlight (#63572) (#65441)
HighlighterUtils.loadFieldValues() loads values directly from the source, and
then callers have to deal with filtering out values that would have been removed
by an ignore_above filter on keyword fields. Instead, we can use the
ValueFetcher for the relevant field, which handles all this logic for us.

Closes #59931.
2020-11-25 17:00:18 +00:00
James Rodewig
0f759a994e
[DOCS] Document upgrade process for concurrency control (#64550) 2020-11-06 08:57:13 -05:00
Julie Tibshirani
211c28f177 Document breaking change around _id field data. 2020-11-04 13:57:49 -08:00
James Rodewig
944568e3dd
[DOCS] Fix "the the" typos (#64344) (#64353)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-10-29 11:50:02 -04:00
Andrew Kroh
3ec9ec750a
[DOCS] Fix cache setting name in 7.9 migration docs (#64063)
The setting name is script.context.$CONTEXT.cache_max_size rather than
script.context.$CONTEXT.context_max_size.
2020-10-22 12:24:01 -04:00
James Rodewig
acc311ee20
[DOCS] Replace xref with external link (#63736) (#63737) 2020-10-15 08:47:58 -04:00
Andrei Dan
d6bf179730
Docs: sync breaking changes from release notes (#63479) (#63713)
This syncs breaking changes from release notes

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
(cherry picked from commit 2cc0ccb110)
Signed-off-by: Andrei Dan <andrei.dan@elastic.co>
2020-10-15 09:26:38 +01:00
Alan Woodward
43ace5f80d 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:40:53 +01:00
Tanguy Leroux
9e38dd0254
Deprecate Repository Stats API (#62297) (#62308)
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 14:57:38 +02:00
Julie Tibshirani
2ca5f98e05 Small fixes to breaking changes docs.
* Move ngram and shingle changes to the analysis section.
* Add missing heading for field caps change.
2020-09-08 17:19:36 -07:00
James Rodewig
caa1a9024c
[DOCS] Add jump list to breaking changes page (#61598) 2020-08-31 11:25:57 -04:00
James Rodewig
4701832879
[DOCS] Add 7.9 breaking change for built-in templates (#61549) (#61558) 2020-08-26 08:10:59 -04:00
Przemyslaw Gomulka
62baca74ed
[doc] Improve joda-time migration guide (#60499)
Previously migration guide incorrectly stated that joda-time patterns have to be fixed before upgrading to 7.x
since (7.7) #52555 and our bwc policy 6.x created indices even with joda-time are supported
relates #60374
2020-08-20 16:03:58 +02:00
Pius
d6ad247e07
[DOCS] Note max field expansions is not a hard limit (#61120)
Per #35284, it looks like we changed this from a max field expansions limit to a soft limit using the `indices.query.bool.max_clause_count` dynamic cluster settting.
2020-08-18 11:39:09 -04:00
James Rodewig
029869eb35
[DOCS] Fix metadata field refs (#60764) (#60769) 2020-08-05 14:04:55 -04:00
James Rodewig
1cfdb4fc08
[DOCS] Fix formatting in 7.0 breaking changes (#60372) (#60385)
Co-authored-by: Jacob Dreesen <jacob@hdreesen.de>
2020-07-29 09:16:29 -04:00
Yannick Welsch
a55c869aab Properly document keepalive and other tcp options (#60216)
Keepalive options are not well-documented (only in transport section, although also available at http and network level).

Co-authored-by: David Turner <david.turner@elastic.co>
Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
2020-07-28 11:10:04 +02:00
James Rodewig
aba785cb6e
[DOCS] Update my-index examples (#60132) (#60248)
Changes the following example index names to `my-index-000001` for consistency:

* `my-index`
* `my_index`
* `myindex`
2020-07-27 15:58:26 -04:00
James Rodewig
08e11814c3
[DOCS] Fix clarity of 7.6 derived key breaking change (#60154) 2020-07-27 08:36:48 -04:00
Albert Zaharovits
2eaf5e1c25
[DOCS] Mapping updates are deprecated for ingestion privileges (#60024)
This PR contains the deprecation notice that `create`, `create_doc`, `index` and
`write` ingest privileges do not permit mapping updates in version 8. It also
updates the docs description of said privileges. 

This should've been part of #58784
2020-07-23 19:49:23 +03:00
James Rodewig
988e8c8fc6
[DOCS] Swap [float] for [discrete] (#60134)
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 12:42:33 -04:00
Martijn Laarman
890d35f74d [DOCS] note breaking change from 7.8.1 in migration guide (#59642)
Co-authored-by: Adam Locke <adam.locke@elastic.co>
(cherry picked from commit b0c34020ed)
2020-07-23 13:18:46 +02:00
Julie Tibshirani
aa57bbd422
Consolidate validation for 'docvalue_fields'. (#60065)
This improves modularity and also fixes some issues when `docvalues_fields` is
used within `inner_hits` or the `top_hits` agg:
* We previously didn't resolve wildcards in field names.
* We also forgot to enforce the limit `index.max_docvalue_fields_search`.
2020-07-22 17:26:58 -07:00
James Rodewig
0c9791798d
[7.x] [DOCS] Reformat snippets to use two-space indents (#60080) 2020-07-22 15:57:49 -04:00
David Turner
b75207a09f Remove sporadic min/max usage estimates from stats (#59755)
Today `GET _nodes/stats/fs` includes `{least,most}_usage_estimate`
fields for some nodes. These fields have rather strange semantics. They
are only reported on the elected master and on nodes that have been the
elected master since they were last restarted; when a node stops being
the elected master these stats remain in place but we stop updating them
so they may become arbitrarily stale.

This means that these statistics are pretty meaningless and impossible
to use correctly. Even if they were kept up to date they're never
reported for data-only nodes anyway, despite the fact that data nodes
are the ones where we care most about disk usage. The information needed
to compute the path with the least/most available space is already
provided in the rest the stats output, so we can treat the inclusion of
these stats as a bug and fix it by simply removing them in this commit.
Since these stats were always optional and mostly omitted (for opaque
reasons) this is not considered a breaking change.
2020-07-20 15:22:04 +01:00
Rory Hunter
b8d73a1e7e
Default gateway.auto_import_dangling_indices to false (#59302)
Backport of #58898.

Part of #48366. Now that there is a dedicated API for dangling indices, the auto-import
behaviour can default to off. Also add a note to the breaking changes for 7.9.0.
2020-07-15 17:10:42 +01:00
James Rodewig
a1cf955dbd
[DOCS] Clarify that passwords are not preserved for kibana_system user (#59449) (#59460) 2020-07-13 16:34:11 -04:00
James Rodewig
04ff24ca8e
[DOCS] Add data streams to deprecation info API docs (#58685) (#58920) 2020-07-02 09:52:33 -04:00
Lisa Cawley
6680271691 [DOCS] Updates pull and issue release attributes (#58348) 2020-06-18 12:55:02 -07:00
Stuart Tettemer
20abba8433
Scripting: Deprecate general cache settings (#55753) (#58283)
Backport: ef543b0
2020-06-18 11:54:23 -06:00
Stuart Tettemer
01795d1925
Revert "Scripting: Deprecate general cache settings (#55753)" (#58201)
This reverts commit 88e8b34fc2.
2020-06-16 14:58:18 -06:00
Stuart Tettemer
88e8b34fc2
Scripting: Deprecate general cache settings (#55753)
Backport: ef543b0
2020-06-16 13:06:59 -06:00