I AM ABLE TO IMPLEMENT THE SEARCH FUNCTION IN YOUR MONGODB DOCUMENTS
with the lyout you provided in the example, i have already worked on backend using nodejs, express and Mongoose.
I can show you the example i have already made, let's discuss this more in details.
Best regards.
Aissam