I created scripted field on numeric field with following expression and painless script,
but its not working.
I am using ELK - 5.4.0 version
its not giving any error, but values always are 1's or 0's
Can somebody please help with this.
Also Is there any way to calculate count like doc['field'].count().
Thanks in advance