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

index key generation is not completely implemented for embedded objects / arrays

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 0.9.8
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Currently only a single array is expanded when creating keys for an index. So for example the implementation is incomplete when creating an index on

      { 'a.b': 1 }

      for object { a: [

      { b: [ 2 ] }

      ] }.

      for an index on

      { a:1,b:1}

      and object

      { a:[ 2 ], b:[ 2] }

      we decided not to allow indexing at one point because the # of keys would be exponential in the # of fields

            Assignee:
            aaron Aaron Staple
            Reporter:
            aaron Aaron Staple
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: