-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.2.11
-
Component/s: Aggregation Framework
-
Labels:None
-
ALL
I have each document has an array of strings named datavalues.
For example I have :
When we search for "datavaues grater than 6 and starts with A " with an aggregation pipeline which contains $match and $project it returns all the datavalues.
I changed the pipeline to : $match , $project , $match , $project => it works !!
when I add another condition "documents contains datavaue grater than 6 and starts with A and datavalue contains B" => it returns all documents .