David Gonzalez created SLING-6506:
-------------------------------------
Summary: Sling Log Tracer queries reports Plan that does not match
Query statement
Key: SLING-6506
URL: https://issues.apache.org/jira/browse/SLING-6506
Project: Sling
Issue Type: Bug
Affects Versions: Log Tracer 0.0.2
Reporter: David Gonzalez
Attachments: tracer-error-output.txt, tracer-error-screencap.png
The Queries data set from Sling Log Tracer (1.0.2) may report the wrong Query
plan for the query.
{noformat}
"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' */"
{noformat}
Attached raw tracer output from Felix console.
Explaining the query statement via Oak gives a different (and correct) plan.
/cc [~chetanm]
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)