So suppose my doc is like
doc -1 { users:[“mike”,“john”,“lynn”] } ,
doc- 2 {users:[“amanda”,“rim”]}
many …
so want to create templating where list out all user with unique name . so how can i do this when value in array .
actually when i fire {“find”:“terms”,“field”:“user”} query then its saw me below image .
but i want individual user to saw not array .