Answers for "elasticserach fields for aggregation"

2

terms aggregation elasticsearch using Key order

GET /_search
{
  "aggs": {
    "genres": {
      "terms": {
        "field": "genre",
        "order": { "_count": "asc" }
      }
    }
  }
}
Posted by: Guest on September-21-2020

Code answers related to "elasticserach fields for aggregation"

Browse Popular Code Answers by Language