You perform the following query on the sayings collection, which has the index
{ quote : "text" }:
Assuming the documents below are in the collection, which ones will the following query return? Check all that
apply.
db.sayings.find( { $text : { $search : "fact find" } } )
Select all that apply, then click Submit answer.
-
○
{ _id : 3, quote : "Nobody will ever catch me." }
-
○
{ _id : 1, quote : "That's a fact, Jack." }
-
○
{ _id : 2, quote : "Find out if that fact is correct." }