Thanks for getting back to me. You’ve stated the performance differences without $match
and ($search
with $match
). However, I am curious as to why you are not using just a $match
by itself (i.e. no $search
) as shown in my previous example? This should be able to utilise indexes as well and would most likely be able work for you string and array types question.
Regards,
Jason