Question: You need to be able to quickly find a word in a text field. What should you do?
- Create a text index on the field and do a $text Query.
- Create an single field index in descending order, and do a query for the word.
- Do a $text query.
- Create a $regex on the fields, and do a $regex query.
Answer: The correct answer of the above question is Option C:Do a $text query.