Hi,
I'm new to Elastic Search and Painless. I have a field in my index which has multiple values as shown below.
FieldName Language
Value "Computer Science"
In painless, When i try to get the value of this field as doc['Language'] - It returns value as ["Computer", "Science"] which is an array.
Is there a option where i can get the value as string than Array?
Thanks for the help!