How to reindex data from a Async search?

we have a large dataset which times out in normal watcher/search and were planning to use "async" search. But after posting such an async search, how to then put the output into another index?
We need the summary information into another index like a summary index for speedier comparison

POST /sales*/_async_search?size=0
{
  "sort": [
    { "date": { "order": "asc" } }
  ],
  "aggs": {
    "sale_date": {
      "date_histogram": {
        "field": "date",
        "calendar_interval": "1h"
      }
    }
  }
}

Why not use a reindex job? https://www.elastic.co/guide/en/elasticsearch/reference/7.10/docs-reindex.html, it can be run async https://www.elastic.co/guide/en/elasticsearch/reference/7.10/docs-reindex.html#docs-reindex-task-api

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.