Skip to content

[7.x] EQL: Refine repeatable queries (#78895)#78898

Merged
elasticsearchmachine merged 1 commit intoelastic:7.xfrom
costin:backport/7.x/pr-78895
Oct 10, 2021
Merged

[7.x] EQL: Refine repeatable queries (#78895)#78898
elasticsearchmachine merged 1 commit intoelastic:7.xfrom
costin:backport/7.x/pr-78895

Conversation

@costin
Copy link
Copy Markdown
Member

@costin costin commented Oct 10, 2021

Backports the following commits to 7.x:

Allow individual queries within a sequence to be repeated through a
dedicated keyword without having physical duplication.
Change from using [runs=2] to "with runs=2"

Before:

sequence
queryA [runs=2]
queryB
queryC [runs=3]
queryD

Now:

sequence
queryA with runs=2
queryB
queryC with runs=3
queryD

Which essentially is the same as:

sequence
queryA
queryA
queryB
queryC
queryC
queryC
queryD

but more concise.

Supersedes elastic#75082
@costin costin added auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport labels Oct 10, 2021
@elasticsearchmachine elasticsearchmachine merged commit 41044b8 into elastic:7.x Oct 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport v7.16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants