How to search documents containing empty array?


(Olexij Tkatchenko) #1

I have documents like

"doc" : {
 "id" : 1,
  "comments": ["my comment"]
},

"doc" : {
 "id" : 2,
  "comments": []
}

How to search for documents which DO NOT CONTAIN any comments?


(system) #2

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