Answers for "elasticsearch collapse get "doc_count""

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 "elasticsearch collapse get "doc_count""

Browse Popular Code Answers by Language