{
index: 'userNameCity',
compound:{
filter:{
equals: {
value: ObjectId [ '6271f2bb79cd80194c81f631', '62cf35ce62effdc429efa9b0' ],
path: '_id'
},
}
,
The index for the path (_id) is of datatype ObjectID
I want to filter by an array of objectId.
The above code works for single objectId but does not work for array
Note:
The array will be a dynamic list
Can you please suggest