As I understood from Mongodb documentation of text search.
if i want to search about Java or (coffee shop)
I need to do it like
{$text:{$search:"Java \"coffee shop\""}}
Exact Phrase search in mongodb documentation
so it should return all the documents contain Java or (coffee shop)
.
but it acts exactly as Java and (coffee shop)
.
so I think that i didn't get it right from the documentation.
so please.
I need clear explanation for why i got that result?
and
how to get the required output Java or (coffee shop)
?
相关问题
- MongoDB can not create unique sparse index (duplic
- Spring Data MongoDB - lazy access to some fields
- Golang mongodb aggregation
- How to convert from Timestamp to Mongo ObjectID
- MongoDB Indexing: Multiple single-field vs single
相关文章
- mongodb有没有什么办法禁止读取数据的时候进行缓存
- mongodb-aggregate聚合查询分组后如何获得多字段
- mongodb error: how do I make sure that your journa
- How to track MongoDB requests from a console appli
- MongoError: cannot infer query fields to set, path
- Pymongo $in Query Not Working
- django.core.exceptions.ImproperlyConfigured: '
- How to represent an array with mixed types
This is a known issue, and is being tracker in SERVER-30163. Not Solved yet so please go to SERVER-30163 to up-vote it.