diff --git a/docs/reference/transform/transforms-at-scale.asciidoc b/docs/reference/transform/transforms-at-scale.asciidoc index f4ad4fb112dc..f1d47c994324 100644 --- a/docs/reference/transform/transforms-at-scale.asciidoc +++ b/docs/reference/transform/transforms-at-scale.asciidoc @@ -116,6 +116,23 @@ example, greater than `2020-01-01T00:00:00`) to limit which historical indices are accessed. If you use a relative time value (for example, `now-30d`) then this date range is re-evaluated at the point of each checkpoint execution. +Consider using <> in your index names to +reduce the number of indices to resolve in your queries. Add a date pattern +- for example, `yyyy-MM-dd` - to your index names and use it to limit your query +to a specific date. The example below queries indices only from yesterday and +today: + +[source,js] +---------------------------------- + "source": { + "index": [ + "", + "" + ] + }, +---------------------------------- +// NOTCONSOLE + [discrete] [[optimize-shading-strategy]]