Hello,
I have an index seach-2019-08* and it has term site. I want to count the terms based on the starting character of the site.
GET search-2019-08*/_count
{ "query": { "bool": {
"must": [
{
"term": {
"site": "a*"
} } ] } }}
I'm looking for the count of documents with site starts with a. but, it always return 0. But, I know, there is some data like that