Details
Description
This ticket is similar to SERVER-15688, but for near predicates instead of text predicates.
The check to consider near predicates incompatible with the tailable option is performed in the query planner component. However, this check should instead be performed by CanonicalQuery::isValid(), the proper home for all static query validation.