Search code examples
elasticsearchelasticsearch-painless

To console/check value in painless script


Do we have any option to print/console the variables value in painless script? To get it view in the simulated result.


Solution

  • It was sorted out and we can easily display the variable value using the '+variable+' operator