We need to summarize data from raw index. We could think of two approaches as below:
- Writing a program in any of the languages (Java,Python etc) using the exposed APIs and schedule the same through cron.
- To write a search_template in mustache or a script in groovy(other supported languages) in config/scripts and trigger it using a cron.
Could you please suggest which is the best approach based on performance.
Also please suggest if there are any other better approaches..