Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-67200

Add a new range QueryType to EncryptedFieldConfig

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • QO 2022-06-27, QO 2022-07-11

    Description

      This ticket will involve adding a new QueryType to the relevant IDL file and adding unit tests to make sure that the a parsed schema tree can contain a range index.

      Parsing the query type config into a SchemaTree requires adding support for range indexes in ResolvedEncryptionInfo. Range will need to be added as a type to the `Fle2AlgorithmInt` struct.

      There are other optional fields that are only relevant for the range index described in the product description:

      {
                "queryType": "range", //required
                "min" : Number/Date,        // optional, only for range
                "max" : Number/Date,        // optional, only for range
                "sparsity" : Number,        // optional, only for range
                "contention": Number        // optional
             }
      

      Information on the IDL: https://wiki.corp.mongodb.com/display/HGTC/Using+IDL+for+Code+Generation+in+the+Server

      Attachments

        Activity

          People

            reilly.mcbride@mongodb.com Reilly McBride
            davis.haupt@mongodb.com Davis Haupt (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: