[
https://issues.apache.org/jira/browse/OAK-2943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15173749#comment-15173749
]
Thomas Mueller commented on OAK-2943:
-------------------------------------
By the way, this also affects "explain", not just "explain measure". Before the
patch, "explain" for an XPath query didn't take into account any optimizations,
such as converting "or" to a union.
> Support measure for union queries
> ---------------------------------
>
> Key: OAK-2943
> URL: https://issues.apache.org/jira/browse/OAK-2943
> Project: Jackrabbit Oak
> Issue Type: Sub-task
> Components: query
> Reporter: Amit Jain
> Assignee: Amit Jain
> Fix For: 1.3.1
>
> Attachments: OAK-2943.patch
>
>
> Currently, the {{measure}} for union queries does not take into consideration
> the optimizations done by the query engine and returns the scan count for
> each individual query.
> It would be better if the optimizations and the actual iterations on the
> underlying left/right queries are taken into account.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)