(I omitted some parts of the data due to the confidentiality reasons)
The question is, how could I make several fields containing each of the values "code" as a field name and "value" as the fields value based on the content of this nested field so that it would look like this?
It worked, thanks a lot!
Could you please tell me if there is an option to not include the fields in the record if they are not present in "properties" field in this exact record?
And the other problem that I haven't been able to solve is the mapping type for the new fields. Is there ant way to make them be "keyword" while performing the update by query?
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.