You could try using Atlas Search
You could also try with js.
db.movies.findOne() db.getCollectionNames().forEach(function(collection) { print(collection); });
Then run
mongo movies dbsearch.js
Or you can use db.eval
Somthing like
db.eval( function() { var one = db.movies.find({"title":"The Matrix"}); var two = db.movies.find({"title":"Black Panther"}); });
Hi Matt, thanks for your input
Actually Atlas Search is good but it is paid when it comes to production use case & also while creating indexes, there is a limit.
Is there anyother tool which is free of cost or opensource & effective to deal with millions of records in db ?
Have you checked out ElasticSearch?
Indexing MongoDB with ElasticSearch
Integrating Elasticsearch and MongoDB
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You could try using Atlas Search
You could also try with js.
Then run
Or you can use db.eval
Somthing like
Hi Matt, thanks for your input
Actually Atlas Search is good but it is paid when it comes to production use case & also while creating indexes, there is a limit.
Is there anyother tool which is free of cost or opensource & effective to deal with millions of records in db ?
Have you checked out ElasticSearch?
Indexing MongoDB with ElasticSearch
Integrating Elasticsearch and MongoDB