-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: 2.6.8
-
Component/s: None
-
None
-
ALL
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
When i execute this query
db.regions.find({ $or: [{ location: { $geoIntersects: { $geometry: [{ type: "Polygon", coordinates: [ [ [-54.008789,-29.592565], [-53.547363,-29.420460], [-53.459473,-29.878755], [-53.964844,-29.821583], [-54.008789,-29.592565] ] ] } ] } }, location: { $geoIntersects: { $geometry: { type: "Polygon", coordinates: [ [ [ -47.705147, -21.167139 ], [ -47.795612, -21.090562 ], [ -47.909596, -21.167139 ], [ -47.808744, -21.245238 ], [ -47.705147, -21.167139 ] ] ] } } } }] })
just the last condition is returned