Answers for "elasticsearch execution_hint"

2

terms aggregation elasticsearch using Key order

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

Browse Popular Code Answers by Language