[DOCS] Expand examples for runtime fields in a search query (#71237)

* Add warning admonition for removing runtime fields.

* Add cross-link to runtime fields.

* Expanding examples for runtime fields in a search request.

* Clarifying language and simplifying response tests.
This commit is contained in:
Adam Locke 2021-04-02 15:00:54 -04:00 committed by GitHub
parent d340432622
commit 14aba7bcff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 161 additions and 17 deletions

View file

@ -196,7 +196,8 @@ instead of the lengthier `get` method.
require semicolons for the final statement of a block. However, it does require
them in other cases to remove ambiguity.
Use this abbreviated syntax anywhere that {es} supports scripts.
Use this abbreviated syntax anywhere that {es} supports scripts, such as
when you're creating <<runtime-mapping-fields,runtime fields>>.
[discrete]
[[script-stored-scripts]]