I have a field with Whitespace character: i.e 'Error Message.keyword'
How can I get this field with painless?
def error='Error Message.keyword'; ctx.payload.buckets.error
Both above versions do not work.
You need to use brackets to access a key from a map.
Why do I get "? How can I get rid of ?
"error": "[no user found]"
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.