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/07 01:45:12 UTC

[jira] [Created] (OAK-4351) Non-root lucene index throws exception if query constraints match root of sub-tree

Vikas Saurabh created OAK-4351:
----------------------------------

             Summary: 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


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)