I tried to Add Charts View with the following pipeline.

[ { $match: { $text: { $search: "My Search Text" } } } ]

However, I got this error message
$match with $text is only allowed as the first pipeline stage, correlationID = <random number>