initial payload is search request with some aggregations
as a watcher action I wanted to index aggregation buckets in way "1
bucket from search response results in 1 new indexed document"
but I got in trouble with mentioned "data": {"_value": structure... - which doesn't fit required mapping, I need unwrap this "data" field wrapper.
Is possible to create transform script which leads to required behavior - multiple new indexed documents?
Oh.. interesting. We currently don't support indexing multiple docs per a single action, but I love the idea. So for example, if the payload is an array, we can treat each element of the array as a document and bulk index it... nice one!
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.