We use many ScriptQuery and ScriptField in our project, and provide inline scripts for them in painless language.
My question is, how can we validate these painless scripts? In other words, how to make sure that they will compile ?
The approach we use today is to test them out locally through kibana. However, this is manual, error prone and not scalable. I am looking for a programmatic way to validate painless scripts.
Is the compile elasticsearch uses under the hood open source ? Or is there some other way ?
Elasticsearch version 5.4