Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
ALL
-
QO 2023-06-12
Description
There's a 'constructor' (static method returning a CanonicalQuery) that takes in a pre-existing CanonicalQuery. In SERVER-76042 we accidentally made a change to re-parse this query. This is obviously not great for performance, but we noticed it because it actually prevents using it with 'special features' like $text which may have been acceptable to parse when the original CanonicalQuery was constructed, but are no longer.
Attachments
Issue Links
- is caused by
-
SERVER-76042 Avoid re-parsing match, sort and projection expressions in registerFindRequest
-
- Closed
-
- is depended on by
-
SERVER-61259 $or queries with text indexes fail on clustered collections
-
- Closed
-