Optionalmaxmax is the minimum value for the encrypted index. Required if precision is set.
Optionalminmin is the minimum value for the encrypted index. Required if precision is set.
OptionalprecisionOptionalsparsitysparsity may be used to tune performance. must be non-negative. When omitted, a default value is used.
OptionaltrimtrimFactor may be used to tune performance. must be non-negative. When omitted, a default value is used.
RangeOptions specifies index options for a Queryable Encryption field supporting "range" queries. min, max, sparsity, trimFactor and range must match the values set in the encryptedFields of the destination collection. For double and decimal128, min/max/precision must all be set, or all be unset.