Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-6506

Sling Log Tracer queries reports Plan that does not match Query statement

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Log Tracer 0.0.2
    • Log Tracer 1.0.8
    • None
    • None

    Description

      The Queries data set from Sling Log Tracer (1.0.2) may report the wrong Query plan for the query.

      "query": "//*[jcr:contains(., '\"/content/dam/we-retail/en/people/mens/men_1.jpg\"')]",
      "plan": "[nt:unstructured] as [a] /* lucene:ntBaseLucene(/oak:index/ntBaseLucene) dam:resolvedPath:/content/dam/we-retail/en/people/mens/men_1.jpg where [a].[dam:resolvedPath] = '/content/dam/we-retail/en/people/mens/men_1.jpg' */"
      

      Attached raw tracer output from Felix console.

      Explaining the query statement via Oak gives a different (and correct) plan.

      /cc chetanm

      Attachments

        1. tracer-error-screencap.png
          176 kB
          David Gonzalez
        2. tracer-error-output.txt
          2.65 MB
          David Gonzalez

        Activity

          People

            chetanm Chetan Mehrotra
            empire29 David Gonzalez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: