[SERVER-2565] ignore always true query expressions in matching and indexing Created: 16/Feb/11  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: Performance, Querying
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Aaron Staple Assignee: Backlog - Query Optimization
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-2556 Query with empty $nin takes considera... Closed
Assigned Teams:
Query Optimization
Participants:

 Description   

Ignoring these can improve performance in some cases. For example, $nin:[] doesn't constrain results at all but right now it forces us to run the matcher on the full document which is required in general for $nin.


Generated at Thu Feb 08 03:00:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.