diff --git a/docs/reference/mapping/runtime.asciidoc b/docs/reference/mapping/runtime.asciidoc index 5f0d44d91887b..c8140e1e59991 100644 --- a/docs/reference/mapping/runtime.asciidoc +++ b/docs/reference/mapping/runtime.asciidoc @@ -50,7 +50,7 @@ Runtime fields can replace many of the ways you can use scripting with the documents that the included script runs against. For example, if you're using the `fields` parameter on the `_search` API to <>, the script -returns only the top hits just like script fields do. +runs only against the top hits just like script fields do. You can use <> to access values in `_source` and return calculated values based on a script valuation. Runtime fields have these @@ -69,7 +69,7 @@ You can also use scripts to <>, but that same script works exactly the same in a runtime field. If you move a script from any of these sections in a search request to a -runtime field that is retrieving values from the same number of documents, the +runtime field that is computing values from the same number of documents, the performance should be about the same. The performance for these features is largely dependent upon the calculations that the included script is running and how many documents the script runs against.