Skip to content

Commit

Permalink
[DOCS] Adds runtime filed related item to Transforms limitations (#68895
Browse files Browse the repository at this point in the history
) (#68912)
  • Loading branch information
szabosteve committed Feb 11, 2021
1 parent c1aa708 commit e44e437
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions docs/reference/transform/limitations.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ documents if your {transform} contains a `group_by` based on `date_histogram`.


[discrete]
[[transform-painless-imitation]]
[[transform-painless-limitation]]
== Using scripts in {transforms}

{transforms-cap} support scripting in every case when aggregations support them.
Expand All @@ -263,4 +263,15 @@ in {transforms}:

* {transforms-cap} cannot optimize queries when you use scripts for all the
groupings defined in `group_by`, you will receive a warning message when you
use scripts this way.
use scripts this way.


[discrete]
[[transform-runtime-field-limitation]]
=== {transforms-cap} perform better on indexed fields

{transforms-cap} sort data by a user-defined time field, which is frequently
accessed. If the time field is a {ref}/runtime.html[runtime field], the
performance impact of calculating field values at query time can significantly
slow the {transform}. Use an indexed field as a time field when using
{transforms}.

0 comments on commit e44e437

Please sign in to comment.