MongoDB Text Search

At first Text Search was a trial excremental however beginning from the configuration 2.6, the same is empowered as default in MongoDB. Anyway if you are utilizing past version of MongoDB, you need to empower text search  with the below code: db.adminCommand({setParameter:true,textSearchEnabled:true}) Making Text Index Consider the accompanying under posts collection containing the post text and its tags: {"post_text": […]