I am looking at the MongoDB Atlas Search. It seems only work in the MongoDB Atlas Cloud.
For dev purposes, while I run the app in the local environment and use the local MongoDB server, how these Atlas Search query will work?
I find 2 inefficient solutions.
- I put a flag to determine if the app is in the
devenvironment orproductionenvironment. But this is not an ideal solution. - Each developer should use a
MongoDB Atlas Free Tierfor dev purposes.
Is there any better approach for MongoDB Atlas Search in the dev environment?
The first one is not a real solution. You need to use Atlas for development and testing.
I am unaware of any other way to obtain the equivalent functionality. The Atlas Search is proprietary.