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

Expose and Pretty Print CanonicalQuery

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Gone away
    • 2.6.0-rc0
    • None
    • Querying
    • 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

              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: