boot+mongoTemplate如何查询全文索引?

刚开始用mongo,在某张表的某个字段上加了text全文索引,但是发现在客户端是可行的,但是用程序却不可以?
不知道用mongoTemplate 时啥写法?

目前使用的是和普通查询字段一样的写法,但是无效:
mongoTemplate.find(query, this.getEntityClass());

不知道全文索引查询是如何写的 ‘’

求解了???

https://www.cnblogs.com/yihuihui/p/10264113.html