-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Querying, Text Search
-
Labels:None
-
Fully Compatible
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.
- related to
-
SERVER-12592 error message unclear for OR with text and unindexed clause
- Closed