MongoDB full text search - matching words and exact phrases
问题 I'm currently having some issues with the full text search functionality in MongoDB. Specifically when trying to match exact phrases. I'm testing out the functionality in the mongo shell, but ultimately I'll be using Spring Data MongoDB with Java. So I first tried running this command to search for the words "delay", "late" and the phrase "on time" db.mycollection.find( { $text: { $search: "delay late \"on time\"" } }).explain(true); And the resulting explain query told me: "parsedTextQuery"