rwynn / monstache

a go daemon that syncs MongoDB to Elasticsearch in realtime. you know, for search.
https://rwynn.github.io/monstache-site/
MIT License
1.29k stars 182 forks source link

How can i return multiple after comparing data? #722

Open anish3196 opened 6 months ago

anish3196 commented 6 months ago
_id
65d2ee6b92235862b989bc99
title
"Season 02"
collection_id
65c6ee4c1e3198d1e1cc2236
created_at
1708322411
updated_at
1710846076

media_list
Array (13)
0
65a0f380b751e0001e44826e
1
65a9127ff92edc62d42d7051
2
65b3614599f7d4896c2f1231
3
65b3a34799f7d4896c2f123b
4
65cb3ec4f43fe2878a368add
5
65ce1f78f43fe2878a368c95
6
65cb6dfcf43fe2878a368ae5
7
65cdc290f43fe2878a368aed
8
65ceeba8f43fe2878a368c9d
9
65d31ba7f43fe2878a368d7d
10
65e31c81ae0dc359bba1bfc5
11
65e175c33953b65f05e3360c
12
65f864c1099063acf343f39d

in this i want compare all the media_list ids to medias collection and return that document but currently only one doc returned at one time. how can i solve this problem