Elasticsearch 6.2 composite agg needs pagination

Hi ,
i am using elasticsearch 6.2 and having composite aggs query, i need to pagination.. lease help me..
my sample of query
{
"size": 0,
"aggs": {
"campoverview": {
"composite": {
"size": 200000,
"sources": [
{
"date": {
"date_histogram": {
"field": "sdate",
"format": "yyyy-MM-dd",
"interval": "day",
"order": "desc"

          }
        }
      },
      {
        "partner": {
          "terms": {
            "field": "pname"
            
          }
        }
      },
      {
        "operator": {
          "terms": {
            "field": "oname"
           
          }
        }
      }
     
    ]
   
  },
  "aggs": {
    "campst": {
      "terms": {
        "field": "status"
      }
    },
    "pfc": {
      "sum": {
        "script": "doc['ips'].value == '1' ? 1 : 0"
      }
    }
  }
}

}
}

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