How to count number of objects in a nested filed in elastic search?
Sample mapping :
"keywords": {
"type": "nested",
"properties": {
"base": {
"type": "text"
},
"category": {
"type": "text"
} }
}
I would like to count number of objects in nested filed 'keywords'.