SERVER-139447Needs Scheduling

Intersect index bounds with inferred types

Use schema types and type inference to derive field-type constraints, convert them into index bounds, and intersect them with bounds on existing candidate scans. This will allow expressions without dedicated bounds-generation rules to have better index scans, as long as the expressions have typing support. As we improve the type inference the bounds for more cases will improve.  If we have a collection schema such as: We know foo cannot be null, missing, and could avoid a FETCH. If w

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.