I am looking for a way to union the elements of two different fields into one (new) array in Vega (If this is already possible in an Elastic Query that's also fine).
It should be similar to a SQL-Statement like "select A as NewField from TableA UNION Select B as NewField from TableB"
I run the query _source["main_entities_location","main_entities_person"] which gives me the following data.
I want to union all the entries of "main_entities_location" with the entries of "main_entities_person" in one new field/array to be able to do a wordcloud transform afterwards.
Thanks that works great in Dev-Console
But how can I put this inside my data section with url-data call? I mean especially the GET- request part with "_search?filter_path=hits.hits.fields" which seem to be relevant parameter information
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.