You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2013/11/27 14:32:35 UTC
[jira] [Resolved] (OAK-985) The query engine doesn't properly
extract the node type information from queries with conditions on
jcr:primaryType
[ https://issues.apache.org/jira/browse/OAK-985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Parvulescu resolved OAK-985.
---------------------------------
Resolution: Won't Fix
Fix Version/s: (was: 0.13)
not an issue it the query engine uses the property index
> The query engine doesn't properly extract the node type information from queries with conditions on jcr:primaryType
> -------------------------------------------------------------------------------------------------------------------
>
> Key: OAK-985
> URL: https://issues.apache.org/jira/browse/OAK-985
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: core, query
> Reporter: Alex Parvulescu
>
> Given the following query:
> {code}
> //*[(jcr:contains(., 'dog')) and @jcr:primaryType = 'nt:file']
> {code}
> The query engine will generate a filter with a match-all clause on the node type and a property restriction on _jcr:primaryType_ to the value 'nt:file'.
> I think it should add the _jcr:primaryType_ condition to the node type conditions, and not to the node property ones.
--
This message was sent by Atlassian JIRA
(v6.1#6144)