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

Allow use of indices for collation-aware queries that match nested objects or arrays

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.10
    • Component/s: Querying
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Query 16 (06/24/16), Query 17 (07/15/16)

      Description

      On our first pass of making index use collation-aware, we disallowed using indices for queries with non-null collators that match nested objects or arrays containing strings. In order to allow index use in this case, we must:
      --Update index selection. Currently if a query matches nested objects or arrays, then in order to select an index, the query and the index must both have null collators. We must remove the code that rejects indices in this case.
      --Update index key generation. Currently only strings at the top level are transformed into ComparisonKeys. We must also transform strings in nested objects and arrays.
      --Update index bounds building. Similarly to index key generation, we must transform strings in nested objects and arrays in our index bounds.

        Attachments

          Activity

            People

            Assignee:
            david.hatch David Hatch
            Reporter:
            tess.avitabile Tess Avitabile
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: