[DOCS] Add deprecation message for scripted fields (#95964)

* [DOCS] Add deprecation message for scripted fields

* Change deprecation to full block admonition.
This commit is contained in:
Adam Locke 2021-03-31 16:33:21 -04:00 committed by GitHub
parent 0fce2427e5
commit 3eb0996920
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -78,6 +78,7 @@ include::field-formatters/color-formatter.asciidoc[]
[[scripted-fields]]
=== Scripted fields
deprecated::[7.13,Use {ref}/runtime.html[runtime fields] instead of scripted fields. Runtime fields support Painless scripts and provide greater flexibility.]
Scripted fields compute data on the fly from the data in your {es} indices. The data is shown on
the Discover tab as part of the document data, and you can use scripted fields in your visualizations. You query scripted fields with the <<kuery-query, {kib} query language>>, and can filter them using the filter bar. The scripted field values are computed at query time, so they aren't indexed and cannot be searched using the {kib} default