-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
-
Fully Compatible
-
QO 2022-08-22
Encrypted fields always have a min and max bounds for range indexes. Query analysis should fail when querying for a value outside of this range.
Example, let's say age has a min of 0 and a max of 200. Here are some queries that should fail at analysis-time:
{x: {$gt: 256}} {x: {$lt: -5}}
This ticket will also require adding the min and max bounds to the encrypted metadata.