[
https://issues.apache.org/jira/browse/OAK-3137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chetan Mehrotra updated OAK-3137:
---------------------------------
Description:
On a system having
# Global fulltext index enabled with version V2 and {{evaluatePathRestriction}}
enabled
# NodeType index having indexing enabled for specific nodetype like
cq:ClientLibraryFolder
A query like
{noformat}
/jcr:root//element(*, cq:ClientLibraryFolder)
{noformat}
Ends up getting evaluated by fulltext index as it return plan with include all
query
*Expected*
For such query global fulltext index should not return any plan if the path
restriction is on root path with include all children
was:
On a system having
# Global fulltext index enabled with version V2 and {{evaluatePathRestriction}}
enabled
# NodeType index having indexing enabled for specific nodetype like
cq:ClientLibraryFolder
A query like
{noformat}
/jcr:root//element(*, cq:ClientLibraryFolder)
{noformat}
Ends up getting evaluated by fulltext index as it return plan with include all
query
*Expected*
Such query should not get handled by global fulltext index if the path
restriction is on root path with include all children
> Global fulltext index returning plan for pure NodeType queries
> --------------------------------------------------------------
>
> Key: OAK-3137
> URL: https://issues.apache.org/jira/browse/OAK-3137
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: lucene
> Reporter: Chetan Mehrotra
> Assignee: Chetan Mehrotra
> Fix For: 1.2.4, 1.3.4, 1.0.18
>
>
> On a system having
> # Global fulltext index enabled with version V2 and
> {{evaluatePathRestriction}} enabled
> # NodeType index having indexing enabled for specific nodetype like
> cq:ClientLibraryFolder
> A query like
> {noformat}
> /jcr:root//element(*, cq:ClientLibraryFolder)
> {noformat}
> Ends up getting evaluated by fulltext index as it return plan with include
> all query
> *Expected*
> For such query global fulltext index should not return any plan if the path
> restriction is on root path with include all children
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)