-
Notifications
You must be signed in to change notification settings - Fork 25k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update painless-statements with if/else example #47485
Conversation
Pinging @elastic/es-core-infra (:Core/Infra/Scripting) |
Pinging @elastic/es-docs (>docs) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but I'll wait until a dev has a chance to review before merging.
Note: If we add this example, it probably makes sense to add other examples (such as while
).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for adding this.
Awesome, thanks for the quick merge. |
Add more examples to the Painless statements documentation (including while and do...while) as requested in #47485 (review)
Add more examples to the Painless statements documentation (including while and do...while) as requested in elastic#47485 (review)
Add more examples to the Painless statements documentation (including while and do...while) as requested in #47485 (review)
Add more examples to the Painless statements documentation (including while and do...while) as requested in #47485 (review)
Add more examples to the Painless statements documentation (including while and do...while) as requested in #47485 (review)
Add more examples to the Painless statements documentation (including while and do...while) as requested in #47485 (review)
Add more examples to the Painless statements documentation (including while and do...while) as requested in #47485 (review)
I struggled to find a conditional statement (if/else) in the Painless documentation. I think it would be nice to at least have one here.
There is also the possibility to add somethig similar to A Brief Painless Walkthrough but this is less generic.
Thanks.