Hi,
Is there any way to do scripted bucket aggregations against existing indexes and write the results to a new index within elasticsearch itself? Like some way to combine the scripted bucket aggregations with the reindex API?
Thanks,
Casie
Hi,
Is there any way to do scripted bucket aggregations against existing indexes and write the results to a new index within elasticsearch itself? Like some way to combine the scripted bucket aggregations with the reindex API?
Thanks,
Casie
There's no way to do this using Elasticsearch alone. You can use X-Pack's search
input (https://www.elastic.co/guide/en/x-pack/current/input-search.html) to define a query and then an index
action (https://www.elastic.co/guide/en/x-pack/current/actions-index.html) to insert the result back into an index.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.