所以我在一个集合中有一个文档,其中有一个字段的值为“@@” 我索引了集合并尝试运行查询:
db.getCollection('TestCollection').find({$text:{$search:"\"@@@\""}})
但没有显示结果
我该怎么解决这个问题?
示例文档:
{ "_id" : ObjectId("5b90dc6d3de8562a6ef7c409"), "field" : "value", "field2" : "@@@" }