IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Statements
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Statements
editPainless supports all of Java’s
control flow statements except the switch
statement.
Painless also supports the for in
syntax from Groovy:
for (item : list) { ... }