You cannot currently perform a full text search in mongo: http://www.mongodb.org/display/DOCS/Full+Text+Search+in+Mongo
You can vote for him here: https://jira.mongodb.org/browse/SERVER-380
Mongo is more likely a scalable general-purpose data warehouse, and yet it does not have full text search support. Depending on your use case, you can use standard b-tree indexes with an array of all the words in the text, but it will not perform interrupts or fuzzy matches, etc.
However, I would recommend combining mongodb with a lucene-based application (a popular popular search for elasticity). You can store all your data in mongodb (binary data, metadata, etc.), and then index the plain text of your documents in lucene. Or, if your use case is full-text search, you might consider using elastic search instead of mongodb.
Update (April 2013): MongoDB 2.4 now supports basic full-text index! Below are some useful resources.
http://docs.mongodb.org/manual/applications/text-search/
http://docs.mongodb.org/manual/reference/command/text/#dbcmd.text
http://blog.mongohq.com/blog/2013/01/22/first-week-with-mongodb-2-dot-4-development-release/
source share