mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 17:34:17 -04:00
Merge pull request #19092 from rmuir/more_painless_docs
cutover some docs to painless
This commit is contained in:
commit
6d52cec2a0
49 changed files with 1451 additions and 1149 deletions
|
@ -132,6 +132,15 @@ There are only a few minor differences and add-ons:
|
|||
Java's https://docs.oracle.com/javase/tutorial/java/nutsandbolts/flow.html[control flow statements] are supported, with the exception
|
||||
of the `switch` statement.
|
||||
|
||||
In addition to Java's `enhanced for` loop, the `for in` syntax from groovy can also be used:
|
||||
|
||||
[source,js]
|
||||
---------------------------------------------------------
|
||||
for (item : list) {
|
||||
...
|
||||
}
|
||||
---------------------------------------------------------
|
||||
|
||||
[float]
|
||||
[[painless-functions]]
|
||||
=== Functions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue