I'm novice in ES. I've read about scripts (painless) and want to use it as stored procedures in a RDBMS. It's possible, right? I want
- receive some docs by call my script (it should does some selection)
- It's important. Process all docs and to build value some fields in every doc.
I was try to make scrip for receive string message as example. But I receive error "can't cast String to boolean" only. When I've create script by example - I receive same error:
"reason": "java.lang.Double cannot be cast to java.lang.Boolean"
What I do wrong? Help, please!