MongoDB provides us with the ability to create wildcard text indexes.
Wildcard text indexes are similar to wildcard indexes, except that wildcard text indexes support the $text
operator, whereas wildcard indexes don’t.
That said, creating each index type is very similar in the sense that they both share the wildcard $**
field pattern.