-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Query Integration
-
QuInt E (01/11/16), Query F (02/01/16), Query 10 (02/22/16)
Currently, sharded $text queries almost always target all shards (i.e. scatter-gather), even if they are AND-related to a simple range scan on the shard key. Instead, $text queries should be targeted using the normal query targeting logic. Special-casing $text queries was previously necessary when planning $text queries on mongos was not allowed, but this restriction was relaxed in the implementation of SERVER-19510.
The query planner still cannot generate a plan for $text queries without a text index.