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)

Reply via email to