'How to periodically run queries on elasticsearch and save the result in Nosql database

I want to run predefined queries periodically on elasticsearch and save the result of each query in a Nosql database.

Has anybody an idea how to do it, since I am new to elasticsearch.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source