-
Type:
Improvement
-
Resolution: Duplicate
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Querying
-
None
Right now, the docs say that $text searches have the following restriction:
"To use a $text query in an $or expression, all clauses in the $or array must be indexed."
To get around this restriction, you have to do two separate queries and merge them together. This complicates things unnecessarily. Why is this restriction there? I propose it be removed.
- duplicates
-
SERVER-13803 Query planner should be able to plan $text queries that require collection scan
-
- Backlog
-
- is duplicated by
-
SERVER-27806 Allow $text query in $or statement without requiring all clauses to be indexed
-
- Closed
-