Hi @Akbar_Bakhshi3,

Welcome to the MongoDB Community

As per the error message the $search is not the part of API version 1, so let the apiStrict set as false. Let us know in case you are facing any other error while executing it.

Best regards,
Kushagra

1 Like