I saw a publication, the cula you explained how to work with array in a scripted field, I had a question, if I want to pivot in a table, an array so that in each cell a value of the array is assigned, how would I do it
If I understand your question, if you have a field "colors" with values like ["green", "blue", "yellow"] (and other possible colors), I think you would have to create a scripted field for each color and check if that color is in the array, and if it is, return "true" or something like that. So you might have a scripted field for green, blue, yellow, red, orange.
For this doc, the green field would be true, the blue field would be true, the yellow field would be true, and the red and orange fields would be false. But if colors included "black" and you didn't have a scripted field for it, you wouldn't know.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.