This was solved in the mongod in SERVER-3984. I can't see why not support at in the mongos.
It's easy to reproduce: invoke a $or with two geoWithin on a sharded collection and you'll get: database error: '$or may not contain 'special' query'.
- duplicates
-
SERVER-13656 Use new query framework in getShardsForQuery on mongos
- Closed
- related to
-
SERVER-3984 Support $or and geo queries
- Closed