Good morning everyone.
How can I make an aggregated query that has the same Kibana Discovery behavior?
Even without searching, all fields in my index are aggregated.
GET /amazoninf.teste.analisador/_search
{
  "size": 0,
  "aggregations": {
    "my_agg": {
      "terms": {
        "field": "all fields"
      }
    }
  }
}
Thank you very much elastic team
Alder