Count number of objects nested field


(Subair K B) #1

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'.


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.