Details
-
Task
-
Resolution: Done
-
Major - P3
-
None
-
None
-
Fully Compatible
Description
I'm able to use $text expression in $or when I shouldn't be.
db.articles.find({ $or: [ { $text: { $search: "bake" } }, { _id: 5 } ] })
|
returns
{ "_id" : 5, "subject" : "the cake that came out of the oven" }
|
And like the ticket regarding $and and two text expression, I'm also allowed currently to do $or and two text expressions. But I figure one of these two tickets would make that situation moot.
Attachments
Issue Links
- related to
-
SERVER-12592 error message unclear for OR with text and unindexed clause
-
- Closed
-