[
https://issues.apache.org/jira/browse/JCR-1659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12673851#action_12673851 ]
Marcel Reutegger commented on JCR-1659:
---------------------------------------
Comments on patch:
- JackrabbitIndexSearcher only contains rearranged imports
- We should rather use PathFactory.getParentElement() instead of defining a new name
- It seems LuceneQueryBuilder.visit(LocationStepQueryNode,Object) does not respect includeDescendants() for parent name
- QueryFormat probably has to be adapted to support round tripping abstract query tree to XPath/SQL
- Test case are missing
> Support parent axis inside Xpath predicates
> -------------------------------------------
>
> Key: JCR-1659
> URL:
https://issues.apache.org/jira/browse/JCR-1659> Project: Jackrabbit Content Repository
> Issue Type: New Feature
> Components: jackrabbit-core, query
> Affects Versions: 1.4
> Reporter: Dan Diephouse
> Priority: Minor
> Attachments: patch.txt
>
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> We need to be able to do the following inside our application:
> /blogs/blog/entry[@title='Jackrabbit' or ../@author='Dan Diephouse']
> The example is contrived, but the need is real. Neither "../" or "parent::" seems to be supported currently. See this thread for the original discussion:
http://markmail.org/message/dyxnobdwd7sofmes--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.