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 "Vikas Saurabh (JIRA)" <ji...@apache.org> on 2016/05/11 14:03:12 UTC
[jira] [Resolved] (OAK-4351) Non-root lucene index throws exception
if query constraints match root of sub-tree
[ https://issues.apache.org/jira/browse/OAK-4351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vikas Saurabh resolved OAK-4351.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.5.2
Fixed in trunk at [r1743368|https://svn.apache.org/r1743368].
> Non-root lucene index throws exception if query constraints match root of sub-tree
> ----------------------------------------------------------------------------------
>
> Key: OAK-4351
> URL: https://issues.apache.org/jira/browse/OAK-4351
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: lucene
> Reporter: Vikas Saurabh
> Assignee: Vikas Saurabh
> Priority: Minor
> Fix For: 1.6, 1.5.2
>
>
> LucenePropetyIndexProvider returns incorrect (normalized) path for root of sub-tree if index is defined on the sub-tree. e.g.
> {{/jcr:root/test//element(*, nt:base)\[@foo='bar']}} would fail with following defn
> {noformat}
> + /test
> - foo="bar"
> + test1
> - foo="bar"
> + oak:index
> - indexRules/nt:base/properties/foo/propertyIndex="true"
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)