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

Expose and Pretty Print CanonicalQuery

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 2.6.0-rc0
    • Querying
    • None
    • Query

    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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: