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

Expose and Pretty Print CanonicalQuery

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Gone away
    • Affects Version/s: 2.6.0-rc0
    • Fix Version/s: None
    • Component/s: Querying
    • Labels:
      None

      Description

      If I read the source correctly, CanonicalQuery is used as the [query] "plan cache key". It'd be nice to expose functionality to convert an arbitrary query to its shape.

      Currently, it appears like strings like "aneqorderbyeqquery", "inb", or "oreqainb" are outputted for queries on a collection of documents containing fields "a" and "b" (where b is an array of integers).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-query Backlog - Query Team (Inactive)
              Reporter:
              stephen.lee Stephen Lee
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: