The variables are described here, but I've never seen documentation for that syntax: ||-60m . Why does the double pipe mean just "space" and not "OR", as one might think?
Could you guy please point to the documentation for these operations?
Thank you!
It's not clear why (as in what is the behavior you experience that justifies this ) you think this is a space and not a boolean OR, but it is a boolean OR operator as it is clearly documented in the painless docs
oops, I always thought that such expression meant scheduled time MINUS 60 minutes, basically, I use it to check the events for the last hour
If the double pipe is just the "normal" OR operator, how should the expression above be read? If {{ctx.trigger.scheduled_time}} is not set, then use -60m?
Thanks!
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.