Elasticsearch - Show index-wide count for each returned result based from a given term
问题 Firstly i apologise if the terminology i use is incorrect as i am learning elasticsearch day by day and maybe use incorrect phrases. After spending several days trying to figure this out and pulling my hair out i seem to be hitting brick walls every-time. I am trying to get elasticsearch to provide a document count for each returned result, I will provide an example below.. { "suggest": { "text": "aberdeen", "city": { "completion": { "field": "city_suggest", "size": "2" } }, "street": {